def pbForceEvo2(pkm)
pbChoosePokemon(1,3)
if pkm==$Trainer.pokemonParty[$game_variables[1]].species
Kernel.pbMessage(_INTL("A bright light shines upon {1}.",$game_variables[3]))
pkmn=$Trainer.party[$game_variables[1]]
for form in pbGetEvolvedFormData(pkmn.species)
newspecies=form[2]
end
return if !newspecies
if newspecies>0
evo=PokemonEvolutionScene.new
evo.pbStartScreen(pkmn,newspecies)
evo.pbEvolution
evo.pbEndScreen
end
else
if $game_variables[1]<0
Kernel.pbMessage(_INTL("A bright light shines upon {1} but nothing happens.",$Trainer.name))
else
Kernel.pbMessage(_INTL("A bright light shines upon {1} but nothing happens.",$game_variables[3]))
end
end
end