mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-25 08:10:48 -05:00
Add gen3 wc3 fixed OT egg length case
unhatched egg: https://projectpokemon.org/home/forums/topic/48226-pichu-event-ilegal/
This commit is contained in:
parent
daf41da91b
commit
d5c22b1e51
|
|
@ -81,6 +81,8 @@ public static bool IsEdgeCaseLength(PKM pkm, IEncounterable e, string ot)
|
|||
{
|
||||
if (e.EggEncounter)
|
||||
{
|
||||
if (e is WC3 wc3 && pkm.IsEgg && wc3.OT_Name == ot)
|
||||
return true; // Fixed OT Mystery Gift Egg
|
||||
bool eggEdge = pkm.IsEgg ? pkm.IsTradedEgg : pkm.WasTradedEgg;
|
||||
if (!eggEdge)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user