mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-07 18:13:21 +01:00
Keen Eye evasion ignoring effect from Gen 6
This commit is contained in:
parent
d270dee6bc
commit
d310edda4b
@ -1510,7 +1510,7 @@ u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move)
|
||||
|
||||
accStage = gBattleMons[battlerAtk].statStages[STAT_ACC];
|
||||
evasionStage = gBattleMons[battlerDef].statStages[STAT_EVASION];
|
||||
if (atkAbility == ABILITY_UNAWARE)
|
||||
if (atkAbility == ABILITY_UNAWARE || atkAbility == ABILITY_KEEN_EYE)
|
||||
evasionStage = 6;
|
||||
if (gBattleMoves[move].flags & FLAG_STAT_STAGES_IGNORED)
|
||||
evasionStage = 6;
|
||||
|
Loading…
Reference in New Issue
Block a user