#include "GameState.h"
 
u8 levelState = LEVEL_READY;
u8 gameRunning = FALSE;
u16 gameScore = 0;
u8 currentRoom = 0;
u8 currentRoomX = 0;
u8 currentRoomY = 0;
u8 roomChange = FALSE;
u8 playerLives = 0;
u16 levelScore = 0;
u8 passcodeUsed = FALSE;

 void resetGameSessionState()
 {
     roomChange = FALSE;
     gameScore = 0;
     levelScore = 0;
     levelState = LEVEL_READY;

     // Sets the difficulty values for the game based on player chosen difficulty.
     setupDifficulty();

     // Difficulty must be set before setting player lives.
     playerLives = startingLivesCount;
 }