![]() |
Routines |
| Prev: 43676 | Up: Map | Next: 43713 |
|
Used by the routine at HandlePlayerDeath.
Ends the game: shows the game over message for the active player, lets the player enter their name if they have a high score, shows the Hall of Fame if a new score has been entered and then returns to the game selection screen at Game_Restart.
|
||||
| GameOver_ControllerRestart | 43684 | LD A,(38558) | Jump to GameOver_Restart2UP if player 2 is active (Flag_ActivePlayer is not zero). | |
| 43687 | AND A | |||
| 43688 | JR NZ,GameOver_Restart2UP | |||
| GameOver_Scores | 43690 | CALL GameOver_1UP_Messaging | Show the game over message for 1UP. | |
| GameOver_NewHighScore | 43693 | CALL NewHighScore | Check for a new high score. | |
| 43696 | LD A,(38586) | Jump to GameOver_Restart if the hall of fame has not been updated (HallOfFameUpdated is zero). | ||
| 43699 | AND A | |||
| 43700 | JR Z,GameOver_Restart | |||
| 43702 | CALL HandlerHallOfFame_Show | Show the hall of fame. | ||
| GameOver_Restart | 43705 | JP Game_Restart | Jump to Game_Restart to restart the game. | |
| GameOver_Restart2UP | 43708 | CALL GameOver_2UP | Show the game over message for 2UP. | |
| 43711 | JR GameOver_NewHighScore | Jump to GameOver_NewHighScore. | ||
| Prev: 43676 | Up: Map | Next: 43713 |