![]() |
Routines |
| Prev: 96C9 | Up: Map | Next: 9710 |
| GameComplete | 96EC | LD HL,$EA90 | Point HL at the player at Player. | |
| 96EF | CALL DrawEntityAtHL | Call DrawEntityAtHL to draw the entity that HL points to. | ||
| 96F2 | LD HL,$BE4C | Write BE4C (the main font, see MainFont) to FontPointer, which sets the font. | ||
| 96F5 | LD ($5E01),HL | |||
|
Handle printing "CONGRATULATIONS".
|
||||
| 96F8 | LD HL,$2040 | HL=2040 (screen buffer location). | ||
| 96FB | LD DE,$9710 | Point DE at the game complete messages at GameCompleteMessages. | ||
| 96FE | CALL PrintStringColour | Call PrintStringColour to print the string. | ||
|
Handle printing "YOU HAVE ESCAPED".
|
||||
| 9701 | LD HL,$3040 | HL=3040 (screen buffer location). | ||
| 9704 | LD DE,$9720 | Point DE at the message that the player has escaped at GameCompleteMessage_Escaped. | ||
| 9707 | CALL PrintStringColour | Call PrintStringColour to print the string. | ||
|
Show the game statistics.
|
||||
| 970A | CALL GameStats | Call GameStats to show the game statistics. | ||
|
Disappointingly cut into the "normal" game over routine.
|
||||
| 970D | JP GameOverDelay | Jump to GameOverDelay to wait for a moment. | ||
| Prev: 96C9 | Up: Map | Next: 9710 |