![]() |
Routines |
| Prev: 9076 | Up: Map | Next: 90EB |
|
Used by the routines at MOVE, INTO_THE_RIVER, KILL, DRAGON_HUNTS, SINKING_IN_BOG, GOLLUM_HEARS_ANSWER, TROLLS_EAT, WEB_SMOTHERS, EYES_STING and AT_FOREST_RIVER.
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 |