Improving evolutions!

I have made it so that the number of evolutions can be defined in the
roms.ini. I'm also working on making it so that you can define the
evolutions.
This commit is contained in:
Gamer2020
2014-11-09 02:16:48 -05:00
parent 23eaec30e7
commit 4697def7d7
11 changed files with 269 additions and 53 deletions

Binary file not shown.

View File

@@ -26,6 +26,10 @@ Partial Class Pokemonedit
Me.TabControl1 = New System.Windows.Forms.TabControl()
Me.TabPage1 = New System.Windows.Forms.TabPage()
Me.GroupBox21 = New System.Windows.Forms.GroupBox()
Me.Button13 = New System.Windows.Forms.Button()
Me.CryConver = New System.Windows.Forms.TextBox()
Me.Label18 = New System.Windows.Forms.Label()
Me.Label17 = New System.Windows.Forms.Label()
Me.Button6 = New System.Windows.Forms.Button()
Me.CryPointer = New System.Windows.Forms.TextBox()
Me.GroupBox20 = New System.Windows.Forms.GroupBox()
@@ -157,10 +161,6 @@ Partial Class Pokemonedit
Me.Button9 = New System.Windows.Forms.Button()
Me.FolderBrowserDialog = New System.Windows.Forms.FolderBrowserDialog()
Me.ProgressBar = New System.Windows.Forms.ProgressBar()
Me.Label17 = New System.Windows.Forms.Label()
Me.Label18 = New System.Windows.Forms.Label()
Me.CryConver = New System.Windows.Forms.TextBox()
Me.Button13 = New System.Windows.Forms.Button()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
Me.GroupBox21.SuspendLayout()
@@ -246,6 +246,40 @@ Partial Class Pokemonedit
Me.GroupBox21.TabStop = False
Me.GroupBox21.Text = "Cry"
'
'Button13
'
Me.Button13.Location = New System.Drawing.Point(9, 77)
Me.Button13.Name = "Button13"
Me.Button13.Size = New System.Drawing.Size(68, 21)
Me.Button13.TabIndex = 16
Me.Button13.Text = "Save"
Me.Button13.UseVisualStyleBackColor = True
'
'CryConver
'
Me.CryConver.Location = New System.Drawing.Point(10, 51)
Me.CryConver.Name = "CryConver"
Me.CryConver.Size = New System.Drawing.Size(67, 20)
Me.CryConver.TabIndex = 15
'
'Label18
'
Me.Label18.AutoSize = True
Me.Label18.Location = New System.Drawing.Point(7, 24)
Me.Label18.Name = "Label18"
Me.Label18.Size = New System.Drawing.Size(60, 13)
Me.Label18.TabIndex = 14
Me.Label18.Text = "Conversion"
'
'Label17
'
Me.Label17.AutoSize = True
Me.Label17.Location = New System.Drawing.Point(80, 24)
Me.Label17.Name = "Label17"
Me.Label17.Size = New System.Drawing.Size(40, 13)
Me.Label17.TabIndex = 13
Me.Label17.Text = "Pointer"
'
'Button6
'
Me.Button6.Location = New System.Drawing.Point(83, 77)
@@ -1020,7 +1054,7 @@ Partial Class Pokemonedit
Me.GroupBox17.Controls.Add(Me.EvoPKMNames)
Me.GroupBox17.Location = New System.Drawing.Point(15, 96)
Me.GroupBox17.Name = "GroupBox17"
Me.GroupBox17.Size = New System.Drawing.Size(571, 189)
Me.GroupBox17.Size = New System.Drawing.Size(571, 277)
Me.GroupBox17.TabIndex = 2
Me.GroupBox17.TabStop = False
Me.GroupBox17.Text = "Evolutions"
@@ -1482,40 +1516,6 @@ Partial Class Pokemonedit
Me.ProgressBar.TabIndex = 12
Me.ProgressBar.Visible = False
'
'Label17
'
Me.Label17.AutoSize = True
Me.Label17.Location = New System.Drawing.Point(80, 24)
Me.Label17.Name = "Label17"
Me.Label17.Size = New System.Drawing.Size(40, 13)
Me.Label17.TabIndex = 13
Me.Label17.Text = "Pointer"
'
'Label18
'
Me.Label18.AutoSize = True
Me.Label18.Location = New System.Drawing.Point(7, 24)
Me.Label18.Name = "Label18"
Me.Label18.Size = New System.Drawing.Size(60, 13)
Me.Label18.TabIndex = 14
Me.Label18.Text = "Conversion"
'
'CryConver
'
Me.CryConver.Location = New System.Drawing.Point(10, 51)
Me.CryConver.Name = "CryConver"
Me.CryConver.Size = New System.Drawing.Size(67, 20)
Me.CryConver.TabIndex = 15
'
'Button13
'
Me.Button13.Location = New System.Drawing.Point(9, 77)
Me.Button13.Name = "Button13"
Me.Button13.Size = New System.Drawing.Size(68, 21)
Me.Button13.TabIndex = 16
Me.Button13.Text = "Save"
Me.Button13.UseVisualStyleBackColor = True
'
'Pokemonedit
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)

