mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 22:40:22 +00:00
16 lines
506 B
C#
16 lines
506 B
C#
namespace PKHeX.Core
|
|
{
|
|
public class EncounterStatic5 : EncounterStatic
|
|
{
|
|
public bool Roaming { get; set; }
|
|
|
|
public sealed override bool IsMatchDeferred(PKM pkm)
|
|
{
|
|
if (pkm.FatefulEncounter != Fateful)
|
|
return true;
|
|
if (Ability == 4 && pkm.AbilityNumber != 4) // BW/2 Jellicent collision with wild surf slot, resolved by duplicating the encounter with any abil
|
|
return true;
|
|
return false;
|
|
}
|
|
}
|
|
}
|