mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 17:18:00 +00:00
52c4fbbe97
Refactored and rearranged things as needed to allow the change
27 lines
881 B
C#
27 lines
881 B
C#
namespace PKHeX.Core
|
|
{
|
|
public class EncounterLink : IEncounterable
|
|
{
|
|
public int Species { get; set; }
|
|
public int Level;
|
|
public int LevelMin { get { return Level; } }
|
|
public int LevelMax { get { return Level; } }
|
|
public int Location = 30011;
|
|
public int Ability = 1;
|
|
public int Ball = 4; // Pokéball
|
|
public Nature Nature = Nature.Random;
|
|
public int[] IVs = { -1, -1, -1, -1, -1, -1 };
|
|
public int FlawlessIVs = 0;
|
|
public bool Classic = true;
|
|
public bool Fateful = false;
|
|
public int[] RelearnMoves = new int[4];
|
|
public bool? Shiny = false;
|
|
public bool OT = true; // Receiver is OT?
|
|
public bool EggEncounter => false;
|
|
|
|
public bool XY = false;
|
|
public bool ORAS = false;
|
|
|
|
public string Name => "Pokémon Link Gift";
|
|
}
|
|
}
|