Prev: AEA7 Up: Map Next: AF10
AED7: Routine at AED7
Used by the routine at Handler_Move_Characters.
AED7 PUSH HL
AED8 LD HL,($AED5)
AEDB LD A,(HL)
AEDC CP $FF
AEDE JR NZ,$AEE4
AEE0 LD HL,$AEEA
AEE3 LD A,(HL)
AEE4 INC HL
AEE5 LD ($AED5),HL
AEE8 POP HL
AEE9 RET
AEEA LD (BC),A
AEEB INC B
AEEC DEC B
AEED EX AF,AF'
AEEE ADD HL,BC
AEEF LD A,(BC)
AEF0 DEC BC
AEF1 INC C
AEF2 LD C,$0F
AEF4 LD DE,$1412
AEF7 LD D,$17
AEF9 ADD HL,DE
AEFA DEC DE
AEFB DEC E
AEFC LD E,$1F
AEFE JR NZ,$AEFF
AF00 RRCA
This entry point is used by the routines at F10E and F177.
AF01 LD A,($AF00)
AF04 INC A
AF05 CP $20
AF07 JR NZ,$AF0A
AF09 XOR A
AF0A LD ($AF00),A
AF0D XOR $15
AF0F RET
Prev: AEA7 Up: Map Next: AF10