Merge pull request #567 from GriffinRichards/doc-get-move-actions
Label movement action arrays, z coord -> elevation
This commit is contained in:
@@ -70,10 +70,10 @@
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_UP 0x41
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_LEFT 0x42
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_RIGHT 0x43
|
||||
#define MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_DOWN 0x44
|
||||
#define MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_UP 0x45
|
||||
#define MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_LEFT 0x46
|
||||
#define MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_RIGHT 0x47
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_FAST_DOWN 0x44
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_FAST_UP 0x45
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_FAST_LEFT 0x46
|
||||
#define MOVEMENT_TYPE_WALK_IN_PLACE_FAST_RIGHT 0x47
|
||||
#define MOVEMENT_TYPE_JOG_IN_PLACE_DOWN 0x48
|
||||
#define MOVEMENT_TYPE_JOG_IN_PLACE_UP 0x49
|
||||
#define MOVEMENT_TYPE_JOG_IN_PLACE_LEFT 0x4A
|
||||
|
||||
@@ -99,16 +99,16 @@ void TryOverrideObjectEventTemplateCoords(u8, u8, u8);
|
||||
void UpdateObjectEventCurrentMovement(struct ObjectEvent *, struct Sprite *, bool8(struct ObjectEvent *, struct Sprite *));
|
||||
u8 ObjectEventFaceOppositeDirection(struct ObjectEvent *, u8);
|
||||
u8 GetOppositeDirection(u8);
|
||||
u8 GetWalkInPlaceFastMovementAction(u32);
|
||||
u8 GetWalkInPlaceFasterMovementAction(u32);
|
||||
u8 GetStepInPlaceDelay8AnimId(u32);
|
||||
u8 GetWalkInPlaceNormalMovementAction(u32);
|
||||
u8 GetWalkInPlaceSlowMovementAction(u32);
|
||||
u8 GetStepInPlaceDelay32AnimId(u32);
|
||||
u8 GetWalkInPlaceFastMovementAction(u32);
|
||||
u8 GetCollisionAtCoords(struct ObjectEvent *, s16, s16, u32);
|
||||
void MoveCoords(u8, s16 *, s16 *);
|
||||
bool8 ObjectEventIsHeldMovementActive(struct ObjectEvent *);
|
||||
u8 ObjectEventClearHeldMovementIfFinished(struct ObjectEvent *);
|
||||
u8 GetObjectEventIdByXYZ(u16 x, u16 y, u8 z);
|
||||
u8 GetObjectEventIdByPosition(u16 x, u16 y, u8 elevation);
|
||||
void sub_8063E28(struct ObjectEvent *, struct Sprite *);
|
||||
bool8 ObjectEventSetHeldMovement(struct ObjectEvent *, u8);
|
||||
void ShiftStillObjectEventCoords(struct ObjectEvent *);
|
||||
@@ -123,7 +123,7 @@ bool8 ObjectEventIsMovementOverridden(struct ObjectEvent *objectEvent);
|
||||
u8 ObjectEventCheckHeldMovementStatus(struct ObjectEvent *objectEvent);
|
||||
u8 GetWalkNormalMovementAction(u32);
|
||||
u8 GetWalkFastMovementAction(u32);
|
||||
u8 GetWalkFastestMovementAction(u32);
|
||||
u8 GetWalkFasterMovementAction(u32);
|
||||
u8 GetWalkSlowerMovementAction(u32 direction);
|
||||
u8 GetTrainerFacingDirectionMovementType(u8 direction);
|
||||
u8 GetFaceDirectionMovementAction(u32);
|
||||
@@ -160,11 +160,9 @@ u8 CreateCopySpriteAt(struct Sprite *sprite, s16 x, s16 y, u8 subpriority);
|
||||
u16 GetObjectPaletteTag(u8 paletteIndex);
|
||||
void SetSpritePosToMapCoords(s16 x, s16 y, s16 *x2, s16 *y2);
|
||||
void UpdateObjectEventSpriteVisibility(struct Sprite *sprite, bool8 invisible);
|
||||
bool8 AreZCoordsCompatible(u8, u8);
|
||||
u8 ZCoordToPriority(u8 z);
|
||||
void ObjectEventUpdateZCoord(struct ObjectEvent *pObject);
|
||||
void SetObjectSubpriorityByZCoord(u8 z, struct Sprite *sprite, u8 offset);
|
||||
bool8 IsZCoordMismatchAt(u8, s16, s16);
|
||||
u8 ElevationToPriority(u8 elevation);
|
||||
void ObjectEventUpdateElevation(struct ObjectEvent *pObject);
|
||||
void SetObjectSubpriorityByElevation(u8 elevation, struct Sprite *sprite, u8 offset);
|
||||
void MakeObjectTemplateFromObjectEventGraphicsInfo(u16 graphicsId, void (*callback)(struct Sprite *), struct SpriteTemplate *spriteTemplate, const struct SubspriteTable **subspriteTables);
|
||||
u8 AddCameraObject(u8 trackedSpriteId);
|
||||
void UpdateObjectEventsForCameraUpdate(s16 x, s16 y);
|
||||
@@ -195,8 +193,8 @@ extern const struct OamData gObjectEventBaseOam_32x32;
|
||||
extern const u16 gFieldEffectObjectPic_CutGrass[];
|
||||
extern const u16 gFieldEffectPal_CutGrass[];
|
||||
extern const u8 gReflectionEffectPaletteMap[];
|
||||
u8 GetLedgeJumpDirection(s16 x, s16 y, u8 z);
|
||||
u8 sub_8063FDC(u32 direction);
|
||||
u8 GetLedgeJumpDirection(s16 x, s16 y, u8 direction);
|
||||
u8 GetGlideMovementAction(u32 direction);
|
||||
u8 GetRideWaterCurrentMovementAction(u32 direction);
|
||||
u8 GetPlayerRunMovementAction(u32 direction);
|
||||
u8 GetPlayerRunSlowMovementAction(u32 direction);
|
||||
@@ -206,12 +204,13 @@ u8 GetAcroWheelieFaceDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroPopWheelieFaceDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroEndWheelieFaceDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieHopFaceDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieHopDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieJumpDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieHopMovementAction(u32 direction);
|
||||
u8 GetAcroPopWheelieMoveMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieJumpMovementAction(u32 direction);
|
||||
u8 GetJumpInPlaceTurnAroundMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieInPlaceDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroPopWheelieMoveDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieMoveDirectionMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieInPlaceMovementAction(u32 direction);
|
||||
u8 GetAcroPopWheelieMoveMovementAction(u32 direction);
|
||||
u8 GetAcroWheelieMoveMovementAction(u32 direction);
|
||||
u8 GetJumpSpecialWithEffectMovementAction(u32 direction);
|
||||
u8 GetFishingBiteDirectionAnimNum(u8 direction);
|
||||
void TrySpawnObjectEvents(s16 cameraX, s16 cameraY);
|
||||
|
||||
@@ -26,7 +26,7 @@ void SetPlayerAvatarTransitionFlags(u16 flags);
|
||||
bool8 IsPlayerFacingSurfableFishableWater(void);
|
||||
void StartFishing(u8 secondaryId);
|
||||
u8 GetPlayerAvatarObjectId(void);
|
||||
u8 PlayerGetZCoord(void);
|
||||
u8 PlayerGetElevation(void);
|
||||
u8 GetPlayerAvatarGraphicsIdByCurrentState(void);
|
||||
void StartPlayerAvatarSummonMonForFieldMoveAnim(void);
|
||||
void SetPlayerInvisibility(bool8);
|
||||
@@ -41,13 +41,13 @@ 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 PlayerGoSlowest(u8 direction);
|
||||
void PlayerGoSlow(u8 direction);
|
||||
void PlayerGoSpeed1(u8 direction);
|
||||
void PlayerGoSpeed2(u8 direction);
|
||||
void sub_805C134(u8 direction);
|
||||
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 PlayerGoSpeed4(u8 direction);
|
||||
void PlayerWalkFaster(u8 direction);
|
||||
void PlayerRun(u8 direction);
|
||||
void PlayerRunSlow(u8 direction);
|
||||
void PlayerOnBikeCollide(u8 direction);
|
||||
|
||||
+1
-1
@@ -814,7 +814,7 @@ struct MapPosition
|
||||
{
|
||||
s16 x;
|
||||
s16 y;
|
||||
s8 height;
|
||||
s8 elevation;
|
||||
};
|
||||
|
||||
extern struct SaveBlock1* gSaveBlock1Ptr;
|
||||
|
||||
Reference in New Issue
Block a user