diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-27 03:42:04 -0500 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-27 03:42:04 -0500 |
commit | fe55580fe1e51c669033939125c939ed13a555d0 (patch) | |
tree | 2481f3b23d0036393eb9a72fb36cf9c920ce300d /src/region_map.c | |
parent | 231355f84dccd11329d81d074fa36135cfad4f94 (diff) |
Reverse engineer unusual weather events
Diffstat (limited to 'src/region_map.c')
-rw-r--r-- | src/region_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/region_map.c b/src/region_map.c index ff0c19167..5c85606a8 100644 --- a/src/region_map.c +++ b/src/region_map.c @@ -1159,7 +1159,7 @@ static u16 RegionMap_GetTerraCaveMapSecId(void) { s16 idx; - idx = VarGet(VAR_0x4037) - 1; + idx = VarGet(VAR_UNUSUAL_WEATHER_LOCATION) - 1; if (idx < 0 || idx > 15) { idx = 0; @@ -1171,7 +1171,7 @@ static void RegionMap_GetMarineCaveCoords(u16 *x, u16 *y) { u16 idx; - idx = VarGet(VAR_0x4037); + idx = VarGet(VAR_UNUSUAL_WEATHER_LOCATION); if (idx < 9 || idx > 16) { idx = 9; |