| ← B5B3 | Map | B5ED → |
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 | Map | B5ED → |
