mirror of
https://github.com/kwsch/PKHeX
synced 2024-09-21 23:02:00 +00:00
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:
parent
64cf63a04f
commit
cf8f6573f2
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
1
PKHeX.WinForms/Misc/SplashScreen.Designer.cs
generated
1
PKHeX.WinForms/Misc/SplashScreen.Designer.cs
generated
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue