mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Update gen3 event pidiv method check for eggs
closes #2057 Thanks @kamronbatman ! (nothing currently implemented uses BACD_U_S)
This commit is contained in:
parent
fae36e2086
commit
0f17445ef4
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue