mirror of
https://github.com/pret/pokeruby.git
synced 2026-03-21 17:54:19 -05:00
70 lines
2.1 KiB
C
70 lines
2.1 KiB
C
#ifndef GUARD_FIELD_PLAYER_AVATAR_H
|
|
#define GUARD_FIELD_PLAYER_AVATAR_H
|
|
|
|
enum {
|
|
PLAYER_AVATAR_STATE_NORMAL,
|
|
PLAYER_AVATAR_STATE_MACH_BIKE,
|
|
PLAYER_AVATAR_STATE_ACRO_BIKE,
|
|
PLAYER_AVATAR_STATE_SURFING,
|
|
PLAYER_AVATAR_STATE_UNDERWATER,
|
|
PLAYER_AVATAR_STATE_FIELD_MOVE,
|
|
PLAYER_AVATAR_STATE_FISHING,
|
|
PLAYER_AVATAR_STATE_WATERING,
|
|
};
|
|
|
|
// MovementType_None2
|
|
void player_step(u8 a, u16 b, u16 c);
|
|
u8 CheckForObjectEventCollision(struct ObjectEvent *a, s16 b, s16 c, u8 d, u8 e);
|
|
void SetPlayerAvatarTransitionFlags(u16 a);
|
|
void sub_8059204(void);
|
|
u8 PlayerGetCopyableMovement(void);
|
|
void PlayerSetAnimId(u8 a, u8 b);
|
|
void PlayerGoSpeed1(u8 a);
|
|
void PlayerGoSpeed2(u8 a);
|
|
void PlayerRideWaterCurrent(u8 a);
|
|
void PlayerGoSpeed4(u8 a);
|
|
void PlayerOnBikeCollide(u8);
|
|
void PlayerFaceDirection(u8 a);
|
|
void PlayerTurnInPlace(u8 a);
|
|
void PlayerJumpLedge(u8 a);
|
|
void sub_80594C0(void);
|
|
void PlayerIdleWheelie(u8 a);
|
|
void PlayerStartWheelie(u8 a);
|
|
void PlayerEndWheelie(u8 a);
|
|
void PlayerStandingHoppingWheelie(u8 a);
|
|
void PlayerMovingHoppingWheelie(u8 a);
|
|
void PlayerLedgeHoppingWheelie(u8 a);
|
|
void PlayerAcroTurnJump(u8 a);
|
|
void sub_80595DC(u8 a);
|
|
void sub_8059600(u8 a);
|
|
void sub_8059618(u8 a);
|
|
void sub_8059630(u8 a);
|
|
void GetXYCoordsOneStepInFrontOfPlayer(s16 *x, s16 *y);
|
|
void PlayerGetDestCoords(s16 *, s16 *);
|
|
u8 GetPlayerFacingDirection(void);
|
|
u8 GetPlayerMovementDirection(void);
|
|
u8 PlayerGetZCoord(void);
|
|
u8 TestPlayerAvatarFlags(u8);
|
|
u8 sub_80597D0(void);
|
|
u8 GetPlayerAvatarObjectId(void);
|
|
void sub_80597E8(void);
|
|
void sub_80597F4(void);
|
|
u8 GetRivalAvatarGraphicsIdByStateIdAndGender(u8 a, u8 b);
|
|
u8 GetPlayerAvatarGraphicsIdByStateId(u8);
|
|
u8 GetPlayerAvatarGenderByGraphicsId(u8 gfxId);
|
|
bool8 PartyHasMonWithSurf(void);
|
|
bool8 IsPlayerSurfingNorth(void);
|
|
bool8 IsPlayerFacingSurfableFishableWater(void);
|
|
void ClearPlayerAvatarInfo(void);
|
|
void SetPlayerAvatarStateMask(u8 a);
|
|
u8 GetPlayerAvatarGraphicsIdByCurrentState(void);
|
|
void SetPlayerAvatarExtraStateTransition(u8 a, u8 b);
|
|
void InitPlayerAvatar(s16 a, s16 b, u8 c, u8 d);
|
|
void sub_8059B88(u8);
|
|
void sub_8059BF4(void);
|
|
void sub_8059C94(u8);
|
|
void sub_8059D08(u8);
|
|
void StartFishing(u8 a);
|
|
|
|
#endif
|