summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-04-05 22:05:09 -0500
committerGitHub <noreply@github.com>2021-04-05 22:05:09 -0500
commitd316d1e359c7672277a9cf644acd4e40170f5968 (patch)
tree82bc44e67d6219e53fac89caff5db22c5a394b1e /include
parent22fec43f1812cb863ad699b357bd593222ae140c (diff)
Preproc all the data (#35)
* actually put C files in preproc and use it for formatted type names. Cleaned up makefile like pokeemerald * finish adding all colors and text macros to charmap * preproc all the data and use text macros * move all of wonder_mail_1 to src * unify wonder_mail and wonder_mail_mid * small code cleanup * name two more exclusive pokemon funcs * decomp a few more wonder mail funcs * clean up MemoryFill call * doc more of wonder mail in main menu
Diffstat (limited to 'include')
-rw-r--r--include/wonder_mail.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/include/wonder_mail.h b/include/wonder_mail.h
index 39cc9b2..b56fe32 100644
--- a/include/wonder_mail.h
+++ b/include/wonder_mail.h
@@ -40,6 +40,49 @@ struct WonderMailStruct_203B2C0
};
+struct unkStruct_41C
+{
+ u8 unk41C;
+ u8 unk41D;
+ u8 unk41E;
+ u8 unk41F;
+};
+
+struct WonderMailStruct_203B2C4
+{
+ // size: 0x564
+ u8 unk0;
+ u8 padding[3];
+ u32 unk4; // wonder mail link status??
+ u8 unk8[0x36]; // Probably a buffer for entry
+ u8 unk3E;
+ u32 unk40;
+ u32 linkError; // another link status
+ u8 filler48[0x218 - 0x48];
+ s8 unk218;
+ u32 unk21C;
+ u8 filler220[0x30C - 0x220];
+ u32 unk30C;
+ u8 filler310[0x35C - 0x310];
+ u32 unk35C;
+ u8 filler360[0x3BC - 0x360];
+ u32 unk3BC;
+ u8 filler3C0[0x41C - 0x3C0];
+ struct unkStruct_41C unk41C;
+ /* 0x420 */ struct OpenedFile *faceFile;
+ /* 0x424 */ u8 *faceData;
+ u16 unk428;
+ u16 unk42A;
+ u8 unk42C;
+ u8 unk42D;
+ u8 unk42E;
+ u32 unk430;
+ u8 padding3[0x534 - 0x434];
+ s32 unk534;
+ u32 unk538;
+ u8 fill53C[0x564 - 0x53C];
+};
+
void sub_8028B04(u32 r0);