Prev: E80F Up: Map Next: EB01
EABF: Routine at EABF
Used by the routine at GameLoop.
EABF LD A,(IY+$0F) A=*IY+0F.
EAC2 LD ($B951),A Write A to TempStore_Room.
EAC5 LD HL,$E80F HL=E80F.
EAC8 CALL FindDataById Call FindDataById.
This entry point is used by the routines at EB95, EBC4, EBE2, EBED, EBFE, EC2B, EC34 and EDB3.
EACB LD A,(HL) A=*HL.
EACC INC HL Increment HL by one.
EACD CP $FF If A is FF (the terminator) then return.
EACF RET Z
EAD0 CP $F7 If A is F7 jump to EAEB.
EAD2 JR Z,$EAEB
EAD4 ADD A,A A*=02.
EAD5 LD E,A Create an offset in DE.
EAD6 LD D,$00
EAD8 PUSH HL Stash HL on the stack.
EAD9 LD HL,$E7E9 HL=E7E9+DE.
EADC ADD HL,DE
EADD LD E,(HL) E=*HL.
EADE INC HL Increment HL by one.
EADF LD D,(HL) D=*HL.
EAE0 POP HL Restore HL from the stack.
EAE1 PUSH DE Stash DE on the stack.
EAE2 RET Return.
This entry point is used by the routines at EB95, EBC4, EBE2, EBED, EBFE, EC2B, EC34 and EDB3.
EAE3 LD A,(HL) A=*HL.
EAE4 INC HL Increment HL by one.
EAE5 CP $F6 If A is F6 jump to EACB.
EAE7 JR Z,$EACB
EAE9 JR $EAE3 Jump to EAE3.
This entry point is used by the routines at EB01, EB0F, EB79, EC4A, ECBC and EDC6.
EAEB LD A,(HL) A=*HL.
EAEC INC HL Increment HL by one.
EAED CP $F6 If A is F6 jump to EACB.
EAEF JP Z,$EACB
EAF2 ADD A,A A*=02.
EAF3 LD E,A Create an offset in DE.
EAF4 LD D,$00
EAF6 PUSH HL Stash HL on the stack.
EAF7 LD HL,$E7F9 HL=E7F9+DE.
EAFA ADD HL,DE
EAFB LD E,(HL) E=*HL.
EAFC INC HL Increment HL by one.
EAFD LD D,(HL) D=*HL.
EAFE POP HL Restore HL from the stack.
EAFF PUSH DE Stash DE on the stack.
EB00 RET Return.
Prev: E80F Up: Map Next: EB01