mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
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:
@@ -1266,7 +1266,7 @@ void scriptclass::run()
|
||||
if (words[1] == "teleporter")
|
||||
{
|
||||
//TODO this draw the teleporter screen. This is a problem. :(
|
||||
game.gamestate = 5;
|
||||
game.gamestate = TELEPORTERMODE;
|
||||
graphics.menuoffset = 240; //actually this should count the roomname
|
||||
if (map.extrarow) graphics.menuoffset -= 10;
|
||||
|
||||
@@ -1502,7 +1502,7 @@ void scriptclass::run()
|
||||
}
|
||||
else if (words[0] == "rollcredits")
|
||||
{
|
||||
game.gamestate = 6;
|
||||
game.gamestate = GAMECOMPLETE;
|
||||
graphics.fademode = 4;
|
||||
game.creditposition = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user