diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-10-19 17:48:38 -0700 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-11-02 16:31:16 -0700 |
commit | 3a1db3dfac99d017b592afa4e7e3fc7325e060cc (patch) | |
tree | aa9bf96f0d1d91f06220e670b660f5fcf829b945 /include/constants/move.h | |
parent | f99f00b180561afeeb4b9c9918135c2db607fd52 (diff) |
Moves and some friend_area_action_menu
Diffstat (limited to 'include/constants/move.h')
-rw-r--r-- | include/constants/move.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/constants/move.h b/include/constants/move.h index 1b23933..4e3396b 100644 --- a/include/constants/move.h +++ b/include/constants/move.h @@ -14,17 +14,15 @@ enum MoveFlags struct MoveData { u8 *namePointer; - /* 0x4 */ u8 power; - u8 fill5; + /* 0x4 */ s16 power; u8 type; u8 fill7; // Determines the range of moves. - /* 0x8 */ u16 targetingFlags; - /* 0xA */ u16 aiTargetingFlags; // The AI consider certain moves to have different range than they actually do. + /* 0x8 */ u16 targetingFlags[2]; // 0 for player and 1 for AI + // The AI consider certain moves to have different range than they actually do. /* 0xC */ u8 maxPP; /* 0xD */ u8 weight; - /* 0xE */ u8 accuracy1; - /* 0xF */ u8 accuracy2; + /* 0xE */ u8 accuracy[2]; // Used by the AI to determine how often to use Spikes. // Values exist for all other moves, though they seem to be unused. /* 0x10 */ u8 useChance; @@ -36,7 +34,7 @@ struct MoveData /* 0x16 */ bool8 affectedByMuzzled; // If true, this move can't be used with the Muzzled status. /* 0x17 */ bool8 cannotHitFrozen; // Used by Status Checker to determine if a move can be used on a frozen target. /* 0x18 */ bool8 dealsDirectDamage; - u8 unk19; + u8 rangeType; u8 *descriptionPointer; u8 *useText; // The text displayed when this move is used. }; |