Prev: 7D8A Up: Map Next: 7DC3
7D9A: Start Game
Used by the routine at GameInitialisation.
StartGame 7D9A CALL ResetPlayerData Call ResetPlayerData.
7D9D LD A,$03 Write starting lives to PlayerLives.
7D9F LD ($5E21),A
7DA2 LD HL,$EB58 Write FoodItems to FoodPointer.
7DA5 LD ($5E55),HL
7DA8 CALL ClearScreen Call ClearScreen.
7DAB CALL DrawSidePanel Call DrawSidePanel.
7DAE CALL DrawLives Call DrawLives.
7DB1 CALL PlaceKeyPieces Call PlaceKeyPieces.
7DB4 CALL SetKeyPositions Call SetKeyPositions.
7DB7 CALL ResetGameState Call ResetGameState.
7DBA CALL RandomiseDoors Call RandomiseDoors.
7DBD CALL PreparePlayer Call PreparePlayer.
7DC0 JP EnterRoom Jump to EnterRoom.
View the equivalent code in;
Prev: 7D8A Up: Map Next: 7DC3