mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 14:00:21 +00:00
edge case for egg OT name length
https://projectpokemon.org/home/forums/topic/48802-bugemerald-eggs-crystal-learnsets/
This commit is contained in:
parent
6dbeb24b6f
commit
5d5259ddd2
2 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
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;
|
||||
bool eggEdge = pkm.IsEgg ? pkm.IsTradedEgg || pkm.Format == 3 : pkm.WasTradedEgg;
|
||||
if (!eggEdge)
|
||||
return false;
|
||||
var len = Legal.GetMaxLengthOT(pkm.GenNumber, LanguageID.English); // max case
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue