summaryrefslogtreecommitdiff
path: root/src/item_pc.c
diff options
context:
space:
mode:
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)