Prev: 9076 Up: Map Next: 90EB
90D2: The player is dead: say so and start again
Prints "you are dead." as a sentence about the player, calls SHOW_SCORE, waits for any key and goes back into the start-up at NEW_GAME. Reached, for one, from MOVE when the player falls in the dark once too often.
PLAYER_DIES 90D2 SUB A The sentence is about the player
90D3 LD (ACTING),A
90D6 LD HL,MSG_DEAD "you are dead."
90D9 CALL RUN_MESSAGE_HL
90DC CALL SHOW_SCORE The score (SHOW_SCORE)
This entry point is used by the routine at CHECK_WON.
WAIT_AND_RESTART 90DF XOR A Wait for any key
90E0 IN A,($FE)
90E2 AND $1F
90E4 CP $1F
90E6 JR Z,WAIT_AND_RESTART
90E8 JP NEW_GAME And start again
Prev: 9076 Up: Map Next: 90EB