summaryrefslogtreecommitdiff
path: root/src/region_map.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-03-10 23:13:27 -0400
committerhuderlem <huderlem@gmail.com>2020-04-28 19:59:08 -0500
commitb1d26e10a829a2a1526754b88167485df7e2511f (patch)
treec7bc3138a1f0a131a713457e4905ebc71c10b677 /src/region_map.c
parent724ffe14ee2be59a34dc6a397f6579cc0d820cff (diff)
Sync map header property names with pokefirered
Diffstat (limited to 'src/region_map.c')
-rw-r--r--src/region_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/region_map.c b/src/region_map.c
index 8a15ca30d..500e9e383 100644
--- a/src/region_map.c
+++ b/src/region_map.c
@@ -1004,7 +1004,7 @@ static void InitMapBasedOnPlayerLocation(void)
break;
case MAP_TYPE_UNDERGROUND:
case MAP_TYPE_UNUSED_2:
- if (gMapHeader.flags & MAP_ALLOW_ESCAPE_ROPE)
+ if (gMapHeader.flags & MAP_ALLOW_ESCAPING)
{
mapHeader = Overworld_GetMapHeaderByGroupAndId(gSaveBlock1Ptr->escapeWarp.mapGroup, gSaveBlock1Ptr->escapeWarp.mapNum);
gRegionMap->mapSecId = mapHeader->regionMapSectionId;