View File

@@ -37,6 +37,30 @@ Public Class Pokemonedit
LoopVar = 0
EvoTypes.Items.Clear()
While LoopVar < (GetString(AppPath & "ini\roms.ini", header, "NumberOfEvolutionTypes", "") + 1) = True
EvoTypes.Items.Add(GetString(AppPath & "ini\roms.ini", header, "EvolutionName" & LoopVar, ""))
LoopVar = LoopVar + 1
End While
LoopVar = 0
EvoSlots.Items.Clear()
While LoopVar < (GetString(AppPath & "ini\roms.ini", header, "NumberOfEvolutionsPerPokemon", "")) = True
LoopVar = LoopVar + 1
EvoSlots.Items.Add("Evolution " & (LoopVar))
End While
LoopVar = 0
NewAt.Items.Clear()
While LoopVar < (GetString(AppPath & "ini\roms.ini", header, "NumberOfAttacks", "")) + 1 = True

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="GBAPokemonGameEditor.application" version="3.0.0.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="GBAPokemonGameEditor" asmv2:product="GBAPokemonGameEditor" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true">
<deploymentProvider codebase="http://gamer2020.0xrh.net/programs/GBAPokemonGameEditor/GBAPokemonGameEditor.application" />
</deployment>
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.0" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="GBAPokemonGameEditor.exe.manifest" size="4675">
<assemblyIdentity name="GBAPokemonGameEditor.exe" version="3.0.0.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>RDLRFVbbfh2hWkNukdzk13eKRss=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
</asmv1:assembly>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>

View File

@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="GBAPokemonGameEditor.exe" version="3.0.0.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<description asmv2:iconFile="Icon.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="GBAPokemonGameEditor" version="3.0.0.0" language="neutral" processorArchitecture="msil" />
<commandLine file="GBAPokemonGameEditor.exe" parameters="" />
</entryPoint>
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet version="1" class="System.Security.NamedPermissionSet" Name="LocalIntranet" Description="Default rights given to applications on the local intranet" Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specifying requestedExecutionLevel node will disable file and registry virtualization.
If you want to utilize File and Registry Virtualization for backward
compatibility then delete the requestedExecutionLevel node.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="GBAPokemonGameEditor.exe" size="482304">
<assemblyIdentity name="GBAPokemonGameEditor" version="3.0.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#sha1" />
<dsig:DigestValue>ERRn81naYSzZFeI/iJzK5j9PKZ0=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<file name="GBAPokemonGameEditor.exe.config" size="183">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>zmtMKrAEuvsQh2jJFtlCNruBIWE=</dsig:DigestValue>
</hash>
</file>
<file name="Icon.ico" size="766">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>rPjxYWyVTxOTFNPtQSvhQ6KPzKY=</dsig:DigestValue>
</hash>
</file>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of all Windows versions that this application is designed to work with. Windows will automatically select the most compatible environment.-->
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
</application>
</compatibility>
</asmv1:assembly>

View File

