diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-06-01 10:23:12 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-06-01 10:23:12 -0400 |
commit | f53e2491bfe41cea6e912bef1692c2961927ef23 (patch) | |
tree | 912a810c9ad1c808fb93121ceb32f0e462ffcfc5 /src/fieldmap.c | |
parent | 4fe507e4539f2c349a7297c31f66893bbf775ff5 (diff) |
Document union_room_player_avatar.c
Diffstat (limited to 'src/fieldmap.c')
-rw-r--r-- | src/fieldmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fieldmap.c b/src/fieldmap.c index 21bbaa8f8..753f4451f 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -917,11 +917,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; |