2020-11-14 12:51:24 -08:00
|
|
|
|
namespace PKHeX.Core
|
2020-11-10 22:10:53 -08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Encounter data from <see cref="GameVersion.GO"/>, which has multiple generations of origin.
|
|
|
|
|
/// </summary>
|
|
|
|
|
internal static class EncountersGO
|
|
|
|
|
{
|
2020-11-14 12:51:24 -08:00
|
|
|
|
internal const int MAX_LEVEL = 40;
|
2020-11-12 20:41:01 -08:00
|
|
|
|
|
2020-11-14 12:51:24 -08:00
|
|
|
|
internal static readonly EncounterArea7g[] SlotsGO_GG = EncounterArea7g.GetArea(Get("go_lgpe", "go"));
|
|
|
|
|
internal static readonly EncounterArea8g[] SlotsGO = EncounterArea8g.GetArea(Get("go_home", "go"));
|
2020-11-12 20:41:01 -08:00
|
|
|
|
|
2020-11-14 12:51:24 -08:00
|
|
|
|
private static byte[][] Get(string resource, string ident) => BinLinker.Unpack(Util.GetBinaryResource($"encounter_{resource}.pkl"), ident);
|
2020-11-10 22:10:53 -08:00
|
|
|
|
}
|
|
|
|
|
}
|