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 --- src/wonder_mail_mid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wonder_mail_mid.c') diff --git a/src/wonder_mail_mid.c b/src/wonder_mail_mid.c index 0256019..62755b1 100644 --- a/src/wonder_mail_mid.c +++ b/src/wonder_mail_mid.c @@ -10,7 +10,7 @@ struct unkStruct_203B2C4 u8 unk8[0x36]; u8 unk3E; u32 unk40; - u32 unk44; // another link status + u32 linkError; // another link status u8 filler48[0x218 - 0x48]; s8 unk218; u32 unk21C; @@ -94,7 +94,7 @@ void sub_8029F98(void) gUnknown_203B2C4->unk41C[2] = 0; gUnknown_203B2C4->unk41C[1] = 1; gUnknown_203B2C4->unk41C[0] = 0; - if (gUnknown_203B2C4->unk44 == 0) { + if (gUnknown_203B2C4->linkError == 0) { switch(gUnknown_203B2C4->unk40) { case 6: @@ -121,7 +121,7 @@ void sub_8029F98(void) } else { - PrintWonderMailLinkError(gUnknown_203B2C4->unk44); + PrintWonderMailLinkError(gUnknown_203B2C4->linkError); sub_802B2BC(0x1F); } } -- cgit v1.2.3