Prev: 915F Up: Map Next: 91BC
917D: Handler: Door Closed
HandlerDoorClosed 917D LD A,($5E12)
9180 AND $01
9182 JP NZ,HandlerRoomItem
9185 LD A,($5E2E)
9188 AND A
9189 JP Z,HandlerDoorClosed_0
918C DEC A
918D LD ($5E2E),A
9190 JP HandlerRoomItem
This entry point is used by the routine at HandlerDoorOpen.
HandlerDoorClosed_0 9193 LD A,$5E
9195 LD ($5E2E),A
9198 LD A,(IX+$05)
919B PUSH AF
919C OR $03
919E LD (IX+$05),A
91A1 CALL HandlerRoomItem_0
91A4 LD A,(IX+$00)
91A7 XOR $01
91A9 CALL HandlerCaveDoorLocked_0
91AC CALL HandlerRoomItem_0
91AF POP AF
91B0 LD (IX+$05),A
91B3 CALL RandomiseDoors_6
91B6 CALL HandlerRoomItem
91B9 JP SoundsDoor
Prev: 915F Up: Map Next: 91BC