mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-25 16:35:02 -05:00
Update EggStateLegality.cs
This commit is contained in:
parent
dbbb4eba62
commit
260559c7e6
|
|
@ -85,7 +85,7 @@ public static int GetMaximumEggHatchCycles(PKM pk, IEncounterTemplate enc)
|
|||
public static bool IsValidHTEgg(PKM pk) => pk switch
|
||||
{
|
||||
PB8 { Met_Location: Locations.LinkTrade6NPC } pb8 when pb8.HT_Friendship == PersonalTable.BDSP[pb8.Species].BaseFriendship => true,
|
||||
PK9 { CurrentHandler: 1, Met_Location: Locations.LinkTrade6, HT_Language: not 0 } => true,
|
||||
PK9 { Met_Location: Locations.LinkTrade6, HT_Language: not 0 } => true, // fine regardless of handler (trade-back)
|
||||
_ => false,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user