diff options
author | Kurausukun <lord.uber1@gmail.com> | 2020-11-02 18:43:40 -0500 |
---|---|---|
committer | Kurausukun <lord.uber1@gmail.com> | 2020-11-02 18:43:40 -0500 |
commit | 6545745e5997f48e0c853b30b144a10244e7ba20 (patch) | |
tree | 5b0e10ea033a9501105983f1671a76ea39ef8ab0 /src/metatile_behavior.c | |
parent | 8bf401c2272b7c4182f54cb1285f6067fb5247f9 (diff) | |
parent | 9794b077b501ca8c9e5e3f1b6cdd705ec2129d24 (diff) |
Merge branch 'reverts' of https://github.com/aaaaaa123456789/pokeemerald into reverts
Diffstat (limited to 'src/metatile_behavior.c')
-rw-r--r-- | src/metatile_behavior.c | 4 |
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; |