using System; namespace PKHeX.Core; /// /// Common logic for data providing and manipulation. /// public static class PKX { internal static readonly PersonalTable Personal = PersonalTable.LA; public const int Generation = 8; public const EntityContext Context = EntityContext.Gen8a; /// /// Reorders (in place) the input array of stats to have the Speed value last rather than before the SpA/SpD stats. /// /// Input array to reorder /// Same array, reordered. public static void ReorderSpeedLast(Span value) { var spe = value[3]; value[3] = value[4]; value[4] = value[5]; value[5] = spe; } }