![]() |
Routines |
| Prev: 59807 | Up: Map | Next: 59856 |
|
Used by the routine at PrintAndGameOver.
|
||||
|
Print "You are dead.".
|
||||
| GameOver | 59826 | LD HL,43247 | HL=Messaging_YouAreDead. | |
| 59829 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
|
Print the percentage of the game the player achieved.
|
||||
| GameOver_Score | 59832 | CALL Print_Scoring | Call Print_Scoring. | |
|
Print "Want another game? Y/N.".
|
||||
| WantAnotherGameInput | 59835 | LD HL,43261 | HL=Messaging_WantAnotherGame. | |
| 59838 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
| WantAnotherGameInput_Loop | 59841 | CALL GetUserInput | Call GetUserInput. | |
|
The player is done with the game, so reset back to BASIC.
|
||||
| 59844 | CP 78 | Reset back to BASIC if the keypress is "N". |
||
| 59846 | JP Z,0 | |||
|
The player wants another go...
|
||||
| 59849 | CP 89 | Jump to GameEntryPoint if the keypress is "Y". |
||
| 59851 | JP Z,GameEntryPoint | |||
|
Just loop round for any other input.
|
||||
| 59854 | JR WantAnotherGameInput_Loop | Jump to WantAnotherGameInput_Loop. | ||
| Prev: 59807 | Up: Map | Next: 59856 |