![]() |
Routines |
| Prev: 39048 | Up: Map | Next: 39090 |
|
Used by the routines at Handle_Sabreman_On_Rope, Handle_Sabreman_Walking, Handle_Sabreman_Jumping, Handle_Sabreman_Falling, Handle_Sabreman_Tumbling, Handle_Plant, Handle_Flying_Creature, Animate_Jellyfish, Handle_Thrown_Weapon, Handle_Dust, Handle_Explosion, Handle_Falling_Stalactite, Handle_Rock_Fragments, Handle_Bubble, Handle_Sparkle, Handle_Carrying_Eagle, Handle_Carried_Sabreman, Handle_Collectable, Handle_Death, Handle_Weapon_Pickup, Handle_Fire, Handle_Projectile and Handle_Guardian.
Stores the position and the sprite id of the object that IX points at, so that the sprite can be found and erased later.
|
||||||||
| 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 |