Prev: AE5D Up: Map Next: AEA7
AE8A: Routine at AE8A
Used by the routine at Handler_Move_Characters.
AE8A LD D,$00 D=00.
AE8C LD BC,$21FF BC=21FF.
AE8F LD HL,$BCE9 HL=Items_TownSquare.
AE92 LD A,(HL)
AE93 CP $FF
AE95 JR Z,$AEA0
AE97 INC HL Increment HL by four.
AE98 INC HL
AE99 INC HL
AE9A INC HL
AE9B INC C Increment C by one.
AE9C CP E
AE9D JR NZ,$AE92
AE9F RET Return.
AEA0 LD C,$FF C=FF.
AEA2 INC HL Increment HL by one.
AEA3 INC D Increment D by one.
AEA4 DJNZ $AE92 Decrease counter by one and loop back to AE92 until counter is zero.
AEA6 RET Return.
Prev: AE5D Up: Map Next: AEA7