Prev: 9888 Up: Map Next: 98B2
989F: Store Entity
Input
IX Object record
StoreEntity 989F LD A,(IX+$01) Fetch the x position of the object.
98A2 LD ($8EE4),A Store it in Previous_X_Position.
98A5 LD A,(IX+$03) Fetch the y position of the object.
98A8 LD ($8EE5),A Store it in Previous_Y_Position.
98AB LD A,(IX+$00) Fetch the type of the object (its sprite id).
98AE LD ($8EE1),A Store it in Previous_Sprite_Id.
98B1 RET Return.
View the equivalent code in;
Prev: 9888 Up: Map Next: 98B2