Fix Persim Berry and cure attract battler assignment
This commit is contained in:
parent
952bdbd9f5
commit
ed46cde304
1 changed files with 2 additions and 3 deletions
|
@ -4457,10 +4457,9 @@ u8 ItemBattleEffects(u8 caseID, u8 battlerId, bool8 moveTurn)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (effect == ITEM_STATUS_CHANGE)
|
if (effect)
|
||||||
{
|
{
|
||||||
gBattleScripting.battler = battlerId;
|
gPotentialItemEffectBattler = gBattleScripting.battler = battlerId;
|
||||||
gPotentialItemEffectBattler = battlerId;
|
|
||||||
gActiveBattler = battlerId;
|
gActiveBattler = battlerId;
|
||||||
BtlController_EmitSetMonData(0, REQUEST_STATUS_BATTLE, 0, 4, &gBattleMons[gActiveBattler].status1);
|
BtlController_EmitSetMonData(0, REQUEST_STATUS_BATTLE, 0, 4, &gBattleMons[gActiveBattler].status1);
|
||||||
MarkBattlerForControllerExec(gActiveBattler);
|
MarkBattlerForControllerExec(gActiveBattler);
|
||||||
|
|
Loading…
Reference in a new issue