mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
parent
87056aaf7c
commit
bdb5aaee36
|
|
@ -93,7 +93,7 @@ private CheckResult VerifyFixedAbility(LegalityAnalysis data, IReadOnlyList<int>
|
|||
if ((pkm.AbilityNumber == 4) != (EncounterAbility == 4))
|
||||
return GetInvalid(V108);
|
||||
|
||||
if (data.EncounterMatch.Species != pkm.Species) // evolved
|
||||
if (data.EncounterMatch.Species != pkm.Species && state != AbilityState.CanMismatch) // evolved
|
||||
return CheckMatch(pkm, abilities, data.Info.Generation, AbilityState.MustMatch);
|
||||
|
||||
if (EncounterAbility == 1 << abilval)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user