summaryrefslogtreecommitdiff
path: root/src/metatile_behavior.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-09-19 18:09:49 -0400
committerGitHub <noreply@github.com>2020-09-19 18:09:49 -0400
commit0b592228c523747521ae0e096d7d680bc0418e2c (patch)
tree164515aa3969239c3f70dd87327525767ca1732f /src/metatile_behavior.c
parent0088f59b1db2734cf89a24b57d10fa32ace40074 (diff)
parentf1366dfc694c78ac934e58a917a173f95c55df28 (diff)
Merge pull request #1186 from kiliwily/DocSomeBugs
Document some bugs
Diffstat (limited to 'src/metatile_behavior.c')
-rw-r--r--src/metatile_behavior.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/metatile_behavior.c b/src/metatile_behavior.c
index dde4de329..51cc65c22 100644
--- a/src/metatile_behavior.c
+++ b/src/metatile_behavior.c
@@ -968,6 +968,10 @@ bool8 MetatileBehavior_IsDiveable(u8 metatileBehavior)
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.
if (metatileBehavior == MB_NO_SURFACING
|| metatileBehavior == MB_SEAWEED_NO_SURFACING)
return TRUE;