![]() |
Routines |
| Prev: 954D | Up: Map | Next: 957D |
|
The opposite of the routine above: set bit 3 on both halves, so the door is drawn shut and stays that way. This is what runs when the key is missing or the wrong character is standing there -- the door is still drawn, it simply does not open.
|
||||
| SHUT_DOOR | 9565 | LD A,(IX+$05) | Bit 3 on: shut. | |
| 9568 | OR $08 | |||
| 956A | LD (IX+$05),A | |||
| 956D | PUSH IX | And the far side. | ||
| 956F | CALL DOOR_OTHER_SIDE | |||
| 9572 | LD A,(IX+$05) | The same there. | ||
| 9575 | OR $08 | |||
| 9577 | LD (IX+$05),A | |||
| 957A | POP IX | |||
| 957C | RET | |||
| Prev: 954D | Up: Map | Next: 957D |