![]() |
Routines |
| Prev: CA2E | Up: Map | Next: CA3F |
|
Used by the routines at contact_extra_life and draw_panel.
The number shown is the lives less one: the ship in play is not counted. The digit codes start at $1A, so lives plus $19.
|
||||
| print_lives | CA31 | LD A,(lives) | Make the digit and print the record at p1_lives_text (print_string). | |
| CA34 | ADD A,$19 | |||
| CA36 | LD (p1_lives_digit),A | |||
| CA39 | LD DE,p1_lives_text | |||
| CA3C | JP print_string | |||
| Prev: CA2E | Up: Map | Next: CA3F |