summaryrefslogtreecommitdiff
path: root/src/wonder_mail.c
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-07-12 21:10:32 +0200
committerGitHub <noreply@github.com>2021-07-12 14:10:32 -0500
commitda7b30612f2cac57da0ffe09d1d7c42e309d15f2 (patch)
treee82dbc33b112798b308e8c001eb3979cab69aa05 /src/wonder_mail.c
parent2104c4f7623f2bfc94130d25f2c903fa54991676 (diff)
More work on item related functions (#44)
* decompile sub_8091290 * decompile sub_80912c8 * rename functions / struct field * more names * decompile 80913A0 * decompile GetItemMove * decompile sub_80913E0 * rename function * decompile CanSellItem function * rename inventory struct * add some item check functions * fix renaming stuff * this file shouldnt have been here * forgot merge conflict * decompile more item functions * rename some stuff * fix HM/TM naming * Update src/code_801AFA4.c Use enum value for USED_TM * Fix incorrect value * decompile sub_80915F4 * decompile HasGummiItem * decompiled another function and renamed stuff * decompile 2 smaller functions * more functions * more decompiling and renaming * redo change that was undone in the merge
Diffstat (limited to 'src/wonder_mail.c')
-rw-r--r--src/wonder_mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wonder_mail.c b/src/wonder_mail.c
index 5ddebfe..45dfb1f 100644
--- a/src/wonder_mail.c
+++ b/src/wonder_mail.c
@@ -2007,7 +2007,7 @@ void sub_802A798(void)
{
return_var->unk20 = gUnknown_203B2C4->unk41C;
}
- gTeamInventory_203B460->unk50[gUnknown_203B2C4->unk41C.itemIndex]--;
+ gTeamInventory_203B460->teamStorage[gUnknown_203B2C4->unk41C.itemIndex]--;
sub_802B2BC(0x29);
break;
case 8: