![]() |
Routines |
Prev: 60868 | Up: Map | Next: 60914 |
Used by the routine at Events_GameOver.
|
||||
Print "You are dead.".
|
||||
GameOver | 60887 | LD HL,48689 | HL=Messaging_YouAreDead. | |
60890 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
This entry point is used by the routine at GameComplete.
Print "Want another game? Y/N.".
|
||||
WantAnotherGameInput | 60893 | LD HL,48703 | HL=Messaging_WantAnotherGame. | |
60896 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
WantAnotherGameInput_Loop | 60899 | CALL GetUserInput | Call GetUserInput. | |
The player is done with the game, so reset back to BASIC.
|
||||
60902 | CP 78 | Reset back to BASIC if the keypress is "N ". |
||
60904 | JP Z,0 | |||
The player wants another go...
|
||||
60907 | CP 89 | Jump to GameEntryPoint if the keypress is "Y ". |
||
60909 | JP Z,GameEntryPoint | |||
Just loop round for any other input.
|
||||
60912 | JR WantAnotherGameInput_Loop | Jump to WantAnotherGameInput_Loop. |
Prev: 60868 | Up: Map | Next: 60914 |