Prev: 32768 Up: Map Next: 32812
32778: Game Initialisation
GameInitialisation 32778 LD HL,24064 Write 0 to 8704 bytes starting from GameOptions.
32781 LD BC,8704
GameInitialisation_Loop 32784 LD (HL),0
32786 INC HL
32787 DEC BC
32788 LD A,C
32789 OR B
32790 JR NZ,GameInitialisation_Loop
Use the custom font.
32792 LD HL,54087 Write MainFont to FontPointer.
32795 LD (24068),HL
Sets some default values for e.g. the high score.
32798 CALL SetDefaults Call SetDefaults.
32801 CALL CreateWindow Call CreateWindow.
32804 LD DE,47658 DE=47658.
32807 CALL 47548 Call 47548.
32810 JR GameSelect_Loop Jump to GameSelect_Loop.
View the equivalent code in;
Prev: 32768 Up: Map Next: 32812