diff --git a/include/field_player_avatar.h b/include/field_player_avatar.h index 0a39a08953..45e0a6676e 100644 --- a/include/field_player_avatar.h +++ b/include/field_player_avatar.h @@ -53,7 +53,7 @@ void sub_808B578(void); u8 GetFRLGAvatarGraphicsIdByGender(u8); u8 GetRSAvatarGraphicsIdByGender(u8); void PlayerWheelieInPlace(u8 direction); -void sub_808B9BC(u8 direction); +void PlayerWheelieMove(u8 direction); void sub_808B9A4(u8 direction); void sub_808C1B4(u8 direction); void sub_808B9D4(u8 direction); diff --git a/src/bike.c b/src/bike.c index 45598e83ca..711c18cd7a 100644 --- a/src/bike.c +++ b/src/bike.c @@ -700,7 +700,7 @@ static void AcroBikeTransition_WheelieMoving(u8 direction) } return; } - sub_808B9BC(direction); + PlayerWheelieMove(direction); gPlayerAvatar.runningState = MOVING; } diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c index 40086eab7a..4baf0c64f4 100644 --- a/src/field_player_avatar.c +++ b/src/field_player_avatar.c @@ -261,7 +261,7 @@ static const u8 sRSAvatarGfxIds[] = {OBJ_EVENT_GFX_LINK_RS_BRENDAN, OBJ_EVENT_GF static const u8 sPlayerAvatarGfxToStateFlag[2][5][2] = { - [MALE] = + [MALE] = { {OBJ_EVENT_GFX_BRENDAN_NORMAL, PLAYER_AVATAR_FLAG_ON_FOOT}, {OBJ_EVENT_GFX_BRENDAN_MACH_BIKE, PLAYER_AVATAR_FLAG_MACH_BIKE}, @@ -269,7 +269,7 @@ static const u8 sPlayerAvatarGfxToStateFlag[2][5][2] = {OBJ_EVENT_GFX_BRENDAN_SURFING, PLAYER_AVATAR_FLAG_SURFING}, {OBJ_EVENT_GFX_BRENDAN_UNDERWATER, PLAYER_AVATAR_FLAG_UNDERWATER}, }, - [FEMALE] = + [FEMALE] = { {OBJ_EVENT_GFX_MAY_NORMAL, PLAYER_AVATAR_FLAG_ON_FOOT}, {OBJ_EVENT_GFX_MAY_MACH_BIKE, PLAYER_AVATAR_FLAG_MACH_BIKE}, @@ -1090,7 +1090,7 @@ void sub_808B9A4(u8 direction) PlayerSetAnimId(GetAcroPopWheelieMoveDirectionMovementAction(direction), 2); } -void sub_808B9BC(u8 direction) +void PlayerWheelieMove(u8 direction) { PlayerSetAnimId(GetAcroWheelieMoveDirectionMovementAction(direction), 2); }