![]() |
Routines |
| Prev: 60176 | Up: Map | Next: 60222 |
|
Used by the routine at Events_Wizard.
Tell the player they are dead and ask whether to play again.
|
||||
|
Tell the player they are dead.
|
||||
| GameOver | 60195 | LD HL,48129 | Print "You are dead.". | |
| 60198 | CALL PrintStringAndANewline | |||
|
This entry point is used by the routine at GameComplete.
Ask whether to play again.
|
||||
| GameOver_WantAnother | 60201 | LD HL,48143 | Print "Want another game? Y/N.". | |
| 60204 | CALL PrintStringAndANewline | |||
| GameOver_Ask | 60207 | CALL GetUserInput | Call GetUserInput to wait for the player's answer. | |
| 60210 | CP 78 | Jump to START if the player pressed "N". | ||
| 60212 | JP Z,0 | |||
| 60215 | CP 89 | Jump to GameEntryPoint to play again if the player pressed "Y". | ||
| 60217 | JP Z,GameEntryPoint | |||
| 60220 | JR GameOver_Ask | Jump back to GameOver_Ask until the answer is Y or N. | ||
|
View the equivalent code in;
|
||||
| Prev: 60176 | Up: Map | Next: 60222 |