Prev: CA1D Up: Map Next: CA3F
CA31: Print Ships Remaining
Used by the routines at AddShip and DrawHUD.
Prints the number of ships that player 1 has left, which is one less than the number that is stored.
PrintShipsRemaining CA31 LD A,($F5ED) The ships remaining.
CA34 ADD A,$19 Add 19 to A.
CA36 LD ($C9FB),A The digit of the ships that are left.
CA39 LD DE,$C9F6 The player 1 ships text.
CA3C JP PrintText Jump to PrintText.
Prev: CA1D Up: Map Next: CA3F