pbDisplayPaused(_INTL("{1} grew to Lv. {2}!",thispoke.name,curlevel))
# Evolve
currentlevels=thispoke.level
pokemon=thispoke
if pokemon && (!currentlevels[i] || pokemon.level!=currentlevels[i])
newspecies=Kernel.pbCheckEvolution(pokemon)
if newspecies>0
playingBGS=$game_system.getPlayingBGS
playingBGM=$game_system.getPlayingBGM
# Start evolution scene
@scene.pbRefresh
evo=PokemonEvolutionScene.new
evo.pbStartScreen(pokemon,newspecies)
evo.pbEvolution
evo.pbEndScreen
@scene.pbRefresh
$game_system.bgm_resume(playingBGM)
$game_system.bgs_resume(playingBGS)
end
end
2. Pokemon isn't updated after evo.
self.scene.pbChangePokemon(thispoke,thispoke.pokemon)
Code:self.scene.pbChangePokemon(thispoke,thispoke.pokemon)
---------------------------
Pokémon Paragon
---------------------------
Exception: NoMethodError
Message: undefined method `pokemon' for #<PokeBattle_Pokemon:0x8910ae0>
PokeBattle_Battle:2303:in `pbGainEXP'
PokeBattle_Battle:2259:in `loop'
PokeBattle_Battle:2318:in `pbGainEXP'
PokeBattle_Battle:2121:in `each'
PokeBattle_Battle:2121:in `pbGainEXP'
PokeBattle_Battle:2075:in `each'
PokeBattle_Battle:2075:in `pbGainEXP'
PokeBattle_Battler:3600:in `pbUseMove'
PokeBattle_Battler:3709:in `pbProcessTurn'
PokeBattle_Battler:3708:in `logonerr'
This exception was logged in
C:\Users\Tyler\Saved Games/Pokémon Paragon/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
I seem to get this error:
Code:EDIT: I found out the Pokemon is fixed if you enter a new battle. Also, if the Pokemon learns a move on evolving, then it won't have that move until a new battle occurs.[/QUOTE] You can change the Pokemon mid-battle - form changes, Transform, etc. I was trying to show the function that those effects use.
You can change the Pokemon mid-battle - form changes, Transform, etc. I was trying to show the function that those effects use.