From 7f03ba4951c5045274dab3f2a3de8e8d498b8df3 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Thu, 4 May 2017 00:37:07 +0000 Subject: decompile a little more of player_pc.c and dump half of battle_anim data incbins (#254) * matching sub_813A280 and sub_813A4B4 * move data to item_use.c * slightly less ugly NewGameInitPCItems * more less ugly NewGameInitPCItems - Game Freak doesn't know how to use structs * decompile HandleQuantityRolling and sub_813A6FC * partially label and comment battle_anim.c * decompile sub_813A794 and sub_813A83C * minor comments on battle_anim.c * decompile up to GF shenanigans #14390 * up to GF shenanigans #38571 * dump half of battle_anim_80CA710.s incbins * dump most incbins from battle_anim_812C144.s * obj_rot_scal fixes * subsprite * i cant even identify byte arrays --- include/battle_anim.h | 4 ++-- include/global.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/battle_anim.h b/include/battle_anim.h index eb98ebf09..e75c71ec0 100644 --- a/include/battle_anim.h +++ b/include/battle_anim.h @@ -50,9 +50,9 @@ struct UnknownStruct3 u8 filler1[0xB]; }; -void move_something(const u8 *const moveAnims[], u16 b, u8 c); +void DoMoveAnim(const u8 *const moveAnims[], u16 b, u8 c); bool8 b_side_obj__get_some_boolean(u8 a); void sub_8076034(u8, u8); -bool8 sub_8076BE0(void); +bool8 IsContest(void); #endif diff --git a/include/global.h b/include/global.h index ad08af84f..b50b56151 100644 --- a/include/global.h +++ b/include/global.h @@ -76,6 +76,11 @@ struct TextStruct const u8 *text; }; +struct FuncStruct +{ + void *func; +}; + struct Coords16 { s16 x; -- cgit v1.2.3