← B5B3 Draw the high-score table screen Map B5ED → Award an extra life
B5E0: Lose a life
Removes one life after the ball is lost past the bat, and redraws the lives indicator. The count floors at 0.
lose_life B5E0 LD A,(lives) If no lives remain, do nothing (floor at 0).
B5E3 OR A
B5E4 RET Z
B5E5 DEC A Spend one life.
B5E6 LD (lives),A
B5E9 CALL draw_lives
B5EC RET
← B5B3 Draw the high-score table screen Map B5ED → Award an extra life
Fork me on GitHub