Prev: 8000 Up: Map Next: 802C
800A: Game Initialisation
GameInitialisation 800A LD HL,$5E00 Write 00 to 2200 bytes starting from GameOptions.
800D LD BC,$2200
GameInitialisation_Loop 8010 LD (HL),$00
8012 INC HL
8013 DEC BC
8014 LD A,C
8015 OR B
8016 JR NZ,GameInitialisation_Loop
Use the custom font.
8018 LD HL,$D347 Write MainFont to FontPointer.
801B LD ($5E04),HL
Sets some default values for e.g. the high score.
801E CALL SetDefaults Call SetDefaults.
8021 CALL CreateWindow Call CreateWindow.
8024 LD DE,$BA2A DE=BA2A.
8027 CALL $B9BC Call B9BC.
802A JR GameSelect_Loop Jump to GameSelect_Loop.
View the equivalent code in;
Prev: 8000 Up: Map Next: 802C