Found a new error that I think is coming from DBK. When an enemy tries to use Flame Burst, the AI freaks out and throws up a bunch of errors.
[2026-02-20 10:16:02 -0800]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `battler' for #<Battle::Battler>
Backtrace:
004_AI_MoveEffects_MoveAttributes.rb:118:in `block (3 levels) in load_scripts_from_folder'
004_AI_MoveEffects_MoveAttributes.rb:117:in `each'
004_AI_MoveEffects_MoveAttributes.rb:117:in `block (2 levels) in load_scripts_from_folder'
005_Event_Handlers.rb:139:in `trigger'
001_Battle_AI.rb:111:in `apply_move_effect_against_target_score'
[Deluxe Battle Kit] [002] Misc Utilities.rb:533:in `pbGetMoveScoreAgainstTarget'
005_AI_ChooseMove.rb:245:in `block in pbGetMoveScore'
005_AI_ChooseMove.rb:242:in `each'
005_AI_ChooseMove.rb:242:in `pbGetMoveScore'
[Deluxe Battle Kit] [003] Command Menu Refactor.rb:522:in `block (3 levels) in pbGetMoveScores'