diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-06-16 19:54:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 19:54:54 +0300 |
commit | 346d0375181b8cd396c6cb9b6a8247184214402b (patch) | |
tree | a45851568f899c69cdc596d17de158741848a9fb /include/move_data.h | |
parent | aa3592778ae6de9f63c4df170393bf37280e591b (diff) | |
parent | faf26c04c34d9c537901e0e81aa4ee917122a392 (diff) |
Merge pull request #170 from PikalaxALT/pikalax_work
Decompile move table access routines
Diffstat (limited to 'include/move_data.h')
-rw-r--r-- | include/move_data.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/include/move_data.h b/include/move_data.h index 8da864b0..5267bfb1 100644 --- a/include/move_data.h +++ b/include/move_data.h @@ -1,7 +1,26 @@ #ifndef POKEDIAMOND_MOVE_DATA_H #define POKEDIAMOND_MOVE_DATA_H -int FUN_0206AB30(u16 move, u8 ppUp); -u32 FUN_0206AB18(u16 move, u32 attr); +struct WazaTbl +{ + u16 unk0; + u8 unk2; + u8 unk3; + u8 unk4; + u8 unk5; + u8 pp; + u8 unk7; + u16 unk8; + s8 unkA; + u8 unkB; + u8 unkC; + u8 unkD; + u8 padding[2]; +}; + +void LoadAllWazaTbl(struct WazaTbl * dest); +u8 WazaGetMaxPp(u16 move, u8 ppUp); +u32 GetWazaAttr(u16 move, u32 attr); +u32 GetAttrFromWazaTbl(struct WazaTbl * wazaTbl, u32 attr); #endif //POKEDIAMOND_MOVE_DATA_H |