Updated Toxic Status Counter
This commit is contained in:
parent
ba6aad5bcc
commit
96d190f5ad
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ static bool8 ShouldSwitchIfGameStatePrompt(void)
|
|||
{
|
||||
//Toxic
|
||||
moduloChance = 2; //50%
|
||||
if (gBattleMons[gActiveBattler].status1 & (STATUS1_TOXIC_COUNTER > 2)
|
||||
if (((gBattleMons[gActiveBattler].status1 & STATUS1_TOXIC_COUNTER) >= STATUS1_TOXIC_TURN(2))
|
||||
&& gBattleMons[gActiveBattler].hp >= (gBattleMons[gActiveBattler].maxHP / 3)
|
||||
&& (Random() % (moduloChance*chanceReducer)) == 0)
|
||||
switchMon = TRUE;
|
||||
|
|
Loading…
Reference in a new issue