From 0e82eab078dc2d4a7140c034a092492602920b2e Mon Sep 17 00:00:00 2001 From: laserXdolphin <107103137+laserXdolphin@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:29:16 +0200 Subject: [PATCH] Implemented faster surfing https://www.pokecommunity.com/threads/simple-modifications-directory.416647/page-3#post-10137446 --- src/field_player_avatar.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c index 50438863afb8..8a875ee05537 100644 --- a/src/field_player_avatar.c +++ b/src/field_player_avatar.c @@ -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; }