![]() |
Routines |
| Prev: 30106 | Up: Map | Next: 30156 |
|
Used by the routines at UpdateBugCommon, AnimateExplosion, UpdateBloomingFlower, UpdateRepellentSpray, UpdateStreamer, UpdateSmokeBomb, UpdateLeaf, UpdateFlower, GamePlayEntry, UpdateSprayCan, Robbie_CarryingCan and UpdateBonusItem.
Saves the position and state of an object, so that its sprite can be erased from the old position when it is next drawn.
|
||||||||
| StoreEntity | 30137 | LD A,(IX+1) | Save the object's X position in Actor. | |||||
| 30140 | LD (24075),A | |||||||
| 30143 | LD A,(IX+2) | Save the object's Y position in 24076. | ||||||
| 30146 | LD (24076),A | |||||||
| 30149 | LD A,(IX+0) | Save the object's state in 24077. | ||||||
| 30152 | LD (24077),A | |||||||
| 30155 | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 30106 | Up: Map | Next: 30156 |