summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mirage_tower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirage_tower.c b/src/mirage_tower.c
index e398c2334..bb9c6e958 100644
--- a/src/mirage_tower.c
+++ b/src/mirage_tower.c
@@ -318,7 +318,7 @@ void SetMirageTowerVisibility(void)
u16 rand;
bool8 visible;
- if (VarGet(VAR_ROUTE_111_STATE))
+ if (VarGet(VAR_MIRAGE_TOWER_STATE))
{
FlagClear(FLAG_MIRAGE_TOWER_VISIBLE);
return;