| Prev: 91A9 | Up: Map | Next: 91E8 |
91C1: Print player 2's score on the status line.
|
Displays player 2's full score area including "P2" label and leading zero.
|
||||
| print_score_player_2 | 91C1 | LD A,$10 | INK PLAYER_2 | |
| 91C3 | RST $10 | |||
| 91C4 | LD A,$05 | |||
| 91C6 | RST $10 | |||
| 91C7 | LD BC,$0006 | Print 6-digit score from state_score_player_2_low via ROM PR_STRING. | ||
| 91CA | LD DE,$90C2 | |||
| 91CD | CALL $203C | |||
| 91D0 | LD A,"0" | Print trailing '0' after score. | ||
| 91D2 | RST $10 | |||
| 91D3 | LD A,$16 | AT 1,18 | ||
| 91D5 | RST $10 | |||
| 91D6 | LD A,$01 | |||
| 91D8 | RST $10 | |||
| 91D9 | LD A,$12 | |||
| 91DB | RST $10 | |||
| 91DC | LD A,"P" | Print "P2" label. | ||
| 91DE | RST $10 | |||
| 91DF | LD A,"2" | |||
| 91E1 | RST $10 | |||
| 91E2 | LD A,$02 | Switch to channel 2 (main screen) and return. | ||
| 91E4 | CALL $1601 | |||
| 91E7 | RET | |||
| Prev: 91A9 | Up: Map | Next: 91E8 |