diff options
Diffstat (limited to 'include/bike.h')
-rw-r--r-- | include/bike.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/include/bike.h b/include/bike.h index e4f94becb..d6021f5e4 100644 --- a/include/bike.h +++ b/include/bike.h @@ -13,6 +13,20 @@ enum SPEED_FASTEST, }; +enum { + BIKE_TRANS_FACE_DIRECTION, + BIKE_TRANS_TURNING, + BIKE_TRANS_MOVE, + BIKE_TRANS_DOWNHILL, + BIKE_TRANS_UPHILL +}; + +enum { + BIKE_STATE_NORMAL, + BIKE_STATE_TURNING, + BIKE_STATE_SLOPE +}; + // Acro bike states enum { @@ -25,15 +39,15 @@ enum ACRO_STATE_TURN_JUMP, }; -void InitPlayerAvatarBikeState(u32 directionHistory, u32 abStartSelectHistory); -bool8 MetatileAtPlayerPositionForbidsBiking(void); -void StartTransitionToFlipBikeState(u8 flags); +void BikeClearState(u32 directionHistory, u32 abStartSelectHistory); +bool8 IsBikingDisallowedByPlayer(void); +void GetOnOffBike(u8 flags); s16 GetPlayerSpeed(void); -bool8 sub_80BD460(u8); +bool8 RS_IsRunningDisallowed(u8 r0); void MovePlayerOnBike(u8 direction, u16 newKeys, u16 heldKeys); bool32 IsRunningDisallowed(u8 metatileBehavior); void Bike_HandleBumpySlopeJump(void); void Bike_UpdateBikeCounterSpeed(u8 counter); -bool8 player_should_look_direction_be_enforced_upon_movement(void); +bool8 IsPlayerNotUsingAcroBikeOnBumpySlope(void); #endif //GUARD_BIKE_H |