Prev: AAA0 Up: Map Next: AADD
AAB2: Routine at AAB2
AAB2 LD A,(IY+$0A) If IY+0A is 98 jump to AACE.
AAB5 CP $98
AAB7 JR Z,$AACE
AAB9 LD A,(IY+$0F) If the current room (IY+0F) is not "The Sewer" (1F) jump to AACE.
AABC CP $1F
AABE JR NZ,$AACE
AAC0 LD A,(IY+$05) If IY+05 is lower than 78 jump to AACE.
AAC3 CP $78
AAC5 JR NC,$AACE
AAC7 LD (IY+$3C),$01 Write 01 to IY+3C.
AACB JP $B288 Jump to B288.
AACE LD (IY+$3C),$FF Write FF to IY+3C.
AAD2 CALL $B288 Call B288.
AAD5 LD A,(IY+$05) If IY+05 is zero then jump to AE5D.
AAD8 OR A
AAD9 JP Z,$AE5D
AADC RET Return.
Prev: AAA0 Up: Map Next: AADD