Prev: 62489 Up: Map Next: 62528
62498: Run Game
Used by the routines at InitialiseGame and PrepareLife.
Runs the game, starting with the title screen: it makes a new game, draws the screen and the HUD and prints the number of the player. Returns here from PrepareLife when all the ships have gone.
RunGame 62498 CALL ShowTitleScreen Call ShowTitleScreen.
62501 CALL StartNewGame Call StartNewGame.
62504 CALL FillAttributesWhite Call FillAttributesWhite.
62507 CALL ClearPixels Call ClearPixels.
62510 CALL DrawHUD Call DrawHUD.
62513 CALL PrintPlayer Call PrintPlayer.
62516 LD B,6 B=6.
RunGame_Wait 62518 CALL Delay Call Delay.
62521 DJNZ RunGame_Wait Decrease B and jump to RunGame_Wait until none remain.
62523 CALL ClearPlayfield Call ClearPlayfield.
62526 JR PlayLife Jump to PlayLife.
Prev: 62489 Up: Map Next: 62528