summaryrefslogtreecommitdiff
path: root/src/fieldmap.c
diff options
context:
space:
mode:
authorEvan <eroelke@gmail.com>2019-11-26 13:55:24 -0700
committerEvan <eroelke@gmail.com>2019-11-26 13:55:24 -0700
commit31d8bfb04850a9a1c1639b40b7ff305a673b9c09 (patch)
treebba0c7d4e6230c2eecbb167b458bad89b8f01e04 /src/fieldmap.c
parentd1142b4290e8688a0d42bfc1b95b9d90b1721459 (diff)
parent19ecb1631b5fce1147077026a8eff890c6ec315a (diff)
fix merge conflicts
Diffstat (limited to 'src/fieldmap.c')
-rw-r--r--src/fieldmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fieldmap.c b/src/fieldmap.c
index 000b8105b..e5901c149 100644
--- a/src/fieldmap.c
+++ b/src/fieldmap.c
@@ -60,7 +60,7 @@ const u8 gUnknown_8352F10[] = {
const struct MapHeader * mapconnection_get_mapheader(struct MapConnection * connection)
{
- return get_mapheader_by_bank_and_number(connection->mapGroup, connection->mapNum);
+ return Overworld_GetMapHeaderByGroupAndId(connection->mapGroup, connection->mapNum);
}
void not_trainer_hill_battle_pyramid(void)
@@ -463,7 +463,7 @@ u32 MapGridGetMetatileBehaviorAt(s32 x, s32 y)
return sub_8058F48(x, y, 0);
}
-u8 MapGridGetMetatileLayerTypeAt(s32 x, s32 y)
+u8 MapGridGetMetatileLayerTypeAt(s16 x, s16 y)
{
return sub_8058F48(x, y, 6);
}