Prev: BAEA Up: Map Next: BB24
BB14: Print the score, with its heading, on the panel
Used by the routines at START and OBJECT_DONE.
Called when a game or a room starts (START) and again by the main loop after it has shown a new room (OBJECT_DONE), since filling the attributes with the room's colour there has painted over the heading's. The heading goes into the buffer at pixel x 192, pixel y 31, in bright white (PRINT_TEXT_SINGLE_COLOUR writes the attributes to the screen as it goes); the six digits into the buffer below it at pixel x 184, pixel y 16.
PRINT_SCORE BB14 LD HL,$1FC0 the heading, in bright white
BB17 LD A,$47
BB19 LD (PRINT_ATTR),A
BB1C LD DE,SCORE_TEXT
BB1F CALL PRINT_TEXT_SINGLE_COLOUR
BB22 JR PRINT_SCORE_DIGITS the digits
Prev: BAEA Up: Map Next: BB24