I'm having this error every time I send a Pokémon that has the ability "Intimidate".
I honestly don't know why since I haven't coded anything around this ability, and similar abilities, like Download, work perfectly.
Where should I start looking?
Code:
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]
Script error in Common Event, map 91 (Ruta 21)
Exception: SystemStackError
Message: stack level too deep
***Full script:
$player.coins +=650
pbToneChangeAll(
Tone.new(0, 0, 0, 0),
10)
WildBattle.start(:MEW, 30)
Backtrace:
015:Validation:18:in `block (2 levels) in validate'
015:Validation:18:in `any?'
015:Validation:18:in `block in validate'
015:Validation:16:in `each'
015:Validation:16:in `map'
015:Validation:16:in `validate'
103:GameData:103:in `try_get'
160:Battle_Battler:65:in `ability'
160:Battle_Battler:349:in `hasActiveAbility?'
147:Battle:490:in `block in pbCheckGlobalAbility'
I honestly don't know why since I haven't coded anything around this ability, and similar abilities, like Download, work perfectly.
Where should I start looking?