summaryrefslogtreecommitdiff
path: root/src/item_pc.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-01-18 11:52:32 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2020-01-18 11:52:32 -0500
commitdfcfe6d8e1942349adfefc8e79255dcd8befca0a (patch)
tree544a13f87ffc11b901cebb9fac80cf3ac368e4e3 /src/item_pc.c
parent1c3f865acf9e957e8f6ba4daf7f0cfa093893074 (diff)
through MoveItemSlotInList
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 217acc829..3134d9f6b 100644
--- a/src/item_pc.c
+++ b/src/item_pc.c
@@ -814,7 +814,7 @@ static void ItemPc_InsertItemIntoNewSlot(u8 taskId, u32 pos)
ItemPc_MoveItemModeCancel(taskId, pos);
else
{
- ItemMenu_MoveItemSlotToNewPositionInArray(gSaveBlock1Ptr->pcItems, data[1], pos);
+ MoveItemSlotInList(gSaveBlock1Ptr->pcItems, data[1], pos);
DestroyListMenuTask(data[0], &sListMenuState.scroll, &sListMenuState.row);
if (data[1] < pos)
sListMenuState.row--;