| Prev: 923D | Up: Map | Next: 924F |
923E: Print lives for current player.
|
Displays the remaining lives as plane UDG symbols at row 20, column 18. Uses the appropriate player color (yellow for player 1, cyan for player 2).
|
||||
| print_lives | 923E | LD A,($923D) | If current player is player 2, jump to print_lives_player_2. | |
| 9241 | CP $02 | |||
| 9243 | JP Z,print_lives_player_2 | |||
| 9246 | LD A,$10 | INK PLAYER_1 | ||
| 9248 | RST $10 | |||
| 9249 | LD A,$06 | |||
| 924B | RST $10 | |||
| 924C | LD A,($923B) | Load player 1 lives count and fall through. | ||
| Prev: 923D | Up: Map | Next: 924F |