summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain_face <brainface@protonmail.com>2020-04-12 16:22:03 +0200
committerbrain_face <brainface@protonmail.com>2020-04-12 16:22:03 +0200
commit9abda59bd1e08ede1f6fce18d2f2f2bb230327f6 (patch)
treebc716561bea8451df23cbdf0ca090c6d1510eb06
parent007a03803122b2605f089106c110a2f85e53f79d (diff)
Renamed sub_808C1B4 -> PlayerUseAcroBikeOnBumpySlope
-rw-r--r--include/field_player_avatar.h2
-rw-r--r--src/bike.c2
-rw-r--r--src/field_player_avatar.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/field_player_avatar.h b/include/field_player_avatar.h
index 12f41c0f8..bcee339d5 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 ebf2c7a50..e66d6b6e1 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 9fef51bec..6d44f4b51 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));