Merge pull request #1443 from AmbientDinosaur/patch-1
Keen Eye evasion ignoring effect from Gen 6
This commit is contained in:
commit
fd3605b023
1 changed files with 1 additions and 1 deletions
|
@ -1510,7 +1510,7 @@ u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move)
|
||||||
|
|
||||||
accStage = gBattleMons[battlerAtk].statStages[STAT_ACC];
|
accStage = gBattleMons[battlerAtk].statStages[STAT_ACC];
|
||||||
evasionStage = gBattleMons[battlerDef].statStages[STAT_EVASION];
|
evasionStage = gBattleMons[battlerDef].statStages[STAT_EVASION];
|
||||||
if (atkAbility == ABILITY_UNAWARE)
|
if (atkAbility == ABILITY_UNAWARE || atkAbility == ABILITY_KEEN_EYE)
|
||||||
evasionStage = 6;
|
evasionStage = 6;
|
||||||
if (gBattleMoves[move].flags & FLAG_STAT_STAGES_IGNORED)
|
if (gBattleMoves[move].flags & FLAG_STAT_STAGES_IGNORED)
|
||||||
evasionStage = 6;
|
evasionStage = 6;
|
||||||
|
|
Loading…
Reference in a new issue