Prev: EEA2 Up: Map Next: EF91
EEC1: Routine at EEC1
Used by the routines at 81AE and B3BE.
EEC1 CALL $EEA2
EEC4 LD A,(IY+$0F)
EEC7 LD ($B951),A
EECA LD B,$00
EECC CALL Handler_ItemsCurrentRoom
EECF LD A,(HL)
EED0 CP $FF
EED2 JR Z,$EEE3
EED4 INC HL
EED5 LD E,(HL)
EED6 INC HL
EED7 LD D,(HL)
EED8 INC HL
EED9 INC HL
EEDA LD ($A838),DE
EEDE CALL $A83D
EEE1 JR $EECF
EEE3 LD E,(IY+$0F)
EEE6 SLA E
EEE8 LD D,$00
EEEA LD HL,$EEF3
EEED ADD HL,DE
EEEE LD E,(HL)
EEEF INC HL
EEF0 LD D,(HL)
EEF1 EX DE,HL
EEF2 JP (HL)
EEF3 LD (HL),D
EEF4 PUSH AF
EEF5 OR $F2
EEF7 LD C,E
EEF8 JP P,$F2F6
EEFB INC BC
EEFC PUSH AF
EEFD LD (HL),H
EEFE OR $F6
EF00 JP P,$F2F6
EF03 INC A
EF04 CALL P,$F2F6
EF07 SBC A,L
EF08 CALL P,$F5F1
EF0B LD (HL),E
EF0C RST $30
EF0D OR $F2
EF0F ADD HL,BC
EF10 CALL P,$F309
EF13 OUT ($F4),A
EF15 INC DE
EF16 DEFB $ED,$F6
EF18 JP P,$F2F6
EF1B OR $F2
EF1D OR $F2
EF1F CALL PE,$46F6
EF22 RST $30
EF23 OR $F2
EF25 OR $F2
EF27 OR $F2
EF29 INC (HL)
EF2A DI
EF2B OR $F2
EF2D OR $F2
EF2F LD A,L
EF30 DI
EF31 XOR E
EF32 DI
EF33 LD C,A
EF34 PUSH AF
This entry point is used by the routines at ED2A, F10E, F177, F5F1 and F8B9.
EF35 LD E,(IX+$02)
EF38 LD D,(IX+$03)
EF3B PUSH BC
EF3C PUSH AF
EF3D XOR A
EF3E LD ($F673),A
EF41 LD ($F672),A
EF44 LD A,(IX+$00)
EF47 ADD A,E
EF48 LD L,A
EF49 LD A,(BC)
EF4A INC BC
EF4B CP L
EF4C JR NZ,$EF59
EF4E LD A,$01
EF50 LD ($F672),A
EF53 LD A,E
EF54 NEG
EF56 LD E,A
EF57 JR $EF5D
EF59 LD A,(BC)
EF5A CP L
EF5B JR Z,$EF4E
EF5D INC BC
EF5E LD A,(IX+$01)
EF61 ADD A,D
EF62 LD H,A
EF63 LD A,(BC)
EF64 INC BC
EF65 CP H
EF66 JR NZ,$EF73
EF68 LD A,$01
EF6A LD ($F673),A
EF6D LD A,D
EF6E NEG
EF70 LD D,A
EF71 JR $EF77
EF73 LD A,(BC)
EF74 CP H
EF75 JR Z,$EF68
EF77 LD ($A838),HL
EF7A LD (IX+$00),L
EF7D LD (IX+$01),H
EF80 LD (IX+$02),E
EF83 LD (IX+$03),D
EF86 POP AF
EF87 POP BC
This entry point is used by the routine at F8B9.
EF88 INC IX
EF8A INC IX
EF8C INC IX
EF8E INC IX
EF90 RET
Prev: EEA2 Up: Map Next: EF91