def pbCheckEvolutionEx(pokemon)
return -1 if pokemon.species<=0 || pokemon.isEgg?
[COLOR="Red"]return -1 if isConst?(pokemon.species,PBSpecies,:PICHU) && pokemon.form==1[/COLOR]
return -1 if isConst?(pokemon.item,PBItems,:EVERSTONE) &&
!isConst?(pokemon.species,PBSpecies,:KADABRA)
ret=-1
for form in pbGetEvolvedFormData(pokemon.species)
ret=yield pokemon,form[0],form[1],form[2]
break if ret>0
end
return ret
end