Prev: 91F2 Up: Map Next: 9244
91FE: Handler: Room Item
HandlerRoomItem 91FE LD E,(IX+$03)
9201 LD D,(IX+$04)
9204 DEC D
9205 LD C,(IX+$00)
9208 LD B,(IX+$05)
920B CALL SetKeyPositions_5
920E LD A,($5E14)
9211 AND A
9212 RET NZ
This entry point is used by the routines at DrawChicken, HandlerDoorClosed and HandlerTrapOpen.
HandlerRoomItem_0 9213 LD E,(IX+$03)
9216 LD D,(IX+$04)
9219 LD C,(IX+$00)
921C LD B,(IX+$05)
921F JP SetKeyPositions_3
This entry point is used by the routines at HandlerDoorLocked and HandlerCaveDoorLocked.
HandlerRoomItem_1 9222 LD A,(IX+$00)
9225 AND $03
9227 LD HL,$925C
922A CALL HandlerCaveDoorLocked_1
922D LD D,(HL)
922E LD E,$81
9230 CALL HandlerCaveDoorLocked_2
9233 JP NZ,HandlerRoomItem_2
9236 CALL RandomiseDoors_7
9239 LD BC,$1111
923C JP ApplyMovement_22
HandlerRoomItem_2 923F CALL RandomiseDoors_8
9242 AND A
9243 RET
Prev: 91F2 Up: Map Next: 9244