continue decomping more funcs

This commit is contained in:
Seth Barberee
2023-11-27 11:19:54 -08:00
parent 12fd05a7d9
commit d3cccf635b
15 changed files with 3722 additions and 4320 deletions

View File

@@ -44,6 +44,7 @@ enum Action
ACTION_UNSET_ITEM = 0x3D,
ACTION_PICK_UP_AI = 0x3F,
ACTION_THROW_ARC_PLAYER = 0x41, // Throwing Gravelerocks and Geo Pebbles.
NUM_DUNGEON_ACTIONS
};
#endif

View File

@@ -5,5 +5,6 @@
bool8 TargetLeader(Entity *pokemon);
Entity* GetLeaderIfVisible(Entity *pokemon);
bool8 sub_8072CF4(Entity *entity);
#endif

View File

@@ -23,6 +23,12 @@
#define STAT_STAGE_ACCURACY 0
#define STAT_STAGE_EVASION 1
typedef struct unkStruct_8044CC8
{
u8 actionUseIndex;
Position lastItemThrowPosition;
} unkStruct_8044CC8;
// size: 0x18
typedef struct ActionContainer
{
@@ -30,12 +36,7 @@ typedef struct ActionContainer
/* 0x2 */ u8 direction;
u8 fill3;
// Additional parameter alongside actionIndex. Used for things like indicating which move a Pokémon should use from its moveset.
/* 0x4 */ u8 actionUseIndex;
// Position of the Pokémon the last time it threw an item.
/* 0x8 */ Position lastItemThrowPosition;
u8 unkC;
u8 fillD[3];
u8 fill10[4];
/* 0x4 */ unkStruct_8044CC8 unk4[2];
// Position of the target that the Pokémon wants throw an item at.
/* 0x14 */ Position itemTargetPosition;
} ActionContainer;