Fix formatting for EVO_LEVEL_RAIN checks.

This commit is contained in:
ultima-soul 2021-12-16 16:05:51 -08:00 committed by GitHub
parent bb9fb72436
commit f0ffc749e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6558,7 +6558,7 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 mode, u16 evolutionItem, u
case EVO_LEVEL_RAIN:
j = GetCurrentWeather();
if (gEvolutionTable[species][i].param <= level
&& (j == WEATHER_RAIN || j == WEATHER_RAIN_THUNDERSTORM || j == WEATHER_DOWNPOUR))
&& (j == WEATHER_RAIN || j == WEATHER_RAIN_THUNDERSTORM || j == WEATHER_DOWNPOUR))
targetSpecies = gEvolutionTable[species][i].targetSpecies;
break;
case EVO_MAPSEC: