Bug documenting

This commit is contained in:
kiliwily
2020-09-12 18:43:20 +02:00
parent 58a2b62bae
commit 5c3669e0cd
4 changed files with 26 additions and 0 deletions

View File

@@ -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 tilset editor.
if (metatileBehavior == MB_NO_SURFACING
|| metatileBehavior == MB_SEAWEED_NO_SURFACING)
return TRUE;