Prev: 41661 Up: Map Next: 41733
41720: Add Life
Used by the routine at HandlerExtraLife.
Gives the player an extra life, up to a maximum of nine, and updates the lives on the screen.
AddLife 41720 LD A,(38589) Fetch the number of lives from ActivePlayer_Lives.
41723 CP 9 Return if the player already has 9 lives.
41725 RET NC
41726 INC A Add a life.
41727 LD (38589),A Store the number of lives in ActivePlayer_Lives.
41730 JP DisplayPlayerLives Jump to DisplayPlayerLives to update the lives display.
Prev: 41661 Up: Map Next: 41733