mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Allow antishiny CXD spreads for some checks
This commit is contained in:
parent
dab57be918
commit
8ac61d7ff7
2 changed files with 3 additions and 1 deletions
|
@ -823,6 +823,8 @@ namespace PKHeX.Core
|
|||
case WC3 g:
|
||||
if (val == g.Method)
|
||||
return true;
|
||||
if (val == PIDType.CXDAnti && g.Shiny == Shiny.Never && g.Method == PIDType.CXD)
|
||||
return true;
|
||||
// forced shiny eggs, when hatched, can lose their detectable correlation.
|
||||
return g.IsEgg && !pkm.IsEgg && val == PIDType.None && (g.Method == PIDType.BACD_R_S || g.Method == PIDType.BACD_U_S);
|
||||
case EncounterStatic s:
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace PKHeX.Core
|
|||
private static void VerifyCXDStarterCorrelation(LegalityAnalysis data)
|
||||
{
|
||||
var pidiv = data.Info.PIDIV;
|
||||
if (pidiv.Type != PIDType.CXD)
|
||||
if (pidiv.Type != PIDType.CXD && pidiv.Type != PIDType.CXDAnti)
|
||||
return;
|
||||
|
||||
bool valid;
|
||||
|
|
Loading…
Reference in a new issue