Prev: AFE4 Up: Map Next: B01A
AFE8: Routine at AFE8
Used by the routines at 9E72, A858, AAED, AD07, PlayerMovement and GamePlay_Start.
AFE8 LD A,(IX+$01) Write IX+01 to 96AB.
AFEB LD ($96AB),A
AFEE LD D,(IX+$04) D=IX+04.
AFF1 LD A,(IX+$06) A=IX+06.
AFF4 CALL $B031 Call B031.
AFF7 AND A
AFF8 JP M,$B01A
AFFB ADD A,(IX+$03)
AFFE LD E,A
AFFF LD A,($96AD)
B002 ADD A,E
B003 JP C,$B19F
This entry point is used by the routine at B01A.
B006 LD A,(IX+$07) A=IX+07.
B009 CALL $B031 Call B031.
B00C AND A
B00D JP M,$B027
B010 ADD A,(IX+$04)
B013 LD D,A Store the result in D.
B014 CP $C0
B016 JP NC,$B12F
B019 RET Return.
Prev: AFE4 Up: Map Next: B01A