Prev: 44752 Up: Map Next: 44768
44755: 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 44755 LD E,(IX+1) Fetch the X fraction...
44758 LD D,(IX+2) ...and the X cell.
44761 LD L,(IX+3) Fetch the Y fraction...
44764 LD H,(IX+4) ...and the Y cell.
44767 RET Return.
Prev: 44752 Up: Map Next: 44768