Prev: AED0 Up: Map Next: AEE0
AED3: Get Position
Fetches the position of an entity.
Input
IX Entity
Output
DE X position (the fraction in E and the cell in D)
HL Y position (the fraction in L and the cell in H)
GetPosition AED3 LD E,(IX+$01) Fetch the X fraction...
AED6 LD D,(IX+$02) ...and the X cell.
AED9 LD L,(IX+$03) Fetch the Y fraction...
AEDC LD H,(IX+$04) ...and the Y cell.
AEDF RET Return.
Prev: AED0 Up: Map Next: AEE0