![]() |
Routines |
| Prev: 925C | Up: Map | Next: 926C |
|
Used by the routines at TIMED_DOOR_SHUT and DOOR_LOCKED_A.
Writes the sprite into the record IX points at, then flips bit 3 of the address -- the DOOR_OTHER_SIDE trick -- and writes it into the far half too. An open door has to look open from both rooms.
|
||||
| SET_BOTH_HALVES | 9260 | PUSH IX | ||
| 9262 | POP HL | |||
| 9263 | LD (HL),A | |||
| 9264 | EX AF,AF' | |||
| 9265 | LD A,L | |||
| 9266 | XOR $08 | |||
| 9268 | LD L,A | |||
| 9269 | EX AF,AF' | |||
| 926A | LD (HL),A | |||
| 926B | RET | |||
| Prev: 925C | Up: Map | Next: 926C |