mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
ad9e9ddfa0
PKHeX.Core now accepts generated pkl binaries from PoGoEncounterTool (PGET). Refer to pporg's repo. This will be treated like event data; occasionally updated.
15 lines
628 B
C#
15 lines
628 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Encounter data from <see cref="GameVersion.GO"/>, which has multiple generations of origin.
|
|
/// </summary>
|
|
internal static class EncountersGO
|
|
{
|
|
internal const int MAX_LEVEL = 40;
|
|
|
|
internal static readonly EncounterArea7g[] SlotsGO_GG = EncounterArea7g.GetArea(Get("go_lgpe", "go"));
|
|
internal static readonly EncounterArea8g[] SlotsGO = EncounterArea8g.GetArea(Get("go_home", "go"));
|
|
|
|
private static byte[][] Get(string resource, string ident) => BinLinker.Unpack(Util.GetBinaryResource($"encounter_{resource}.pkl"), ident);
|
|
}
|
|
}
|