mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 16:48:01 +00:00
4b3d85d5e6
#2484 OH BOY REUSED INDEXES smart to save space, but a small pain for legality feels pretty bad breaking up abstractions for every minor difference in verification...
14 lines
No EOL
347 B
C#
14 lines
No EOL
347 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))
|
|
return lvl == 60;
|
|
return false;
|
|
}
|
|
}
|
|
} |