![]() |
Routines |
| Prev: 36275 | Up: Map | Next: 36302 |
|
Used by the routines at GameComplete and ActionQuit.
Read Y or N, then reset the machine or start another game.
|
||||
| HandlerAskToPlayAgain | 36281 | LD HL,25498 | Print Want another game? Y/N.. | |
| 36284 | CALL PrintStringAndANewline | |||
| HandlerAskToPlayAgain_Loop1 | 36287 | CALL GetUserInput | Call GetUserInput to wait for a keypress. | |
| 36290 | CP 78 | Reset the computer when N (78) was pressed. | ||
| 36292 | JP Z,0 | |||
| 36295 | CP 89 | Jump back to GameEntryPoint when Y (89) was pressed. | ||
| 36297 | JP Z,GameEntryPoint | |||
| 36300 | JR HandlerAskToPlayAgain_Loop1 | Continue at HandlerAskToPlayAgain_Loop1 until the player presses Y or N. | ||
| Prev: 36275 | Up: Map | Next: 36302 |