Document src/overworld.c
This commit is contained in:
+1
-2
@@ -1278,8 +1278,7 @@ static bool8 FallWarpEffect_7(struct Task * task)
|
||||
UnfreezeObjectEvents();
|
||||
InstallCameraPanAheadCallback();
|
||||
PlayerGetDestCoords(&x, &y);
|
||||
// Seafoam Islands
|
||||
if (sub_8055B38(MapGridGetMetatileBehaviorAt(x, y)) == TRUE)
|
||||
if (MetatileBehavior_IsSurfableInSeafoamIslands(MapGridGetMetatileBehaviorAt(x, y)) == TRUE)
|
||||
{
|
||||
VarSet(VAR_TEMP_1, 1);
|
||||
SetPlayerAvatarTransitionFlags(PLAYER_AVATAR_FLAG_SURFING);
|
||||
|
||||
Reference in New Issue
Block a user