summaryrefslogtreecommitdiff
path: root/src/item_pc.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-06-21 13:12:56 -0400
committerGitHub <noreply@github.com>2019-06-21 13:12:56 -0400
commit010db05e735e0ac11efcf0d800205324cc0f2be9 (patch)
tree9109eaf029ee3253a554e50df5584d540ff243f8 /src/item_pc.c
parentcaa193364bf786cb567ed16eb4670ed2cc4cb362 (diff)
parent3444ac708a0dfc9e99c34a3c19159e786d8ab9f1 (diff)
Merge pull request #71 from pret/item_use
item_use and item
Diffstat (limited to 'src/item_pc.c')
-rw-r--r--src/item_pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item_pc.c b/src/item_pc.c
index 3e139503e..e2fa33f0a 100644
--- a/src/item_pc.c
+++ b/src/item_pc.c
@@ -676,7 +676,7 @@ static u16 ItemPc_GetItemIdBySlotId(u16 idx)
static u16 ItemPc_GetItemQuantityBySlotId(u16 idx)
{
- return GetBagItemId(&gSaveBlock1Ptr->pcItems[idx].quantity);
+ return GetPcItemQuantity(&gSaveBlock1Ptr->pcItems[idx].quantity);
}
static void ItemPc_CountPcItems(void)