Running into an issue where the game crashes when encountering the puppet clones for the first time in chapter 15
This is the error text I get if thats of any help solving the problem
Exception: RuntimeError
Message: Script error within event 6, map 57 (Land of Broken Dreams):
Exception: NoMethodError
Message: undefined method `<=' for [1, :MISTYTERRAIN]:Array
***Full script:
pbTrainerBattle(PBTrainers::LEADER_PUPPET1,"Magenta",_I("Hehehehe..."),false,1,false)
PokeBattle_Pokemon:447:in `block in resetMoves'
PokeBattle_Pokemon:446:in `each'
PokeBattle_Pokemon:446:in `resetMoves'
PokemonTrainers:66:in `block (2 levels) in pbLoadTrainerDifficult'
PokemonTrainers:61:in `each'
PokemonTrainers:61:in `block in pbLoadTrainerDifficult'
PokemonTrainers:47:in `each'
PokemonTrainers:47:in `pbLoadTrainerDifficult'
Difficulty Modes:73:in `loadTrainer'
Difficulty Modes:96:in `pbLoadTrainer'
Interpreter:275:in `rescue in pbExecuteScript'
Interpreter:241:in `pbExecuteScript'
Interpreter:799:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `block in update'
Interpreter:106:in `loop'
Interpreter:106:in `update'
Autosave:30:in `block in update'
Autosave:28:in `loop'
Autosave:28:in `update'