Update gen3 event pidiv method check for eggs

closes #2057
Thanks @kamronbatman !

(nothing currently implemented uses BACD_U_S)
This commit is contained in:
Kurt 2018-07-14 20:19:13 -07:00
parent fae36e2086
commit 0f17445ef4

View file

@ -666,7 +666,10 @@ namespace PKHeX.Core
switch (encounter)
{
case WC3 g:
return val == g.Method;
if (val == g.Method)
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 EncounterStaticShadow d when d.EReader:
return val == PIDType.None; // All IVs are 0
case EncounterStatic s: