v20.1 Regional Dex not working specifically with new pokemon

This thread pertains to v20.1 of Pokémon Essentials.

Ksawerx

Rookie
Member
Joined
Jan 22, 2023
Posts
1
Age
22
so i have a bunch of new pokemon in my game but after adding them to the regional dex i get this error

[Pokémon Essentials version 20.1]

Exception: RuntimeError
Message: Undefined species constant name: ARONa
Make sure the species is defined in PBS/pokemon.txt.
File PBS/regional_dexes.txt, line 45
ARONa,LAIRONa,AGGRONa



Backtrace:
Compiler:669:in `parseSpecies'
Compiler_CompilePBS:1149:in `block (2 levels) in compile_regional_dexes'
Compiler_CompilePBS:1147:in `each'
Compiler_CompilePBS:1147:in `block in compile_regional_dexes'
Compiler:242:in `block (2 levels) in pbCompilerEachPreppedLine'
Compiler:234:in `each_line'
Compiler:234:in `block in pbCompilerEachPreppedLine'
Compiler:231:in `open'
Compiler:231:in `pbCompilerEachPreppedLine'
Compiler_CompilePBS:1136:in `compile_regional_dexes'

that doesn't make sense since the pokemon are defined in pokemon.txt, i even copied other pokemon that work and only changed the essentials.
here's how almost all of them are defined
#-------------------------------
[ARONa]
Name = Aron
Types = GRASS,FIGHTING
BaseStats = 50,80,90,30,40,40
GenderRatio = Female50Percent
GrowthRate = Parabolic
BaseExp = 66
EVs = ATTACK,1
CatchRate = 180
Happiness = 35
Abilities = OVERGROW
HiddenAbilities = NATURALCURE
Moves = 1,TACKLE,1,GROWL,4,VINEWHIP,7,HEADBUTT,10,KARATECHOP,13,CHARM,16,PROTECT,19,ROAR,22,CROSSCHOP,25,RAZORLEAF,28,TAKEDOWN,31,STUNSPORE,34,DYNAMICPUNCH,37,SUNNYDAY,40,DOUBLEEDGE,43,BULKUP,46,CLOSECOMBAT,49,POWERWHIP
TutorMoves = AERIALACE,ATTRACT,BULLDOZE,CONFIDE,CUT,DOUBLETEAM,EARTHPOWER,EARTHQUAKE,ENDEAVOR,FACADE,FRUSTRATION,HIDDENPOWER,IRONDEFENSE,IRONHEAD,IRONTAIL,MAGNETRISE,PROTECT,RAINDANCE,REST,RETURN,ROAR,ROCKPOLISH,ROCKSLIDE,ROCKSMASH,ROCKTOMB,ROUND,SANDSTORM,SHADOWCLAW,SHOCKWAVE,SLEEPTALK,SNORE,SPITE,STEALTHROCK,STRENGTH,SUBSTITUTE,SUNNYDAY,SUPERPOWER,SWAGGER,TOXIC,UPROAR,WATERPULSE,SOLARBEAM,BRICKBREAK,GRASSPLEDGE
EggMoves = BODYSLAM,CURSE,DRAGONRUSH,ENDEAVOR,HEADSMASH,IRONHEAD,REVERSAL,SCREECH,SMELLINGSALTS,STEALTHROCK,STOMP,SUPERPOWER,LEAFBLADE,MACHPUNCH,SOLARBEAM,BRICKBREAK
EggGroups = Monster,Grass
HatchSteps = 8960
Height = 0.4
Weight = 40.0
Color = Green
Shape = Quadruped
Habitat = Grassland
Category = Bush
Pokedex = This Aron from an altarnate demension live in grasslands instead of caves. They have an energetic personality and constantly want to fight.
WildItemCommon = ORANBERRY
Evolutions = LAIRONa,Level,20
#-------------------------------
I accualy had the Generation = there before but it didn't work with or without.
 
Top