summaryrefslogtreecommitdiff
path: root/src/roamer.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-11-24 08:44:21 -0500
committerGitHub <noreply@github.com>2019-11-24 08:44:21 -0500
commitbb8c712f75e6ed5ec66b2ee94c6da1157693c284 (patch)
treedc8d135873f6a7cc8ca1fad8bb5d1a7a84e4b0f7 /src/roamer.c
parent2177f1f40b4dda2091ac3be3522c1bc4f6690e88 (diff)
parent2b2dfa7e49a0d28983a4e516ca44aee8cb7c66bb (diff)
Merge pull request #160 from jiangzhengwenjz/party_menu
party_menu
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;
}