mirror of
https://github.com/Gamer2020/PokemonGameEditor.git
synced 2026-07-13 06:51:13 -05:00
Added Hoenn to National Dex!
Added editing of the Hoenn to National Dex table to the order editor. Pokemon Editor will be next.
This commit is contained in:
parent
ab837627a2
commit
9923da5eda
Binary file not shown.
78
GBAPokemonGameEditor/PokedexOrderEditor.Designer.vb
generated
78
GBAPokemonGameEditor/PokedexOrderEditor.Designer.vb
generated
File diff suppressed because one or more lines are too long
|
|
@ -3,12 +3,19 @@
|
|||
Public Class PokedexOrderEditor
|
||||
Dim Offset1 As Integer
|
||||
Dim Offset2 As Integer
|
||||
Dim Offset3 As Integer
|
||||
Private Sub PokedexOrderEditor_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
||||
|
||||
Offset1 = Int32.Parse((GetString(GetINIFileLocation(), header, "NationalDexTable", "")), System.Globalization.NumberStyles.HexNumber)
|
||||
|
||||
Offset2 = Int32.Parse((GetString(GetINIFileLocation(), header, "SecondDexTable", "")), System.Globalization.NumberStyles.HexNumber)
|
||||
|
||||
If header = "BPEE" Then
|
||||
|
||||
Offset3 = Int32.Parse((GetString(GetINIFileLocation(), header, "HoenntoNationalDex", "")), System.Globalization.NumberStyles.HexNumber)
|
||||
|
||||
End If
|
||||
|
||||
Dim LoopVar As Integer
|
||||
|
||||
ListBox1.Items.Clear()
|
||||
|
|
@ -24,6 +31,12 @@ Public Class PokedexOrderEditor
|
|||
|
||||
End While
|
||||
|
||||
If header = "BPEE" Then
|
||||
GroupBox4.Enabled = True
|
||||
Else
|
||||
GroupBox4.Enabled = False
|
||||
End If
|
||||
|
||||
ListBox1.SelectedIndex = 0
|
||||
|
||||
Me.Cursor = Cursors.Arrow
|
||||
|
|
@ -45,5 +58,19 @@ Public Class PokedexOrderEditor
|
|||
'makes i be the list index so that the location of the pokemon's dex number can be calculated
|
||||
WriteHEX(LoadedROM, Offset1 + (i * 2), ReverseHEX(VB.Right("0000" & Hex(ListBox2.SelectedIndex), 4)))
|
||||
WriteHEX(LoadedROM, Offset2 + (i * 2), ReverseHEX(VB.Right("0000" & Hex(ListBox3.SelectedIndex), 4)))
|
||||
If header = "BPEE" Then
|
||||
WriteHEX(LoadedROM, Offset3 + ((ListBox3.SelectedIndex - 1) * 2), ReverseHEX(VB.Right("0000" & Hex(ListBox4.SelectedIndex), 4)))
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub ListBox3_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListBox3.SelectedIndexChanged
|
||||
|
||||
If header = "BPEE" Then
|
||||
|
||||
ListBox4.SelectedIndex = Int32.Parse((ReverseHEX(ReadHEX(LoadedROM, Offset3 + ((ListBox3.SelectedIndex - 1) * 2), 2))), System.Globalization.NumberStyles.HexNumber)
|
||||
Else
|
||||
GroupBox4.Enabled = False
|
||||
End If
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
|
|
@ -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>O3wBXsjQsev5Z8J1i/0BQisAwnt0Rujg1VVbKEaBucA=</dsig:DigestValue>
|
||||
<dsig:DigestValue>2cBIgLRemu5C5EZVbHFFGjia2z3z9Wm9VP4oG+XWKr4=</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="2028032">
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2042880">
|
||||
<assemblyIdentity name="PokemonGameEditor" version="3.7.0.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>Fy/93fmn8gghe1sGv6k4oQPba92JQ9FGEqm8TVLLJU0=</dsig:DigestValue>
|
||||
<dsig:DigestValue>SxluNxN6kZkh8IccOvNWULgK6cEMWJQZ70wZWpm7/90=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
|
|
|||
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>O3wBXsjQsev5Z8J1i/0BQisAwnt0Rujg1VVbKEaBucA=</dsig:DigestValue>
|
||||
<dsig:DigestValue>2cBIgLRemu5C5EZVbHFFGjia2z3z9Wm9VP4oG+XWKr4=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
|
|
|||
|
|
@ -43,14 +43,14 @@
|
|||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2028032">
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2042880">
|
||||
<assemblyIdentity name="PokemonGameEditor" version="3.7.0.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>Fy/93fmn8gghe1sGv6k4oQPba92JQ9FGEqm8TVLLJU0=</dsig:DigestValue>
|
||||
<dsig:DigestValue>SxluNxN6kZkh8IccOvNWULgK6cEMWJQZ70wZWpm7/90=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
|
|
|||
|
|
@ -767,6 +767,7 @@ PokemonNames=3185C8
|
|||
NumberOfPokemon=412
|
||||
NationalDexTable=31DC82
|
||||
SecondDexTable=31D94C
|
||||
HoenntoNationalDex=31DFB8
|
||||
PokedexData=56B5B0
|
||||
NumberOfDexEntries=387
|
||||
PokemonData=3203CC
|
||||
|
|
|
|||
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>O3wBXsjQsev5Z8J1i/0BQisAwnt0Rujg1VVbKEaBucA=</dsig:DigestValue>
|
||||
<dsig:DigestValue>2cBIgLRemu5C5EZVbHFFGjia2z3z9Wm9VP4oG+XWKr4=</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="2028032">
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="PokemonGameEditor.exe" size="2042880">
|
||||
<assemblyIdentity name="PokemonGameEditor" version="3.7.0.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>Fy/93fmn8gghe1sGv6k4oQPba92JQ9FGEqm8TVLLJU0=</dsig:DigestValue>
|
||||
<dsig:DigestValue>SxluNxN6kZkh8IccOvNWULgK6cEMWJQZ70wZWpm7/90=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue
Block a user