PKHeX/PKHeX.Core/Legality/Encounters/EncounterStatic/EncounterStatic8.cs
Kurt 36dd5ece21 Initial Isle of Armor support
Co-Authored-By: sciresm <sciresm@users.noreply.github.com>
Co-Authored-By: Matt <sora10pls@users.noreply.github.com>
Co-Authored-By: Archit Date <architdate@gmail.com>
2020-06-19 18:51:15 -05:00

14 lines
No EOL
392 B
C#

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