mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 07:15:13 -05:00
Check static encounter forms
allow different formes if allowed to change Closes #684
This commit is contained in:
@@ -259,6 +259,8 @@ internal static EncounterStatic getValidStaticEncounter(PKM pkm)
|
||||
continue;
|
||||
if (e.Level != pkm.Met_Level)
|
||||
continue;
|
||||
if (e.Form != pkm.AltForm && !FormChange.Contains(pkm.Species))
|
||||
continue;
|
||||
|
||||
// Defer to EC/PID check
|
||||
// if (e.Shiny != null && e.Shiny != pkm.IsShiny)
|
||||
|
||||
Reference in New Issue
Block a user