Fix Cherrim softlock
Fix typo that caused infinite loop.
This commit is contained in:
parent
23104a02e7
commit
cedc2e07bd
1 changed files with 1 additions and 1 deletions
|
@ -3792,7 +3792,7 @@ u8 TryWeatherFormChange(u8 battler)
|
|||
ret = 0;
|
||||
else if (gBattleMonForms[battler] == 0 && weatherEffect && holdEffect != HOLD_EFFECT_UTILITY_UMBRELLA && gBattleWeather & WEATHER_SUN_ANY)
|
||||
ret = 2;
|
||||
else if (gBattleMonForms[battler] != 0 && (!weatherEffect || holdEffect != HOLD_EFFECT_UTILITY_UMBRELLA || !(gBattleWeather & WEATHER_SUN_ANY)))
|
||||
else if (gBattleMonForms[battler] != 0 && (!weatherEffect || holdEffect == HOLD_EFFECT_UTILITY_UMBRELLA || !(gBattleWeather & WEATHER_SUN_ANY)))
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue