From a2d206665c6fffbd962375f262b7fbb05c7b7478 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Tue, 30 Mar 2021 13:11:51 -0500 Subject: Move some data and Splitting (#32) * move friend area settings to src * split out playtime into different C file and decomp a few more funcs * time -> play_time * fix include * split out more wonder mail stuff * unify 203B2C0 and unkDungeon structs. snuck in a decomp func too * split out more menu screens * work some more on trade items * doc a few more things * add a close nonmatch and decomp nullsub and small func * rollback struct attempt since it causes nonmatchings * only one func left in asm * death to trade_item asm and unify into one C file * more docing and cleanup * label main menu and trade items menu global menu struct * doc itemMode --- include/wonder_mail.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 include/wonder_mail.h (limited to 'include/wonder_mail.h') diff --git a/include/wonder_mail.h b/include/wonder_mail.h new file mode 100644 index 0000000..39cc9b2 --- /dev/null +++ b/include/wonder_mail.h @@ -0,0 +1,46 @@ +#ifndef GUARD_WONDER_MAIL_H +#define GUARD_WONDER_MAIL_H + +#include "file_system.h" + +struct WonderMailStruct_203B2C0 +{ + u32 unk0; + u32 unk4; + u8 unk8[0x36]; + u8 unk3E; + u32 unk40; + u32 linkError; + u16 unk48[232]; + u8 unk218; + u8 padding7[3]; + u32 unk21C; + u8 padding[0x7C]; + u32 unk29C; + u8 padding6[0x6C]; + u32 unk30C; + u8 padding8[0x4C]; + u32 unk35C; + u8 padding5[0x5C]; + u32 unk3BC; + u8 padding4[0x60]; + struct OpenedFile *faceFile; + u8 *faceData; + u16 unk428; + u16 unk42A; + u8 unk42C; + u8 unk42D; + u8 unk42E; + u8 padding3[0x534 - 0x430]; + u32 unk534; + s32 unk538; // A7 << 3 + u32 unk53C; + u32 unk540; // A8 << 4 + s16 unk544; + +}; + +void sub_8028B04(u32 r0); + + +#endif -- cgit v1.2.3