Prev: 63766 Up: Map Next: 63890
63844: Game Start
Used by the routine at GameEntryPoint.
Turn caps lock on, clear the flags, copy in a fresh game and enter the Great Valley.
GameStart 63844 LD HL,23658 Turn CAPS LOCK on, using bit 3 of *FLAGS2.
63847 SET 3,(HL)
Seal the passages that the player has to open.
63849 XOR A Seal the farmhouse, the woodman's hut and both sides of the chasm.
63850 LD (59713),A
63853 LD (59798),A
63856 LD (59828),A
63859 LD (59835),A
63862 LD (60068),A Seal the witch's hovel, the rock wall and the cavern.
63865 LD (60074),A
63868 LD (60122),A
Install a fresh game.
63871 LD HL,63890 Copy 316 bytes from DefaultGameState over the game state at GameState.
63874 LD DE,47560
63877 LD BC,316
63880 LDIR
63882 LD A,5 Enter room 5, the Great Valley.
63884 CALL Handler_InjuryCheck Call Handler_InjuryCheck to enter the Great Valley.
63887 JP GameLoop Jump to GameLoop to take the first turn.
View the equivalent code in;
Prev: 63766 Up: Map Next: 63890