PKHeX/PKHeX.Core/Legality/Structures/EncounterTrade.cs
Kurt 4201e10a0e Misc cleanup
Add PCD fixed PID check
improve PID matching for CXD pkm
hide no-pidiv match seed (00000000)
fix matching fateful for wild pokespot pkm
don't generate eggs for c/xd
2017-06-03 15:16:27 -07:00

45 lines
1.3 KiB
C#

namespace PKHeX.Core
{
public class EncounterTrade : IEncounterable, IMoveset, IGeneration
{
public int Species { get; set; }
public int[] Moves { get; set; }
public int Level;
public int LevelMin => Level;
public int LevelMax => 100;
public int Generation { get; set; } = -1;
public int Location = -1;
public int Ability = 0;
public Nature Nature = Nature.Random;
public int TID;
public int SID = 0;
public GameVersion Version = GameVersion.Any;
public int[] IVs = { -1, -1, -1, -1, -1, -1 };
public int[] Contest = { 0, 0, 0, 0, 0, 0 };
public int Form = 0;
public bool Shiny = false;
public int Gender = -1;
public int OTGender = -1;
public bool EggEncounter => false;
public bool EvolveOnTrade = false;
public int Ball = 4;
public string Name => "In-game Trade";
public static readonly int[] DefaultMetLocation =
{
254, 2001, 30002, 30001, 30001,
};
}
public class EncounterTradePID : EncounterTrade
{
public uint PID;
}
public class EncounterTradeCatchRate : EncounterTrade
{
public uint Catch_Rate;
}
}