definitly levils also i made a small change i didnt think you would mind (it has some issues lol im new)
i added this
if (display.pressed(A_BUTTON)) // if 'A' button is pressed,
gameState = 1; // then set game state to 1.
belknar.killCount = 0;
to the end of "void gameOver"
basicly i dont want to wear out my power switch.
so when i die i press a and come back, 2 issues though but its good enough for me for now
1 . when you un die you come back exactly where and when you died,( though you can keep holding a and move you might just die a few times before your clear
2. before you press a on the game over page, the kill count says 0,
still small price to pay not to have to flip a switch twice, i didnt want to delve too deep in your code without your permission, but i do think this would be good code for me to play with and learn on (if you dont mind)
oh one more thing the kill count displays the big number (the number you get on the gasme over page, instead of the small number for some reason, but only after you have died and came back