Skip to content

Commit

Permalink
Implemented faster surfing
Browse files Browse the repository at this point in the history
  • Loading branch information
laserXdolphin committed Jul 17, 2024
1 parent 6adc0a4 commit 0e82eab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/field_player_avatar.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,11 @@ static void PlayerNotOnBikeMoving(u8 direction, u16 heldKeys)

if (gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_SURFING)
{
// same speed as running
PlayerWalkFast(direction);
if (heldKeys & B_BUTTON)
PlayerWalkFaster(direction);
else
// same speed as running
PlayerWalkFast(direction);
return;
}

Expand Down

0 comments on commit 0e82eab

Please sign in to comment.