Thank you very much, did I alredy tell you your work is awesome?
I did a quick fix yesterday with a default parameter too, setting check_ability = nil (for lack of knowledge) and saw that at least it stopped the crash, I'm going to apply your fix and do a bunch of tests :)
Unrelated, but I was...
Hi, I found a conflict with the Gen 9 Pack, the error is the following:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: ArgumentError
Message: wrong number of arguments (given 1, expected 2)
Backtrace:
[Innate Abilities] AAM Battle.rb:52:in `pbAbilityTriggered?'...