Prev: EB54 Up: Map Next: EB79
EB55: Routine at EB55
Used by the routine at GameLoop.
EB55 LD BC,$0000 BC=0000.
EB58 CALL Handler_ItemsCurrentRoom Call Handler_ItemsCurrentRoom.
EB5B LD A,(HL)
EB5C CP $FF
EB5E JR Z,$EB72
EB60 INC HL
EB61 LD A,(IY+$05)
EB64 SUB (HL)
EB65 INC HL
EB66 INC HL
EB67 INC HL
EB68 SUB $06
EB6A CP $F4
EB6C JR C,$EB5B
EB6E LD C,$01
EB70 JR $EB5B
EB72 LD A,C Return if C is not zero.
EB73 OR A
EB74 RET NZ
EB75 LD ($EB54),A Write A to *EB54.
EB78 RET Return.
Prev: EB54 Up: Map Next: EB79