diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-03-30 13:11:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 13:11:51 -0500 |
commit | a2d206665c6fffbd962375f262b7fbb05c7b7478 (patch) | |
tree | 6710109c4d9098b74da68ca8f18024d6c184ebc2 /src/wonder_mail_mid.c | |
parent | 2fd4f339b42c010191c199772b09ac34c580de94 (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 'src/wonder_mail_mid.c')
-rw-r--r-- | src/wonder_mail_mid.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |