mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-20 02:14:21 +01:00
fix evo_level_rain
This commit is contained in:
parent
e4315c89e9
commit
bb9fb72436
@ -6557,7 +6557,8 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 mode, u16 evolutionItem, u
|
||||
break;
|
||||
case EVO_LEVEL_RAIN:
|
||||
j = GetCurrentWeather();
|
||||
if (j == WEATHER_RAIN || j == WEATHER_RAIN_THUNDERSTORM || j == WEATHER_DOWNPOUR)
|
||||
if (gEvolutionTable[species][i].param <= level
|
||||
&& (j == WEATHER_RAIN || j == WEATHER_RAIN_THUNDERSTORM || j == WEATHER_DOWNPOUR))
|
||||
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||
break;
|
||||
case EVO_MAPSEC:
|
||||
|
Loading…
x
Reference in New Issue
Block a user