Prev: 29621 Up: Map Next: 29643
29629: Fetch 1UP Lives
Used by the routine at DisplayPlayerLives.
Returns the number of lives which the 1UP player has.
Output
A Lives
FetchLives_1UP 29629 LD A,(24353) If Flag_ActivePlayer is not zero then jump to InactivePlayerLives.
29632 AND A
29633 JR NZ,InactivePlayerLives
This entry point is used by the routine at FetchLives_2UP.
Return currently active players lives left.
ActivePlayerLives 29635 LD A,(24366) Fetch the lives of the active player.
29638 RET Return.
This entry point is used by the routine at FetchLives_2UP.
Return inactive players lives left.
InactivePlayerLives 29639 LD A,(24370) Fetch the lives of the inactive player.
29642 RET Return.
Prev: 29621 Up: Map Next: 29643