mirror of
https://github.com/pret/pokefirered.git
synced 2026-04-24 23:07:39 -05:00
68 lines
2.7 KiB
C
68 lines
2.7 KiB
C
#ifndef GUARD_FIELD_PLAYER_AVATAR_H
|
|
#define GUARD_FIELD_PLAYER_AVATAR_H
|
|
|
|
#include "global.h"
|
|
|
|
void ClearPlayerAvatarInfo(void);
|
|
void SetPlayerAvatarExtraStateTransition(u8, u8);
|
|
u8 GetPlayerAvatarGenderByGraphicsId(u8);
|
|
bool8 TestPlayerAvatarFlags(u8);
|
|
void PlayerGetDestCoords(s16 *, s16 *);
|
|
u8 GetPlayerFacingDirection(void);
|
|
u8 GetPlayerMovementDirection(void);
|
|
u8 PlayerGetCopyableMovement(void);
|
|
void MovePlayerNotOnBike(u8 direction, u16 heldKeys);
|
|
|
|
void MovementType_Player(struct Sprite *sprite);
|
|
void HandleEnforcedLookDirectionOnPlayerStopMoving(void);
|
|
void StopPlayerAvatar(void);
|
|
void GetXYCoordsOneStepInFrontOfPlayer(s16 *xPtr, s16 *yPtr);
|
|
u8 GetPlayerAvatarGraphicsIdByStateId(u8);
|
|
void SetPlayerAvatarStateMask(u8 mask);
|
|
void AlignFishingAnimationFrames(struct Sprite *sprite);
|
|
void CreateStopSurfingTask_NoMusicChange(u8 direction);
|
|
void SavePlayerFacingDirectionForTeleport(u8 direction);
|
|
void SetPlayerAvatarTransitionFlags(u16 flags);
|
|
bool8 IsPlayerFacingSurfableFishableWater(void);
|
|
void StartFishing(u8 secondaryId);
|
|
u8 GetPlayerAvatarObjectId(void);
|
|
u8 PlayerGetElevation(void);
|
|
u8 GetPlayerAvatarGraphicsIdByCurrentState(void);
|
|
void StartPlayerAvatarSummonMonForFieldMoveAnim(void);
|
|
void SetPlayerInvisibility(bool8);
|
|
void StartTeleportInPlayerAnim(void);
|
|
void StartTeleportWarpOutPlayerAnim(void);
|
|
bool32 WaitTeleportWarpOutPlayerAnim(void);
|
|
bool32 WaitTeleportInPlayerAnim(void);
|
|
bool8 PartyHasMonWithSurf(void);
|
|
bool8 IsPlayerSurfingNorth(void);
|
|
u8 player_get_pos_including_state_based_drift(s16 *x, s16 *y);
|
|
void StartPlayerAvatarVsSeekerAnim(void);
|
|
u8 GetRivalAvatarGraphicsIdByStateIdAndGender(u8 state, u8 gender);
|
|
u8 GetPlayerAvatarGraphicsIdByStateIdAndGender(u8 state, u8 gender);
|
|
u8 CheckForObjectEventCollision(struct ObjectEvent *objectEvent, s16 x, s16 y, u8 direction, u8 metatileBehavior);
|
|
void PlayerWalkSlower(u8 direction);
|
|
void PlayerWalkSlow(u8 direction);
|
|
void PlayerWalkNormal(u8 direction);
|
|
void PlayerWalkFast(u8 direction);
|
|
void PlayerGlide(u8 direction);
|
|
void PlayerRideWaterCurrent(u8 direction);
|
|
void PlayerWalkFaster(u8 direction);
|
|
void PlayerRun(u8 direction);
|
|
void PlayerRunSlow(u8 direction);
|
|
void PlayerOnBikeCollide(u8 direction);
|
|
void PlayerNotOnBikeCollide(u8 direction);
|
|
void PlayerFaceDirection(u8 direction);
|
|
void PlayerFaceDirectionFast(u8 direction);
|
|
void PlayerTurnInPlace(u8 direction);
|
|
void PlayerJumpLedge(u8 direction);
|
|
void PlayerShakeHeadOrWalkInPlace(void);
|
|
void player_step(u8 direction, u16 newKeys, u16 heldKeys);
|
|
bool32 PlayerIsMovingOnRockStairs(u8 direction);
|
|
void UpdatePlayerAvatarTransitionState(void);
|
|
void InitPlayerAvatar(s16 x, s16 y, u8 direction, u8 gender);
|
|
void PlayerUseAcroBikeOnBumpySlope(u8 direction);
|
|
u8 GetRSAvatarGraphicsIdByGender(u8 gender);
|
|
|
|
#endif //GUARD_FIELD_PLAYER_AVATAR_H
|