summaryrefslogtreecommitdiff
path: root/include/wonder_mail.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-03-30 13:11:51 -0500
committerGitHub <noreply@github.com>2021-03-30 13:11:51 -0500
commita2d206665c6fffbd962375f262b7fbb05c7b7478 (patch)
tree6710109c4d9098b74da68ca8f18024d6c184ebc2 /include/wonder_mail.h
parent2fd4f339b42c010191c199772b09ac34c580de94 (diff)
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
Diffstat (limited to 'include/wonder_mail.h')
-rw-r--r--include/wonder_mail.h46
1 files changed, 46 insertions, 0 deletions
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