summaryrefslogtreecommitdiff
path: root/src/landmark.c
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-01-15 23:00:25 -0500
committergarak <garakmon@gmail.com>2019-01-15 23:26:17 -0500
commit669e40cb15232f0631fba4a079a42dcc7e676adc (patch)
tree91b7c68e65cb21efe5a8a1d3fda7c315c997a597 /src/landmark.c
parente8b149e80e7b1411ce7a128e36ebc5d5490133e1 (diff)
sync region map data formats with pokeemerald
Diffstat (limited to 'src/landmark.c')
-rw-r--r--src/landmark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/landmark.c b/src/landmark.c
index 0572da4ca..520f88718 100644
--- a/src/landmark.c
+++ b/src/landmark.c
@@ -360,7 +360,7 @@ static const struct LandmarkList gLandmarkLists[] =
{MAPSEC_ROUTE_134, 1, Landmarks_OceanCurrent},
{MAPSEC_ROUTE_134, 2, Landmarks_Route134_2},
{MAPSEC_MT_CHIMNEY, 2, Landmarks_MtChimney_2},
- {MAPSEC_NOTHING, 0, NULL},
+ {MAPSEC_NONE, 0, NULL},
};
static const struct Landmark *const *GetLandmarks(u8 mapSection, u8 id);
@@ -396,7 +396,7 @@ static const struct Landmark *const *GetLandmarks(u8 mapSection, u8 id)
{
u16 i = 0;
- for (; gLandmarkLists[i].mapSection != MAPSEC_NOTHING; i++)
+ for (; gLandmarkLists[i].mapSection != MAPSEC_NONE; i++)
{
if (gLandmarkLists[i].mapSection > mapSection)
return NULL;
@@ -404,7 +404,7 @@ static const struct Landmark *const *GetLandmarks(u8 mapSection, u8 id)
break;
}
- if (gLandmarkLists[i].mapSection == MAPSEC_NOTHING)
+ if (gLandmarkLists[i].mapSection == MAPSEC_NONE)
return NULL;
for (; gLandmarkLists[i].mapSection == mapSection; i++)