mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-10 23:25:17 -05:00
Disregard ability bit checks if was shadow
only really pertains to xk3/ck3 and this doesn't really impact legality once transferred
This commit is contained in:
@@ -357,7 +357,8 @@ private CheckResult CheckMatch(PKM pkm, IReadOnlyList<int> abilities, int gen, A
|
||||
if (abilities[0] == abilities[1]) // Not a dual ability
|
||||
{
|
||||
// Must not have the Ability bit flag set.
|
||||
if (abit)
|
||||
// Some shadow stuff with single-ability might have the flag set anyways?
|
||||
if (abit && !(pkm is IShadowPKM s && s.ShadowID != 0))
|
||||
return GetInvalid(LAbilityMismatchFlag, CheckIdentifier.PID);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user