When a stat of a Pokémon with this Ability is lowered by an opponent, its Attack is increased by two stages. Defiant will not activate if the Pokémon with this Ability lowers its own stats (such as with Close Combat) or if its stats are lowered by an ally.
If multiple stats are lowered (such as by Memento or Venom Drench), Defiant activates for each stat lowered.
Defiant activates before a held White Herb. If the Pokémon no longer has any negative stat stages after Defiant is applied, the White Herb will not have the chance to activate.
Relevant Code Points
Function 0x02242400 handles the code behind script command StatBoostChange; this function needs to be updated to check for Defiant on negative stat changes from an opponent and apply the follow-up Attack boost accordingly.
Documentation
https://bulbapedia.bulbagarden.net/wiki/Defiant_(Ability)
Relevant Code Points
Function
0x02242400
handles the code behind script commandStatBoostChange
; this function needs to be updated to check for Defiant on negative stat changes from an opponent and apply the follow-up Attack boost accordingly.