IsBattlerAlive instead of hp check
This commit is contained in:
parent
a044084182
commit
428ea97028
1 changed files with 1 additions and 4 deletions
|
@ -2701,11 +2701,8 @@ u8 DoBattlerEndTurnEffects(void)
|
|||
gBattleStruct->turnEffectsTracker++;
|
||||
break;
|
||||
case ENDTURN_ORBS:
|
||||
if (gBattleMons[gActiveBattler].hp != 0
|
||||
&& ItemBattleEffects(ITEMEFFECT_ORBS, gActiveBattler, FALSE))
|
||||
{
|
||||
if (IsBattlerAlive(gActiveBattler) && ItemBattleEffects(ITEMEFFECT_ORBS, gActiveBattler, FALSE))
|
||||
effect++;
|
||||
}
|
||||
gBattleStruct->turnEffectsTracker++;
|
||||
break;
|
||||
case ENDTURN_LEECH_SEED: // leech seed
|
||||
|
|
Loading…
Reference in a new issue