From bad7f7f688253c87c2cb2d063ea57c884cb6adff Mon Sep 17 00:00:00 2001 From: Dennis Date: Sat, 17 Jul 2021 18:45:13 +0200 Subject: 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 --- src/friend_area_action_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/friend_area_action_menu.c') diff --git a/src/friend_area_action_menu.c b/src/friend_area_action_menu.c index 24c0dfa..20beb31 100644 --- a/src/friend_area_action_menu.c +++ b/src/friend_area_action_menu.c @@ -201,7 +201,7 @@ void sub_8027274(void) sub_8012D60(&gUnknown_203B2BC->unk7C,gUnknown_203B2BC->menuItems,0,&gUnknown_203B2BC->unk16C,gUnknown_203B2BC->unk74,2); break; case 0xd: - sub_8090B64(&auStack12,&gUnknown_203B2BC->unk10); + HeldItemToSlot(&auStack12,&gUnknown_203B2BC->unk10); sub_801B3C0(&auStack12); break; case 0xe: -- cgit v1.2.3