• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Vendily's Evolve During Battle

Resource Vendily's Evolve During Battle N/A

Shubham

Rookie
Member
Joined
Jun 2, 2022
Posts
5
hello Vendily there is a small problem after i pasted your script my game
There is a error called 'undefined local variable or method 'pkmn' for Pokebattle_Battle:Class'
could please help me

no problem i solved it. there was two like me who has the same error
 
Last edited:
hello Vendily there is a small problem after i pasted your script my game
There is a error called 'undefined local variable or method 'pkmn' for Pokebattle_Battle:Class'
could please help me
I’m not Vendily, I just updated his script.

You should always share the full error message (backtrace and everything), because just part of it is usually not enough to find the problem. In this case, though, since two people got similar error messages on this thread, I’m guessing you’re in the same situation they were- pasting it in the wrong part of the script.
 

Shubham

Rookie
Member
Joined
Jun 2, 2022
Posts
5
Everytime a Pokemon evolve during when he's battling this error happens

[Pokémon Essentials version 19.1]
[v19.1 Hotfixes 1.0.7]
[EBDX v1.2.6]

Exception: NameError
Message: uninitialized constant PokeBattle_Battle::Battle

Backtrace:
173:Battle_ExpAndMoveLearning:231:in `block (2 levels) in pbGainExpOne'
173:Battle_ExpAndMoveLearning:230:in `each'
173:Battle_ExpAndMoveLearning:230:in `each_with_index'
173:Battle_ExpAndMoveLearning:230:in `block in pbGainExpOne'
173:Battle_ExpAndMoveLearning:180:in `loop'
173:Battle_ExpAndMoveLearning:180:in `pbGainExpOne'
173:Battle_ExpAndMoveLearning:39:in `block (2 levels) in pbGainExp'
171:PokeBattle_Battle:389:in `block in eachInTeam'
171:PokeBattle_Battle:389:in `each'
171:PokeBattle_Battle:389:in `each_with_index'
 
Back
Top