Skip to content

Commit

Permalink
Fix Berries that were broken after Bug Bite fix
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
eatthepear authored Nov 12, 2022
1 parent 6197e76 commit bd4b660
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 bd4b660

Please sign in to comment.