![]() |
Routines |
| Prev: AB9D | Up: Map | Next: ABBA |
|
Step the actor type through frames 70-7F and draw it through DrawSprite.
|
||||||||
|
Step the actor type through frames 70-7F, then draw.
|
||||||||
| DrawCurrentActor | ABA9 | LD A,(IX+$00) | Fetch the actor type. | |||||
| ABAC | INC A | Increase it by one. | ||||||
| ABAD | AND %00001111 | Keep only bits 0-3. | ||||||
|
Sprite IDs begin at 70 ("Missile Launcher: Frame 1").
|
||||||||
| ABAF | ADD A,$70 | Add 70. | ||||||
| ABB1 | LD (IX+$00),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 | ABB4 | CALL DrawSprite | Call DrawSprite. | |||||
| ABB7 | JP ColouriseSprite | Jump to ColouriseSprite. | ||||||
| Prev: AB9D | Up: Map | Next: ABBA |