![]() |
Routines |
| Prev: 30379 | Up: Map | Next: 30435 |
|
Used by the routines at HandleCake, HandleBatter, HandleMonster, HandlePeel, HandlePikeAndTinCan, HandleCheese, HandleTackWasherBolt, HandleChocolate, HandleHat, HandleClearedActor, HandleFallingCharlie, HandleSugar, HandleLevelIntroduction, HandleFlourShot, GamePlay_Start and HandleCustard.
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.
|
||||||||
| StoreEntity | 30416 | LD A,(IX+1) | Copy the horizontal co-ordinate to OldSprite_X. | |||||
| 30419 | LD (24340),A | |||||||
| 30422 | LD A,(IX+2) | Copy the vertical co-ordinate to OldSprite_Y. | ||||||
| 30425 | LD (24341),A | |||||||
| 30428 | LD A,(IX+0) | Copy the sprite ID to OldSprite_ID. | ||||||
| 30431 | LD (24342),A | |||||||
| 30434 | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 30379 | Up: Map | Next: 30435 |