From 22fec43f1812cb863ad699b357bd593222ae140c Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Sat, 3 Apr 2021 20:44:48 -0500 Subject: More menu work (#33) * split adventure log menu out and decompile * add most adventure log matchings w/ 2 nonmatchings and move some relevant data * more work on other menus * fully decomp debug stuff around 203B3F0 * more debug menu work * fix CreatePartnerSelectionMenu nonmatch * move more data and clean some data up --- include/adventure_log.h | 8 ++++++++ include/personality_test.h | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 include/adventure_log.h (limited to 'include') diff --git a/include/adventure_log.h b/include/adventure_log.h new file mode 100644 index 0000000..219ea59 --- /dev/null +++ b/include/adventure_log.h @@ -0,0 +1,8 @@ +#ifndef ADVENTURE_LOG_H +#define ADVENTURE_LOG_H + +void CreateAdventureLogMenu(void); +void CleanAdventureLogMenu(void); +u32 UpdateAdventureLogMenu(void); + +#endif diff --git a/include/personality_test.h b/include/personality_test.h index c5cc0de..791e225 100644 --- a/include/personality_test.h +++ b/include/personality_test.h @@ -5,7 +5,8 @@ struct unkData { - s16 unk0[12]; + s16 unk0[10]; + u8 *unk14; }; // Definitely wrong but need to figure out better structure later @@ -63,7 +64,7 @@ struct PersonalityStruct_203B404 u32 unk4C; /* 0x50 */ struct unkData *unk50; /* 0x54 */ struct unkData unk54[4]; - /* 0xB4 */ struct PersonalitySubStruct sub; + /* 0xB4 */ u8 unkb4[4]; }; extern struct PersonalityStruct_203B404 *gUnknown_203B404; -- cgit v1.2.3