Fix Rare Candies (#2918)
This commit is contained in:
commit
037fd2ac0e
1 changed files with 2 additions and 2 deletions
|
@ -4948,7 +4948,7 @@ static void TryUseItemOnMove(u8 taskId)
|
|||
DisplayPartyMenuMessage(gStringVar4, TRUE);
|
||||
ScheduleBgCopyTilemapToVram(2);
|
||||
gTasks[taskId].func = Task_ClosePartyMenuAfterText;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Outside of battle, only PP items are used on moves.
|
||||
else
|
||||
|
@ -5290,7 +5290,7 @@ void ItemUseCB_RareCandy(u8 taskId, TaskFunc task)
|
|||
if (sInitialLevel != MAX_LEVEL)
|
||||
{
|
||||
BufferMonStatsToTaskData(mon, arrayPtr);
|
||||
cannotUseEffect = ExecuteTableBasedItemEffect(mon, gPartyMenu.slotId, *itemPtr, 0);
|
||||
cannotUseEffect = ExecuteTableBasedItemEffect(mon, *itemPtr, gPartyMenu.slotId, 0);
|
||||
BufferMonStatsToTaskData(mon, &ptr->data[NUM_STATS]);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue