Prev: AB60 Up: Map Next: ABD7
AB9B: Routine at AB9B
AB9B LD A,(IY+$0A) If IY+0A is not 98 jump to ABC3.
AB9E CP $98
ABA0 JR NZ,$ABC3
ABA2 LD A,(IY+$05) If IY+05 is lower than 8A jump to ABAF.
ABA5 CP $8A
ABA7 JR NC,$ABAF
ABA9 LD (IY+$3C),$01 Write 01 to IY+3C.
ABAD JR $ABB3 Jump to ABB3.
ABAF LD (IY+$3C),$FF Write FF to IY+3C.
ABB3 CALL $B288 Call B288.
ABB6 LD A,(IY+$05) Return if IY+05 is not 8A.
ABB9 CP $8A
ABBB RET NZ
ABBC LD (IY+$3C),$01 Write 01 to IY+3C.
ABC0 JP $B1A6 Jump to B1A6.
ABC3 CP $58 If IY+0A is not 58 jump to ABBC.
ABC5 JR NZ,$ABBC
ABC7 LD (IY+$3C),$01 Write 01 to IY+3C.
ABCB CALL $B288 Call B288.
ABCE LD A,(IY+$05) If IY+05 is F0 jump to AE5D.
ABD1 CP $F0
ABD3 JP Z,$AE5D
ABD6 RET Return.
Prev: AB60 Up: Map Next: ABD7