Prev: AB55 Up: Map Next: AB6A
AB56: Life : Draw / Erase
Used by the routine at Invaders_NextStage.
Input
Output
LifeDraw_Erase AB56 LD A,(WallyLives) Erase life using current number of lives.
Draw life at position A, where A is life number.
LifeDraw_Blit AB59 DEC A Calculate X position.
AB5A ADD A,A
AB5B ADD A,A
AB5C ADD A,A
AB5D ADD A,A
AB5E LD L,A
AB5F LD H,$10
AB61 LD (BitmapX),HL
AB64 LD A,$4C Index for Life Bitmap
AB66 CALL Bitmap16Draw
AB69 RET
Prev: AB55 Up: Map Next: AB6A