mirror of
https://github.com/Gamer2020/PokemonGameEditor.git
synced 2026-08-21 18:04:18 -05:00
Item Icon Error Warning
If an icon palette number is beyond what is set in the ini, it is lowered to the ini max value. And a red error showing the original number is displayed.
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
.ide
|
||||
.exe
|
||||
.application
|
||||
.manifest
|
||||
.Cache
|
||||
.ide-wal
|
||||
Binary file not shown.
Binary file not shown.
14
GBAPokemonGameEditor/Pokemonedit.Designer.vb
generated
14
GBAPokemonGameEditor/Pokemonedit.Designer.vb
generated
@@ -286,6 +286,7 @@ Partial Class Pokemonedit
|
||||
Me.Button39 = New System.Windows.Forms.Button()
|
||||
Me.Button41 = New System.Windows.Forms.Button()
|
||||
Me.CheckBox1 = New System.Windows.Forms.CheckBox()
|
||||
Me.Label61 = New System.Windows.Forms.Label()
|
||||
Me.TabControl1.SuspendLayout()
|
||||
Me.TabPage1.SuspendLayout()
|
||||
Me.GroupBox26.SuspendLayout()
|
||||
@@ -583,6 +584,7 @@ Partial Class Pokemonedit
|
||||
'
|
||||
'GroupBox16
|
||||
'
|
||||
Me.GroupBox16.Controls.Add(Me.Label61)
|
||||
Me.GroupBox16.Controls.Add(Me.Button40)
|
||||
Me.GroupBox16.Controls.Add(Me.Button22)
|
||||
Me.GroupBox16.Controls.Add(Me.Button21)
|
||||
@@ -3160,6 +3162,17 @@ Partial Class Pokemonedit
|
||||
Me.CheckBox1.Text = "Efficient Imports"
|
||||
Me.CheckBox1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Label61
|
||||
'
|
||||
Me.Label61.AutoSize = True
|
||||
Me.Label61.ForeColor = System.Drawing.Color.Crimson
|
||||
Me.Label61.Location = New System.Drawing.Point(27, 119)
|
||||
Me.Label61.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
|
||||
Me.Label61.Name = "Label61"
|
||||
Me.Label61.Size = New System.Drawing.Size(97, 20)
|
||||
Me.Label61.TabIndex = 13
|
||||
Me.Label61.Text = "Invalid Pal#: "
|
||||
'
|
||||
'Pokemonedit
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(9.0!, 20.0!)
|
||||
@@ -3553,4 +3566,5 @@ Partial Class Pokemonedit
|
||||
Friend WithEvents Button40 As Button
|
||||
Friend WithEvents Button41 As Button
|
||||
Friend WithEvents CheckBox1 As CheckBox
|
||||
Friend WithEvents Label61 As Label
|
||||
End Class
|
||||
|
||||
@@ -692,10 +692,15 @@ Public Class Pokemonedit
|
||||
|
||||
Try
|
||||
IconPal.SelectedIndex = Int32.Parse(((ReadHEX(LoadedROM, (IconPalTable) + (1) + (i), 1))), System.Globalization.NumberStyles.HexNumber)
|
||||
Label61.Text = " "
|
||||
Catch
|
||||
IconPal.SelectedIndex = IconPalCount - 1
|
||||
Label61.Text = "Invalid Pal#: " + Convert.ToString(Int32.Parse(((ReadHEX(LoadedROM, (IconPalTable) + (1) + (i), 1))), System.Globalization.NumberStyles.HexNumber))
|
||||
End Try
|
||||
|
||||
Label61.Invalidate()
|
||||
Label61.Update()
|
||||
|
||||
FootPrintPointer.Text = Hex(Int32.Parse((ReverseHEX(ReadHEX(LoadedROM, (FootPrintTable) + (4) + (i * 4), 4))), System.Globalization.NumberStyles.HexNumber) - &H8000000)
|
||||
|
||||
AnimationPointer.Text = ""
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>XozeHA7UZmqA/b/Cs03DBlFj1CotO1+nb8JfVqJ/UnQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>/TMXH7TbOoTD6/KT2qbzyHQ4cnH0Ds1OXY4mjlznt0o=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
Binary file not shown.
@@ -43,14 +43,14 @@
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2117632">
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2118144">
|
||||
<assemblyIdentity name="PokemonGameEditor" version="3.8.1.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>PZALu8lBA432VEvgKFxJLZjoOy/psUVUIAXWjcVsbvY=</dsig:DigestValue>
|
||||
<dsig:DigestValue>BYPNOtnl6NqIhYpRJO9FGh9OiSYT8Bh3DCHX8BPYuk0=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -16,7 +16,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>XozeHA7UZmqA/b/Cs03DBlFj1CotO1+nb8JfVqJ/UnQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>/TMXH7TbOoTD6/KT2qbzyHQ4cnH0Ds1OXY4mjlznt0o=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
Binary file not shown.
@@ -43,14 +43,14 @@
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2117632">
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2118144">
|
||||
<assemblyIdentity name="PokemonGameEditor" version="3.8.1.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>PZALu8lBA432VEvgKFxJLZjoOy/psUVUIAXWjcVsbvY=</dsig:DigestValue>
|
||||
<dsig:DigestValue>BYPNOtnl6NqIhYpRJO9FGh9OiSYT8Bh3DCHX8BPYuk0=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user