mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-03 00:48:01 -05:00
Allow gen5 deerling and sawsbuck slots to be any form [0,3]
This commit is contained in:
@@ -60,7 +60,9 @@ public override IEnumerable<EncounterSlot> GetMatchingSlots(PKM pkm, IReadOnlyLi
|
||||
if (!slot.IsLevelWithinRange(pkm.Met_Level))
|
||||
break;
|
||||
|
||||
if (slot.Form != evo.Form) // no wild forms can change
|
||||
// Deerling and Sawsbuck can change forms when seasons change, thus can be any of the [0,3] form values.
|
||||
// no other wild forms can change
|
||||
if (slot.Form != evo.Form && slot.Species is not ((int)Species.Deerling or (int)Species.Sawsbuck))
|
||||
break;
|
||||
|
||||
yield return slot;
|
||||
|
||||
Reference in New Issue
Block a user