mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-25 21:40:21 +00:00
Codes, stability for translations
Added beginnings of a code generator, stability for translation.
This commit is contained in:
parent
0b74027bae
commit
1d4dea8bdc
8 changed files with 680 additions and 27 deletions
198
CodeGenerator.Designer.cs
generated
Normal file
198
CodeGenerator.Designer.cs
generated
Normal file
|
@ -0,0 +1,198 @@
|
|||
namespace PKHeX
|
||||
{
|
||||
partial class CodeGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CodeGenerator));
|
||||
this.RTB_Code = new System.Windows.Forms.RichTextBox();
|
||||
this.TB_Write = new System.Windows.Forms.TextBox();
|
||||
this.L_Write = new System.Windows.Forms.Label();
|
||||
this.L_Source = new System.Windows.Forms.Label();
|
||||
this.CB_Source = new System.Windows.Forms.ComboBox();
|
||||
this.B_CnE = new System.Windows.Forms.Button();
|
||||
this.L_Box = new System.Windows.Forms.Label();
|
||||
this.L_Slot = new System.Windows.Forms.Label();
|
||||
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox3 = new System.Windows.Forms.ComboBox();
|
||||
this.L_Info = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// RTB_Code
|
||||
//
|
||||
this.RTB_Code.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.RTB_Code.Location = new System.Drawing.Point(12, 71);
|
||||
this.RTB_Code.Name = "RTB_Code";
|
||||
this.RTB_Code.ReadOnly = true;
|
||||
this.RTB_Code.Size = new System.Drawing.Size(210, 175);
|
||||
this.RTB_Code.TabIndex = 0;
|
||||
this.RTB_Code.Text = "01234567 01234567 01234567 ";
|
||||
//
|
||||
// TB_Write
|
||||
//
|
||||
this.TB_Write.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_Write.Location = new System.Drawing.Point(12, 24);
|
||||
this.TB_Write.Name = "TB_Write";
|
||||
this.TB_Write.Size = new System.Drawing.Size(65, 20);
|
||||
this.TB_Write.TabIndex = 1;
|
||||
this.TB_Write.Text = "01234567";
|
||||
//
|
||||
// L_Write
|
||||
//
|
||||
this.L_Write.AutoSize = true;
|
||||
this.L_Write.Location = new System.Drawing.Point(9, 8);
|
||||
this.L_Write.Name = "L_Write";
|
||||
this.L_Write.Size = new System.Drawing.Size(66, 13);
|
||||
this.L_Write.TabIndex = 2;
|
||||
this.L_Write.Text = "Write Offset:";
|
||||
//
|
||||
// L_Source
|
||||
//
|
||||
this.L_Source.AutoSize = true;
|
||||
this.L_Source.Location = new System.Drawing.Point(87, 8);
|
||||
this.L_Source.Name = "L_Source";
|
||||
this.L_Source.Size = new System.Drawing.Size(70, 13);
|
||||
this.L_Source.TabIndex = 5;
|
||||
this.L_Source.Text = "Data Source:";
|
||||
//
|
||||
// CB_Source
|
||||
//
|
||||
this.CB_Source.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Source.FormattingEnabled = true;
|
||||
this.CB_Source.Items.AddRange(new object[] {
|
||||
"Loaded EKX (Tabs)",
|
||||
"Box EKX ",
|
||||
"Wondercard"});
|
||||
this.CB_Source.Location = new System.Drawing.Point(90, 23);
|
||||
this.CB_Source.Name = "CB_Source";
|
||||
this.CB_Source.Size = new System.Drawing.Size(132, 21);
|
||||
this.CB_Source.TabIndex = 6;
|
||||
//
|
||||
// B_CnE
|
||||
//
|
||||
this.B_CnE.Location = new System.Drawing.Point(37, 252);
|
||||
this.B_CnE.Name = "B_CnE";
|
||||
this.B_CnE.Size = new System.Drawing.Size(157, 23);
|
||||
this.B_CnE.TabIndex = 9;
|
||||
this.B_CnE.Text = "Create && Export Code File";
|
||||
this.B_CnE.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// L_Box
|
||||
//
|
||||
this.L_Box.AutoSize = true;
|
||||
this.L_Box.Location = new System.Drawing.Point(87, 48);
|
||||
this.L_Box.Name = "L_Box";
|
||||
this.L_Box.Size = new System.Drawing.Size(28, 13);
|
||||
this.L_Box.TabIndex = 10;
|
||||
this.L_Box.Text = "Box:";
|
||||
//
|
||||
// L_Slot
|
||||
//
|
||||
this.L_Slot.AutoSize = true;
|
||||
this.L_Slot.Location = new System.Drawing.Point(156, 48);
|
||||
this.L_Slot.Name = "L_Slot";
|
||||
this.L_Slot.Size = new System.Drawing.Size(28, 13);
|
||||
this.L_Slot.TabIndex = 11;
|
||||
this.L_Slot.Text = "Slot:";
|
||||
//
|
||||
// comboBox2
|
||||
//
|
||||
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox2.FormattingEnabled = true;
|
||||
this.comboBox2.Items.AddRange(new object[] {
|
||||
"Loaded EKX (Tabs)",
|
||||
"Box EKX ",
|
||||
"Wondercard"});
|
||||
this.comboBox2.Location = new System.Drawing.Point(187, 44);
|
||||
this.comboBox2.Name = "comboBox2";
|
||||
this.comboBox2.Size = new System.Drawing.Size(35, 21);
|
||||
this.comboBox2.TabIndex = 12;
|
||||
//
|
||||
// comboBox3
|
||||
//
|
||||
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox3.FormattingEnabled = true;
|
||||
this.comboBox3.Items.AddRange(new object[] {
|
||||
"Loaded EKX (Tabs)",
|
||||
"Box EKX ",
|
||||
"Wondercard"});
|
||||
this.comboBox3.Location = new System.Drawing.Point(115, 44);
|
||||
this.comboBox3.Name = "comboBox3";
|
||||
this.comboBox3.Size = new System.Drawing.Size(35, 21);
|
||||
this.comboBox3.TabIndex = 13;
|
||||
//
|
||||
// L_Info
|
||||
//
|
||||
this.L_Info.AutoSize = true;
|
||||
this.L_Info.Location = new System.Drawing.Point(12, 48);
|
||||
this.L_Info.Name = "L_Info";
|
||||
this.L_Info.Size = new System.Drawing.Size(31, 13);
|
||||
this.L_Info.TabIndex = 14;
|
||||
this.L_Info.Text = "(Info)";
|
||||
//
|
||||
// CodeGenerator
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(230, 282);
|
||||
this.Controls.Add(this.L_Info);
|
||||
this.Controls.Add(this.comboBox3);
|
||||
this.Controls.Add(this.comboBox2);
|
||||
this.Controls.Add(this.L_Slot);
|
||||
this.Controls.Add(this.L_Box);
|
||||
this.Controls.Add(this.B_CnE);
|
||||
this.Controls.Add(this.CB_Source);
|
||||
this.Controls.Add(this.L_Source);
|
||||
this.Controls.Add(this.L_Write);
|
||||
this.Controls.Add(this.TB_Write);
|
||||
this.Controls.Add(this.RTB_Code);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "CodeGenerator";
|
||||
this.Text = "CodeGenerator";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.RichTextBox RTB_Code;
|
||||
private System.Windows.Forms.TextBox TB_Write;
|
||||
private System.Windows.Forms.Label L_Write;
|
||||
private System.Windows.Forms.Label L_Source;
|
||||
private System.Windows.Forms.ComboBox CB_Source;
|
||||
private System.Windows.Forms.Button B_CnE;
|
||||
private System.Windows.Forms.Label L_Box;
|
||||
private System.Windows.Forms.Label L_Slot;
|
||||
private System.Windows.Forms.ComboBox comboBox2;
|
||||
private System.Windows.Forms.ComboBox comboBox3;
|
||||
private System.Windows.Forms.Label L_Info;
|
||||
}
|
||||
}
|
19
CodeGenerator.cs
Normal file
19
CodeGenerator.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace PKHeX
|
||||
{
|
||||
public partial class CodeGenerator : Form
|
||||
{
|
||||
public CodeGenerator()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
252
CodeGenerator.resx
Normal file
252
CodeGenerator.resx
Normal file
|
@ -0,0 +1,252 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="RTB_Code.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="TB_Write.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_Write.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_Source.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="CB_Source.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="B_CnE.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_Box.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_Slot.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="comboBox2.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="comboBox3.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_Info.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAIAEBAAAAEAIABoBAAAJgAAACAgAAABACAAqBAAAI4EAAAoAAAAEAAAACAAAAABACAAAAAAAAAE
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAIyMjAQAAAAALCwsPJiYmJysrKycqKionKSkpJykpKScpKSknKioqJyoq
|
||||
KicrKysnJycnJw0ODQ8AAAAAJiYmAQAAAABpaWlHq6ur17+/v+6+vr7svr6+7b6+vu2+vr7tvr6+7b6+
|
||||
vu2+vr7tvr6+7L+/v+6rq6vXampqSAAAAAAoKSgXvr++3eLi4v/g4OD94eHh/+Hh4f/i4uL/4uLi/+Li
|
||||
4v/i4uL/4eHh/+Dh4P/g4OD94uLi/7+/v90sLCwXfn5+PNna2frg4OD/39/f/uHh4f7h4eH+39/f/uDg
|
||||
4P7g4OD+39/f/uHh4f7h4OH+39/f/t/g3//a2tr6g4ODPoOCgz7X19f64+Pj/+Li4v7k5OT/4+Tj//Ly
|
||||
8v/19fX/9PT0//T09P/k5OT/5OTk/+P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|
|||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="icon.ico" />
|
||||
<None Include="Resources\text\de\lang_de.txt" />
|
||||
<None Include="Resources\text\fr\lang_fr.txt" />
|
||||
|
|
197
SAV_BerryField.Designer.cs
generated
197
SAV_BerryField.Designer.cs
generated
|
@ -34,8 +34,22 @@
|
|||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.B_Cancel = new System.Windows.Forms.Button();
|
||||
this.B_Save = new System.Windows.Forms.Button();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.TB_Berry = new System.Windows.Forms.TextBox();
|
||||
this.L_Berry = new System.Windows.Forms.Label();
|
||||
this.L_u1 = new System.Windows.Forms.Label();
|
||||
this.L_u2 = new System.Windows.Forms.Label();
|
||||
this.L_u3 = new System.Windows.Forms.Label();
|
||||
this.TB_u1 = new System.Windows.Forms.TextBox();
|
||||
this.TB_u2 = new System.Windows.Forms.TextBox();
|
||||
this.TB_u3 = new System.Windows.Forms.TextBox();
|
||||
this.TB_u7 = new System.Windows.Forms.TextBox();
|
||||
this.TB_u6 = new System.Windows.Forms.TextBox();
|
||||
this.TB_u5 = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.TB_u4 = new System.Windows.Forms.TextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// listBox1
|
||||
|
@ -80,14 +94,14 @@
|
|||
"36"});
|
||||
this.listBox1.Location = new System.Drawing.Point(12, 25);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(38, 160);
|
||||
this.listBox1.Size = new System.Drawing.Size(38, 472);
|
||||
this.listBox1.TabIndex = 0;
|
||||
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.changefield);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(59, 95);
|
||||
this.label1.Location = new System.Drawing.Point(67, 458);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(173, 13);
|
||||
this.label1.TabIndex = 1;
|
||||
|
@ -104,7 +118,7 @@
|
|||
//
|
||||
// B_Cancel
|
||||
//
|
||||
this.B_Cancel.Location = new System.Drawing.Point(70, 162);
|
||||
this.B_Cancel.Location = new System.Drawing.Point(81, 474);
|
||||
this.B_Cancel.Name = "B_Cancel";
|
||||
this.B_Cancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.B_Cancel.TabIndex = 3;
|
||||
|
@ -115,37 +129,170 @@
|
|||
// B_Save
|
||||
//
|
||||
this.B_Save.Enabled = false;
|
||||
this.B_Save.Location = new System.Drawing.Point(157, 162);
|
||||
this.B_Save.Location = new System.Drawing.Point(168, 474);
|
||||
this.B_Save.Name = "B_Save";
|
||||
this.B_Save.Size = new System.Drawing.Size(75, 23);
|
||||
this.B_Save.TabIndex = 4;
|
||||
this.B_Save.Text = "Save";
|
||||
this.B_Save.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBox1
|
||||
// TB_Berry
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(113, 25);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ReadOnly = true;
|
||||
this.textBox1.Size = new System.Drawing.Size(100, 20);
|
||||
this.textBox1.TabIndex = 5;
|
||||
this.TB_Berry.Location = new System.Drawing.Point(98, 12);
|
||||
this.TB_Berry.Name = "TB_Berry";
|
||||
this.TB_Berry.ReadOnly = true;
|
||||
this.TB_Berry.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_Berry.TabIndex = 5;
|
||||
//
|
||||
// L_Berry
|
||||
//
|
||||
this.L_Berry.AutoSize = true;
|
||||
this.L_Berry.Location = new System.Drawing.Point(58, 15);
|
||||
this.L_Berry.Name = "L_Berry";
|
||||
this.L_Berry.Size = new System.Drawing.Size(34, 13);
|
||||
this.L_Berry.TabIndex = 6;
|
||||
this.L_Berry.Text = "Berry:";
|
||||
//
|
||||
// L_u1
|
||||
//
|
||||
this.L_u1.AutoSize = true;
|
||||
this.L_u1.Location = new System.Drawing.Point(58, 41);
|
||||
this.L_u1.Name = "L_u1";
|
||||
this.L_u1.Size = new System.Drawing.Size(13, 13);
|
||||
this.L_u1.TabIndex = 7;
|
||||
this.L_u1.Text = "1";
|
||||
//
|
||||
// L_u2
|
||||
//
|
||||
this.L_u2.AutoSize = true;
|
||||
this.L_u2.Location = new System.Drawing.Point(58, 67);
|
||||
this.L_u2.Name = "L_u2";
|
||||
this.L_u2.Size = new System.Drawing.Size(13, 13);
|
||||
this.L_u2.TabIndex = 8;
|
||||
this.L_u2.Text = "2";
|
||||
//
|
||||
// L_u3
|
||||
//
|
||||
this.L_u3.AutoSize = true;
|
||||
this.L_u3.Location = new System.Drawing.Point(58, 93);
|
||||
this.L_u3.Name = "L_u3";
|
||||
this.L_u3.Size = new System.Drawing.Size(13, 13);
|
||||
this.L_u3.TabIndex = 9;
|
||||
this.L_u3.Text = "3";
|
||||
//
|
||||
// TB_u1
|
||||
//
|
||||
this.TB_u1.Location = new System.Drawing.Point(99, 38);
|
||||
this.TB_u1.Name = "TB_u1";
|
||||
this.TB_u1.ReadOnly = true;
|
||||
this.TB_u1.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u1.TabIndex = 12;
|
||||
//
|
||||
// TB_u2
|
||||
//
|
||||
this.TB_u2.Location = new System.Drawing.Point(98, 64);
|
||||
this.TB_u2.Name = "TB_u2";
|
||||
this.TB_u2.ReadOnly = true;
|
||||
this.TB_u2.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u2.TabIndex = 13;
|
||||
//
|
||||
// TB_u3
|
||||
//
|
||||
this.TB_u3.Location = new System.Drawing.Point(98, 90);
|
||||
this.TB_u3.Name = "TB_u3";
|
||||
this.TB_u3.ReadOnly = true;
|
||||
this.TB_u3.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u3.TabIndex = 14;
|
||||
//
|
||||
// TB_u7
|
||||
//
|
||||
this.TB_u7.Location = new System.Drawing.Point(98, 194);
|
||||
this.TB_u7.Name = "TB_u7";
|
||||
this.TB_u7.ReadOnly = true;
|
||||
this.TB_u7.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u7.TabIndex = 22;
|
||||
//
|
||||
// TB_u6
|
||||
//
|
||||
this.TB_u6.Location = new System.Drawing.Point(98, 168);
|
||||
this.TB_u6.Name = "TB_u6";
|
||||
this.TB_u6.ReadOnly = true;
|
||||
this.TB_u6.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u6.TabIndex = 21;
|
||||
//
|
||||
// TB_u5
|
||||
//
|
||||
this.TB_u5.Location = new System.Drawing.Point(99, 142);
|
||||
this.TB_u5.Name = "TB_u5";
|
||||
this.TB_u5.ReadOnly = true;
|
||||
this.TB_u5.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u5.TabIndex = 20;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(73, 28);
|
||||
this.label3.Location = new System.Drawing.Point(58, 197);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(34, 13);
|
||||
this.label3.TabIndex = 6;
|
||||
this.label3.Text = "Berry:";
|
||||
this.label3.Size = new System.Drawing.Size(13, 13);
|
||||
this.label3.TabIndex = 19;
|
||||
this.label3.Text = "7";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(58, 171);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(13, 13);
|
||||
this.label4.TabIndex = 18;
|
||||
this.label4.Text = "6";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(58, 145);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(13, 13);
|
||||
this.label5.TabIndex = 17;
|
||||
this.label5.Text = "5";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(58, 119);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(13, 13);
|
||||
this.label6.TabIndex = 16;
|
||||
this.label6.Text = "4";
|
||||
//
|
||||
// TB_u4
|
||||
//
|
||||
this.TB_u4.Location = new System.Drawing.Point(98, 116);
|
||||
this.TB_u4.Name = "TB_u4";
|
||||
this.TB_u4.ReadOnly = true;
|
||||
this.TB_u4.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_u4.TabIndex = 15;
|
||||
//
|
||||
// SAV_BerryField
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(244, 192);
|
||||
this.ClientSize = new System.Drawing.Size(256, 505);
|
||||
this.Controls.Add(this.TB_u7);
|
||||
this.Controls.Add(this.TB_u6);
|
||||
this.Controls.Add(this.TB_u5);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.TB_u4);
|
||||
this.Controls.Add(this.TB_u3);
|
||||
this.Controls.Add(this.TB_u2);
|
||||
this.Controls.Add(this.TB_u1);
|
||||
this.Controls.Add(this.L_u3);
|
||||
this.Controls.Add(this.L_u2);
|
||||
this.Controls.Add(this.L_u1);
|
||||
this.Controls.Add(this.L_Berry);
|
||||
this.Controls.Add(this.TB_Berry);
|
||||
this.Controls.Add(this.B_Save);
|
||||
this.Controls.Add(this.B_Cancel);
|
||||
this.Controls.Add(this.label2);
|
||||
|
@ -170,7 +317,21 @@
|
|||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Button B_Cancel;
|
||||
private System.Windows.Forms.Button B_Save;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.TextBox TB_Berry;
|
||||
private System.Windows.Forms.Label L_Berry;
|
||||
private System.Windows.Forms.Label L_u1;
|
||||
private System.Windows.Forms.Label L_u2;
|
||||
private System.Windows.Forms.Label L_u3;
|
||||
private System.Windows.Forms.TextBox TB_u1;
|
||||
private System.Windows.Forms.TextBox TB_u2;
|
||||
private System.Windows.Forms.TextBox TB_u3;
|
||||
private System.Windows.Forms.TextBox TB_u7;
|
||||
private System.Windows.Forms.TextBox TB_u6;
|
||||
private System.Windows.Forms.TextBox TB_u5;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox TB_u4;
|
||||
}
|
||||
}
|
|
@ -31,8 +31,27 @@ namespace PKHeX
|
|||
{
|
||||
// Change Berry Field
|
||||
int offset = berryfoffset + shiftval;
|
||||
int index = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex*0x18);
|
||||
textBox1.Text = index.ToString();
|
||||
|
||||
// Gather Data
|
||||
int berry = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex*0x18 + 1 * 0);
|
||||
int u1 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 1 * 2);
|
||||
int u2 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 2 * 2);
|
||||
int u3 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 3 * 2);
|
||||
int u4 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 4 * 2);
|
||||
int u5 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 5 * 2);
|
||||
int u6 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 6 * 2);
|
||||
int u7 = BitConverter.ToUInt16(sav, offset + 0xC + listBox1.SelectedIndex * 0x18 + 7 * 2);
|
||||
|
||||
|
||||
// Display Data
|
||||
TB_Berry.Text = berry.ToString();
|
||||
TB_u1.Text = u1.ToString();
|
||||
TB_u2.Text = u2.ToString();
|
||||
TB_u3.Text = u3.ToString();
|
||||
TB_u4.Text = u4.ToString();
|
||||
TB_u5.Text = u5.ToString();
|
||||
TB_u6.Text = u6.ToString();
|
||||
TB_u7.Text = u7.ToString();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -5721,6 +5721,8 @@ namespace PKHeX
|
|||
updateAbilityNumber();
|
||||
else if ((cb == CB_Move1) || (cb == CB_Move2) || (cb == CB_Move3) || (cb == CB_Move4))
|
||||
updatePP(sender, e);
|
||||
|
||||
UpdateIVs(null, null); // updating Nature will trigger stats to update as well
|
||||
}
|
||||
private void removedropCB(object sender, KeyEventArgs e)
|
||||
{
|
||||
|
|
|
@ -33,12 +33,15 @@ namespace PKHeX
|
|||
if (arguments[i] == null) continue;
|
||||
vartypes[i - 5] = arguments[i] + ":";
|
||||
}
|
||||
disabled = arguments[0];
|
||||
notleft = arguments[1];
|
||||
ot = arguments[2];
|
||||
past = arguments[3];
|
||||
withOT = arguments[4];
|
||||
|
||||
try
|
||||
{
|
||||
disabled = arguments[0];
|
||||
notleft = arguments[1];
|
||||
ot = arguments[2];
|
||||
past = arguments[3];
|
||||
withOT = arguments[4];
|
||||
}
|
||||
catch { };
|
||||
h = m_parent.buff;
|
||||
|
||||
// Set the current friendship from main window
|
||||
|
|
Loading…
Reference in a new issue