Fix Berries that were broken after Bug Bite fix

Issue #2448 
Haven't tested extensively, but regular Berries work and Bug Bite w/ Berries also works.
I believe this line was missing by accident (you can look at the merged Bug Bite PR #2433 to see that this line was deleted and never replaced).
This commit is contained in:
eatthepear 2022-11-11 21:28:44 -05:00 committed by GitHub
parent 6197e76875
commit bd4b660983
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)
{