
This is the error i recieve when ever i try to call a trainer that is not the first on the list in the trainer.txt file.
Code:
# ------------------------------------------------------
# Pokemon Golden Heights Pokemon Trainer Encounters
# ------------------------------------------------------
# ------------------------------------------------------
#
# LEADER_Roxanne Trainer Type
# Roxanne Trainer Name
# 1,FULLRESTORE,FULLRESTORE Number of Pokemon and upto 4 Items
# GEODUDE,16 Pokemon and Level
#
# TRIATHLETE_FemaleCyclist Trainer Type
# Cindy Trainer Name
# 2 Number of Pokemon
# MAGNEMITE,16 Pokemon and Level
# PIKACHU,12 Pokemon and Level
#
# ------------------------------------------------------
#
# There are also advanced ways to create the Trainers Pokemon, such as
# the folloing. Steelix is Level 22 with 20 IVs, it's holding a Sitrus
# Berry and knows Sandstorm, Iron Tail, Iron Defense, and Earthquake.
#
# STEELIX,22,20,SITRUSBERRY,SANDSTORM,IRONTAIL,IRONDEFENSE,EARTHQUAKE
#
# ------------------------------------------------------
# Trainers
# ------------------------------------------------------
#------Trainers With Two Pokemon-----
BUGCATCHER
DON
2
CATERPIE,3
CATERPIE,3
#------Trainers With One Pokemon----
YOUNGSTER
Joey
1
RATTATA,4
RIVAL
???
1
EEVEE,5
YOUNGSTER
Mikey
1
PIDGEY,2
for example if i try and have a trainer battle with anyone other than Bugcatcher Don, i recieve the above error and the game freezes. any ideas about fixing it?