Prev: AB9D Up: Map Next: ABBA
ABA9: Draw Current Actor
Step the actor type through frames 70-7F and draw it through DrawSprite.
Input
IX Actor slot
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.
DrawCurrentActor_Draw ABB4 CALL DrawSprite Call DrawSprite.
ABB7 JP ColouriseSprite Jump to ColouriseSprite.
Prev: AB9D Up: Map Next: ABBA