mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-26 21:05:41 -05: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:
@@ -349,7 +349,8 @@ private void setForms()
|
||||
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 @@ private void InitializeComponent()
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user