From 9abda59bd1e08ede1f6fce18d2f2f2bb230327f6 Mon Sep 17 00:00:00 2001 From: brain_face Date: Sun, 12 Apr 2020 16:22:03 +0200 Subject: [PATCH] Renamed sub_808C1B4 -> PlayerUseAcroBikeOnBumpySlope --- include/field_player_avatar.h | 2 +- src/bike.c | 2 +- src/field_player_avatar.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/field_player_avatar.h b/include/field_player_avatar.h index 12f41c0f81..bcee339d5f 100644 --- a/include/field_player_avatar.h +++ b/include/field_player_avatar.h @@ -55,7 +55,7 @@ u8 GetRSAvatarGraphicsIdByGender(u8); void PlayerWheelieInPlace(u8 direction); void PlayerWheelieMove(u8 direction); void PlayerPopWheelieWhileMoving(u8 direction); -void sub_808C1B4(u8 direction); +void PlayerUseAcroBikeOnBumpySlope(u8 direction); void PlayerEndWheelieWhileMoving(u8 direction); void sub_808D194(void); void sub_808D1C8(void); diff --git a/src/bike.c b/src/bike.c index ebf2c7a50d..e66d6b6e13 100644 --- a/src/bike.c +++ b/src/bike.c @@ -1049,7 +1049,7 @@ void Bike_HandleBumpySlopeJump(void) if (MetatileBehavior_IsBumpySlope(tileBehavior)) { gPlayerAvatar.acroBikeState = ACRO_STATE_WHEELIE_STANDING; - sub_808C1B4(GetPlayerMovementDirection()); + PlayerUseAcroBikeOnBumpySlope(GetPlayerMovementDirection()); } } } diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c index 9fef51bece..6d44f4b514 100644 --- a/src/field_player_avatar.c +++ b/src/field_player_avatar.c @@ -1415,7 +1415,7 @@ void sub_808C15C(u8 direction) StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetFishingDirectionAnimNum(direction)); } -void sub_808C1B4(u8 direction) +void PlayerUseAcroBikeOnBumpySlope(u8 direction) { ObjectEventSetGraphicsId(&gObjectEvents[gPlayerAvatar.objectEventId], GetPlayerAvatarGraphicsIdByStateId(PLAYER_AVATAR_STATE_ACRO_BIKE)); StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetAcroWheelieDirectionAnimNum(direction));