mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-11 14:14:57 -05:00
indicates met location for transferred mons most gen1/2 encounters won't show values due to the location not being stored respective to the string tables (anyone wanna do a location remap after initial load?)
43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Pokémon Link Encounter Data
|
|
/// </summary>
|
|
public class EncounterLink : IEncounterable, IRibbonSetEvent4, IMoveset, ILocation
|
|
{
|
|
public int Species { get; set; }
|
|
public int Level { get; set; }
|
|
public int LevelMin => Level;
|
|
public int LevelMax => Level;
|
|
public int Location { get; set; } = 30011;
|
|
public int Ability { get; set; } = 1;
|
|
public int Ball { get; set; } = 4; // Pokéball
|
|
public bool Fateful { get; set; } = false;
|
|
public int[] RelearnMoves = new int[4];
|
|
public bool? Shiny { get; set; } = false;
|
|
public bool OT { get; set; } = true; // Receiver is OT?
|
|
|
|
public bool EggEncounter => false;
|
|
public int EggLocation { get => 0; set { } }
|
|
|
|
public bool XY { get; set; }
|
|
public bool ORAS { get; set; }
|
|
|
|
public int[] Moves { get; set; } = new int[0];
|
|
|
|
public string Name => "Pokémon Link Gift";
|
|
|
|
public bool RibbonClassic { get; set; } = true;
|
|
|
|
// Unused
|
|
public bool RibbonWishing { get; set; }
|
|
public bool RibbonPremier { get; set; }
|
|
public bool RibbonEvent { get; set; }
|
|
public bool RibbonBirthday { get; set; }
|
|
public bool RibbonSpecial { get; set; }
|
|
public bool RibbonWorld { get; set; }
|
|
public bool RibbonChampionWorld { get; set; }
|
|
public bool RibbonSouvenir { get; set; }
|
|
}
|
|
}
|