Prev: 39048 Up: Map Next: 39090
39071: Store Entity
Input
IX Object record
StoreEntity 39071 LD A,(IX+1) Fetch the x position of the object.
39074 LD (36580),A Store it in Previous_X_Position.
39077 LD A,(IX+3) Fetch the y position of the object.
39080 LD (36581),A Store it in Previous_Y_Position.
39083 LD A,(IX+0) Fetch the type of the object (its sprite id).
39086 LD (36577),A Store it in Previous_Sprite_Id.
39089 RET Return.
View the equivalent code in;
Prev: 39048 Up: Map Next: 39090