Prev: A0DB Up: Map Next: A0F7
A0E7: Handle Game State Based On Parameter
Used by the routine at GameEntryPoint.
Input
A State parameter (0, 1, or 2)
HandleGameStateBasedOnParameter A0E7 CP $02 Jump to HandleGameStateBasedOnParameter_1 if A is equal to 02.
A0E9 JR Z,HandleGameStateBasedOnParameter_1
This entry point is used by the routine at Error_OutOfMemory.
HandleGameStateBasedOnParameter_0 A0EB CALL LoadGameState Call LoadGameState.
A0EE JP GameEntryPoint Jump to GameEntryPoint.
HandleGameStateBasedOnParameter_1 A0F1 CALL SaveGameState Call SaveGameState.
A0F4 JP Game_Initialisation Jump to Game_Initialisation.
Prev: A0DB Up: Map Next: A0F7