Prev: F44C Up: Map Next: F48B
F46C: Run Life
Runs the frames of a life one at a time until the ship has been destroyed (when the explosion counter at 8F53 is 0C or more) or the planet has been completed (when the flag at 96AB is FF).
RunLife F46C CALL RunFrame Call RunFrame.
F46F CALL UpdateFuelGauge Call UpdateFuelGauge.
F472 CALL UpdateEnemySpawning Call UpdateEnemySpawning.
F475 CALL UpdateEnemies Call UpdateEnemies.
F478 CALL RandomNumber Call RandomNumber.
F47B LD A,($8F53) The ship state.
F47E CP $0C Jump to ExplodeShip if A is 0C or more.
F480 JR NC,ExplodeShip
F482 LD A,($96AB) The crystal-delivery flag.
F485 INC A Advance A.
F486 JR NZ,RunLife Jump to RunLife if the zero flag is clear.
F488 JP FinishPlanet Jump to FinishPlanet.
Prev: F44C Up: Map Next: F48B