summaryrefslogtreecommitdiff
path: root/src/field/script_menu.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-12-18 11:50:54 -0800
committerGitHub <noreply@github.com>2017-12-18 11:50:54 -0800
commit3c5f725de49371aced1788a21f5e53df5b498b5f (patch)
treeacd08dc7032e0844aeaf1c15128b34889b799a39 /src/field/script_menu.c
parent77f725951f12425734235db42f17ce978a56d41f (diff)
parent0ed3cab7a430baff96b7149edbaba222fcdd2c4c (diff)
Merge pull request #491 from huderlem/flags
Use named flag constants
Diffstat (limited to 'src/field/script_menu.c')
-rw-r--r--src/field/script_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field/script_menu.c b/src/field/script_menu.c
index caa1d7562..1f8c2c45e 100644
--- a/src/field/script_menu.c
+++ b/src/field/script_menu.c
@@ -906,7 +906,7 @@ void ScriptMenu_CreatePCMenu(void)
else
width = 8;
- if (FlagGet(SYS_GAME_CLEAR)) // player has cleared game?
+ if (FlagGet(FLAG_SYS_GAME_CLEAR)) // player has cleared game?
{
numChoices = 4;
MenuDrawTextWindow(0, 0, width + 2, 9);
@@ -920,7 +920,7 @@ void ScriptMenu_CreatePCMenu(void)
MenuPrint(gPCText_LogOff, 1, 5);
}
- if (FlagGet(SYS_PC_LANETTE)) // player met lanette?
+ if (FlagGet(FLAG_SYS_PC_LANETTE)) // player met lanette?
MenuPrint(gPCText_LanettesPC, 1, 1);
else
MenuPrint(gPCText_SomeonesPC, 1, 1);