summaryrefslogtreecommitdiff
path: root/include/pokemon_summary_screen.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-11-25 14:40:48 -0800
committerMarcus Huderle <huderlem@gmail.com>2017-11-26 12:57:30 -0800
commit00f85341a6d769cc23c4dfbf5fca8ad02835956c (patch)
treea8ad81e66a27a6c0e2919dffd66a9663203af08a /include/pokemon_summary_screen.h
parent5a8cd94046983f15eaf6d414d5f431cb296abdc3 (diff)
Mostly done decompiling pokemon_summary_screen
Diffstat (limited to 'include/pokemon_summary_screen.h')
-rw-r--r--include/pokemon_summary_screen.h41
1 files changed, 38 insertions, 3 deletions
diff --git a/include/pokemon_summary_screen.h b/include/pokemon_summary_screen.h
index c1b99c367..d5978b83e 100644
--- a/include/pokemon_summary_screen.h
+++ b/include/pokemon_summary_screen.h
@@ -1,11 +1,45 @@
#ifndef GUARD_POKEMON_SUMMARY_SCREEN_H
#define GUARD_POKEMON_SUMMARY_SCREEN_H
+#include "main.h"
+#include "task.h"
+
extern const u8 *const gNatureNames[];
-void ShowPokemonSummaryScreen(struct Pokemon *, u8, u8, void (*)(void), int);
-void sub_809D9F0(struct Pokemon *party, u8, u8, void *, u32);
-void sub_809D9F0(struct Pokemon *, u8, u8, void *, u32);
+struct SummaryScreenStruct
+{
+ /*0x00*/ union {
+ struct Pokemon *partyMons;
+ struct BoxPokemon *boxMons;
+ } unk0;
+ /*0x04*/ MainCallback unk4;
+ /*0x08*/ u8 unk8;
+ /*0x09*/ u8 unk9;
+ /*0x0A*/ u8 unkA;
+ /*0x0B*/ u8 unkB;
+ /*0x0C*/ u8 unkC;
+ /*0x0D*/ u8 unkD;
+ /*0x0E*/ u8 unkE;
+ /*0x0F*/ u8 unkF;
+ /*0x10*/ struct Pokemon unk10;
+ /*0x74*/ u8 unk74;
+ /*0x75*/ u8 unk75;
+ /*0x76*/ u8 unk76;
+ /*0x77*/ u8 unk77;
+ /*0x78*/ u8 unk78;
+ /*0x79*/ u8 unk79;
+ /*0x7A*/ u8 unk7A;
+ /*0x7B*/ u8 unk7B;
+ /*0x7C*/ u16 unk7C;
+ /*0x7E*/ u8 unk7E;
+ /*0x7F*/ u8 unk7F;
+ /*0x80*/ u8 unk80;
+ /*0x81*/ u8 filler81;
+ /*0x84*/ TaskFunc unk84;
+};
+
+void ShowPokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u8);
+void sub_809D9F0(struct Pokemon *, u8, u8, MainCallback, u16);
u8 sub_809FA30(void);
u8 pokemon_ailments_get_primary(u32);
u8 GetMonStatusAndPokerus();
@@ -14,4 +48,5 @@ u8 *PokemonSummaryScreen_CopyPokemonLevel(u8 *dest, u8 level);
u8 PokemonSummaryScreen_CheckOT(struct Pokemon *pokemon);
bool8 CheckPartyPokerus(struct Pokemon *, u8);
+
#endif // GUARD_POKEMON_SUMMARY_SCREEN_H