![]() |
Routines |
| Prev: 9222 | Up: Map | Next: 9252 |
|
Types $08-$0B, the red, green, cyan and yellow doors. Asks DOOR_NEEDS_KEY whether the player has the matching key. With one, once the player is in the doorway, it sets both halves' type to $02 -- a plain door -- through SET_BOTH_HALVES and goes through ENTER_ROOM: the door stays an ordinary door for the rest of the game, and the key is kept. Without one it just draws itself shut.
|
||||
| DOOR_LOCKED_A | 9244 | CALL DOOR_NEEDS_KEY | ||
| 9247 | JP NC,DRAW_DOOR | |||
| 924A | LD A,$02 | |||
|
This entry point is used by the routine at DOOR_LOCKED_B.
|
||||
| OPEN_AND_ENTER | 924C | CALL SET_BOTH_HALVES | ||
| 924F | JP ENTER_ROOM | |||
| Prev: 9222 | Up: Map | Next: 9252 |