mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 13:25:04 -05:00
Use agreed upon lgpe starter forme name
Thanks @Marty-D !
This commit is contained in:
@@ -44,7 +44,7 @@ internal static string[] GetFormList(int species, IReadOnlyList<string> types, I
|
||||
return GetFormsGen7(species, types, forms);
|
||||
}
|
||||
|
||||
private static bool IsGG() => false;
|
||||
private static bool IsGG() => GameVersion.GG.Contains(PKMConverter.Trainer.Game);
|
||||
|
||||
public static bool IsTotemForm(int species, int form, int generation = 7)
|
||||
{
|
||||
@@ -85,7 +85,7 @@ public static bool IsValidOutOfBoundsForme(int species, int form, int generation
|
||||
}
|
||||
|
||||
private static readonly string[] EMPTY = {""};
|
||||
private const string Partner = "Starter";
|
||||
private const string Starter = nameof(Starter);
|
||||
|
||||
private static string[] GetFormsGen1(int species, IReadOnlyList<string> types, IReadOnlyList<string> forms, int generation)
|
||||
{
|
||||
@@ -104,7 +104,7 @@ private static string[] GetFormsGen1(int species, IReadOnlyList<string> types, I
|
||||
return new[]
|
||||
{
|
||||
types[000], // Normal
|
||||
Partner,
|
||||
Starter,
|
||||
};
|
||||
|
||||
case 025:
|
||||
@@ -572,7 +572,7 @@ private static string[] GetFormsPikachu(int generation, IReadOnlyList<string> ty
|
||||
if (!IsGG())
|
||||
return arr;
|
||||
System.Array.Resize(ref arr, arr.Length + 1);
|
||||
arr[arr.Length - 1] = Partner;
|
||||
arr[arr.Length - 1] = Starter;
|
||||
return arr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user