PKHeX/PKHeX.Core/Legality/Encounters/EncounterStatic8.cs
Kurt 1ea3976805 Split up Encounters8
Nests in their own file
Encounter types in their own files
2019-11-18 19:23:01 -08:00

14 lines
No EOL
354 B
C#

namespace PKHeX.Core
{
public sealed class EncounterStatic8 : EncounterStatic
{
protected override bool IsMatchLevel(PKM pkm, int lvl)
{
if (lvl == Level)
return true;
if (EncounterArea8.IsWildArea8(Location))
return lvl == 60;
return false;
}
}
}