Hi there. this script looked interesting but when trying to install it I kept getting this error in any battle I was in.
[Pokémon Essentials version 18.1]
Exception: NoMethodError
Message: undefined method `priority' for [1, 280, 0]:Array
Backtrace:
Better AI (Not Important):454:in `pbChooseMoves'
Better AI (Not Important):452:in `each'
Better AI (Not Important):452:in `pbChooseMoves'
Better AI (Not Important):174:in `pbDefaultChooseEnemyCommand'
Battle_Phase_Command:200:in `pbCommandPhaseLoop'
Battle_Phase_Command:191:in `loop'
Battle_Phase_Command:248:in `pbCommandPhaseLoop'
Battle_Phase_Command:183:in `pbCommandPhase'
BattleScript_Main:100:in `pbBattleLoop'
BattleScript_Main:100:in `logonerr'
I'm not that good at scripting so any help would be appreciated.