Prev: 26636 Up: Map Next: 26744
26715: Action: Play Again
Prints message 18, the game is over, and asks Y or N. Y starts again at GameLoop. N resets the machine.
Describe the ending.
OfferAnotherGame 26715 CALL DescribeLocation Call DescribeLocation.
26718 XOR A The picture may be drawn again.
26719 LD (24965),A
26722 CALL DrawRoomOnce Call DrawRoomOnce.
Print "game's now over. do you want to play again (Y/N) ?".
26725 LD A,18 Print SystemMessage_12 using PrintSystemMessage.
26727 CALL PrintSystemMessage
Wait for Y or N.
OfferAnotherGame_Key 26730 CALL WaitKeyDown Call WaitKeyDown.
26733 CP 78 N (78) resets the Spectrum.
26735 JR Z,ResetMachine
26737 CP 89 Any key but Y (89) asks again.
26739 JR NZ,OfferAnotherGame_Key
Start another game.
26741 JP GameLoop Jump to GameLoop.
Prev: 26636 Up: Map Next: 26744