Prev: 71EA Up: Map Next: 7200
71ED: Store Entity
Used by the routines at HandlerExplosion, HandlerCar, EraseObject and PlaceObject.
Copies the position and the sprite ID of an actor into the actor buffer at Actor_Position_X, so that its sprite can be erased from there the next time it is drawn.
Input
IX Actor entity
StoreEntity 71ED LD A,(IX+$01) Copy the X position of the actor to Actor_Position_X.
71F0 LD ($5E20),A
71F3 LD A,(IX+$02) Copy the Y position of the actor to Actor_Position_Y.
71F6 LD ($5E21),A
71F9 LD A,(IX+$00) Copy the sprite ID of the actor to Actor_SpriteID.
71FC LD ($5E22),A
71FF RET Return.
View the equivalent code in;
Prev: 71EA Up: Map Next: 7200