summaryrefslogtreecommitdiff
path: root/src/fieldmap.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-07-08 15:43:45 -0400
committerGitHub <noreply@github.com>2020-07-08 15:43:45 -0400
commit8b80b417e2172a44098a22473717da20585bd15d (patch)
tree2568b0dadaaf9dc2351da835bfaeacd11000b694 /src/fieldmap.c
parent550875757b6bbe3cde41c928c6bbef863b5492bf (diff)
parente50777042528a667b4196ed6879b39e573457494 (diff)
Merge pull request #1069 from GriffinRichards/doc-link
Document linking
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 25157ebb1..cfc7018bd 100644
--- a/src/fieldmap.c
+++ b/src/fieldmap.c
@@ -924,11 +924,11 @@ void GetCameraCoords(u16 *x, u16 *y)
*y = gSaveBlock1Ptr->pos.y;
}
-void sub_8088B94(int x, int y, int a2)
+void MapGridSetMetatileImpassabilityAt(int x, int y, bool32 impassable)
{
if (x >= 0 && x < gBackupMapLayout.width && y >= 0 && y < gBackupMapLayout.height)
{
- if (a2 != 0)
+ if (impassable)
gBackupMapLayout.map[x + gBackupMapLayout.width * y] |= METATILE_COLLISION_MASK;
else
gBackupMapLayout.map[x + gBackupMapLayout.width * y] &= ~METATILE_COLLISION_MASK;