diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-09-13 20:22:09 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-09-17 16:50:17 -0500 |
commit | 6ab49da81133c86a0609832a1336efbee67c1b22 (patch) | |
tree | e52ffef0e9c8f1ae291935ea53ed3b1d11f3de1a /src/region_map.c | |
parent | 3dbd375779220dd07c88cdcfae51c43b723a86ec (diff) |
Clean up field_specials documentation
Diffstat (limited to 'src/region_map.c')
-rw-r--r-- | src/region_map.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/region_map.c b/src/region_map.c index a98964e5c..ea2cbfa6a 100644 --- a/src/region_map.c +++ b/src/region_map.c @@ -24,6 +24,7 @@ #include "region_map.h" #include "constants/region_map_sections.h" #include "heal_location.h" +#include "constants/field_specials.h" #include "constants/heal_locations.h" #include "constants/map_types.h" #include "constants/rgb.h" @@ -1144,20 +1145,20 @@ static void RegionMap_InitializeStateBasedOnSSTidalLocation(void) x = 0; switch (GetSSTidalLocation(&mapGroup, &mapNum, &xOnMap, &yOnMap)) { - case 1: + case SS_TIDAL_LOCATION_SLATEPORT: gRegionMap->mapSecId = MAPSEC_SLATEPORT_CITY; break; - case 2: + case SS_TIDAL_LOCATION_LILYCOVE: gRegionMap->mapSecId = MAPSEC_LILYCOVE_CITY; break; - case 3: + case SS_TIDAL_LOCATION_ROUTE124: gRegionMap->mapSecId = MAPSEC_ROUTE_124; break; - case 4: + case SS_TIDAL_LOCATION_ROUTE131: gRegionMap->mapSecId = MAPSEC_ROUTE_131; break; default: - case 0: + case SS_TIDAL_LOCATION_OTHER: mapHeader = Overworld_GetMapHeaderByGroupAndId(mapGroup, mapNum); gRegionMap->mapSecId = mapHeader->regionMapSectionId; |