mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
Merge pull request #2451 from eatthepear/patch-1
Fix Berries that were broken after Bug Bite fix
This commit is contained in:
commit
49b7328d32
@ -7407,6 +7407,7 @@ u8 ItemBattleEffects(u8 caseID, u8 battlerId, bool8 moveTurn)
|
|||||||
case ITEMEFFECT_MOVE_END:
|
case ITEMEFFECT_MOVE_END:
|
||||||
for (battlerId = 0; battlerId < gBattlersCount; battlerId++)
|
for (battlerId = 0; battlerId < gBattlersCount; battlerId++)
|
||||||
{
|
{
|
||||||
|
gLastUsedItem = gBattleMons[battlerId].item;
|
||||||
effect = ItemEffectMoveEnd(battlerId, GetBattlerHoldEffect(battlerId, TRUE));
|
effect = ItemEffectMoveEnd(battlerId, GetBattlerHoldEffect(battlerId, TRUE));
|
||||||
if (effect)
|
if (effect)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user