![]() |
Routines |
| Prev: BC66 | Up: Map | Next: BCA3 |
|
Used by the routine at RunGame.
Draws the graphic that goes next to the number of lives on the panel, and makes the attributes there bright white.
|
||||
|
Draw the lives graphic and colour its attributes.
|
||||
| PrintLivesGraphic | BC7A | LD IX,$BFDB | Point IX at the object that is used to draw the panel, PanelObject. | |
| BC7E | LD (IX+$00),$8C | Set the graphic number to 8C. | ||
| BC82 | LD (IX+$07),$00 | Clear the flags. | ||
| BC86 | LD (IX+$1A),$10 | Set the pixel X coordinate to 10. | ||
| BC8A | LD (IX+$1B),$20 | Set the pixel Y coordinate to 20. | ||
| BC8E | CALL PrintSprite | Draw the graphic. | ||
| BC91 | LD A,$47 | Set the attribute to bright white. | ||
| BC93 | LD DE,$5A42 | Point DE at the attributes of the first row. | ||
| BC96 | LD B,$02 | Set the number of attributes to 02. | ||
| BC98 | CALL FillBytes | Fill the attributes. | ||
| BC9B | LD DE,$5A62 | Point DE at the attributes of the second row. | ||
| BC9E | LD B,$04 | Set the number of attributes to 04. | ||
| BCA0 | JP FillBytes | Fill the attributes. | ||
| Prev: BC66 | Up: Map | Next: BCA3 |