diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-27 15:18:56 -0500 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-27 15:18:56 -0500 |
commit | 648fc3d4f33b0df553b0fd3737843a1495351993 (patch) | |
tree | 457073006ed6769d46a4ae94963f1378bd9e3943 /src/secret_base.c | |
parent | 4137dd7b0bd6dd661831856e4ca30b958d4beac9 (diff) |
Name more unknown vars
Diffstat (limited to 'src/secret_base.c')
-rw-r--r-- | src/secret_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/secret_base.c b/src/secret_base.c index adcab9cbc..7ff83dec8 100644 --- a/src/secret_base.c +++ b/src/secret_base.c @@ -407,7 +407,7 @@ void sub_80E9068(void) bool8 sub_80E909C(void) { - if (gMapHeader.mapType == MAP_TYPE_SECRET_BASE && VarGet(VAR_0x4097) == 0) + if (gMapHeader.mapType == MAP_TYPE_SECRET_BASE && VarGet(VAR_SECRET_BASE_SHOULD_BE_INIT) == 0) { return FALSE; } @@ -494,7 +494,7 @@ void sub_80E9238(u8 flagIn) sub_80E8CB0(&x, &y, 0x220); MapGridSetMetatileIdAt(x + 7, y + 7, 0x221 | 0xc00); } - else if (flagIn == 1 && VarGet(VAR_0x4089) == 1) + else if (flagIn == 1 && VarGet(VAR_SECRET_BASE_INITIALIZED) == 1) { sub_80E8CB0(&x, &y, 0x220); MapGridSetMetatileIdAt(x + 7, y + 7, 0x20a | 0xc00); |