diff options
author | Dennis <dhilhorst2000@gmail.com> | 2021-07-17 18:45:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-17 09:45:13 -0700 |
commit | bad7f7f688253c87c2cb2d063ea57c884cb6adff (patch) | |
tree | f853042438f42634f8d64b6daec015f3e287d77a /src/kecleon_items_1.c | |
parent | a65d358927f668cb5e34a6046afef5bd61380a28 (diff) |
More item related decomp (#45)
* decompile sub_80918EC
* some more item related functions
* more item functions
* more decomp, fix types in other places
* more small functions
* more item related decomp
* one more weird branching item function
* fix global.h includes
* figured out branch pattern
* decompile sub_8090F58
* make temporary struct for function
* :crab: items.s is gone :crab:
* some renaming
* rename some obvious item related constants
* fix spelling error
Diffstat (limited to 'src/kecleon_items_1.c')
-rw-r--r-- | src/kecleon_items_1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kecleon_items_1.c b/src/kecleon_items_1.c index fb102e1..b4f1b44 100644 --- a/src/kecleon_items_1.c +++ b/src/kecleon_items_1.c @@ -10,9 +10,7 @@ extern struct unkStruct_203B210 *gUnknown_203B210; extern struct TeamInventory *gTeamInventory_203B460; extern u32 GetStackSellPrice(struct ItemSlot *); -extern bool8 CanSellItem(u8); extern u32 xxx_count_inv_unk230(void); -extern u32 sub_8091A48(void); extern s32 sub_80144A4(s32 *); void UpdateKecleonStoreState(u32); extern u32 sub_801B410(void); @@ -170,7 +168,7 @@ u32 sub_8019D8C(void) if(gUnknown_203B210->unk4) return xxx_count_inv_unk230(); else - return sub_8091A48(); + return xxx_count_non_empty_inv_unk250_8091A48(); } void sub_8019DAC(void) |