Prev: BC66 Up: Map Next: BCA3
BC7A: Draw the lives icon on the panel
Used by the routine at no_delay.
Uses the object record at sprite_scratchpad to draw sprite type $8C at x=16, y=32 in the buffer, then makes six attribute cells bright white: two in character row 18 and four in row 19, from column 2 -- the icon and the two cells where print_lives prints the number.
print_lives_gfx BC7A LD IX,sprite_scratchpad the icon, unflipped
BC7E LD (IX+$00),$8C
BC82 LD (IX+$07),$00
BC86 LD (IX+$1A),$10
BC8A LD (IX+$1B),$20
BC8E CALL print_sprite
BC91 LD A,$47 two cells of row 18 and four of row 19, from column 2
BC93 LD DE,$5A42
BC96 LD B,$02
BC98 CALL fill_DE
BC9B LD DE,$5A62
BC9E LD B,$04
BCA0 JP fill_DE
Prev: BC66 Up: Map Next: BCA3