2020-01-04 19:44:16 +00:00
|
|
|
|
using static PKHeX.Core.Encounters8Nest;
|
2019-11-24 06:23:43 +00:00
|
|
|
|
|
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Generation 8 Nest Encounter (Distributed Crystal Data)
|
|
|
|
|
/// </summary>
|
2020-11-27 19:51:02 +00:00
|
|
|
|
/// <inheritdoc cref="EncounterStatic8Nest{T}"/>
|
2020-01-04 19:44:16 +00:00
|
|
|
|
public sealed class EncounterStatic8NC : EncounterStatic8Nest<EncounterStatic8NC>
|
2019-11-24 06:23:43 +00:00
|
|
|
|
{
|
2019-12-05 03:04:36 +00:00
|
|
|
|
protected override bool IsMatchLocation(PKM pkm)
|
|
|
|
|
{
|
|
|
|
|
var loc = pkm.Met_Location;
|
2020-03-20 04:04:17 +00:00
|
|
|
|
return loc == SharedNest || loc == Watchtower;
|
2019-12-05 03:04:36 +00:00
|
|
|
|
}
|
2019-11-24 06:23:43 +00:00
|
|
|
|
}
|
|
|
|
|
}
|