Prev: 29162 Up: Map Next: 29184
29165: 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 29165 LD A,(IX+1) Copy the X position of the actor to Actor_Position_X.
29168 LD (24096),A
29171 LD A,(IX+2) Copy the Y position of the actor to Actor_Position_Y.
29174 LD (24097),A
29177 LD A,(IX+0) Copy the sprite ID of the actor to Actor_SpriteID.
29180 LD (24098),A
29183 RET Return.
View the equivalent code in;
Prev: 29162 Up: Map Next: 29184