Prev: 27650 Up: Map Next: 27678
27658: End Game
Used by the routine at HandleEndOfLife.
Called when the last life has been lost in a one player game, or by the last player of a two player game. Checks the high score, shows the "GAME OVER" message for the active player, and then goes back to the game selection screen using Game_Restart.
GameOver_ControllerRestart 27658 CALL CheckHighScore Check for a new high score using CheckHighScore.
27661 LD A,(24353) If Flag_ActivePlayer is not zero, jump to GameOver_Restart2UP.
27664 AND A
27665 JR NZ,GameOver_Restart2UP
27667 CALL GameOver_1UP_Messaging Show the 1UP game over message using GameOver_1UP_Messaging.
GameOver_Restart 27670 JP Game_Restart Jump to Game_Restart.
GameOver_Restart2UP 27673 CALL GameOver_2UP Show the 2UP game over message using GameOver_2UP.
27676 JR GameOver_Restart Jump to GameOver_Restart.
Prev: 27650 Up: Map Next: 27678