mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 03:51:21 -05:00
@@ -93,6 +93,8 @@ public static IEnumerable<EncounterSlot> GetValidFriendSafari(PKM pkm)
|
||||
{
|
||||
if (!pkm.XY || pkm.Met_Location != 148 || pkm.Met_Level != 30) // Friend Safari
|
||||
return Enumerable.Empty<EncounterSlot>();
|
||||
if (pkm.Species == 423 && pkm.AltForm != 0)
|
||||
return Enumerable.Empty<EncounterSlot>();
|
||||
var vs = EvolutionChain.GetValidPreEvolutions(pkm).Where(d => d.Level >= 30);
|
||||
return vs.SelectMany(z => Encounters6.FriendSafari[z.Species]);
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user