@@ -167,6 +167,24 @@ IconPals=E966D8
JamboLearnableMovesTerm=0000FF
StartSearchingForSpaceOffset=800000
FreeSpaceSearchInterval=100
NumberOfEvolutionsPerPokemon=5
NumberOfEvolutionTypes=15
EvolutionName0=None
EvolutionName1=Happiness
EvolutionName2=Happiness (Day)
EvolutionName3=Happiness (Night)
EvolutionName4=Level
EvolutionName5=Trade
EvolutionName6=Trade w/ Item
EvolutionName7=Item
EvolutionName8=Atk > Def
EvolutionName9=Atk = Def
EvolutionName10=Atk < Def
EvolutionName11=High Personality
EvolutionName12=Low Personality
EvolutionName13=Allow Pokemon Creation
EvolutionName14=Create Extra Pokemon
EvolutionName15=Max Beauty
[AXPE]
ROMName=Pok<EFBFBD>mon Sapphire (English)
@@ -283,6 +301,24 @@ IconPals=E966D8
JamboLearnableMovesTerm=0000FF
StartSearchingForSpaceOffset=800000
FreeSpaceSearchInterval=100
NumberOfEvolutionsPerPokemon=5
NumberOfEvolutionTypes=15
EvolutionName0=None
EvolutionName1=Happiness
EvolutionName2=Happiness (Day)
EvolutionName3=Happiness (Night)
EvolutionName4=Level
EvolutionName5=Trade
EvolutionName6=Trade w/ Item
EvolutionName7=Item
EvolutionName8=Atk > Def
EvolutionName9=Atk = Def
EvolutionName10=Atk < Def
EvolutionName11=High Personality
EvolutionName12=Low Personality
EvolutionName13=Allow Pokemon Creation
EvolutionName14=Create Extra Pokemon
EvolutionName15=Max Beauty
[BPRE]
ROMName=Pok<EFBFBD>mon Fire Red (English)
@@ -415,6 +451,24 @@ JamboLearnableMovesTerm=0000FF
StartSearchingForSpaceOffset=800000
FreeSpaceSearchInterval=100
CryConversionTable=0
NumberOfEvolutionsPerPokemon=5
NumberOfEvolutionTypes=15
EvolutionName0=None
EvolutionName1=Happiness
EvolutionName2=Happiness (Day)
EvolutionName3=Happiness (Night)
EvolutionName4=Level
EvolutionName5=Trade
EvolutionName6=Trade w/ Item
EvolutionName7=Item
EvolutionName8=Atk > Def
EvolutionName9=Atk = Def
EvolutionName10=Atk < Def
EvolutionName11=High Personality
EvolutionName12=Low Personality
EvolutionName13=Allow Pokemon Creation
EvolutionName14=Create Extra Pokemon
EvolutionName15=Max Beauty
[BPGE]
ROMName=Pok<EFBFBD>mon Leaf Green (English)
ItemData=3DAE64
@@ -544,6 +598,24 @@ AttackAnimationTable=
JamboLearnableMovesTerm=0000FF
StartSearchingForSpaceOffset=800000
FreeSpaceSearchInterval=100
NumberOfEvolutionsPerPokemon=5
NumberOfEvolutionTypes=15
EvolutionName0=None
EvolutionName1=Happiness
EvolutionName2=Happiness (Day)
EvolutionName3=Happiness (Night)
EvolutionName4=Level
EvolutionName5=Trade
EvolutionName6=Trade w/ Item
EvolutionName7=Item
EvolutionName8=Atk > Def
EvolutionName9=Atk = Def
EvolutionName10=Atk < Def
EvolutionName11=High Personality
EvolutionName12=Low Personality
EvolutionName13=Allow Pokemon Creation
EvolutionName14=Create Extra Pokemon
EvolutionName15=Max Beauty
[BPEE]
ROMName=Pok<EFBFBD>mon Emerald (English)
@@ -760,6 +832,24 @@ ShadowBacks=1007320
JamboLearnableMovesTerm=0000FF
StartSearchingForSpaceOffset=E3CF64
FreeSpaceSearchInterval=100
NumberOfEvolutionsPerPokemon=5
NumberOfEvolutionTypes=15
EvolutionName0=None
EvolutionName1=Happiness
EvolutionName2=Happiness (Day)
EvolutionName3=Happiness (Night)
EvolutionName4=Level
EvolutionName5=Trade
EvolutionName6=Trade w/ Item
EvolutionName7=Item
EvolutionName8=Atk > Def
EvolutionName9=Atk = Def
EvolutionName10=Atk < Def
EvolutionName11=High Personality
EvolutionName12=Low Personality
EvolutionName13=Allow Pokemon Creation
EvolutionName14=Create Extra Pokemon
EvolutionName15=Max Beauty
[AXVF]
ROMName=Pok<EFBFBD>mon Rubis (Fran<61>ais)

View File

@@ -119,6 +119,3 @@ C:\Users\Gamer2020\sources\PokemonGameEditor\GBAPokemonGameEditor\GBAPokemonGame
C:\Users\Gamer2020\sources\PokemonGameEditor\GBAPokemonGameEditor\GBAPokemonGameEditor\obj\x86\Debug\GBAPokemonGameEditor.application
C:\Users\Gamer2020\sources\PokemonGameEditor\GBAPokemonGameEditor\GBAPokemonGameEditor\obj\x86\Debug\GBAPokemonGameEditor.vbprojResolveAssemblyReference.cache
C:\Users\Gamer2020\sources\PokemonGameEditor\GBAPokemonGameEditor\GBAPokemonGameEditor\obj\x86\Debug\GBAPokemonGameEditor.vbproj.GenerateResource.Cache
C:\Users\JOSEWORK\Documents\GitHub\PokemonGameEditor\GBAPokemonGameEditor\bin\Debug\GBAPokemonGameEditor.exe
C:\Users\JOSEWORK\Documents\GitHub\PokemonGameEditor\GBAPokemonGameEditor\bin\Debug\GBAPokemonGameEditor.pdb
C:\Users\JOSEWORK\Documents\GitHub\PokemonGameEditor\GBAPokemonGameEditor\obj\x86\Debug\GBAPokemonGameEditor.exe

View File

@@ -30,6 +30,10 @@ Windows XP support
Battle Frontier Editor
Pokedex Editor
Support for more than 5 evolutions per Pokemon
Planned Features
=================
@@ -37,14 +41,10 @@ Ability to add more Pokemon.
Add item editor.
Add Pokedex Editor
Ability to add more attacks.
Support for more types
support for more than 5 evolutions
Ability to define types.
Ability to define evolutions.
@@ -64,7 +64,7 @@ Windows RT: Have Jailbreak installed that allows unsigned programs.
Linux: Run with "Wine Windows Program Loader" and let it install the Mono runtime.
Other opperating system may work if mono works on them.
Other operating system may work if mono works on them.
Recommended Programs
====================
@@ -87,12 +87,6 @@ Developers
=================
Gamer2020
diegoisawesome
KurapikaET
LocksmithArmy
Issues
=================
Running added programs on Linux not implemented yet.