Prev: 76AB Up: Map Next: 76E3
76D0: Store Entity
Copies the sprite ID and position of the actor into OldSprite_X, so that when the actor is moved, PrepareOldSprite knows where the old sprite has to be erased from.
Input
IX Actor
StoreEntity 76D0 LD A,(IX+$01) Copy the horizontal co-ordinate to OldSprite_X.
76D3 LD ($5F14),A
76D6 LD A,(IX+$02) Copy the vertical co-ordinate to OldSprite_Y.
76D9 LD ($5F15),A
76DC LD A,(IX+$00) Copy the sprite ID to OldSprite_ID.
76DF LD ($5F16),A
76E2 RET Return.
View the equivalent code in;
Prev: 76AB Up: Map Next: 76E3