![]() |
Routines |
| Prev: AED0 | Up: Map | Next: AEE0 |
|
Used by the routines at MoveSpark, MoveThief, MoveDestroyer, MoveProgramPacket, MoveHunter, MovePellet, MoveSaucer, MoveDome, MoveRobot and UseActionKey_Up.
Fetches the position of an entity.
|
||||||||||||||
| 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 |