Prev: 44449 Up: Map Next: 44588
44557: Game Over
Used by the routine at GameStart.
Print "You are dead.".
GameOver 44557 LD HL,16 HL=Messaging_YouAreDead.
44560 CALL PrintCompressedStringAndNewline Call PrintCompressedStringAndNewline.
This entry point is used by the routine at GameStart.
Print the percentage of the game the player achieved.
GameOver_Score 44563 CALL Print_Scoring Call Print_Scoring.
This entry point is used by the routine at GameStart.
Print "Want another game? Y/N".
WantAnotherGameInput 44566 LD HL,17 HL=Messaging_WantAnotherGame.
44569 CALL PrintCompressedStringAndNewline Call PrintCompressedStringAndNewline.
WantAnotherGameInput_Loop 44572 CALL GetUserInput Call GetUserInput.
The player is done with the game, so reset back to BASIC.
44575 CP 78 Reset back to BASIC if the keypress is "N".
44577 JP Z,0
The player wants another go...
44580 CP 89 Jump to GameEntryPoint if the keypress is "Y".
44582 JP Z,GameEntryPoint
Just loop round for any other input.
44585 JP WantAnotherGameInput_Loop Jump to WantAnotherGameInput_Loop.
Prev: 44449 Up: Map Next: 44588