Error in the trainer school

On my 2nd save file and currently at the trainer school for my first fight with Nora. I lost it the first time and have received this error about two times afterwards - each time after losing (damn you Damien and delta wartortle!)


Pokemon Insurgence

Script ‘Interpreter’ line 276: RuntimeError occurred.

Script error within event 4, map 108 (Trainer School):

Exception: NoMethodError

Message: Section071:87:in pokemonCount'undefined methodegg?’ for “Leader_”:String

***Full script:

PokemonWorldTournament.new(true)

Interpreter:243:in `pbExecuteScript’

PokeBattle_Trainer:86:in `each’

PokeBattle_Trainer:86:in `pokemonCount’

Pokemon World Tournament:875:in `pbPWTTrainerBattle’

Pokemon World Tournament:533:in `startTournament’

Pokemon World Tournament:224:in `initialize’

(eval):1:in `new’

(eval):1:in `pbExecuteScript’

Interpreter:1608:in `eval’

Interpreter:243:in `pbExecuteScript’


OK

A similar error happened to me when I bet an enemy cultist. The game crashed so I had to beat him again. The second time i beat him, the error didn’t show so unless it appears every time, it’s nothing that serious if you save right before the battle.