Prev: 46397 Up: Map Next: 46473
46435: Print Banner
Used by the routine at GameInitialisation.
Prints the score labels "1UP", "HI" and "2UP" at the top of the screen.
Before
banner-before
After PrintBanner
banner-after
Prints "1UP".
PrintBanner 46435 LD HL,16 Set the position of the "1UP" label in HL (the Y position is 0 and the X position is 16).
46438 LD DE,46462 Point DE at the "1UP" label at 1UP_Text.
46441 CALL PrintStringColour Print the "1UP" label.
Prints "HI".
46444 LD HL,120 Set the position of the "HI" label in HL (the Y position is 0 and the X position is 120).
46447 LD DE,46470 Point DE at the "HI" label at HI_Text.
46450 CALL PrintStringColour Print the "HI" label.
Prints "2UP".
46453 LD HL,216 Set the position of the "2UP" label in HL (the Y position is 0 and the X position is 216).
46456 LD DE,46466 Point DE at the "2UP" label at 2UP_Text.
46459 JP PrintStringColour Print the "2UP" label.
Banner text data.
1UP_Text 46462 DEFM 69 "1UP" (INK:CYAN, PAPER:BLACK (BRIGHT) is the attribute).
46463 DEFM "1U","P"+128
2UP_Text 46466 DEFM 69 "2UP" (INK:CYAN, PAPER:BLACK (BRIGHT) is the attribute).
46467 DEFM "2U","P"+128
HI_Text 46470 DEFM 87 "HI" (INK:WHITE, PAPER:RED (BRIGHT) is the attribute).
46471 DEFM "H","I"+128
View the equivalent code in;
Prev: 46397 Up: Map Next: 46473