diff options
author | Dennis <dhilhorst2000@gmail.com> | 2021-07-12 21:10:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 14:10:32 -0500 |
commit | da7b30612f2cac57da0ffe09d1d7c42e309d15f2 (patch) | |
tree | e82dbc33b112798b308e8c001eb3979cab69aa05 /src/other_menus.c | |
parent | 2104c4f7623f2bfc94130d25f2c903fa54991676 (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/other_menus.c')
-rw-r--r-- | src/other_menus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_menus.c b/src/other_menus.c index d5134b2..b67e1f7 100644 --- a/src/other_menus.c +++ b/src/other_menus.c @@ -378,7 +378,7 @@ void sub_80371B8(void) if ((((gUnknown_203B35C->unk4 != 0) &&(gUnknown_203B35C->unk0 == 0)) && (pbVar2 = sub_8035D94(), pbVar2->unk0 != 0)) && (pbVar2->unk4 != 0)) { // We received something.. - gTeamInventory_203B460->unk50[pbVar2->unk0] += pbVar2->unk4; + gTeamInventory_203B460->teamStorage[pbVar2->unk0] += pbVar2->unk4; } } } |