mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 10:08:38 -05: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:
@@ -666,7 +666,10 @@ public static bool IsCompatible3(this PIDType val, IEncounterable encounter, PKM
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user