How do I define "Alola"?

Grovyle

Rookie
Member
Joined
Sep 2, 2020
Posts
3
Age
20
I try starting my game, but I

I get a message saying

---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Undefined value ItemNotInAlola in PBEvolution
File PBS/pokemon.txt, section 25, key Evolutions
RAICHU,ItemNotInAlola,THUNDERSTONE,RAICHU,ItemInAlola,THUNDERSTONE

Compiler:418:in `checkEnumField'
Compiler:403:in `csvEnumField!'
Compiler:1706:in `pbCompilePokemonData'
Compiler:1698:in `each'
Compiler:1698:in `pbCompilePokemonData'
Compiler:1695:in `loop'
Compiler:1775:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'



This exception was logged in

C:\Users\[REDACTED]\Saved Games\Pokemon Essentials\errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 
Last edited:

Golisopod User

Cooltrainer
Member
Joined
May 11, 2020
Posts
211
That's an issue with the Gen 8 PBS files. It has an evolution method which isn't in Base Essentials. What you can do is download Pokemon Zero and extract the code of LevelNightAlola from there. Alternatively you can check out this resource and copy the PBS from here into your game. This resource doesn't use any code specific to any game. The new Evolution methods (LandCritical, HoldSweetItem and TookDamage) that used in this resource can be installed fromhere.
 

Grovyle

Rookie
Member
Joined
Sep 2, 2020
Posts
3
Age
20
I'm pretty new to coding, so how do I add the evolution method? I'm also having difficulty finding the file for defining being in Alola.
 
Top