Rename GetItemFromGet and move obtainability checks to a separate function

This commit is contained in:
Garrett Cox
2022-08-29 15:26:27 -05:00
parent 6d4288c2a5
commit 5961c33ba9
5 changed files with 552 additions and 207 deletions
+1
View File
@@ -1063,6 +1063,7 @@ u8 Item_CheckObtainability(u8 item);
void Inventory_DeleteItem(u16 item, u16 invSlot);
s32 Inventory_ReplaceItem(GlobalContext* globalCtx, u16 oldItem, u16 newItem);
s32 Inventory_HasEmptyBottle(void);
bool Inventory_HasEmptyBottleSlot(void);
s32 Inventory_HasSpecificBottle(u8 bottleItem);
void Inventory_UpdateBottleItem(GlobalContext* globalCtx, u8 item, u8 cButton);
s32 Inventory_ConsumeFairy(GlobalContext* globalCtx);