Merge pull request #2451 from eatthepear/patch-1

Fix Berries that were broken after Bug Bite fix
This commit is contained in:
Eduardo Quezada D'Ottone 2022-11-12 17:26:29 -03:00 committed by GitHub
commit 49b7328d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7407,6 +7407,7 @@ u8 ItemBattleEffects(u8 caseID, u8 battlerId, bool8 moveTurn)
case ITEMEFFECT_MOVE_END:
for (battlerId = 0; battlerId < gBattlersCount; battlerId++)
{
gLastUsedItem = gBattleMons[battlerId].item;
effect = ItemEffectMoveEnd(battlerId, GetBattlerHoldEffect(battlerId, TRUE));
if (effect)
{