summaryrefslogtreecommitdiff
path: root/src/roamer.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-25 09:15:34 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-25 09:15:34 -0500
commit10aa908f56599c155ecf70ccee6b07eea07fb643 (patch)
tree0bec37a7083498f43dcf1124ceb0ce13c74ca420 /src/roamer.c
parent0e3d574276db954994b0be24c61813b0b0e28c0c (diff)
parent46773995020da0bc7984933f7f407ff30394596d (diff)
Merge branch 'dism_more_data' of github.com:PikalaxALT/pokefirered into dism_more_data
Diffstat (limited to 'src/roamer.c')
-rw-r--r--src/roamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roamer.c b/src/roamer.c
index b42855644..b3cc67f85 100644
--- a/src/roamer.c
+++ b/src/roamer.c
@@ -236,5 +236,5 @@ u16 GetRoamerLocationMapSectionId(void)
struct Roamer *roamer = &saveRoamer;
if (!saveRoamer.active)
return MAPSEC_NONE;
- return get_mapheader_by_bank_and_number(sRoamerLocation[MAP_GRP], sRoamerLocation[MAP_NUM])->regionMapSectionId;
+ return Overworld_GetMapHeaderByGroupAndId(sRoamerLocation[MAP_GRP], sRoamerLocation[MAP_NUM])->regionMapSectionId;
}