![]() |
Routines |
| Prev: 48230 | Up: Map | Next: 48291 |
|
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 | 48250 | LD IX,49115 | Point IX at the object that is used to draw the panel, PanelObject. | |
| 48254 | LD (IX+0),140 | Set the graphic number to 140. | ||
| 48258 | LD (IX+7),0 | Clear the flags. | ||
| 48262 | LD (IX+26),16 | Set the pixel X coordinate to 16. | ||
| 48266 | LD (IX+27),32 | Set the pixel Y coordinate to 32. | ||
| 48270 | CALL PrintSprite | Draw the graphic. | ||
| 48273 | LD A,71 | Set the attribute to bright white. | ||
| 48275 | LD DE,23106 | Point DE at the attributes of the first row. | ||
| 48278 | LD B,2 | Set the number of attributes to 2. | ||
| 48280 | CALL FillBytes | Fill the attributes. | ||
| 48283 | LD DE,23138 | Point DE at the attributes of the second row. | ||
| 48286 | LD B,4 | Set the number of attributes to 4. | ||
| 48288 | JP FillBytes | Fill the attributes. | ||
| Prev: 48230 | Up: Map | Next: 48291 |