mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 15:59:13 +00:00
parent
43d8f74342
commit
0a0b944de1
8 changed files with 8 additions and 8 deletions
|
@ -148,7 +148,7 @@ namespace PKHeX.WinForms
|
|||
|
||||
private static string[] GetFormNames4Dex(int species)
|
||||
{
|
||||
string[] formNames = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, 4);
|
||||
string[] formNames = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation);
|
||||
if (species == 172)
|
||||
formNames = new[] { MALE, FEMALE, formNames[1] }; // Spiky
|
||||
return formNames;
|
||||
|
|
|
@ -139,7 +139,7 @@ namespace PKHeX.WinForms
|
|||
int f = SAV.B2W2 ? SaveUtil.GetDexFormIndexB2W2(species, fc) : SaveUtil.GetDexFormIndexBW(species, fc);
|
||||
if (f < 0)
|
||||
return;
|
||||
string[] forms = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols);
|
||||
string[] forms = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation);
|
||||
if (forms.Length < 1)
|
||||
return;
|
||||
|
||||
|
|
|
@ -331,7 +331,7 @@ namespace PKHeX.WinForms
|
|||
|
||||
CB_Form.DisplayMember = "Text";
|
||||
CB_Form.ValueMember = "Value";
|
||||
CB_Form.DataSource = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols).ToList();
|
||||
CB_Form.DataSource = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation).ToList();
|
||||
}
|
||||
private void UpdateSpecies(object sender, EventArgs e)
|
||||
{
|
||||
|
|
|
@ -131,7 +131,7 @@ namespace PKHeX.WinForms
|
|||
int f = SaveUtil.GetDexFormIndexORAS(species, fc);
|
||||
if (f < 0)
|
||||
return;
|
||||
string[] forms = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols);
|
||||
string[] forms = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation);
|
||||
if (forms.Length < 1)
|
||||
return;
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ namespace PKHeX.WinForms
|
|||
int f = SaveUtil.GetDexFormIndexXY(species, fc);
|
||||
if (f < 0)
|
||||
return;
|
||||
string[] forms = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols);
|
||||
string[] forms = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation);
|
||||
if (forms.Length < 1)
|
||||
return;
|
||||
|
||||
|
|
|
@ -436,7 +436,7 @@ namespace PKHeX.WinForms
|
|||
|
||||
CB_Form.DisplayMember = "Text";
|
||||
CB_Form.ValueMember = "Value";
|
||||
CB_Form.DataSource = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols).ToList();
|
||||
CB_Form.DataSource = PKX.GetFormList(species, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation).ToList();
|
||||
}
|
||||
|
||||
private void UpdateSpecies(object sender, EventArgs e)
|
||||
|
|
|
@ -346,7 +346,7 @@ namespace PKHeX.WinForms
|
|||
L_Vivillon.Text = GameInfo.Strings.specieslist[666] + ":";
|
||||
CB_Vivillon.DisplayMember = "Text";
|
||||
CB_Vivillon.ValueMember = "Value";
|
||||
CB_Vivillon.DataSource = PKX.GetFormList(666, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols).ToList();
|
||||
CB_Vivillon.DataSource = PKX.GetFormList(666, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, 6).ToList();
|
||||
}
|
||||
private void GetBadges()
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ namespace PKHeX.WinForms
|
|||
L_Vivillon.Text = GameInfo.Strings.specieslist[666] + ":";
|
||||
CB_Vivillon.DisplayMember = "Text";
|
||||
CB_Vivillon.ValueMember = "Value";
|
||||
CB_Vivillon.DataSource = PKX.GetFormList(666, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols).ToList();
|
||||
CB_Vivillon.DataSource = PKX.GetFormList(666, GameInfo.Strings.types, GameInfo.Strings.forms, Main.GenderSymbols, SAV.Generation).ToList();
|
||||
|
||||
var styles = new List<string>(BattleStyles);
|
||||
if (SAV.USUM)
|
||||
|
|
Loading…
Reference in a new issue