Use savefile for personalinfo form count

BW has forms that aren't present in b2w2; expect the same for usum<->sm

splash screen opacity change for fanciness
This commit is contained in:
Kurt 2017-06-11 18:23:14 -07:00
parent 64cf63a04f
commit cf8f6573f2
2 changed files with 3 additions and 1 deletions

View file

@ -349,7 +349,8 @@ namespace PKHeX.WinForms.Controls
return;
}
bool hasForms = pkm.PersonalInfo.HasFormes || new[] { 201, 664, 665, 414 }.Contains(species);
int count = (RequestSaveFile?.Personal[species] ?? pkm.PersonalInfo).FormeCount;
bool hasForms = count > 1 || new[] { 201, 664, 665, 414 }.Contains(species);
CB_Form.Enabled = CB_Form.Visible = Label_Form.Visible = hasForms;
if (HaX && pkm.Format >= 4)

View file

@ -74,6 +74,7 @@
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "SplashScreen";
this.Opacity = 0.5D;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Loading...";
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();