Change gamestate ints to their enum names

This is to make it easier to read, so I don't have to reference Enums.h
if I want to know what they are referring to.
This commit is contained in:
Misa
2020-04-16 20:15:53 -07:00
committed by Ethan Lee
parent 637a9d5665
commit 4d9c834a13
5 changed files with 11 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ void gamecompletelogic()
graphics.showcutscenebars = false;
graphics.cutscenebarspos = 0;
//Return to game
game.gamestate = 7;
game.gamestate = GAMECOMPLETE2;
graphics.fademode = 4;
}
}
@@ -106,7 +106,7 @@ void gamecompletelogic2()
music.currentsong=tmp;
//Return to game
map.colstate = 10;
game.gamestate = 1;
game.gamestate = TITLEMODE;
graphics.fademode = 4;
music.playef(18);
game.createmenu(Menu::gamecompletecontinue);