Prev: 43933 Up: Map Next: 43962
43945: Draw Current Actor
Used by the routines at Handler_MissileLauncher and AlignToRover.
Step the actor type through frames 112-127 and draw it through DrawSprite.
Input
IX Actor slot
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.
DrawCurrentActor_Draw 43956 CALL DrawSprite Call DrawSprite.
43959 JP ColouriseSprite Jump to ColouriseSprite.
Prev: 43933 Up: Map Next: 43962