Prev: AE3C Up: Map Next: AE8A
AE5D: Routine at AE5D
Used by the routines at AAB2, AADD, AB09, AB26, AB43, AB60 and AB9B.
AE5D LD A,(IY+$0F) Write the current room ID (*IY+0F) to *IY+6E.
AE60 LD (IY+$6E),A
AE63 LD A,(IY+$69)
AE66 LD (IY+$0F),A
AE69 LD A,(IY+$73)
AE6C CALL $AC5F Call AC5F.
AE6F LD A,(HL)
AE70 LD (IY+$05),A
AE73 INC HL
AE74 LD A,(HL)
AE75 LD (IY+$0A),A
AE78 XOR A Write 00 to *IY+00.
AE79 LD (IY+$00),A
AE7C CALL $ADBA Call ADBA.
AE7F XOR A Write 00 to:
  • *IY+37
  • *IY+3C
  • *IY+46
AE80 LD (IY+$37),A
AE83 LD (IY+$3C),A
AE86 LD (IY+$46),A
AE89 RET Return.
Prev: AE3C Up: Map Next: AE8A