Skip to content

Commit

Permalink
Merge pull request #2451 from eatthepear/patch-1
Browse files Browse the repository at this point in the history
Fix Berries that were broken after Bug Bite fix
  • Loading branch information
AsparagusEduardo authored Nov 12, 2022
2 parents 6197e76 + bd4b660 commit 49b7328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 49b7328

Please sign in to comment.