- 30
- Posts
- 10
- Years
- Seen Mar 25, 2017
I think I wrote this wrong, since it doesn't work:
I want a Pokemon to evolve by level during a certain battle weather condition, but only if it's female. I tested this in the game and it failed to work. (I'd already changed the evoparams and all that.)
Code:
when 27 # LevelRain
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::RAINDANCE
when 28 # LevelSun
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::SUNNYDAY
when 29 # LevelSand
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::SANDSTORM
when 30 # LevelStorm
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::LIGHTNING
when 31 # LevelFog
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::FOG
when 32 # LevelTornado
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::TORNADO
when 33 # LevelHail
return poke if pokemon.level>=level && pokemon.gender==1 && @weather==PBWeather::HAIL
I want a Pokemon to evolve by level during a certain battle weather condition, but only if it's female. I tested this in the game and it failed to work. (I'd already changed the evoparams and all that.)