diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-12-03 13:39:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 13:39:11 -0500 |
commit | bc0fe11d163da1131daf63bdeb2abcba788f6036 (patch) | |
tree | e0f649059b6b506b957ad378c9c8283b57380430 /include/item.h | |
parent | 6f127dca8f6f4462d6f50807a8456316340d674f (diff) | |
parent | 8d0618778125e8260021652d369584d82a8cdf39 (diff) |
Merge pull request #169 from ghoulslash/shop
Shop
Diffstat (limited to 'include/item.h')
-rw-r--r-- | include/item.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/item.h b/include/item.h index 01d2a55e5..7a4279976 100644 --- a/include/item.h +++ b/include/item.h @@ -68,6 +68,7 @@ bool8 AddBagItem(u16 itemId, u16 amount); void SortPocketAndPlaceHMsFirst(struct BagPocket * pocket); u16 BagGetItemIdByPocketPosition(u8 pocketId, u16 itemId); u16 BagGetQuantityByPocketPosition(u8 pocketId, u16 itemId); +u16 BagGetQuantityByItemId(u16 item); bool8 itemid_is_unique(u16 itemId); void BagPocketCompaction(struct ItemSlot * slots, u8 capacity); u16 GetPcItemQuantity(u16 *); |