![]() |
Routines |
| Prev: 43933 | Up: Map | Next: 43962 |
|
Used by the routines at Handler_MissileLauncher and AlignToRover.
Step the actor type through frames 112-127 and draw it through DrawSprite.
|
||||||||
|
Step the actor type through frames 112-127, then draw.
|
||||||||
| DrawCurrentActor | 43945 | LD A,(IX+0) | Fetch the actor type. | |||||
| 43948 | INC A | Increase it by one. | ||||||
| 43949 | AND %00001111 | Keep only bits 0-3. | ||||||
|
Sprite IDs begin at 112 ("Missile Launcher: Frame 1").
|
||||||||
| 43951 | ADD A,112 | Add 112. | ||||||
| 43953 | LD (IX+0),A | Write it back. | ||||||
|
This entry point is used by the routines at Handler_Pickup, Handler_WorldObject, Handler_HeldObject, Handler_SparkleBurst, AlignToRover, Handler_UpwardMissile, Handler_UpwardMissileFlame, Handler_MissileSpawner, Handler_SidewaysMissile, Handler_SidewaysMissileFlame, AnimateCrater, TickActorFrame, ExplodeAtGround, Handler_FallingSprite, CollectBomb and FlyThrownBomb.
|
||||||||
| DrawCurrentActor_Draw | 43956 | CALL DrawSprite | Call DrawSprite. | |||||
| 43959 | JP ColouriseSprite | Jump to ColouriseSprite. | ||||||
| Prev: 43933 | Up: Map | Next: 43962 |