mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-26 02:47:13 -05:00
took me less than an hour to do these changes, and i can flag bad form movesets no problemo Expect tightening of restrictions (ball, level, shininess) later if someone wants to curate met date restrictions, go ahead!
28 lines
859 B
C#
28 lines
859 B
C#
using System.Collections.Generic;
|
|
using static PKHeX.Core.Species;
|
|
|
|
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Encounter data from <see cref="GameVersion.GO"/>, which has multiple generations of origin.
|
|
/// </summary>
|
|
internal static class EncountersGO
|
|
{
|
|
private const int MaxSpeciesID_GO_HOME = Legal.MaxSpeciesID_6;
|
|
|
|
private static readonly HashSet<int> DisallowedSpecies = new HashSet<int>
|
|
{
|
|
(int)Spinda,
|
|
};
|
|
|
|
private static readonly int[] ExtraSpecies =
|
|
{
|
|
(int)Meltan,
|
|
(int)Melmetal,
|
|
};
|
|
|
|
internal static readonly EncounterArea7g[] SlotsGO_GG = EncounterArea7g.GetArea();
|
|
internal static readonly EncounterArea8g[] SlotsGO = EncounterArea8g.GetArea(SlotsGO_GG[0], MaxSpeciesID_GO_HOME, DisallowedSpecies, ExtraSpecies);
|
|
}
|
|
}
|