Mortalis
[css-div="background-color:#4e9dda;text-align:cent
- 345
- Posts
- 13
- Years
- Age 27
- Canada
- Seen Jun 28, 2023
Hey everyone, I keep getting this error whenever I try to create a trainer in the Editor:
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_Pokemon:729:in `initialize'
PokemonTrainers:102:in `new'
PokemonTrainers:102:in `pbNewTrainer'
PokemonTrainers:88:in `loop'
PokemonTrainers:111:in `pbNewTrainer'
PokemonTrainers:80:in `each'
PokemonTrainers:80:in `pbNewTrainer'
PokemonEditor:3696:in `pbTrainerBattleEditor'
PokemonEditor:3653:in `pbListScreenBlock'
PokemonEditor:1572:in `loop'
This only happens when I create a trainer. Creating a trainer type is fine, but actually creating the trainer produces this error. I'm not sure what to do.
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_Pokemon:729:in `initialize'
PokemonTrainers:102:in `new'
PokemonTrainers:102:in `pbNewTrainer'
PokemonTrainers:88:in `loop'
PokemonTrainers:111:in `pbNewTrainer'
PokemonTrainers:80:in `each'
PokemonTrainers:80:in `pbNewTrainer'
PokemonEditor:3696:in `pbTrainerBattleEditor'
PokemonEditor:3653:in `pbListScreenBlock'
PokemonEditor:1572:in `loop'
This only happens when I create a trainer. Creating a trainer type is fine, but actually creating the trainer produces this error. I'm not sure what to do.