![]() |
Routines |
| Prev: 94F5 | Up: Map | Next: 954D |
|
Used by the routine at TIMED_DOOR_SHUT.
Bit 0 of the type says which: $21 and $23 (timed doors, open) are odd, $20 and $22 (shut) even. OPEN_DOOR and SHUT_DOOR below do the work on both halves.
|
||||
| DOOR_OPEN_OR_SHUT | 9546 | LD A,(IX+$00) | ||
| 9549 | AND $01 | |||
| 954B | JR Z,SHUT_DOOR | |||
| Prev: 94F5 | Up: Map | Next: 954D |