Fixed Flute Items being consumed in battle (#4496)
This commit is contained in:
parent
f07ef07855
commit
bcb230f3c9
1 changed files with 2 additions and 1 deletions
|
@ -4595,7 +4595,8 @@ void ItemUseCB_BattleScript(u8 taskId, TaskFunc task)
|
|||
gBattleStruct->itemPartyIndex[gBattlerInMenuId] = GetPartyIdFromBattleSlot(gPartyMenu.slotId);
|
||||
gPartyMenuUseExitCallback = TRUE;
|
||||
PlaySE(SE_SELECT);
|
||||
RemoveBagItem(gSpecialVar_ItemId, 1);
|
||||
if (!IsItemFlute(gSpecialVar_ItemId))
|
||||
RemoveBagItem(gSpecialVar_ItemId, 1);
|
||||
ScheduleBgCopyTilemapToVram(2);
|
||||
gTasks[taskId].func = task;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue