![]() |
Routines |
| Prev: 8DB3 | Up: Map | Next: 8DCE |
|
Used by the routines at GameComplete and ActionQuit.
Read Y or N, then reset the machine or start another game.
|
||||
| HandlerAskToPlayAgain | 8DB9 | LD HL,$639A | Print Want another game? Y/N.. | |
| 8DBC | CALL PrintStringAndANewline | |||
| HandlerAskToPlayAgain_Loop1 | 8DBF | CALL GetUserInput | Call GetUserInput to wait for a keypress. | |
| 8DC2 | CP $4E | Reset the computer when N (4E) was pressed. | ||
| 8DC4 | JP Z,$0000 | |||
| 8DC7 | CP $59 | Jump back to GameEntryPoint when Y (59) was pressed. | ||
| 8DC9 | JP Z,GameEntryPoint | |||
| 8DCC | JR HandlerAskToPlayAgain_Loop1 | Continue at HandlerAskToPlayAgain_Loop1 until the player presses Y or N. | ||
| Prev: 8DB3 | Up: Map | Next: 8DCE |