summaryrefslogtreecommitdiff
path: root/src/field_player_avatar.c
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 01:11:44 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 01:11:44 +0100
commit1435c96b41049da3a05ed97d9a07b355aacbac4f (patch)
tree72b638cae542fc16c9785656f3335ff8de00b1ba /src/field_player_avatar.c
parent3aff112127ddb67882bfce31d046eb886e0aa2c1 (diff)
Further synchronisation
Diffstat (limited to 'src/field_player_avatar.c')
-rw-r--r--src/field_player_avatar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c
index e72b5b944..f5ddbcca4 100644
--- a/src/field_player_avatar.c
+++ b/src/field_player_avatar.c
@@ -624,7 +624,7 @@ static void PlayerNotOnBikeMoving(u8 direction, u16 heldKeys)
return;
}
- if (!(gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_4) && (heldKeys & B_BUTTON) && FlagGet(FLAG_SYS_B_DASH)
+ if (!(gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_UNDERWATER) && (heldKeys & B_BUTTON) && FlagGet(FLAG_SYS_B_DASH)
&& IsRunningDisallowed(gEventObjects[gPlayerAvatar.eventObjectId].currentMetatileBehavior) == 0)
{
PlayerRun(direction);