Scraps The Man
Crystal Collector
- 33
- Posts
- 4
- Years
- Seen Jun 19, 2024
I was doing a double battle with a boss in my game, and I think they tried to switch out their monster for another one; however, instead of switching out, an error appeared and gave me a free turn to attack. Here is the error, if there is anything that I need to fix I would love to know! Thanks in advance, and have a good one!
-----------------------------------------------
[Pokemon Essentials version 19]
[v19 Hotfixes 1.0.6]
Exception: ArgumentError
Message: comparison of Symbol with 0 failed
Backtrace:
187:AI_Switch:110:in `>='
187:AI_Switch:110:in `block in pbEnemyShouldWithdrawEx?'
187:AI_Switch:94:in `each'
187:AI_Switch:94:in `each_with_index'
187:AI_Switch:94:in `pbEnemyShouldWithdrawEx?'
187:AI_Switch:6:in `pbEnemyShouldWithdraw?'
207:PokeBattle_BattlePalace:193:in `pbEnemyShouldWithdraw?'
208:PokeBattle_BattleArena:178:in `pbEnemyShouldWithdraw?'
185:PokeBattle_AI:64:in `pbDefaultChooseEnemyCommand'
180:Battle_Phase_Command:200:in `block in pbCommandPhaseLoop'
------------------------------------------------
(I can try my best to supply any information you may need, but do know that the whole script should not have been tampered with yet!)
-----------------------------------------------
[Pokemon Essentials version 19]
[v19 Hotfixes 1.0.6]
Exception: ArgumentError
Message: comparison of Symbol with 0 failed
Backtrace:
187:AI_Switch:110:in `>='
187:AI_Switch:110:in `block in pbEnemyShouldWithdrawEx?'
187:AI_Switch:94:in `each'
187:AI_Switch:94:in `each_with_index'
187:AI_Switch:94:in `pbEnemyShouldWithdrawEx?'
187:AI_Switch:6:in `pbEnemyShouldWithdraw?'
207:PokeBattle_BattlePalace:193:in `pbEnemyShouldWithdraw?'
208:PokeBattle_BattleArena:178:in `pbEnemyShouldWithdraw?'
185:PokeBattle_AI:64:in `pbDefaultChooseEnemyCommand'
180:Battle_Phase_Command:200:in `block in pbCommandPhaseLoop'
------------------------------------------------
(I can try my best to supply any information you may need, but do know that the whole script should not have been tampered with yet!)