![]() |
Routines |
| Prev: 680C | Up: Map | Next: 6878 |
|
Prints message 12, the game is over, and asks Y or N. Y starts again at GameLoop. N resets the machine.
|
||||
|
Describe the ending.
|
||||
| OfferAnotherGame | 685B | CALL DescribeLocation | Call DescribeLocation. | |
| 685E | XOR A | The picture may be drawn again. | ||
| 685F | LD ($6185),A | |||
| 6862 | CALL DrawRoomOnce | Call DrawRoomOnce. | ||
|
Print "game's now over. do you want to play again (Y/N) ?".
|
||||
| 6865 | LD A,$12 | Print SystemMessage_12 using PrintSystemMessage. | ||
| 6867 | CALL PrintSystemMessage | |||
|
Wait for Y or N.
|
||||
| OfferAnotherGame_Key | 686A | CALL WaitKeyDown | Call WaitKeyDown. | |
| 686D | CP $4E | N (4E) resets the Spectrum. | ||
| 686F | JR Z,ResetMachine | |||
| 6871 | CP $59 | Any key but Y (59) asks again. | ||
| 6873 | JR NZ,OfferAnotherGame_Key | |||
|
Start another game.
|
||||
| 6875 | JP GameLoop | Jump to GameLoop. | ||
| Prev: 680C | Up: Map | Next: 6878 |