Merge pull request #1 from kwsch/master

Update from upstream repo kwsch/PKHeX
This commit is contained in:
Matt 2017-11-09 02:02:42 -05:00 committed by GitHub
commit 800a6b32b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 25 additions and 15 deletions

View file

@ -294,7 +294,7 @@ namespace PKHeX.Core
}
private string GetLegalityReport()
{
if (!Parsed || pkm == null)
if (!Parsed || pkm == null || Info == null)
return V189;
var lines = new List<string>();
@ -323,7 +323,7 @@ namespace PKHeX.Core
}
private string GetVerboseLegalityReport()
{
if (!Parsed || pkm == null)
if (!Parsed || pkm == null || Info == null)
return V189;
const string separator = "===";

View file

@ -444,7 +444,7 @@ namespace PKHeX.Core
}
}
private static string[] GetFormsAlolan (int generation, IReadOnlyList<string> types, IReadOnlyList<string> forms, int species)
private static string[] GetFormsAlolan(int generation, IReadOnlyList<string> types, IReadOnlyList<string> forms, int species)
{
if (generation < 7)
return new[] { "" };

View file

@ -1061,3 +1061,8 @@ Entlarvte
Original
Partner
Abend
Abend
Morgen
Ultra

View file

@ -27,10 +27,10 @@ Pikachu
Raichu
Sandan
Sandamer
Nidoran
Nidoran
Nidorina
Nidoqueen
Nidoran
Nidoran
Nidorino
Nidoking
Piepi

View file

@ -27,10 +27,10 @@ Pikachu
Raichu
Sandshrew
Sandslash
Nidoran
Nidoran
Nidorina
Nidoqueen
Nidoran
Nidoran
Nidorino
Nidoking
Clefairy

View file

@ -27,10 +27,10 @@ Pikachu
Raichu
Sandshrew
Sandslash
Nidoran
Nidoran
Nidorina
Nidoqueen
Nidoran
Nidoran
Nidorino
Nidoking
Clefairy

View file

@ -27,10 +27,10 @@ Pikachu
Raichu
Sabelette
Sablaireau
Nidoran
Nidoran
Nidorina
Nidoqueen
Nidoran
Nidoran
Nidorino
Nidoking
Mélofée

View file

@ -27,10 +27,10 @@ Pikachu
Raichu
Sandshrew
Sandslash
Nidoran
Nidoran
Nidorina
Nidoqueen
Nidoran
Nidoran
Nidorino
Nidoking
Clefairy

View file

@ -27,10 +27,10 @@
라이츄
모래두지
고지
니드런
니드런
니드리나
니드퀸
니드런
니드런
니드리노
니드킹
삐삐

View file

@ -399,6 +399,11 @@ namespace PKHeX.WinForms
}
private void B_Fashion_Click(object sender, EventArgs e)
{
if (SAV.USUM)
{
WinFormsUtil.Alert("Temporarily disabled, needs research for permissible values.");
return;
}
var prompt = WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Modifying Fashion Items will clear existing data", "Continue?");
if (DialogResult.Yes != prompt)
return;