summaryrefslogtreecommitdiff
path: root/src/metatile_behavior.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-12-12 23:28:01 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-12-12 23:30:51 -0500
commit81d95b9325ed2526ce638744408f453a8169abb4 (patch)
treee0f7100b6b35156f0868df537b2e3a149061dd52 /src/metatile_behavior.c
parentba3021db64bd9518f324c1ad89e63e90278f0eb4 (diff)
Use BUGFIX for some inline fixes
Diffstat (limited to 'src/metatile_behavior.c')
-rw-r--r--src/metatile_behavior.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/metatile_behavior.c b/src/metatile_behavior.c
index 51cc65c22..2a9304a4d 100644
--- a/src/metatile_behavior.c
+++ b/src/metatile_behavior.c
@@ -970,10 +970,13 @@ bool8 MetatileBehavior_IsUnableToEmerge(u8 metatileBehavior)
{
// BUG: The player is unintentionally able to emerge on water doors.
// Also the narrower underwater door in the underwater tileset has the wrong metatile behavior. This causes the dive glitch.
- // To fix that add || metatileBehavior == MB_WATER_DOOR to the if statement below and
- // change the metatile behavior of the narrower water door with porymaps tileset editor.
+ // To fix change the metatile behavior of the narrower water door with porymap's tileset editor.
if (metatileBehavior == MB_NO_SURFACING
- || metatileBehavior == MB_SEAWEED_NO_SURFACING)
+ || metatileBehavior == MB_SEAWEED_NO_SURFACING
+ #ifdef BUGFIX
+ || metatileBehavior == MB_WATER_DOOR
+ #endif
+ )
return TRUE;
else
return FALSE;