Fix 3568 (#3569)
This commit is contained in:
parent
508332a93f
commit
c9c0827ba2
1 changed files with 1 additions and 1 deletions
|
@ -6099,7 +6099,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32
|
|||
break;
|
||||
}
|
||||
|
||||
if (effect && gLastUsedAbility != 0xFF)
|
||||
if (effect && gLastUsedAbility != 0xFFFF)
|
||||
RecordAbilityBattle(battler, gLastUsedAbility);
|
||||
if (effect && caseID <= ABILITYEFFECT_MOVE_END)
|
||||
gBattlerAbility = battler;
|
||||
|
|
Loading…
Reference in a new issue