mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-20 02:14:21 +01:00
Merge pull request #1996 from ghoulslash/pe/evo_weather
fix EVO_LEVEL_RAIN
This commit is contained in:
commit
5788caef39
@ -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