Prev: AEA3 Up: Map Next: AEC3
AEAF: Routine at AEAF
Used by the routine at AE6E.
AEAF AND A Return if A is zero.
AEB0 RET Z
AEB1 LD HL,$8F5D HL=8F5D.
AEB4 LD B,$04 B=04.
AEB6 AND A Set flags.
AEB7 RR (HL) Rotate *HL right.
AEB9 INC HL Increment HL by one.
AEBA RR (HL) Rotate *HL right.
AEBC INC HL Increment HL by one.
AEBD DJNZ $AEB6 Decrease counter by one and loop back to AEB6 until counter is zero.
AEBF DEC A Decrease A by one.
AEC0 JR NZ,$AEB1 Jump to AEB1 until A is zero.
AEC2 RET Return.
Prev: AEA3 Up: Map Next: AEC3