summaryrefslogtreecommitdiff
path: root/src/item_pc.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-06-19 21:41:43 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-06-19 21:41:43 -0400
commit649a351c4c11bf054ad67885e6f24e80fa690305 (patch)
tree726ab467ebde6fbfda496d6ffdbaa2350e27a150 /src/item_pc.c
parent7eeba327bd6dc235a33f06a7779e3b3c52f04475 (diff)
item: through sub_809A584
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)