Renamed sub_808C1B4 -> PlayerUseAcroBikeOnBumpySlope

This commit is contained in:
brain_face 2020-04-12 16:22:03 +02:00
parent 007a038031
commit 9abda59bd1
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ u8 GetRSAvatarGraphicsIdByGender(u8);
void PlayerWheelieInPlace(u8 direction); void PlayerWheelieInPlace(u8 direction);
void PlayerWheelieMove(u8 direction); void PlayerWheelieMove(u8 direction);
void PlayerPopWheelieWhileMoving(u8 direction); void PlayerPopWheelieWhileMoving(u8 direction);
void sub_808C1B4(u8 direction); void PlayerUseAcroBikeOnBumpySlope(u8 direction);
void PlayerEndWheelieWhileMoving(u8 direction); void PlayerEndWheelieWhileMoving(u8 direction);
void sub_808D194(void); void sub_808D194(void);
void sub_808D1C8(void); void sub_808D1C8(void);

View File

@ -1049,7 +1049,7 @@ void Bike_HandleBumpySlopeJump(void)
if (MetatileBehavior_IsBumpySlope(tileBehavior)) if (MetatileBehavior_IsBumpySlope(tileBehavior))
{ {
gPlayerAvatar.acroBikeState = ACRO_STATE_WHEELIE_STANDING; gPlayerAvatar.acroBikeState = ACRO_STATE_WHEELIE_STANDING;
sub_808C1B4(GetPlayerMovementDirection()); PlayerUseAcroBikeOnBumpySlope(GetPlayerMovementDirection());
} }
} }
} }

View File

@ -1415,7 +1415,7 @@ void sub_808C15C(u8 direction)
StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetFishingDirectionAnimNum(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)); ObjectEventSetGraphicsId(&gObjectEvents[gPlayerAvatar.objectEventId], GetPlayerAvatarGraphicsIdByStateId(PLAYER_AVATAR_STATE_ACRO_BIKE));
StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetAcroWheelieDirectionAnimNum(direction)); StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetAcroWheelieDirectionAnimNum(direction));