Multilanguage Upgrades

Nuked Box IO, it was inferior relative to the functions that were added
afterwards.
This commit is contained in:
Kurt 2014-12-14 16:50:15 -08:00
parent f2883845a4
commit d3d7b33d8a
43 changed files with 1927 additions and 2028 deletions

View File

@ -295,9 +295,37 @@ internal static void Shuffle<T>(T[] array)
}
}
// Form Manipulation
internal static void TranslateInterface(string FORM_NAME, string lang, Control.ControlCollection Controls, MenuStrip menu = null)
internal static void debug(Control.ControlCollection Controls)
{
try
{
string s = "";
foreach (Control c in Controls)
{
if (c is GroupBox)
{
s += c.Name + " = " + c.Text + Environment.NewLine;
foreach (Control g in c.Controls)
{
if (g is Label || g is CheckBox || g is Button)
s += g.Name + " = " + g.Text + Environment.NewLine;
}
}
else
{
if (c is Label || c is CheckBox || c is Button)
s += c.Name + " = " + c.Text + Environment.NewLine;
}
}
Clipboard.SetText(s);
}
catch { }
}
// Form Manipulation
internal static void TranslateInterface(Control form, string lang, Control.ControlCollection Controls, MenuStrip menu = null)
{
string FORM_NAME = form.Name;
// debug(Controls);
// Fetch a File
// Check to see if a the translation file exists in the same folder as the executable
string externalLangPath = System.Windows.Forms.Application.StartupPath + Path.DirectorySeparatorChar + "lang_" + lang + ".txt";
@ -316,13 +344,14 @@ internal static void TranslateInterface(string FORM_NAME, string lang, Control.C
string[] stringdata = new string[rawlist.Length];
int itemsToRename = 0;
int start = Array.IndexOf(rawlist, "! " + FORM_NAME);
if (start < 0) return; // No Translation loaded for this Form.
for (int i = start; i < rawlist.Length; i++)
for (int i = 0; i < rawlist.Length; i++)
{
// Find our starting point
if (rawlist[i] == "! " + FORM_NAME) // Start our data
if (rawlist[i].Contains("! " + FORM_NAME)) // Start our data
{
// Allow renaming of the Window Title
string[] WindowName = Regex.Split(rawlist[i], " = ");
if (WindowName.Length > 1) form.Text = WindowName[1];
// Copy our Control Names and Text to a new array for later processing.
for (int j = i + 1; j < rawlist.Length; j++)
{
@ -335,13 +364,15 @@ internal static void TranslateInterface(string FORM_NAME, string lang, Control.C
stringdata[itemsToRename] = rawlist[j]; // Add the entry to process later.
itemsToRename++;
}
}
break; // exit outer loop
}
// exit outer loop
goto rename;
}
}
return; // Not Found
// Now that we have our items to rename in: Control = Text format, let's execute the changes!
rename:
for (int i = 0; i < itemsToRename; i++)
{
string[] SplitString = Regex.Split(stringdata[i], " = ");

View File

@ -147,12 +147,6 @@
<Compile Include="SAV\SAV_BerryField.Designer.cs">
<DependentUpon>SAV_BerryField.cs</DependentUpon>
</Compile>
<Compile Include="SAV\SAV_BoxIO.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SAV\SAV_BoxIO.Designer.cs">
<DependentUpon>SAV_BoxIO.cs</DependentUpon>
</Compile>
<Compile Include="SAV\SAV_BoxLayout.cs">
<SubType>Form</SubType>
</Compile>
@ -259,9 +253,6 @@
<EmbeddedResource Include="SAV\SAV_BerryField.resx">
<DependentUpon>SAV_BerryField.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SAV\SAV_BoxIO.resx">
<DependentUpon>SAV_BoxIO.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SAV\SAV_BoxLayout.resx">
<DependentUpon>SAV_BoxLayout.cs</DependentUpon>
</EmbeddedResource>

View File

@ -283,8 +283,8 @@ public void InitializeComponent()
this.Tab_Other = new System.Windows.Forms.TabPage();
this.B_OpenSecretBase = new System.Windows.Forms.Button();
this.GB_Daycare = new System.Windows.Forms.GroupBox();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.L_XP2 = new System.Windows.Forms.Label();
this.L_XP1 = new System.Windows.Forms.Label();
this.TB_Daycare2XP = new System.Windows.Forms.TextBox();
this.TB_Daycare1XP = new System.Windows.Forms.TextBox();
this.L_DC2 = new System.Windows.Forms.Label();
@ -305,7 +305,6 @@ public void InitializeComponent()
this.subepkx3 = new System.Windows.Forms.PictureBox();
this.Tab_Tools = new System.Windows.Forms.TabPage();
this.B_3DSSETemp = new System.Windows.Forms.Button();
this.B_BoxIO = new System.Windows.Forms.Button();
this.B_JPEG = new System.Windows.Forms.Button();
this.RTB_T = new System.Windows.Forms.RichTextBox();
this.Tab_SAV = new System.Windows.Forms.TabPage();
@ -316,7 +315,7 @@ public void InitializeComponent()
this.B_VerifySHA = new System.Windows.Forms.Button();
this.B_ExportSAV = new System.Windows.Forms.Button();
this.RTB_S = new System.Windows.Forms.RichTextBox();
this.B_OUTHallofFame = new System.Windows.Forms.Button();
this.B_OpenHallofFame = new System.Windows.Forms.Button();
this.B_OUTPasserby = new System.Windows.Forms.Button();
this.B_OpenPokepuffs = new System.Windows.Forms.Button();
this.B_OpenBoxLayout = new System.Windows.Forms.Button();
@ -3491,8 +3490,8 @@ public void InitializeComponent()
//
// GB_Daycare
//
this.GB_Daycare.Controls.Add(this.label4);
this.GB_Daycare.Controls.Add(this.label3);
this.GB_Daycare.Controls.Add(this.L_XP2);
this.GB_Daycare.Controls.Add(this.L_XP1);
this.GB_Daycare.Controls.Add(this.TB_Daycare2XP);
this.GB_Daycare.Controls.Add(this.TB_Daycare1XP);
this.GB_Daycare.Controls.Add(this.L_DC2);
@ -3509,23 +3508,23 @@ public void InitializeComponent()
this.GB_Daycare.TabStop = false;
this.GB_Daycare.Text = "Daycare";
//
// label4
// L_XP2
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(74, 88);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(30, 13);
this.label4.TabIndex = 17;
this.label4.Text = "+XP:";
this.L_XP2.AutoSize = true;
this.L_XP2.Location = new System.Drawing.Point(74, 88);
this.L_XP2.Name = "L_XP2";
this.L_XP2.Size = new System.Drawing.Size(30, 13);
this.L_XP2.TabIndex = 17;
this.L_XP2.Text = "+XP:";
//
// label3
// L_XP1
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(74, 35);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(30, 13);
this.label3.TabIndex = 16;
this.label3.Text = "+XP:";
this.L_XP1.AutoSize = true;
this.L_XP1.Location = new System.Drawing.Point(74, 35);
this.L_XP1.Name = "L_XP1";
this.L_XP1.Size = new System.Drawing.Size(30, 13);
this.L_XP1.TabIndex = 16;
this.L_XP1.Text = "+XP:";
//
// TB_Daycare2XP
//
@ -3716,7 +3715,6 @@ public void InitializeComponent()
// Tab_Tools
//
this.Tab_Tools.Controls.Add(this.B_3DSSETemp);
this.Tab_Tools.Controls.Add(this.B_BoxIO);
this.Tab_Tools.Controls.Add(this.B_JPEG);
this.Tab_Tools.Controls.Add(this.RTB_T);
this.Tab_Tools.Location = new System.Drawing.Point(4, 22);
@ -3729,7 +3727,7 @@ public void InitializeComponent()
//
// B_3DSSETemp
//
this.B_3DSSETemp.Location = new System.Drawing.Point(32, 20);
this.B_3DSSETemp.Location = new System.Drawing.Point(49, 20);
this.B_3DSSETemp.Name = "B_3DSSETemp";
this.B_3DSSETemp.Size = new System.Drawing.Size(75, 45);
this.B_3DSSETemp.TabIndex = 7;
@ -3737,20 +3735,10 @@ public void InitializeComponent()
this.B_3DSSETemp.UseVisualStyleBackColor = true;
this.B_3DSSETemp.Click += new System.EventHandler(this.clickOpenTempFolder);
//
// B_BoxIO
//
this.B_BoxIO.Location = new System.Drawing.Point(197, 20);
this.B_BoxIO.Name = "B_BoxIO";
this.B_BoxIO.Size = new System.Drawing.Size(75, 45);
this.B_BoxIO.TabIndex = 6;
this.B_BoxIO.Text = "Open/Save Box Content";
this.B_BoxIO.UseVisualStyleBackColor = true;
this.B_BoxIO.Click += new System.EventHandler(this.B_BoxIO_Click);
//
// B_JPEG
//
this.B_JPEG.Enabled = false;
this.B_JPEG.Location = new System.Drawing.Point(121, 20);
this.B_JPEG.Location = new System.Drawing.Point(178, 20);
this.B_JPEG.Name = "B_JPEG";
this.B_JPEG.Size = new System.Drawing.Size(75, 45);
this.B_JPEG.TabIndex = 5;
@ -3858,15 +3846,15 @@ public void InitializeComponent()
this.RTB_S.Text = "";
this.RTB_S.WordWrap = false;
//
// B_OUTHallofFame
// B_OpenHallofFame
//
this.B_OUTHallofFame.Location = new System.Drawing.Point(230, 41);
this.B_OUTHallofFame.Name = "B_OUTHallofFame";
this.B_OUTHallofFame.Size = new System.Drawing.Size(75, 23);
this.B_OUTHallofFame.TabIndex = 4;
this.B_OUTHallofFame.Text = "Hall of Fame";
this.B_OUTHallofFame.UseVisualStyleBackColor = true;
this.B_OUTHallofFame.Click += new System.EventHandler(this.B_OUTHallofFame_Click);
this.B_OpenHallofFame.Location = new System.Drawing.Point(230, 41);
this.B_OpenHallofFame.Name = "B_OpenHallofFame";
this.B_OpenHallofFame.Size = new System.Drawing.Size(75, 23);
this.B_OpenHallofFame.TabIndex = 4;
this.B_OpenHallofFame.Text = "Hall of Fame";
this.B_OpenHallofFame.UseVisualStyleBackColor = true;
this.B_OpenHallofFame.Click += new System.EventHandler(this.B_OUTHallofFame_Click);
//
// B_OUTPasserby
//
@ -3972,7 +3960,7 @@ public void InitializeComponent()
//
this.GB_SAVtools.Controls.Add(this.B_OpenSuperTraining);
this.GB_SAVtools.Controls.Add(this.B_OpenPokedex);
this.GB_SAVtools.Controls.Add(this.B_OUTHallofFame);
this.GB_SAVtools.Controls.Add(this.B_OpenHallofFame);
this.GB_SAVtools.Controls.Add(this.B_OpenBerryField);
this.GB_SAVtools.Controls.Add(this.B_OpenBoxLayout);
this.GB_SAVtools.Controls.Add(this.B_OpenTrainerInfo);
@ -4390,8 +4378,8 @@ public void InitializeComponent()
private System.Windows.Forms.RichTextBox RTB_S;
private System.Windows.Forms.Button B_BoxRight;
private System.Windows.Forms.Button B_BoxLeft;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label L_XP2;
private System.Windows.Forms.Label L_XP1;
private System.Windows.Forms.TextBox TB_Daycare2XP;
private System.Windows.Forms.TextBox TB_Daycare1XP;
private System.Windows.Forms.Label L_DC2;
@ -4400,10 +4388,9 @@ public void InitializeComponent()
private System.Windows.Forms.TextBox TB_EC;
private System.Windows.Forms.TabPage Tab_Tools;
private System.Windows.Forms.Button B_OUTPasserby;
private System.Windows.Forms.Button B_OUTHallofFame;
private System.Windows.Forms.Button B_OpenHallofFame;
private System.Windows.Forms.RichTextBox RTB_T;
private System.Windows.Forms.Button B_JPEG;
private System.Windows.Forms.Button B_BoxIO;
private System.Windows.Forms.Label L_SAVManipulation;
private System.Windows.Forms.Button B_SwitchSAV;
private System.Windows.Forms.Label L_IntegrityCheck;

View File

@ -571,7 +571,6 @@ private void openSave(bool oras)
GB_SAVtools.Enabled =
tabBoxMulti.Enabled = true;
B_JPEG.Enabled =
B_BoxIO.Enabled =
B_VerifyCHK.Enabled = true;
B_VerifySHA.Enabled = B_SwitchSAV.Enabled = false;
@ -605,7 +604,7 @@ private void changeMainLanguage(object sender, EventArgs e)
Menu_Options.DropDown.Close();
InitializeStrings();
InitializeLanguage();
Util.TranslateInterface("Form1", curlanguage, Controls, menuStrip1);
Util.TranslateInterface(this, curlanguage, Controls, menuStrip1);
populateFields(buff); // put data back in form
}
private void InitializeStrings()
@ -3579,7 +3578,7 @@ private void getSAVOffsets()
}
// Enable Buttons
GB_SAVtools.Enabled = B_JPEG.Enabled = B_BoxIO.Enabled = B_VerifyCHK.Enabled = B_VerifySHA.Enabled = B_SwitchSAV.Enabled
GB_SAVtools.Enabled = B_JPEG.Enabled = B_VerifyCHK.Enabled = B_VerifySHA.Enabled = B_SwitchSAV.Enabled
= enableInterface;
}
private void getQuickFiller(PictureBox pb)
@ -4171,11 +4170,6 @@ private void B_JPEG_Click(object sender, EventArgs e)
File.WriteAllBytes(path, jpeg);
}
}
private void B_BoxIO_Click(object sender, EventArgs e)
{
// Allow Import/Export of Boxes
new PKHeX.SAV_BoxIO(this, SaveGame.Box, SaveGame.PCLayout).ShowDialog();
}
private void clickSaveFileName(object sender, EventArgs e)
{

View File

@ -525,10 +525,10 @@
<metadata name="GB_Daycare.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label4.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="L_XP2.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label3.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="L_XP1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="TB_Daycare2XP.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@ -579,12 +579,6 @@
<metadata name="subepkx1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="B_BoxIO.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="B_JPEG.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="L_SAVManipulation.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -606,6 +600,9 @@
<metadata name="L_SAVINDEX.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dragout.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>46</value>
</metadata>

View File

@ -13,8 +13,9 @@ public partial class f2_Text : Form
{
public f2_Text(TextBox TB_NN)
{
this.Hide();
this.Hide();
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
TB_Nickname = TB_NN;
Font pkxFont = PKX.getPKXFont(12F);
Label[] lbla = new Label[]

View File

@ -24,7 +24,7 @@ public partial class MemoryAmie : Form
public MemoryAmie(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this.Name, Form1.curlanguage, this.Controls);
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
string[] arguments = Regex.Split(L_Arguments.Text, " ; ");
@ -286,19 +286,17 @@ private void getCountries()
private void getLangStrings()
{
// Memory Chooser
int memorycount = Form1.memories.Length - 39;
int memorycount = Form1.memories.Length - 38;
string[] memories = new string[memorycount];
int[] allowed = new int[memorycount];
for (int i = 0; i < memorycount; i++)
{
memories[i] = Form1.memories[39 + i];
allowed[i] = i+1;
memories[i] = Form1.memories[38 + i];
allowed[i] = i + 1;
}
List<cbItem> memory_list = getComboBoxItems2(memories, allowed);
cbItem def = new cbItem();
def.Text = Form1.memories[38 + 0];
def.Value = 0;
memory_list.Insert(0, def);
Array.Resize(ref allowed, allowed.Length - 1);
var memory_list1 = Util.getCBList(new string[] { memories[0] }, null);
var memory_list = Util.getOffsetCBList(memory_list1, memories, 0, allowed);
CB_OTMemory.DataSource = memory_list;
CB_OTMemory.DisplayMember = "Text";
@ -329,19 +327,14 @@ private void getLangStrings()
}
private void getMemoryArguments(string ARG, ComboBox sender)
{
List<cbItem> argvals = new List<cbItem>();
var argvals = Util.getCBList(new string[] { "" }, null);
#region General Locations
// add general locations
int[] allowed = { };
allowed = new int[Form1.genloc.Length];
for (int i = 0; i < Form1.genloc.Length; i++)
allowed[i] = i; // Allow everything.
List<cbItem> genloc = getComboBoxItems(Form1.genloc, allowed);
var genloc = Util.getCBList(Form1.genloc, null);
#endregion
#region Items
allowed = new int[697]
int[] items_allowed = new int[697]
{
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,
50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,
@ -359,35 +352,14 @@ private void getMemoryArguments(string ARG, ComboBox sender)
650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,
700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717
};
List<cbItem> item_list = getComboBoxItems(Form1.itemlist, allowed);
var item_list = Util.getCBList(Form1.itemlist, items_allowed);
#endregion
List<cbItem> species_list = (List<cbItem>)m_parent.CB_Species.DataSource;
var species_list = new BindingSource(m_parent.CB_Species.DataSource, null);
// Met Locations for Pokecenters healing
allowed = new int[] {
2,6,8,10,12,14,16,17,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,
// ORAS
170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,320,322,324,326,328,330,332,334,336,338,340,342,344,346,348,350,352,354,
}; // Be sure the legal list matches the one in the main form for Location Selection
List<cbItem> locationXY = getComboBoxItems(Form1.metXY_00000, allowed);
#region Moves
var locationXY = Util.getCBList(Form1.metXY_00000, Legal.Met_XY_0);
var move_list = new BindingSource(m_parent.CB_Move1.DataSource, null);
List<cbItem> move_list = new List<cbItem>();
// Sort the Rest based on String Name
string[] sortedmoves = new string[Form1.movelist.Length];
Array.Copy(Form1.movelist, sortedmoves, Form1.movelist.Length);
Array.Sort(sortedmoves);
// Add the rest of the items
for (int i = 0; i < sortedmoves.Length; i++)
{
cbItem ncbi = new cbItem();
ncbi.Text = sortedmoves[i];
ncbi.Value = Array.IndexOf(Form1.movelist, sortedmoves[i]);
move_list.Add(ncbi);
}
#endregion
string vs = "";
bool enabled = true;
if (ARG == "NONE")
@ -397,12 +369,12 @@ private void getMemoryArguments(string ARG, ComboBox sender)
}
else if (ARG == "PKM")
{
argvals = species_list;
argvals = Util.getCBList(Form1.specieslist, null);
vs = vartypes[0];
}
else if (ARG == "GENLOC")
{
argvals = genloc;
argvals = Util.getCBList(Form1.genloc, null);
vs = vartypes[1];
}
else if (ARG == "ITEM")
@ -412,20 +384,18 @@ private void getMemoryArguments(string ARG, ComboBox sender)
}
else if (ARG == "MOVE")
{
argvals = move_list;
argvals = Util.getCBList(Form1.movelist, null);
vs = vartypes[3];
}
else if (ARG == "LOCATION")
{
argvals = locationXY;
argvals = Util.getCBList(Form1.metXY_00000, allowed);
vs = vartypes[4];
}
if (sender == CB_CTMemory)
{
List<cbItem> CTmemargs = new List<cbItem>();
CTmemargs = argvals;
CB_CTVar.DataSource = CTmemargs;
CB_CTVar.DataSource = argvals;
CB_CTVar.DisplayMember = "Text";
CB_CTVar.ValueMember = "Value";
LCTV.Text = vs;
@ -433,58 +403,12 @@ private void getMemoryArguments(string ARG, ComboBox sender)
}
else
{
List<cbItem> OTmemargs = new List<cbItem>();
OTmemargs = argvals;
CB_OTVar.DataSource = OTmemargs;
CB_OTVar.DataSource = argvals;
CB_OTVar.DisplayMember = "Text";
CB_OTVar.ValueMember = "Value";
LOTV.Text = vs;
LOTV.Visible = CB_OTVar.Visible = CB_OTVar.Enabled = enabled;
}
}
private List<cbItem> getComboBoxItems(string[] list, int[] allowed)
{
List<cbItem> combolist = new List<cbItem>();
// Sort the Rest based on String Name
string[] sorter = new string[list.Length];
Array.Copy(list, sorter, list.Length);
Array.Sort(sorter);
for (int i = 0; i < sorter.Length; i++)
{
int locnum = Array.IndexOf(allowed, Array.IndexOf(list, sorter[i]));
if (locnum >= 0) // If the given text is allowed (if found, >0)
{
cbItem ncbi = new cbItem();
ncbi.Text = sorter[i];
ncbi.Value = allowed[locnum];
combolist.Add(ncbi);
}
}
return combolist;
}
private List<cbItem> getComboBoxItems2(string[] list, int[] allowed)
{
List<cbItem> combolist = new List<cbItem>();
// Sort the Rest based on String Name
string[] sorter = new string[list.Length];
Array.Copy(list, sorter, list.Length);
Array.Sort(sorter);
for (int i = 0; i < sorter.Length; i++)
{
int locnum = Array.IndexOf(list, sorter[i]);
if (locnum >= 0) // If the given text is allowed (if found, >0)
{
cbItem ncbi = new cbItem();
ncbi.Text = sorter[i];
ncbi.Value = allowed[locnum];
combolist.Add(ncbi);
}
}
return combolist;
}
private string getMemoryString(ComboBox m, ComboBox arg, ComboBox q, ComboBox f, string tr)
{
@ -665,15 +589,5 @@ private void clickResetLocation(object sender, EventArgs e)
mta[index].DisplayMember = "Text";
mta[index].ValueMember = "Value";
}
private class cbItem
{
public string Text { get; set; }
public object Value { get; set; }
public override string ToString()
{
return Text;
}
}
}
}

View File

@ -37,7 +37,7 @@ private void InitializeComponent()
this.CHK_Secret = new System.Windows.Forms.CheckBox();
this.GB_Medals1 = new System.Windows.Forms.GroupBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.L_Bag = new System.Windows.Forms.Label();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.L_Hits = new System.Windows.Forms.Label();
this.L_SuperTraining = new System.Windows.Forms.Label();
@ -362,7 +362,7 @@ private void InitializeComponent()
// GB_Medals1
//
this.GB_Medals1.Controls.Add(this.comboBox1);
this.GB_Medals1.Controls.Add(this.label1);
this.GB_Medals1.Controls.Add(this.L_Bag);
this.GB_Medals1.Controls.Add(this.numericUpDown1);
this.GB_Medals1.Controls.Add(this.L_Hits);
this.GB_Medals1.Controls.Add(this.L_SuperTraining);
@ -402,14 +402,14 @@ private void InitializeComponent()
this.comboBox1.Size = new System.Drawing.Size(110, 21);
this.comboBox1.TabIndex = 23;
//
// label1
// L_Bag
//
this.label1.Location = new System.Drawing.Point(-1, 169);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 13);
this.label1.TabIndex = 22;
this.label1.Text = "Last Used Bag:";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
this.L_Bag.Location = new System.Drawing.Point(-1, 169);
this.L_Bag.Name = "L_Bag";
this.L_Bag.Size = new System.Drawing.Size(100, 13);
this.L_Bag.TabIndex = 22;
this.L_Bag.Text = "Last Used Bag:";
this.L_Bag.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// numericUpDown1
//
@ -743,9 +743,9 @@ private void InitializeComponent()
this.TMedal4_7.AutoSize = true;
this.TMedal4_7.Location = new System.Drawing.Point(96, 114);
this.TMedal4_7.Name = "TMedal4_7";
this.TMedal4_7.Size = new System.Drawing.Size(45, 17);
this.TMedal4_7.Size = new System.Drawing.Size(47, 17);
this.TMedal4_7.TabIndex = 31;
this.TMedal4_7.Text = "X/Y";
this.TMedal4_7.Text = "Best";
this.TMedal4_7.UseVisualStyleBackColor = true;
//
// TMedal4_6
@ -2872,7 +2872,7 @@ private void InitializeComponent()
private System.Windows.Forms.PictureBox PB_52;
private System.Windows.Forms.PictureBox PB_51;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label L_Bag;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Label L_Hits;
private System.Windows.Forms.CheckBox ORAS_5;

View File

@ -18,8 +18,8 @@ public partial class RibbMedal : Form
public RibbMedal(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
TranslateInterface("RibbonMedal");
// Set up Training Bag Data
comboBox1.Items.Clear();
@ -31,70 +31,6 @@ public RibbMedal(Form1 frm1)
getRibbons();
}
public void TranslateInterface(string FORM_NAME)
{
string curlanguage = Form1.curlanguage;
// Fetch a File
// Check to see if a the translation file exists in the same folder as the executable
string externalLangPath = System.Windows.Forms.Application.StartupPath +Path.DirectorySeparatorChar + "lang_" + curlanguage + ".txt";
string[] rawlist;
if (File.Exists(externalLangPath))
{
rawlist = File.ReadAllLines(externalLangPath);
}
else
{
object txt;
txt = Properties.Resources.ResourceManager.GetObject("lang_" + curlanguage); // Fetch File, \n to list.
if (txt == null) return; // Translation file does not exist as a resource; abort this function and don't translate UI.
string[] stringSeparators = new string[] { "\r\n" };
rawlist = ((string)txt).Split(stringSeparators, StringSplitOptions.None);
}
string[] stringdata = new string[rawlist.Length];
int itemsToRename = 0;
for (int i = 0; i < rawlist.Length; i++)
{
// Find our starting point
if (rawlist[i] == "! " + FORM_NAME) // Start our data
{
// Copy our Control Names and Text to a new array for later processing.
for (int j = i + 1; j < rawlist.Length; j++)
{
if (rawlist[j].Length == 0)
continue; // Skip Over Empty Lines, errhandled
if (rawlist[j][0].ToString() != "-") // If line is not a comment line...
{
if (rawlist[j][0].ToString() == "!") // Stop if we have reached the end of translation
break; // exit inner loop
stringdata[itemsToRename] = rawlist[j]; // Add the entry to process later.
itemsToRename++;
}
}
break; // exit outer loop
}
}
// Now that we have our items to rename in: Control = Text format, let's execute the changes!
for (int i = 0; i < itemsToRename; i++)
{
string[] SplitString = Regex.Split(stringdata[i], " = ");
if (SplitString.Length < 2)
continue; // Error in Input, errhandled
string ctrl = SplitString[0]; // Control to change the text of...
string text = SplitString[1]; // Text to set Control.Text to...
Control[] controllist = Controls.Find(ctrl, true);
if (controllist.Length == 0) // If Control isn't found...
{
// If not found, it is not something to rename and is thus skipped.
}
else // Set the input control's text.
{
controllist[0].Text = text;
}
}
}
private void getRibbons()
{
Bitmap[] bma = {
@ -243,38 +179,38 @@ private void setRibbons()
{
// pass kalos data
int kalos1a = 0, kalos1b = 0, kalos2a = 0, kalos2b = 0;
kalos1a += addRibbon(Kalos1a_0);
kalos1a += addRibbon(Kalos1a_1);
kalos1a += addRibbon(Kalos1a_2);
kalos1a += addRibbon(Kalos1a_3);
kalos1a += addRibbon(Kalos1a_4);
kalos1a += addRibbon(Kalos1a_5);
kalos1a += addRibbon(Kalos1a_6);
kalos1a += addRibbon(Kalos1a_7);////
kalos1b += addRibbon(Kalos1b_0);
kalos1b += addRibbon(Kalos1b_1);
kalos1b += addRibbon(Kalos1b_2);
kalos1b += addRibbon(Kalos1b_3);
kalos1b += addRibbon(Kalos1b_4);
kalos1b += addRibbon(Kalos1b_5);
kalos1b += addRibbon(Kalos1b_6);
kalos1b += addRibbon(Kalos1b_7);////
kalos2a += addRibbon(Kalos2a_0);
kalos2a += addRibbon(Kalos2a_1);
kalos2a += addRibbon(Kalos2a_2);
kalos2a += addRibbon(Kalos2a_3);
kalos2a += addRibbon(Kalos2a_4);
kalos2a += addRibbon(Kalos2a_5);
kalos2a += addRibbon(Kalos2a_6);
kalos2a += addRibbon(Kalos2a_7);////
kalos2b += addRibbon(Kalos2b_0);
kalos2b += addRibbon(Kalos2b_1);
kalos2b += addRibbon(Kalos2b_2);
kalos2b += addRibbon(Kalos2b_3);
kalos2b += addRibbon(Kalos2b_4);
kalos2b += addRibbon(Kalos2b_5);
kalos2b += addRibbon(Kalos2b_6);
kalos2b += addRibbon(Kalos2b_7);////
kalos1a |= addRibbon(Kalos1a_0);
kalos1a |= addRibbon(Kalos1a_1);
kalos1a |= addRibbon(Kalos1a_2);
kalos1a |= addRibbon(Kalos1a_3);
kalos1a |= addRibbon(Kalos1a_4);
kalos1a |= addRibbon(Kalos1a_5);
kalos1a |= addRibbon(Kalos1a_6);
kalos1a |= addRibbon(Kalos1a_7);////
kalos1b |= addRibbon(Kalos1b_0);
kalos1b |= addRibbon(Kalos1b_1);
kalos1b |= addRibbon(Kalos1b_2);
kalos1b |= addRibbon(Kalos1b_3);
kalos1b |= addRibbon(Kalos1b_4);
kalos1b |= addRibbon(Kalos1b_5);
kalos1b |= addRibbon(Kalos1b_6);
kalos1b |= addRibbon(Kalos1b_7);////
kalos2a |= addRibbon(Kalos2a_0);
kalos2a |= addRibbon(Kalos2a_1);
kalos2a |= addRibbon(Kalos2a_2);
kalos2a |= addRibbon(Kalos2a_3);
kalos2a |= addRibbon(Kalos2a_4);
kalos2a |= addRibbon(Kalos2a_5);
kalos2a |= addRibbon(Kalos2a_6);
kalos2a |= addRibbon(Kalos2a_7);////
kalos2b |= addRibbon(Kalos2b_0);
kalos2b |= addRibbon(Kalos2b_1);
kalos2b |= addRibbon(Kalos2b_2);
kalos2b |= addRibbon(Kalos2b_3);
kalos2b |= addRibbon(Kalos2b_4);
kalos2b |= addRibbon(Kalos2b_5);
kalos2b |= addRibbon(Kalos2b_6);
kalos2b |= addRibbon(Kalos2b_7);////
m_parent.buff[0x30] = (byte)kalos1a;
m_parent.buff[0x31] = (byte)kalos1b;
m_parent.buff[0x32] = (byte)kalos2a;
@ -282,59 +218,59 @@ private void setRibbons()
// Pass Extra Ribbon
int extra1 = 0;
extra1 += addRibbon(Extra1_0);
extra1 += addRibbon(Extra1_1);
extra1 += addRibbon(Extra1_2);
extra1 += addRibbon(Extra1_3);
extra1 += addRibbon(Extra1_4);
extra1 |= addRibbon(Extra1_0);
extra1 |= addRibbon(Extra1_1);
extra1 |= addRibbon(Extra1_2);
extra1 |= addRibbon(Extra1_3);
extra1 |= addRibbon(Extra1_4);
// ORAS
extra1 += addRibbon(Extra1_7); // Hoenn Champ
extra1 |= addRibbon(Extra1_7); // Hoenn Champ
m_parent.buff[0x34] = (byte)extra1;
int oras = 0;
oras += addRibbon(ORAS_0);
oras += addRibbon(ORAS_1);
oras += addRibbon(ORAS_2);
oras += addRibbon(ORAS_3);
oras += addRibbon(ORAS_4);
oras += addRibbon(ORAS_5);
oras |= addRibbon(ORAS_0);
oras |= addRibbon(ORAS_1);
oras |= addRibbon(ORAS_2);
oras |= addRibbon(ORAS_3);
oras |= addRibbon(ORAS_4);
oras |= addRibbon(ORAS_5);
m_parent.buff[0x35] = (byte)oras;
// Gather Super Training Medals
int medals1 = 0, medals2 = 0, medals3 = 0, medals4 = 0;
medals1 += addRibbon(TMedal1_0);
medals1 += addRibbon(TMedal1_1);
medals1 += addRibbon(TMedal1_2);
medals1 += addRibbon(TMedal1_3);
medals1 += addRibbon(TMedal1_4);
medals1 += addRibbon(TMedal1_5);
medals1 += addRibbon(TMedal1_6);
medals1 += addRibbon(TMedal1_7);////
medals2 += addRibbon(TMedal2_0);
medals2 += addRibbon(TMedal2_1);
medals2 += addRibbon(TMedal2_2);
medals2 += addRibbon(TMedal2_3);
medals2 += addRibbon(TMedal2_4);
medals2 += addRibbon(TMedal2_5);
medals2 += addRibbon(TMedal2_6);
medals2 += addRibbon(TMedal2_7);////
medals3 += addRibbon(TMedal3_0);
medals3 += addRibbon(TMedal3_1);
medals3 += addRibbon(TMedal3_2);
medals3 += addRibbon(TMedal3_3);
medals3 += addRibbon(TMedal3_4);
medals3 += addRibbon(TMedal3_5);
medals3 += addRibbon(TMedal3_6);
medals3 += addRibbon(TMedal3_7);////
medals4 += addRibbon(TMedal4_0);
medals4 += addRibbon(TMedal4_1);
medals4 += addRibbon(TMedal4_2);
medals4 += addRibbon(TMedal4_3);
medals4 += addRibbon(TMedal4_4);
medals4 += addRibbon(TMedal4_5);
medals4 += addRibbon(TMedal4_6);
medals4 += addRibbon(TMedal4_7);////
medals1 |= addRibbon(TMedal1_0);
medals1 |= addRibbon(TMedal1_1);
medals1 |= addRibbon(TMedal1_2);
medals1 |= addRibbon(TMedal1_3);
medals1 |= addRibbon(TMedal1_4);
medals1 |= addRibbon(TMedal1_5);
medals1 |= addRibbon(TMedal1_6);
medals1 |= addRibbon(TMedal1_7);////
medals2 |= addRibbon(TMedal2_0);
medals2 |= addRibbon(TMedal2_1);
medals2 |= addRibbon(TMedal2_2);
medals2 |= addRibbon(TMedal2_3);
medals2 |= addRibbon(TMedal2_4);
medals2 |= addRibbon(TMedal2_5);
medals2 |= addRibbon(TMedal2_6);
medals2 |= addRibbon(TMedal2_7);////
medals3 |= addRibbon(TMedal3_0);
medals3 |= addRibbon(TMedal3_1);
medals3 |= addRibbon(TMedal3_2);
medals3 |= addRibbon(TMedal3_3);
medals3 |= addRibbon(TMedal3_4);
medals3 |= addRibbon(TMedal3_5);
medals3 |= addRibbon(TMedal3_6);
medals3 |= addRibbon(TMedal3_7);////
medals4 |= addRibbon(TMedal4_0);
medals4 |= addRibbon(TMedal4_1);
medals4 |= addRibbon(TMedal4_2);
medals4 |= addRibbon(TMedal4_3);
medals4 |= addRibbon(TMedal4_4);
medals4 |= addRibbon(TMedal4_5);
medals4 |= addRibbon(TMedal4_6);
medals4 |= addRibbon(TMedal4_7);////
m_parent.buff[0x2C] = (byte)medals1;
m_parent.buff[0x2D] = (byte)medals2;
m_parent.buff[0x2E] = (byte)medals3;

View File

@ -394,4 +394,15 @@ http://projectpokemon.org/forums/showthread.php?36986
- Changed: Diancie sprite now uses the ORAS version.
- Added: Chinese translation.
- Fixed: Full Pokedex code causing CyberGadget to corrupt saves.
- Fixed: Corruption Alert will now appear for ORAS saves, you can ignore it if you are using SaveDataFiler.
- Fixed: Corruption Alert will now appear for ORAS saves, you can ignore it if you are using SaveDataFiler.
12/14/14 - New Update:
- Added: Hall of Fame Editor. Thank you SciresM for the implementation!
- Added: Country / Region text for all languages. Thank you Slashmolder for the raw data!
- Added: Ingame Font characters. To manually enter them, right click the Nickname label. Thank you mapaler (枫谷剑仙)!
- Changed: Replaced the Quick-Dragouts for exporting with an overall 'tabs' sprite. Functionality is the same; for encrypted export hold Control.
- Changed: A few O-Power labels for X/Y. Thank you RainThunder!
- Internal: Tons of code reorganization, might be a little faster/lighter.
- Improved: Box Report now is more verbose in terms of Locations and sprites. Can also sort (slow) by clicking the column header, and upon exit you can save a .csv table.
- Improved: Message popups should be much more appealing.
- Fixed various bugs for drag&drop.

View File

@ -11,13 +11,13 @@
! For the Menu Bar, separate the DropDown Item names with ' ; '
!
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION. Ribbons / Medals UI Below
! Form1
- DO NOT CHANGE THIS SECTION.
! Form1 = PKHeX
- Change stuff below this line, not above.
----------------Overall PKX Interface------------------
Menu_File = File ; Open... ; Save as... ; Exit
Menu_Tools = Tools ; Toggle Box Interface ; Load/Dump Boxes ; Box Data Report ; Code Generator
Menu_Options = Options ; Language ; About PKHeX
Menu_Options = Options ; Language ; About PKHeX ; Toggle Unicode
--------------------Main Tab Data----------------------
Tab_Main = Main
Label_PID = PID:
@ -89,12 +89,12 @@ GB_OT = Trainer Information
Label_TID = TID:
Label_SID = SID:
Label_OT = OT:
RB_OTM = M
RB_OTF = F
RB_OTM =
RB_OTF =
GB_nOT = Latest (not OT) Handler
Label_PrevOT = OT:
RB_nOTM = M
RB_nOTF = F
RB_nOTM =
RB_nOTF =
GB_ExtraBytes = Extra Bytes
GB_Markings = Markings
BTN_Ribbons = Ribbons/Medals
@ -110,27 +110,28 @@ Tab_SAV = SAV
B_OpenPokePuffs = Poké Puffs
B_OpenItemPouch = Items
B_OpenTrainerInfo = Trainer Info
B_OUTPasserby = Passerby
B_OpenBoxLayout = Box Layout
B_OpenWondercards = Wondercard
B_OpenBerryField = Berry Field
B_OpenSuperTraining = Super Train
B_OpenHallofFame = Hall of Fame
B_OpenOPowers = O-Powers
B_OpenEventFlags = Event Flags
B_OpenPokedex = Pokédex
B_OpenSuperTraining = Super Train
B_OpenBerryField = Berry Field
--------------------Tab Internals-----------------------
L_Party = Party:
L_BattleBox = Battle Box:
L_ReadOnlyPBB = This is read only.
GB_Daycare = Daycare
GB_GTS = GTS
GB_Fused = Fused
GB_SUBE = Old Man
GB_SUBE = OldMan
DayCare_HasEgg = Egg Available
L_DaycareSeed = Seed
L_ReadOnlyOther = This tab is read only.
B_BoxIO = Open/Save Box Content
B_3DSSETemp = Open Temp 3DSSE
B_JPEG = Save PGL .JPEG
B_OUTHallofFame = Hall of Fame
B_OUTPasserby = Passerby
L_IntegrityCheck = Integrity Check:
B_VerifyCHK = Checksums
B_VerifySHA = Hashes
@ -139,8 +140,8 @@ B_SwitchSAV = Switch SAV
B_ExportSAV = Export SAV
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION. Ribbons / Medals UI Below
! RibbonMedal
- DO NOT CHANGE THIS SECTION.
! RibbonMedal = Ribbon / Medal Editor
- Change stuff below this line, not above.
----------------------Buttons--------------------------
BTN_All = Give All
@ -197,6 +198,14 @@ Extra1_3 = National Champ
Extra1_4 = World Champ
L_PastContest = Past Contest Ribbons:
L_PastBattle = Past Battle Ribbons:
---
Extra1_7 = Hoenn Champion
ORAS_0 = Contest Star
ORAS_1 = Coolness Master
ORAS_2 = Beauty Master
ORAS_3 = Cuteness Master
ORAS_4 = Cleverness Master
ORAS_5 = Toughness Master
------------------Super Training---------------------
L_SuperTraining = Normal Super Training
L_Rank1 = Rank 1
@ -237,11 +246,14 @@ TMedal4_4 = Scatter
TMedal4_5 = Barrage
TMedal4_6 = Hydreigon
L_Rank3 = Rank 8
TMedal4_7 = X/Y
TMedal4_7 = Best
---
L_Bag = Last Used Bag:
L_Hits = Hits Remaining:
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION. Memories / Amie UI Below
! MemoryAmie
- DO NOT CHANGE THIS SECTION.
! MemoryAmie = Memory / Amie Editor
- Change stuff below this line, not above.
---------------------Bottom UI-------------------------
BTN_Cancel = Cancel
@ -256,6 +268,469 @@ L_CT_Friendship = Friendship:
L_cT_Affection = Affection:
Tab_Residence = Residence
--
L_Country = Country
L_Region = Region
L_Geo0 = Latest:
L_Geo1 = Past 1:
L_Geo2 = Past 2:
L_Geo3 = Past 3:
L_Geo4 = Past 4:
--
L_Arguments = Disabled ; Never left ; OT ; Past Gen ; Memories with ; Pokémon ; Area ; Item(s) ; Move ; Location ;
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! f2_Text = Special Characters
- Change stuff below this line, not above.
-------------------------------------------------------
-- No Elements to rename here.
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_BerryField = Berry Field Viewer
- Change stuff below this line, not above.
-------------------------------------------------------
L_Berry = Berry:
L_Field = Field:
L_Unfinished = Unfinished: Needs More Research
L_u1 = 1
L_u2 = 2
L_u3 = 3
L_u4 = 4
L_u5 = 5
L_u6 = 6
L_u7 = 7
B_Cancel = Cancel
B_Save = Save
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION. Memories / Amie UI Below
! SAV_BoxLayout = Box Layout Editor
- Change stuff below this line, not above.
-------------------------------------------------------
L_Unlocked = Unlocked:
B_Cancel = Cancel
B_Save = Save
L_Flags = Unlocked BG Flags:
L_BG = BG:
L_BoxName = Box Name:
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_EventFlagsORAS = Event Flag Editor (ORAS)
- Change stuff below this line, not above.
------------------------------------------------------
L_Ash = Volcanic Ash:
GB_Misc = Misc
flag_0288 = Multi Statuette
flag_0287 = Rotation Statuette
flag_0286 = Triples Statuette
flag_0293 = Super Multi Unlocked
flag_0292 = Super Rotation Unlocked
flag_0291 = Super Triples Unlocked
flag_0290 = Super Doubles Unlocked
flag_0289 = Super Singles Unlocked
flag_0285 = Doubles Statuette
flag_0284 = Singles Statuette
GB_Rebattle = Rebattle
flag_2835 = (AS) Latios Captured
flag_0420 = (AS) Latios Defeated
L_SkyTower = *Sky Tower
flag_2834 = (OR) Latias Captured
flag_0419 = (OR) Latias Defeated
flag_2828 = (OR) Tornadus Captured
flag_2830 = (OR) Reshiram Captured
flag_0182 = (OR) Reshiram Defeated
flag_2820 = (OR) Palkia Captured
flag_2839 = (OR) Groudon Captured
flag_0648 = (OR) Groudon Defeated
flag_2815 = (OR) Ho-Oh Captured
flag_0208 = (OR) Ho-Oh Defeated
flag_2824 = Cresselia Captured
flag_0172 = Cresselia Defeated
flag_2821 = Heatran Captured
flag_0260 = Heatran Defeated
flag_2842 = Deoxys Captured
flag_0945 = Deoxys Defeated
flag_2838 = Registeel Captured
flag_0958 = Registeel Defeated
flag_2836 = Regirock Captured
flag_0956 = Regirock Defeated
flag_2837 = Regice Captured
flag_0957 = Regice Defeated
flag_2813 = Suicune Captured
flag_0175 = Suicune Defeated
flag_2811 = Raikou Captured
flag_0173 = Raikou Defeated
flag_2812 = Entei Captured
flag_0174 = Entei Defeated
flag_2832 = Landorus Captured
flag_2829 = (AS) Thundurus Captured
flag_2822 = Regigigas Captured
flag_0252 = Regigigas Defeated
flag_2827 = Virizion Captured
flag_0178 = Virizion Defeated
flag_2826 = Terrakion Captured
flag_0177 = Terrakion Defeated
flag_2823 = Giratina Captured
flag_2819 = (AS) Dialga Captured
flag_2833 = Kyurem Captured
flag_0184 = Kyurem Defeated
flag_2816 = Uxie Captured
flag_0179 = Uxie Defeated
flag_2817 = Mesprit Captured
flag_0180 = Mesprit Defeated
flag_2825 = Cobalion Captured
flag_0176 = Cobalion Defeated
flag_2814 = (AS) Lugia Captured
flag_0209 = (AS) Lugia Defeated
flag_2818 = Azelf Captured
flag_0181 = Azelf Defeated
flag_2831 = (AS) Zekrom Captured
flag_0183 = (AS) Zekrom Defeated
flag_2840 = (AS) Kyogre Captured
flag_0647 = (AS) Kyogre Defeated
GB_Researcher = FlagDiff Researcher
L_UnSet = UnSet
L_IsSet = IsSet
B_LoadNew = Load New
B_LoadOld = Load Old
GB_FlagStatus = Check Flag Status
L_Flag = Flag:
CHK_CustomFlag = Status:
B_Save = Save
B_Cancel = Cancel
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_EventFlagsXY = Event Flag Editor (XY)
- Change stuff below this line, not above.
-------------------------------------------------------
flag_2546 = Pokédex Obtained
GB_Misc = Misc
flag_0289 = Multi Statuette
flag_0288 = Rotation Statuette
flag_0287 = Triples Statuette
flag_0294 = Super Multi Unlocked
flag_0293 = Super Rotation Unlocked
flag_0292 = Super Triples Unlocked
flag_0291 = Super Doubles Unlocked
flag_0290 = Super Singles Unlocked
flag_0675 = 50: Beat Chatelaine
flag_0286 = Doubles Statuette
flag_0285 = Singles Statuette
GB_Rebattle = Rebattle
flag_0114 = Zygarde Captured
flag_0790 = Zygarde Defeated
flag_0115 = Mewtwo Captured
flag_0963 = Mewtwo Defeated
GB_Researcher = FlagDiff Researcher
L_UnSet = UnSet
L_IsSet = IsSet
B_LoadNew = Load New
B_LoadOld = Load Old
flag_2239 = 2239
flag_2238 = 2238
flag_2237 = 2237
B_Save = Save
flag_0005 = Flag5
flag_0004 = Flag4
flag_0003 = Flag3
flag_0002 = Flag2
flag_0001 = Flag1
GB_FlagStatus = Check Flag Status
L_Flag = Flag:
CHK_CustomFlag = Status:
B_Cancel = Cancel
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_PokedexORAS = Pokédex Editor (ORAS)
- Change stuff below this line, not above.
------------------------------------------------------
L_goto = goto:
GB_Owned = Owned
CHK_P1 = Obtained
CHK_P2 = Male
CHK_P3 = Female
CHK_P4 = Shiny Male
CHK_P5 = Shiny Female
GB_Encountered = Encountered
CHK_P6 = Male
CHK_P7 = Female
CHK_P8 = Shiny Male
CHK_P9 = Shiny Female
L_Battled = Battled:
GB_Language = Languages
CHK_L1 = Japanese
CHK_L2 = English
CHK_L3 = French
CHK_L4 = Italian
CHK_L5 = German
CHK_L6 = Spanish
CHK_L7 = Korean
B_FillDex = Fill Dex
B_GiveAll = Check All
L_Spinda = Spinda:
B_Save = Save
B_Cancel = Cancel
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_PokedexXY = Pokédex Editor (XY)
- Change stuff below this line, not above.
-------------------------------------------------------
L_goto = goto:
GB_Owned = Owned
CHK_F1 = Foreign (Pre)
CHK_P1 = Native (Kalos)
CHK_P2 = Male
CHK_P3 = Female
CHK_P4 = Shiny Male
CHK_P5 = Shiny Female
CHK_P10 = Via Trade
GB_Encountered = Encountered
CHK_P6 = Male
CHK_P7 = Female
CHK_P8 = Shiny Male
CHK_P9 = Shiny Female
GB_Language = Languages
CHK_L1 = Japanese
CHK_L2 = English
CHK_L3 = French
CHK_L4 = Italian
CHK_L5 = German
CHK_L6 = Spanish
CHK_L7 = Korean
B_FillDex = Fill Dex
B_GiveAll = Check All
L_Spinda = Spinda:
B_Save = Save
B_Cancel = Cancel
! End
-------------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_HallOfFame = Hall of Fame Editor
- Change stuff below this line, not above.
-------------------------------------------------------
B_CopyText = Copy txt
L_Level = Level:
L_Shiny = Shiny:
Label_Form = Form:
B_Cancel = Cancel
Label_MetDate = Date:
L_Victory = Victory Number:
GB_OT = Trainer Information
Label_OT = OT:
Label_SID = SID:
Label_TID = TID:
Label_HeldItem = Held Item:
GB_CurrentMoves = Current Moves
Label_EncryptionConstant = Encryption Constant:
CHK_Nicknamed = Nickname:
Label_Species = Species:
L_PartyNum = Party Index:
B_Close = Save
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_Inventory = Inventory Editor
- Change stuff below this line, not above.
-------------------------------------------------------
GB_Pouch = Pouches
B_DisplayBerries = Berry
B_DisplayMedicine = Medicine
B_DisplayTMHM = TM/HM
B_DisplayKeyItems = Key Items
B_DisplayItems = Items
B_Save = Save
B_Cancel = Cancel
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_OPower = O-Power Editor
- Change stuff below this line, not above.
-------------------------------------------------------
GB_Regular = Regular
B_MaxP = Give All
L_1 = Hatching:
L_2 = Bargain:
L_3 = ?Prize:
L_4 = EXP:
L_5 = Capture:
L_6 = ?Encounter
L_7 = ?Stealth:
L_8 = HP Restore:
L_9 = ?PP:
L_10 = ?Befriend:
L_11 = ?Attack:
L_12 = ?Defense:
L_13 = ?Sp. Atk:
L_14 = ?Sp. Def:
L_15 = ?Speed:
L_16 = ?Critical Hit:
L_17 = ?Accuracy:
GB_Event = Event
CHK_1 = ?Bargain MAX
CHK_2 = ?EXP MAX
CHK_3 = ?Prize MAX
CHK_4 = ?Hatch MAX
CHK_5 = ?Capture MAX
CHK_6 = ?Restore MAX
CHK_7 = ?Befriend MAX
CHK_8 = ?Unused
B_AllMax = Give All
B_Save = Save
B_Cancel = Cancel
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_Pokepuff = Poké Puffs Editor
- Change stuff below this line, not above.
-------------------------------------------------------
L_Count = CNT:
B_None = None
B_Sort = Sort
B_All = All
B_Cancel = Cancel
B_Save = Save
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_SecretBase = Secret Base Editor
- Change stuff below this line, not above.
-------------------------------------------------------
L_FlagsCaptured = Flags Captured:
B_FSave = <
B_GiveDecor = Give All Decorations
B_Cancel = Cancel
B_Save = Save
B_FDisplay = >
L_Favorite = Favorites:
--
L_TrName = Trainer Name:
L_BaseLocation = Secret Base Location:
L_Happy = Happy:
L_Encourage = Encourage:
L_Blackboard = Blackboard:
L_Confetti = Confetti:
L_TeamName = Team Name:
L_TeamSlogan = Team Slogan:
--
GB_Object = Object Layout
L_Index = Index:
L_Decoration = Decoration:
L_Rotation = Rotation Val:
L_X = X Coordinate:
L_Y = Y Coordinate:
--
GB_PKM = PKM
L_Participant = Participant:
L_EncryptionConstant = ENC:
L_IVs = IVs
L_EVs = EVs
L_HP = HP
L_ATK = ATK
L_DEF = DEF
L_SpA = SpA
L_SpD = SpD
L_SPE = SPE
L_PKFriendship = Friendship:
L_PPUps = PPUps
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_Trainer = Trainer Data Editor
- Change stuff below this line, not above.
-------------------------------------------------------
GB_Misc = Misc
L_MultiplayerSprite = Multiplayer Sprite:
L_Style = Style:
GB_Map = Map Position
L_Y = Y Coordinate:
L_CurrentMap = Current Map:
L_Z = Z Coordinate:
L_X = X Coordinate:
L_Offset = (offset)
GB_Appear = Current Appearance (X/Y)
L_Outfit = Outfit Vals
B_GiveAccessories = Give All Accessories
L_Dress = Dress:
L_Accessory = Accessory:
L_Bag = Bag:
L_Socks = Socks:
L_Pants = Pants:
L_Shirt = Shirt:
L_Hat = Hat:
L_FacialHair = Facial Hair:
L_Hairstyle = Hairstyle:
L_HairColor = Hair Color:
L_SkinColor = Skin Color:
GB_MaisonCurrent = Maison Streaks (Current)
L_SuperC = Super
L_NormalC = Normal
L_MultiC = Multi:
L_RotationC = Rotation:
L_TriplesC = Triples:
L_DoublesC = Doubles:
L_SinglesC = Singles:
GB_MaisonBest = Maison Streaks (Best)
GB_SuperB = Super
L_NormalB = Normal
L_MultiB = Multi:
L_RotationB = Rotation:
L_TriplesB = Triples:
L_DoublesB = Doubles:
L_SinglesB = Singles:
B_Save = Save
L_Stats = Stats
B_Cancel = Cancel
GB_Overview = Overview
L_Seconds = Sec:
L_Minutes = Min:
L_Hours = Hrs:
L_Language = Language:
L_PM = PokeMiles:
L_Region = Region:
L_BP = BP:
L_Country = Country:
B_MaxCash = +
L_3DSReg = 3DS Region:
L_Money = $:
L_SID = SID:
L_TID = TID:
L_TrainerName = Trainer Name:
L_Value = Value
GB_Sayings = Saved Sayings
L_Saying1 = 1:
L_Saying2 = 2:
L_Saying3 = 3:
L_Saying4 = 4:
L_Saying5 = 5:
GB_Badges = Badges
cb1 = 1 - Bug
cb2 = 2 - Cliff
cb3 = 3 - Rumble
cb4 = 4 - Plant
cb5 = 5 - Voltage
cb6 = 6 - Fairy
cb7 = 7 - Psychic
cb8 = 8 - Iceberg
! End
! -----------------------------------------------------
- DO NOT CHANGE THIS SECTION.
! SAV_Wondercard = Wondercard I/O
- Change stuff below this line, not above.
-------------------------------------------------------
B_DeleteFlag = X
B_DeleteWC = X
L_Details = Details:
B_DisplaytoWCSlot = <
B_WCSlottoDisplay = >
L_Received = Received List:
L_WCs = Wondercards:
B_Import = Import .wc6
B_Output = Output .wc6
B_Cancel = Cancel
B_Save = Save
! End

View File

@ -1,8 +1,8 @@
If you are having issues viewing gender symbols, Options -> Toggle Unicode Text.
// Main Window
Hold Control when dragging out the Tab PKM to save as ekx.
Right Click on Nickname/Nickname box to bring up the ingame-special characters.
Control + Click on...
@ -26,5 +26,5 @@ Control-Click the OpenTemp button to open the CyberGadget Cache folder.
// Inventory Editor
Alt-Click loading a pouch will give all items with quantity x995. Disabled for Key Items and TMs.
Alt-Click loading a pouch will give all items with quantity x995. *1 for TMHM/Key

View File

@ -30,8 +30,8 @@ private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SAV_BerryField));
this.listBox1 = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.L_Unfinished = new System.Windows.Forms.Label();
this.L_Field = new System.Windows.Forms.Label();
this.B_Cancel = new System.Windows.Forms.Button();
this.B_Save = new System.Windows.Forms.Button();
this.TB_Berry = new System.Windows.Forms.TextBox();
@ -54,6 +54,8 @@ private void InitializeComponent()
//
// listBox1
//
this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.listBox1.FormattingEnabled = true;
this.listBox1.Items.AddRange(new object[] {
"01",
@ -94,31 +96,33 @@ private void InitializeComponent()
"36"});
this.listBox1.Location = new System.Drawing.Point(12, 25);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(38, 472);
this.listBox1.Size = new System.Drawing.Size(38, 264);
this.listBox1.TabIndex = 0;
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.changefield);
//
// label1
// L_Unfinished
//
this.label1.AutoSize = true;
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;
this.label1.Text = "Unfinished - Needs More Research";
this.L_Unfinished.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.L_Unfinished.AutoSize = true;
this.L_Unfinished.Location = new System.Drawing.Point(67, 258);
this.L_Unfinished.Name = "L_Unfinished";
this.L_Unfinished.Size = new System.Drawing.Size(173, 13);
this.L_Unfinished.TabIndex = 1;
this.L_Unfinished.Text = "Unfinished - Needs More Research";
//
// label2
// L_Field
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 9);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(29, 13);
this.label2.TabIndex = 2;
this.label2.Text = "Field";
this.L_Field.AutoSize = true;
this.L_Field.Location = new System.Drawing.Point(12, 9);
this.L_Field.Name = "L_Field";
this.L_Field.Size = new System.Drawing.Size(29, 13);
this.L_Field.TabIndex = 2;
this.L_Field.Text = "Field";
//
// B_Cancel
//
this.B_Cancel.Location = new System.Drawing.Point(81, 474);
this.B_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.B_Cancel.Location = new System.Drawing.Point(81, 274);
this.B_Cancel.Name = "B_Cancel";
this.B_Cancel.Size = new System.Drawing.Size(75, 23);
this.B_Cancel.TabIndex = 3;
@ -128,8 +132,9 @@ private void InitializeComponent()
//
// B_Save
//
this.B_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.B_Save.Enabled = false;
this.B_Save.Location = new System.Drawing.Point(168, 474);
this.B_Save.Location = new System.Drawing.Point(168, 274);
this.B_Save.Name = "B_Save";
this.B_Save.Size = new System.Drawing.Size(75, 23);
this.B_Save.TabIndex = 4;
@ -276,7 +281,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(256, 505);
this.ClientSize = new System.Drawing.Size(256, 305);
this.Controls.Add(this.TB_u7);
this.Controls.Add(this.TB_u6);
this.Controls.Add(this.TB_u5);
@ -295,8 +300,8 @@ private void InitializeComponent()
this.Controls.Add(this.TB_Berry);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.B_Cancel);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_Field);
this.Controls.Add(this.L_Unfinished);
this.Controls.Add(this.listBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@ -313,8 +318,8 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label L_Unfinished;
private System.Windows.Forms.Label L_Field;
private System.Windows.Forms.Button B_Cancel;
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.TextBox TB_Berry;

View File

@ -15,6 +15,7 @@ public SAV_BerryField(Form1 frm1, int bfo)
{
berryfoffset = bfo;
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;

View File

@ -1,136 +0,0 @@
namespace PKHeX
{
partial class SAV_BoxIO
{
/// <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(SAV_BoxIO));
this.B_ImportBox = new System.Windows.Forms.Button();
this.CB_Box = new System.Windows.Forms.ComboBox();
this.B_ExportBox = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// B_ImportBox
//
this.B_ImportBox.Location = new System.Drawing.Point(109, 17);
this.B_ImportBox.Name = "B_ImportBox";
this.B_ImportBox.Size = new System.Drawing.Size(73, 23);
this.B_ImportBox.TabIndex = 1;
this.B_ImportBox.Text = "Import Box";
this.B_ImportBox.UseVisualStyleBackColor = true;
this.B_ImportBox.Click += new System.EventHandler(this.B_ImportBox_Click);
//
// CB_Box
//
this.CB_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CB_Box.FormattingEnabled = true;
this.CB_Box.Items.AddRange(new object[] {
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29",
"30",
"31"});
this.CB_Box.Location = new System.Drawing.Point(6, 33);
this.CB_Box.Name = "CB_Box";
this.CB_Box.Size = new System.Drawing.Size(97, 21);
this.CB_Box.TabIndex = 4;
//
// B_ExportBox
//
this.B_ExportBox.Location = new System.Drawing.Point(109, 46);
this.B_ExportBox.Name = "B_ExportBox";
this.B_ExportBox.Size = new System.Drawing.Size(73, 23);
this.B_ExportBox.TabIndex = 7;
this.B_ExportBox.Text = "Export Box";
this.B_ExportBox.UseVisualStyleBackColor = true;
this.B_ExportBox.Click += new System.EventHandler(this.B_ExportBox_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.CB_Box);
this.groupBox1.Controls.Add(this.B_ExportBox);
this.groupBox1.Controls.Add(this.B_ImportBox);
this.groupBox1.Location = new System.Drawing.Point(12, 4);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(190, 80);
this.groupBox1.TabIndex = 8;
this.groupBox1.TabStop = false;
//
// SAV_BoxIO
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(214, 92);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SAV_BoxIO";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Box Import/Export";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button B_ImportBox;
private System.Windows.Forms.ComboBox CB_Box;
private System.Windows.Forms.Button B_ExportBox;
private System.Windows.Forms.GroupBox groupBox1;
}
}

View File

@ -1,95 +0,0 @@
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;
using System.IO;
namespace PKHeX
{
public partial class SAV_BoxIO : Form
{
public SAV_BoxIO(Form1 frm1, int bo, int bno)
{
boxnameoffset = bno;
boxoffset = bo;
InitializeComponent();
m_parent = frm1;
savindex = m_parent.savindex;
shiftval = savindex * 0x7F000;
CB_Box.SelectedIndex = 0;
getBoxNames();
}
int boxoffset; int boxnameoffset;
Form1 m_parent;
public int savindex; int shiftval;
private void B_ImportBox_Click(object sender, EventArgs e)
{
int index = CB_Box.SelectedIndex;
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "Box File|*.bk6|All Files|*.*";
if (ofd.ShowDialog() == DialogResult.OK)
{
string path = ofd.FileName;
byte[] data = File.ReadAllBytes(path);
int offset = shiftval + boxoffset + (CB_Box.SelectedIndex) * (0xE8 * 30);
if (data.Length <= (31 - index) * (0xE8 * 30))
{
Array.Copy(data, 0, m_parent.savefile, offset, data.Length);
m_parent.setPKXBoxes();
}
else
Util.Error("Box data loaded is too big!");
}
}
private void B_ExportBox_Click(object sender, EventArgs e)
{
int index = CB_Box.SelectedIndex;
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "Box File|*.bk6|All Files|*.*";
sfd.FileName = CB_Box.Text + ".bk6";
if (sfd.ShowDialog() == DialogResult.OK)
{
string path = sfd.FileName;
if (File.Exists(path))
{
// File already exists, save a .bak
byte[] backupfile = File.ReadAllBytes(path);
File.WriteAllBytes(path + ".bak", backupfile);
}
int offset = shiftval + boxoffset + (CB_Box.SelectedIndex) * (0xE8 * 30);
byte[] newbox = new byte[0xE8 * 30];
Array.Copy(m_parent.savefile, offset, newbox, 0, 0xE8 * 30);
File.WriteAllBytes(path, newbox);
}
}
public void getBoxNames()
{
int selectedbox = CB_Box.SelectedIndex; // precache selected box
// Build ComboBox Dropdown Items
try
{
CB_Box.Items.Clear();
for (int i = 0; i < 31; i++)
{
string boxname = Encoding.Unicode.GetString(m_parent.savefile, boxnameoffset + (0x7F000 * savindex) + 0x22 * i, 0x22);
boxname = Util.TrimFromZero(boxname);
if (boxname.Length == 0)
CB_Box.Items.Add("Box " + (i+1));
else CB_Box.Items.Add(boxname);
}
}
catch
{
for (int i = 1; i < 32; i++)
CB_Box.Items.Add("Box " + (i+1));
}
CB_Box.SelectedIndex = selectedbox; // restore selected box
}
}
}

View File

@ -1,225 +0,0 @@
<?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="B_ImportBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="B_ExportBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="groupBox1.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/+Pj4/7j4+P/19jX+4qLikCDhIM+2tra++Xl5f/k5eT+5OTk//Lz
8v+urq7/RUVF/z4+Pv+Zmpn/8fHx/+Xm5f/k5eT+5eXl/9ra2vyLi4tAhYWFPuXm5vvx8vP/7+/w/v//
//+sra3/AgIC/15eXv9tbG3/BQUF/4yMjP//////7+/w/vHy8//l5ub8jY2NQC4uLD5LS0f7UFBL/09P
Sv5YWVP/FBUS/29wcP///////////5SUlP8PDw//U1NO/1BQS/5PT0r/S0tH/DIyMEAAAAs+AAAM+wAA
Dv8AAA/+AwMS/wAAAP+UlJX///////////+3t7n/AAAA/wAAD/8BAQ/+AAAO/wAADPwCAg5ABARSPgoK
k/sNDab/DQ2o/hAQvP8CAmj/IiIW/7Kzrv/Cw8D/NDQm/wAATf8QELz/DQ2q/gwMp/8LC5T8Dg5bQAUF
Xj4KCpz7DQ2u/w0NsP4NDbX/Dw+//wUFYf8CAhL/AwMP/wMDTf8ODrj/Dg64/w0NsP4MDK7/Cwud/A8P
aEEGBmU9DAyl+w4Otf8ODrf+Dw+6/xAQvv8TE8v/EhK+/xAQvP8TE8v/EBDA/w8Puf8PD7f+Dg61/w0N
pvsREW9ACAhtQA8PsfsTE77/ExO//xQUwP8UFML/FBTD/xUVyP8WFsn/FRXE/xQUw/8UFMH/ExO//xMT
vv8QELL7ERF3QxkZdCgXF771ExPH/xUVyPwVFcn9FhbL/RcXzP0XF8z9FxfM/RcXy/0XF8v9FhbJ/RUV
yPwTE8f/Fxe+9RkZdykAAAAAIyOtghsbx/8ZGcj+GRnJ/xoayf8aGsn/GhrK/xoayv8aGsn/GhrJ/xkZ
yf8ZGcj+GxvH/yMjrYQAAAAAAADHAQAAAAAzM51FLCyscCoqrGwqKqxtKSmsbSoqrG0qKqxtKSmsbSoq
rG0qKqxsLCyscDMznUUAAAAAAAAAAP//AADAAwAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIAB
AACAAQAAgAEAAIABAACAAQAAgAEAAP//AAAoAAAAIAAAAEAAAAABACAAAAAAAAAQAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKysrCR0dHSMWFhY3GBgYORgYGDkYGBg5GBgYORgY
GDkYGBg5GBgYORgYGDkYGBg5GBgYORgYGDkYGBg5GBgYORgYGDkYGBg5GBgYORgYGDkYGBg5FxcXNx4e
HiQuLi4JAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASEhIARYWFis7OzuVkJCQ2ampqeqqqqrsqqqq7Kqq
quyqqqrsqqqq7Kqqquyqqqrsqqqq7Kqqquyqqqrsqqqq7Kqqquyqqqrsqqqq7Kqqquyqqqrsqqqq7Kqq
quypqanqkZGR2j09PZcXFxcsUFBQAQAAAAAAAAAAAAAAAAAAAAASEhIuhISEytvb2/7W1tb/19fX/9jY
2P/Y2Nj/2NjY/9jY2P/Y2Nj/2NjY/9nZ2f/Z2dn/2dnZ/9nZ2f/Z2dn/2dnZ/9nZ2f/Y2Nj/2NjY/9jY
2P/Y2Nj/2NjY/9fX1//W1tb/29vb/oeHh8sTExMvAAAAAAAAAAAAAAAAPDw8DGtra6zZ2dn/2dnZ/9ra
2v/b29v/29vb/9vb2//c3Nz/3Nzc/9zc3P/c3Nz/3d3d/93d3f/d3d3/3d3d/93d3f/d3d3/3Nzc/9zc
3P/c3Nz/3Nzc/9vb2//b29v/29vb/9ra2v/Z2dn/2dnZ/21tba5DQ0MNAAAAAAAAAAAiIiIx1NXU9tna
2f/c3Nz/3d3d/93e3f/e3t7/3t7e/9/f3//f39//39/f/9/g3//g4OD/4ODg/+Dg4P/g4OD/4ODg/+Dg
4P/g4OD/39/f/9/f3//f39//3t/e/97e3v/d3t3/3d3d/9zc3P/Z2tn/1dXV9icnJzMAAAAAAAAAAFhZ
WFzf4N//3Nzc/97e3v/f39//39/f/9/g3//g4OD/4ODg/+Hh4f/h4eH/4eHh/+Li4v/i4uL/4uLi/+Li
4v/i4uL/4uLi/+Hi4f/h4eH/4eHh/+Dg4P/g4OD/3+Df/9/f3//f39//3t7e/9zc3P/f39//XV1dXQAA
AAAAAAAAZmZmZdvc2//e3t7/3+Df/+Dg4P/g4eD/4eHh/+Hi4f/i4uL/4uPi/+Pj4//j4+P/5OTk/+Tk
5P/k5OT/5OTk/+Tk5P/k5OT/4+Pj/+Pj4//j4+P/4uLi/+Li4v/h4eH/4eHh/+Dg4P/f4N//3t7e/9vb
2/9wcHBoAAAAAAAAAABoaGhl3d3d/9/f3//h4eH/4eLh/+Li4v/j4+P/4+Pj/+Tk5P/k5OT/5eXl/+Xl
5f/l5uX/5ubm/+bm5v/m5ub/5ubm/+bm5v/l5eX/5eXl/+Tk5P/k5OT/4+Pj/+Pj4//i4uL/4uLi/+Hh
4f/f39//3N3c/3Nzc2kAAAAAAAAAAGhoaGXe3t7/4ODg/+Li4v/j4+P/4+Pj/+Tk5P/l5eX/5eXl/+bm
5v/m5+b/5+fn/+fn5//n6Of/6Ojo/+jo6P/o6Oj/5+fn/+fn5//n5+f/5ubm/+Xl5f/l5eX/5OTk/+Pk
4//j4+P/4uLi/+Dg4P/e3t7/c3NzaQAAAAAAAAAAaGhoZd/g3//i4uL/5OTk/+Tl5P/l5eX/5ebl/+bn
5v/n5+f/5+jn/+jp6P/p6en/7Ozs/8LCwv+Tk5P/ioqK/66urv/o6ej/6enp/+jp6P/o6Oj/5+jn/+bn
5v/m5ub/5ebl/+Tl5P/k5OT/4uLi/9/g3/9zdHNpAAAAAAAAAABoaWhl4eLh/+Pk4//m5ub/5ubm/+fn
5//n6Of/6Ojo/+np6f/p6un/6urq/8bGxv8yMjL/AAAA/wAAAP8AAAD/AAAA/xMTE/+ZmZn/7Ozs/+rq
6v/p6en/6Ojo/+jo6P/n5+f/5ubm/+bm5v/k5OT/4eHh/3R0dGkAAAAAAAAAAGhpaGXj4+P/5eXl/+fn
5//n6Of/6Ojo/+np6f/q6ur/6urq/+vr6//Dw8P/DAwM/wAAAP8AAAD/Gxsb/ygoKP8BAQH/AAAA/wAA
AP+FhYX/7O3s/+rr6v/q6ur/6enp/+jo6P/o6Oj/5+fn/+Xl5f/i4+L/dHR0aQAAAAAAAAAAYWFhZeTl
5P/m5+b/6Ono/+np6f/p6un/6uvq/+vr6//s7Oz/7e7t/ycnJ/8AAAD/Ghoa/7S0tP/m5ub/5OTk/9HR
0f9GRkb/AAAA/wICAv/IyMj/7Ozs/+vs6//q6+r/6urq/+nq6f/o6ej/5+fn/+Tk5P9sbGxpAAAAAAAA
AAA9Pj1lj4+P/5OTk/+VlZX/lpaW/5eXl/+YmJj/mZmZ/5qamv92dnb/AAAA/wEBAf+/wL//3Nzc/+Tk
5P/l5eX/3d3d/+Li4v8mJib/AAAA/0ZGRv+ampr/mZmZ/5iYmP+Xl5f/lpaW/5WVlf+Tk5P/j4+P/0ZG
RmoAAAAAAAAAAAwMDGUAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/Nzc3/+fn
5//q6ur/7O3s/+zt7P/v7+//39/f/4WFhf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA
AP8AAAD/EBAQagAAAAAAAAAAAwMHZQAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA
AP9NTU3/5ufm//Lz8v/z9PP/8/Tz//X19f/l5eX/nZ2d/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8GBgpqAAAAAAAAAAAAABZlAQEk/wEBJ/8CAin/AgIq/wICKv8CAiv/AgIs/wIC
LP8BAR3/AAAA/xwcHP/w8PD/6+zr//r6+v/6+vr/9PT0/+vr6/9lZWX/AAAA/wAAD/8CAi3/AgIs/wIC
K/8CAir/AgIq/wICKf8BASf/AQEl/wUFG2oAAAAAAAAAAAICQGUGBpL/Bwec/wgIo/8JCaf/CQmq/wkJ
rf8JCa//Cgqz/wkJqP8AAAL/AAAA/4CAgP/y8/L/6+zr/+3t7f/u7u7/xMTE/wcHB/8AAAD/BgZz/woK
s/8JCbD/CQmt/wkJqv8JCaj/CAik/wcHnf8HB5P/Dg5MagAAAAAAAAAAAwNHZQgIk/8JCZ3/Cgqj/wsL
p/8LC6n/Cwus/wsLr/8MDLL/DAy2/wYGW/8AAAD/AAAA/1JSUv+sraz/tra2/3h4eP8KCgr/AAAA/wIC
Iv8MDLb/DAyy/wsLsP8LC63/Cwuq/wsLp/8KCqT/CQmd/wgIk/8PD1VrAAAAAAAAAAAEBE1lCQmY/woK
ov8LC6j/DAyr/wwMrf8MDLD/DAyy/w0Ntf8NDbf/Dg67/wUFSv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA
AP8CAiH/DQ2q/w0NuP8NDbX/DQ2z/wwMsP8MDK7/DAyr/wsLqP8KCqL/CQmZ/xAQWmsAAAAAAAAAAAQE
UGUKCp7/Cwum/wwMrP8NDa//DQ2w/w0Ns/8ODrX/Dg63/w4Ouf8ODrv/Dw/A/wwMiv8FBTj/AAAG/wAA
AP8DAyb/CQls/w8Pu/8PD7z/Dg66/w4OuP8ODrX/DQ2z/w0Nsf8NDa//DAys/wsLp/8KCp7/ERFeawAA
AAAAAAAABQVTZQsLpP8MDKv/DQ2w/w4Os/8ODrT/Dg62/w8PuP8PD7r/Dw+8/w8Pvf8QEL//EBDA/xER
w/8SEsn/ERHJ/xERxf8QEMD/EBC//w8Pvv8PD7z/Dw+6/w8PuP8ODrf/Dg61/w4Os/8NDbH/DAyr/wsL
pP8SEmFrAAAAAAAAAAAGBlZlDAyq/w4OsP8PD7X/Dw+3/w8PuP8QELr/EBC7/xAQvf8REb7/ERHA/xER
wf8REcL/EhLC/xISw/8SEsP/EhLC/xERwv8REcH/ERHA/xERvv8QEL3/EBC7/xAQuv8QELj/Dw+3/w8P
tf8ODrD/DAyq/xMTZWsAAAAAAAAAAAcHWmUODrD/EBC2/xERuv8REbz/ERG9/xISvv8SEr//EhLA/xMT
wf8TE8P/ExPD/xMTxP8TE8X/FBTF/xQUxf8UFMX/ExPE/xMTxP8TE8P/ExPC/xISwf8SEr//EhK+/xER
vf8REbz/ERG6/xAQtv8ODrD/FBRpawAAAAAAAAAACAhcYxAQtf8SErv/ExO+/xQUwP8UFMD/FBTB/xUV
wv8VFcP/FRXE/xUVxf8WFsb/FhbG/xYWx/8WFsf/FhbH/xYWx/8WFsf/FhbG/xYWxf8VFcT/FRXD/xUV
wv8UFMH/FBTB/xQUwP8TE77/EhK7/xAQtf8TE2hoAAAAAAAAAAAQEFNUFRXC/xMTv/8UFMP/FRXE/xUV
xP8VFcX/FRXG/xYWx/8WFsf/FhbI/xYWyf8XF8n/FxfK/xcXyv8XF8r/FxfK/xcXyf8XF8n/FhbI/xYW
yP8WFsf/FhbG/xUVxf8VFcT/FRXE/xQUw/8TE7//FRXB/xAQV1UAAAAAAAAAAA0NPxkjI8byFBTD/xUV
x/8WFsj/FxfJ/xcXyf8XF8r/FxfK/xcXy/8YGMz/GBjM/xgYzP8YGM3/GBjN/xgYzf8YGM3/GBjM/xgY
zP8YGMz/GBjL/xcXy/8XF8r/FxfJ/xcXyf8WFsj/FRXH/xQUw/8jI8f0Dg5GGwAAAAAAAAAAFhZxAiUl
eIUZGcr/FBTI/xUVyv8WFsv/FhbM/xYWzP8WFsz/FhbN/xcXzf8XF83/FxfN/xcXzv8XF87/FxfO/xcX
zv8XF87/FxfN/xcXzf8WFs3/FhbM/xYWzP8WFsz/FhbL/xUVyv8UFMj/GBjJ/yYmeogWFnYCAAAAAAAA
AAAAAAAAGBh1BzMzk50kJNP+FxfK/xgYzP8YGMz/GBjN/xgYzf8YGM3/GBjN/xgYzf8ZGc7/GRnO/xkZ
zv8ZGc7/GRnO/xkZzv8YGM3/GBjN/xgYzf8YGM3/GBjN/xgYzP8YGMz/FxfK/yMj0v4zM5WfFBRkBwAA
AAAAAAAAAAAAAAAAAAAAAAAAHBx7Ay0tdkg3N5emMTGpxSwsp8gsLKfILCynyCwsp8gsLKfILCynyCws
p8gsLKfILCynyCwsp8gsLKfILCynyCwsp8gsLKfILCynyCwsp8gsLKfILCynyDExqcU2NpenLi54Shsb
ewMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//////////8AAAD+AAAAfAAAADwAAAA8AAAAPAAAADwAAAA8AA
AAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
AAPAAAADwAAAA8AAAAPAAAAD4AAAB/gAAB//////
</value>
</data>
</root>

View File

@ -38,7 +38,7 @@ private void InitializeComponent()
this.MT_BG2 = new System.Windows.Forms.MaskedTextBox();
this.B_Save = new System.Windows.Forms.Button();
this.B_Cancel = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.L_Unlocked = new System.Windows.Forms.Label();
this.CB_Unlocked = new System.Windows.Forms.ComboBox();
this.CB_BG = new System.Windows.Forms.ComboBox();
this.PAN_BG = new System.Windows.Forms.Panel();
@ -169,15 +169,15 @@ private void InitializeComponent()
this.B_Cancel.UseVisualStyleBackColor = true;
this.B_Cancel.Click += new System.EventHandler(this.B_Cancel_Click);
//
// label1
// L_Unlocked
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(103, 231);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 13);
this.label1.TabIndex = 11;
this.label1.Text = "Unlocked:";
this.L_Unlocked.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.L_Unlocked.AutoSize = true;
this.L_Unlocked.Location = new System.Drawing.Point(103, 231);
this.L_Unlocked.Name = "L_Unlocked";
this.L_Unlocked.Size = new System.Drawing.Size(56, 13);
this.L_Unlocked.TabIndex = 11;
this.L_Unlocked.Text = "Unlocked:";
//
// CB_Unlocked
//
@ -249,7 +249,7 @@ private void InitializeComponent()
this.Controls.Add(this.PAN_BG);
this.Controls.Add(this.CB_BG);
this.Controls.Add(this.CB_Unlocked);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_Unlocked);
this.Controls.Add(this.B_Cancel);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.MT_BG2);
@ -282,7 +282,7 @@ private void InitializeComponent()
private System.Windows.Forms.MaskedTextBox MT_BG2;
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.Button B_Cancel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label L_Unlocked;
private System.Windows.Forms.ComboBox CB_Unlocked;
private System.Windows.Forms.ComboBox CB_BG;
private System.Windows.Forms.Panel PAN_BG;

View File

@ -15,6 +15,7 @@ public SAV_BoxLayout(Form1 frm1)
{
m_parent = frm1;
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
editing = true;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;

View File

@ -126,7 +126,7 @@
<metadata name="L_BG.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="L_Unlocked.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="CB_Unlocked.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@ -31,11 +31,11 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SAV_EventFlagsORAS));
this.CHK_CustomFlag = new System.Windows.Forms.CheckBox();
this.B_Cancel = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.GB_FlagStatus = new System.Windows.Forms.GroupBox();
this.nud = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.L_Flag = new System.Windows.Forms.Label();
this.B_Save = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.GB_Researcher = new System.Windows.Forms.GroupBox();
this.L_UnSet = new System.Windows.Forms.Label();
this.L_IsSet = new System.Windows.Forms.Label();
this.TB_NewSAV = new System.Windows.Forms.TextBox();
@ -47,6 +47,9 @@ private void InitializeComponent()
this.flag_0647 = new System.Windows.Forms.CheckBox();
this.flag_2840 = new System.Windows.Forms.CheckBox();
this.GB_Rebattle = new System.Windows.Forms.GroupBox();
this.flag_2835 = new System.Windows.Forms.CheckBox();
this.flag_0420 = new System.Windows.Forms.CheckBox();
this.L_SkyTower = new System.Windows.Forms.Label();
this.flag_2834 = new System.Windows.Forms.CheckBox();
this.flag_0419 = new System.Windows.Forms.CheckBox();
this.flag_2828 = new System.Windows.Forms.CheckBox();
@ -111,13 +114,10 @@ private void InitializeComponent()
this.flag_0285 = new System.Windows.Forms.CheckBox();
this.flag_0284 = new System.Windows.Forms.CheckBox();
this.MT_Ash = new System.Windows.Forms.MaskedTextBox();
this.label2 = new System.Windows.Forms.Label();
this.L_SkyTower = new System.Windows.Forms.Label();
this.flag_2835 = new System.Windows.Forms.CheckBox();
this.flag_0420 = new System.Windows.Forms.CheckBox();
this.groupBox1.SuspendLayout();
this.L_Ash = new System.Windows.Forms.Label();
this.GB_FlagStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nud)).BeginInit();
this.groupBox2.SuspendLayout();
this.GB_Researcher.SuspendLayout();
this.GB_Rebattle.SuspendLayout();
this.GB_Misc.SuspendLayout();
this.SuspendLayout();
@ -146,18 +146,18 @@ private void InitializeComponent()
this.B_Cancel.UseVisualStyleBackColor = true;
this.B_Cancel.Click += new System.EventHandler(this.B_Cancel_Click);
//
// groupBox1
// GB_FlagStatus
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.groupBox1.Controls.Add(this.nud);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.CHK_CustomFlag);
this.groupBox1.Location = new System.Drawing.Point(314, 436);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(108, 68);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Check Flag Status";
this.GB_FlagStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.GB_FlagStatus.Controls.Add(this.nud);
this.GB_FlagStatus.Controls.Add(this.L_Flag);
this.GB_FlagStatus.Controls.Add(this.CHK_CustomFlag);
this.GB_FlagStatus.Location = new System.Drawing.Point(314, 436);
this.GB_FlagStatus.Name = "GB_FlagStatus";
this.GB_FlagStatus.Size = new System.Drawing.Size(108, 68);
this.GB_FlagStatus.TabIndex = 3;
this.GB_FlagStatus.TabStop = false;
this.GB_FlagStatus.Text = "Check Flag Status";
//
// nud
//
@ -178,14 +178,14 @@ private void InitializeComponent()
this.nud.ValueChanged += new System.EventHandler(this.changeCustomFlag);
this.nud.KeyUp += new System.Windows.Forms.KeyEventHandler(this.changeCustomFlag);
//
// label1
// L_Flag
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 21);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(30, 13);
this.label1.TabIndex = 2;
this.label1.Text = "Flag:";
this.L_Flag.AutoSize = true;
this.L_Flag.Location = new System.Drawing.Point(13, 21);
this.L_Flag.Name = "L_Flag";
this.L_Flag.Size = new System.Drawing.Size(30, 13);
this.L_Flag.TabIndex = 2;
this.L_Flag.Text = "Flag:";
//
// B_Save
//
@ -198,23 +198,23 @@ private void InitializeComponent()
this.B_Save.UseVisualStyleBackColor = true;
this.B_Save.Click += new System.EventHandler(this.B_Save_Click);
//
// groupBox2
// GB_Researcher
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.groupBox2.Controls.Add(this.L_UnSet);
this.groupBox2.Controls.Add(this.L_IsSet);
this.groupBox2.Controls.Add(this.TB_NewSAV);
this.groupBox2.Controls.Add(this.TB_OldSAV);
this.groupBox2.Controls.Add(this.TB_UnSet);
this.groupBox2.Controls.Add(this.TB_IsSet);
this.groupBox2.Controls.Add(this.B_LoadNew);
this.groupBox2.Controls.Add(this.B_LoadOld);
this.groupBox2.Location = new System.Drawing.Point(314, 309);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(268, 120);
this.groupBox2.TabIndex = 13;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "FlagDiff Researcher";
this.GB_Researcher.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.GB_Researcher.Controls.Add(this.L_UnSet);
this.GB_Researcher.Controls.Add(this.L_IsSet);
this.GB_Researcher.Controls.Add(this.TB_NewSAV);
this.GB_Researcher.Controls.Add(this.TB_OldSAV);
this.GB_Researcher.Controls.Add(this.TB_UnSet);
this.GB_Researcher.Controls.Add(this.TB_IsSet);
this.GB_Researcher.Controls.Add(this.B_LoadNew);
this.GB_Researcher.Controls.Add(this.B_LoadOld);
this.GB_Researcher.Location = new System.Drawing.Point(314, 309);
this.GB_Researcher.Name = "GB_Researcher";
this.GB_Researcher.Size = new System.Drawing.Size(268, 120);
this.GB_Researcher.TabIndex = 13;
this.GB_Researcher.TabStop = false;
this.GB_Researcher.Text = "FlagDiff Researcher";
//
// L_UnSet
//
@ -381,6 +381,39 @@ private void InitializeComponent()
this.GB_Rebattle.TabStop = false;
this.GB_Rebattle.Text = "Rebattle";
//
// flag_2835
//
this.flag_2835.AutoSize = true;
this.flag_2835.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
this.flag_2835.Location = new System.Drawing.Point(172, 108);
this.flag_2835.Name = "flag_2835";
this.flag_2835.Size = new System.Drawing.Size(123, 17);
this.flag_2835.TabIndex = 75;
this.flag_2835.Text = "(AS) Latios Captured";
this.flag_2835.UseVisualStyleBackColor = true;
this.flag_2835.Click += new System.EventHandler(this.toggleFlag);
//
// flag_0420
//
this.flag_0420.AutoSize = true;
this.flag_0420.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
this.flag_0420.Location = new System.Drawing.Point(172, 93);
this.flag_0420.Name = "flag_0420";
this.flag_0420.Size = new System.Drawing.Size(124, 17);
this.flag_0420.TabIndex = 74;
this.flag_0420.Text = "(AS) Latios Defeated";
this.flag_0420.UseVisualStyleBackColor = true;
this.flag_0420.Click += new System.EventHandler(this.toggleFlag);
//
// L_SkyTower
//
this.L_SkyTower.AutoSize = true;
this.L_SkyTower.Location = new System.Drawing.Point(215, 12);
this.L_SkyTower.Name = "L_SkyTower";
this.L_SkyTower.Size = new System.Drawing.Size(62, 13);
this.L_SkyTower.TabIndex = 20;
this.L_SkyTower.Text = "*Sky Tower";
//
// flag_2834
//
this.flag_2834.AutoSize = true;
@ -1153,59 +1186,26 @@ private void InitializeComponent()
this.MT_Ash.TabIndex = 18;
this.MT_Ash.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label2
// L_Ash
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(429, 438);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 13);
this.label2.TabIndex = 19;
this.label2.Text = "Volcanic Ash:";
//
// L_SkyTower
//
this.L_SkyTower.AutoSize = true;
this.L_SkyTower.Location = new System.Drawing.Point(215, 12);
this.L_SkyTower.Name = "L_SkyTower";
this.L_SkyTower.Size = new System.Drawing.Size(62, 13);
this.L_SkyTower.TabIndex = 20;
this.L_SkyTower.Text = "*Sky Tower";
//
// flag_2835
//
this.flag_2835.AutoSize = true;
this.flag_2835.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
this.flag_2835.Location = new System.Drawing.Point(172, 108);
this.flag_2835.Name = "flag_2835";
this.flag_2835.Size = new System.Drawing.Size(123, 17);
this.flag_2835.TabIndex = 75;
this.flag_2835.Text = "(AS) Latios Captured";
this.flag_2835.UseVisualStyleBackColor = true;
this.flag_2835.Click += new System.EventHandler(this.toggleFlag);
//
// flag_0420
//
this.flag_0420.AutoSize = true;
this.flag_0420.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
this.flag_0420.Location = new System.Drawing.Point(172, 93);
this.flag_0420.Name = "flag_0420";
this.flag_0420.Size = new System.Drawing.Size(124, 17);
this.flag_0420.TabIndex = 74;
this.flag_0420.Text = "(AS) Latios Defeated";
this.flag_0420.UseVisualStyleBackColor = true;
this.flag_0420.Click += new System.EventHandler(this.toggleFlag);
this.L_Ash.AutoSize = true;
this.L_Ash.Location = new System.Drawing.Point(429, 438);
this.L_Ash.Name = "L_Ash";
this.L_Ash.Size = new System.Drawing.Size(72, 13);
this.L_Ash.TabIndex = 19;
this.L_Ash.Text = "Volcanic Ash:";
//
// SAV_EventFlagsORAS
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(594, 512);
this.Controls.Add(this.label2);
this.Controls.Add(this.L_Ash);
this.Controls.Add(this.MT_Ash);
this.Controls.Add(this.GB_Misc);
this.Controls.Add(this.GB_Rebattle);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GB_Researcher);
this.Controls.Add(this.GB_FlagStatus);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.B_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
@ -1215,11 +1215,11 @@ private void InitializeComponent()
this.Name = "SAV_EventFlagsORAS";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Event Flag Editor";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.GB_FlagStatus.ResumeLayout(false);
this.GB_FlagStatus.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nud)).EndInit();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.GB_Researcher.ResumeLayout(false);
this.GB_Researcher.PerformLayout();
this.GB_Rebattle.ResumeLayout(false);
this.GB_Rebattle.PerformLayout();
this.GB_Misc.ResumeLayout(false);
@ -1233,11 +1233,11 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox CHK_CustomFlag;
private System.Windows.Forms.Button B_Cancel;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox GB_FlagStatus;
private System.Windows.Forms.Label L_Flag;
private System.Windows.Forms.NumericUpDown nud;
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox GB_Researcher;
private System.Windows.Forms.Label L_UnSet;
private System.Windows.Forms.Label L_IsSet;
private System.Windows.Forms.TextBox TB_NewSAV;
@ -1313,7 +1313,7 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox flag_2834;
private System.Windows.Forms.CheckBox flag_0419;
private System.Windows.Forms.MaskedTextBox MT_Ash;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label L_Ash;
private System.Windows.Forms.Label L_SkyTower;
private System.Windows.Forms.CheckBox flag_2835;
private System.Windows.Forms.CheckBox flag_0420;

View File

@ -16,6 +16,7 @@ public partial class SAV_EventFlagsORAS : Form
public SAV_EventFlagsORAS(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
savshift = 0x7F000 * m_parent.savindex;

View File

@ -31,9 +31,9 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SAV_EventFlagsXY));
this.CHK_CustomFlag = new System.Windows.Forms.CheckBox();
this.B_Cancel = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.GB_FlagStatus = new System.Windows.Forms.GroupBox();
this.nud = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.L_Flag = new System.Windows.Forms.Label();
this.flag_0001 = new System.Windows.Forms.CheckBox();
this.flag_0002 = new System.Windows.Forms.CheckBox();
this.flag_0003 = new System.Windows.Forms.CheckBox();
@ -43,7 +43,7 @@ private void InitializeComponent()
this.flag_2237 = new System.Windows.Forms.CheckBox();
this.flag_2238 = new System.Windows.Forms.CheckBox();
this.flag_2239 = new System.Windows.Forms.CheckBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.GB_Researcher = new System.Windows.Forms.GroupBox();
this.L_UnSet = new System.Windows.Forms.Label();
this.L_IsSet = new System.Windows.Forms.Label();
this.TB_NewSAV = new System.Windows.Forms.TextBox();
@ -57,7 +57,7 @@ private void InitializeComponent()
this.GB_Rebattle = new System.Windows.Forms.GroupBox();
this.flag_0114 = new System.Windows.Forms.CheckBox();
this.flag_0790 = new System.Windows.Forms.CheckBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.GB_Misc = new System.Windows.Forms.GroupBox();
this.flag_0289 = new System.Windows.Forms.CheckBox();
this.flag_0288 = new System.Windows.Forms.CheckBox();
this.flag_0287 = new System.Windows.Forms.CheckBox();
@ -70,11 +70,11 @@ private void InitializeComponent()
this.flag_0286 = new System.Windows.Forms.CheckBox();
this.flag_0285 = new System.Windows.Forms.CheckBox();
this.flag_2546 = new System.Windows.Forms.CheckBox();
this.groupBox1.SuspendLayout();
this.GB_FlagStatus.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nud)).BeginInit();
this.groupBox2.SuspendLayout();
this.GB_Researcher.SuspendLayout();
this.GB_Rebattle.SuspendLayout();
this.groupBox3.SuspendLayout();
this.GB_Misc.SuspendLayout();
this.SuspendLayout();
//
// CHK_CustomFlag
@ -100,17 +100,17 @@ private void InitializeComponent()
this.B_Cancel.UseVisualStyleBackColor = true;
this.B_Cancel.Click += new System.EventHandler(this.B_Cancel_Click);
//
// groupBox1
// GB_FlagStatus
//
this.groupBox1.Controls.Add(this.nud);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.CHK_CustomFlag);
this.groupBox1.Location = new System.Drawing.Point(14, 135);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(108, 68);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Check Flag Status";
this.GB_FlagStatus.Controls.Add(this.nud);
this.GB_FlagStatus.Controls.Add(this.L_Flag);
this.GB_FlagStatus.Controls.Add(this.CHK_CustomFlag);
this.GB_FlagStatus.Location = new System.Drawing.Point(14, 135);
this.GB_FlagStatus.Name = "GB_FlagStatus";
this.GB_FlagStatus.Size = new System.Drawing.Size(108, 68);
this.GB_FlagStatus.TabIndex = 3;
this.GB_FlagStatus.TabStop = false;
this.GB_FlagStatus.Text = "Check Flag Status";
//
// nud
//
@ -131,14 +131,14 @@ private void InitializeComponent()
this.nud.ValueChanged += new System.EventHandler(this.changeCustomFlag);
this.nud.KeyUp += new System.Windows.Forms.KeyEventHandler(this.changeCustomFlag);
//
// label1
// L_Flag
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 21);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(30, 13);
this.label1.TabIndex = 2;
this.label1.Text = "Flag:";
this.L_Flag.AutoSize = true;
this.L_Flag.Location = new System.Drawing.Point(13, 21);
this.L_Flag.Name = "L_Flag";
this.L_Flag.Size = new System.Drawing.Size(30, 13);
this.L_Flag.TabIndex = 2;
this.L_Flag.Text = "Flag:";
//
// flag_0001
//
@ -243,22 +243,22 @@ private void InitializeComponent()
this.flag_2239.UseVisualStyleBackColor = true;
this.flag_2239.Click += new System.EventHandler(this.toggleFlag);
//
// groupBox2
// GB_Researcher
//
this.groupBox2.Controls.Add(this.L_UnSet);
this.groupBox2.Controls.Add(this.L_IsSet);
this.groupBox2.Controls.Add(this.TB_NewSAV);
this.groupBox2.Controls.Add(this.TB_OldSAV);
this.groupBox2.Controls.Add(this.TB_UnSet);
this.groupBox2.Controls.Add(this.TB_IsSet);
this.groupBox2.Controls.Add(this.B_LoadNew);
this.groupBox2.Controls.Add(this.B_LoadOld);
this.groupBox2.Location = new System.Drawing.Point(14, 210);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(268, 120);
this.groupBox2.TabIndex = 13;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "FlagDiff Researcher";
this.GB_Researcher.Controls.Add(this.L_UnSet);
this.GB_Researcher.Controls.Add(this.L_IsSet);
this.GB_Researcher.Controls.Add(this.TB_NewSAV);
this.GB_Researcher.Controls.Add(this.TB_OldSAV);
this.GB_Researcher.Controls.Add(this.TB_UnSet);
this.GB_Researcher.Controls.Add(this.TB_IsSet);
this.GB_Researcher.Controls.Add(this.B_LoadNew);
this.GB_Researcher.Controls.Add(this.B_LoadOld);
this.GB_Researcher.Location = new System.Drawing.Point(14, 210);
this.GB_Researcher.Name = "GB_Researcher";
this.GB_Researcher.Size = new System.Drawing.Size(268, 120);
this.GB_Researcher.TabIndex = 13;
this.GB_Researcher.TabStop = false;
this.GB_Researcher.Text = "FlagDiff Researcher";
//
// L_UnSet
//
@ -393,25 +393,25 @@ private void InitializeComponent()
this.flag_0790.UseVisualStyleBackColor = true;
this.flag_0790.Click += new System.EventHandler(this.toggleFlag);
//
// groupBox3
// GB_Misc
//
this.groupBox3.Controls.Add(this.flag_0289);
this.groupBox3.Controls.Add(this.flag_0288);
this.groupBox3.Controls.Add(this.flag_0287);
this.groupBox3.Controls.Add(this.flag_0294);
this.groupBox3.Controls.Add(this.flag_0293);
this.groupBox3.Controls.Add(this.flag_0292);
this.groupBox3.Controls.Add(this.flag_0291);
this.groupBox3.Controls.Add(this.flag_0290);
this.groupBox3.Controls.Add(this.flag_0675);
this.groupBox3.Controls.Add(this.flag_0286);
this.groupBox3.Controls.Add(this.flag_0285);
this.groupBox3.Location = new System.Drawing.Point(287, 12);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(154, 288);
this.groupBox3.TabIndex = 17;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Misc";
this.GB_Misc.Controls.Add(this.flag_0289);
this.GB_Misc.Controls.Add(this.flag_0288);
this.GB_Misc.Controls.Add(this.flag_0287);
this.GB_Misc.Controls.Add(this.flag_0294);
this.GB_Misc.Controls.Add(this.flag_0293);
this.GB_Misc.Controls.Add(this.flag_0292);
this.GB_Misc.Controls.Add(this.flag_0291);
this.GB_Misc.Controls.Add(this.flag_0290);
this.GB_Misc.Controls.Add(this.flag_0675);
this.GB_Misc.Controls.Add(this.flag_0286);
this.GB_Misc.Controls.Add(this.flag_0285);
this.GB_Misc.Location = new System.Drawing.Point(287, 12);
this.GB_Misc.Name = "GB_Misc";
this.GB_Misc.Size = new System.Drawing.Size(154, 288);
this.GB_Misc.TabIndex = 17;
this.GB_Misc.TabStop = false;
this.GB_Misc.Text = "Misc";
//
// flag_0289
//
@ -562,9 +562,9 @@ private void InitializeComponent()
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(449, 342);
this.Controls.Add(this.flag_2546);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.GB_Misc);
this.Controls.Add(this.GB_Rebattle);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.GB_Researcher);
this.Controls.Add(this.flag_2239);
this.Controls.Add(this.flag_2238);
this.Controls.Add(this.flag_2237);
@ -574,7 +574,7 @@ private void InitializeComponent()
this.Controls.Add(this.flag_0003);
this.Controls.Add(this.flag_0002);
this.Controls.Add(this.flag_0001);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GB_FlagStatus);
this.Controls.Add(this.B_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@ -583,15 +583,15 @@ private void InitializeComponent()
this.Name = "SAV_EventFlagsXY";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Event Flag Editor";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.GB_FlagStatus.ResumeLayout(false);
this.GB_FlagStatus.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nud)).EndInit();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.GB_Researcher.ResumeLayout(false);
this.GB_Researcher.PerformLayout();
this.GB_Rebattle.ResumeLayout(false);
this.GB_Rebattle.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.GB_Misc.ResumeLayout(false);
this.GB_Misc.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -601,8 +601,8 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox CHK_CustomFlag;
private System.Windows.Forms.Button B_Cancel;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox GB_FlagStatus;
private System.Windows.Forms.Label L_Flag;
private System.Windows.Forms.CheckBox flag_0001;
private System.Windows.Forms.CheckBox flag_0002;
private System.Windows.Forms.CheckBox flag_0003;
@ -613,7 +613,7 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox flag_2237;
private System.Windows.Forms.CheckBox flag_2238;
private System.Windows.Forms.CheckBox flag_2239;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox GB_Researcher;
private System.Windows.Forms.Label L_UnSet;
private System.Windows.Forms.Label L_IsSet;
private System.Windows.Forms.TextBox TB_NewSAV;
@ -627,7 +627,7 @@ private void InitializeComponent()
private System.Windows.Forms.GroupBox GB_Rebattle;
private System.Windows.Forms.CheckBox flag_0114;
private System.Windows.Forms.CheckBox flag_0790;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.GroupBox GB_Misc;
private System.Windows.Forms.CheckBox flag_0289;
private System.Windows.Forms.CheckBox flag_0288;
private System.Windows.Forms.CheckBox flag_0287;

View File

@ -16,6 +16,7 @@ public partial class SAV_EventFlagsXY : Form
public SAV_EventFlagsXY(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
savshift = 0x7F000 * m_parent.savindex;

View File

@ -15,6 +15,7 @@ public partial class SAV_HallOfFame : Form
public SAV_HallOfFame(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;

View File

@ -32,14 +32,14 @@ private void InitializeComponent()
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.B_Cancel = new System.Windows.Forms.Button();
this.B_Save = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.GB_Pouch = new System.Windows.Forms.GroupBox();
this.B_DisplayBerries = new System.Windows.Forms.Button();
this.B_DisplayMedicine = new System.Windows.Forms.Button();
this.B_DisplayTMHM = new System.Windows.Forms.Button();
this.B_DisplayKeyItems = new System.Windows.Forms.Button();
this.B_DisplayItems = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.groupBox1.SuspendLayout();
this.GB_Pouch.SuspendLayout();
this.SuspendLayout();
//
// dataGridView1
@ -87,19 +87,19 @@ private void InitializeComponent()
this.B_Save.UseVisualStyleBackColor = true;
this.B_Save.Click += new System.EventHandler(this.B_Save_Click);
//
// groupBox1
// GB_Pouch
//
this.groupBox1.Controls.Add(this.B_DisplayBerries);
this.groupBox1.Controls.Add(this.B_DisplayMedicine);
this.groupBox1.Controls.Add(this.B_DisplayTMHM);
this.groupBox1.Controls.Add(this.B_DisplayKeyItems);
this.groupBox1.Controls.Add(this.B_DisplayItems);
this.groupBox1.Location = new System.Drawing.Point(221, 6);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(102, 167);
this.groupBox1.TabIndex = 16;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Pouches";
this.GB_Pouch.Controls.Add(this.B_DisplayBerries);
this.GB_Pouch.Controls.Add(this.B_DisplayMedicine);
this.GB_Pouch.Controls.Add(this.B_DisplayTMHM);
this.GB_Pouch.Controls.Add(this.B_DisplayKeyItems);
this.GB_Pouch.Controls.Add(this.B_DisplayItems);
this.GB_Pouch.Location = new System.Drawing.Point(221, 6);
this.GB_Pouch.Name = "GB_Pouch";
this.GB_Pouch.Size = new System.Drawing.Size(102, 167);
this.GB_Pouch.TabIndex = 16;
this.GB_Pouch.TabStop = false;
this.GB_Pouch.Text = "Pouches";
//
// B_DisplayBerries
//
@ -161,7 +161,7 @@ private void InitializeComponent()
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(334, 212);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GB_Pouch);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.B_Cancel);
this.Controls.Add(this.dataGridView1);
@ -174,7 +174,7 @@ private void InitializeComponent()
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Inventory Editor";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.groupBox1.ResumeLayout(false);
this.GB_Pouch.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -184,7 +184,7 @@ private void InitializeComponent()
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Button B_Cancel;
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox GB_Pouch;
private System.Windows.Forms.Button B_DisplayBerries;
private System.Windows.Forms.Button B_DisplayMedicine;
private System.Windows.Forms.Button B_DisplayTMHM;

View File

@ -14,6 +14,7 @@ public partial class SAV_Inventory : Form
public SAV_Inventory(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;

View File

@ -126,7 +126,7 @@
<metadata name="B_Save.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="groupBox1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="GB_Pouch.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="B_DisplayBerries.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@ -67,18 +67,18 @@ private void InitializeComponent()
this.B_Save = new System.Windows.Forms.Button();
this.B_MaxP = new System.Windows.Forms.Button();
this.B_AllMax = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.CHK_1 = new System.Windows.Forms.CheckBox();
this.CHK_2 = new System.Windows.Forms.CheckBox();
this.CHK_3 = new System.Windows.Forms.CheckBox();
this.CHK_4 = new System.Windows.Forms.CheckBox();
this.CHK_5 = new System.Windows.Forms.CheckBox();
this.CHK_6 = new System.Windows.Forms.CheckBox();
this.CHK_7 = new System.Windows.Forms.CheckBox();
this.GB_Event = new System.Windows.Forms.GroupBox();
this.CHK_8 = new System.Windows.Forms.CheckBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.CHK_7 = new System.Windows.Forms.CheckBox();
this.CHK_6 = new System.Windows.Forms.CheckBox();
this.CHK_5 = new System.Windows.Forms.CheckBox();
this.CHK_4 = new System.Windows.Forms.CheckBox();
this.CHK_3 = new System.Windows.Forms.CheckBox();
this.CHK_2 = new System.Windows.Forms.CheckBox();
this.CHK_1 = new System.Windows.Forms.CheckBox();
this.GB_Regular = new System.Windows.Forms.GroupBox();
this.GB_Event.SuspendLayout();
this.GB_Regular.SuspendLayout();
this.SuspendLayout();
//
// CB_1
@ -102,7 +102,7 @@ private void InitializeComponent()
this.L_1.Name = "L_1";
this.L_1.Size = new System.Drawing.Size(70, 13);
this.L_1.TabIndex = 1;
this.L_1.Text = "?Bargain:";
this.L_1.Text = "Hatching:";
this.L_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L_2
@ -111,7 +111,7 @@ private void InitializeComponent()
this.L_2.Name = "L_2";
this.L_2.Size = new System.Drawing.Size(70, 13);
this.L_2.TabIndex = 3;
this.L_2.Text = "?EXP:";
this.L_2.Text = "Bargain:";
this.L_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// CB_2
@ -159,7 +159,7 @@ private void InitializeComponent()
this.L_4.Name = "L_4";
this.L_4.Size = new System.Drawing.Size(70, 13);
this.L_4.TabIndex = 7;
this.L_4.Text = "?Hatch:";
this.L_4.Text = "EXP:";
this.L_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// CB_4
@ -518,144 +518,23 @@ private void InitializeComponent()
this.B_AllMax.UseVisualStyleBackColor = true;
this.B_AllMax.Click += new System.EventHandler(this.B_AllMax_Click);
//
// groupBox1
// GB_Event
//
this.groupBox1.Controls.Add(this.CHK_8);
this.groupBox1.Controls.Add(this.CHK_7);
this.groupBox1.Controls.Add(this.CHK_6);
this.groupBox1.Controls.Add(this.CHK_5);
this.groupBox1.Controls.Add(this.CHK_4);
this.groupBox1.Controls.Add(this.CHK_3);
this.groupBox1.Controls.Add(this.CHK_2);
this.groupBox1.Controls.Add(this.CHK_1);
this.groupBox1.Controls.Add(this.B_AllMax);
this.groupBox1.Location = new System.Drawing.Point(268, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(126, 225);
this.groupBox1.TabIndex = 38;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Event";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.B_MaxP);
this.groupBox2.Controls.Add(this.L_9);
this.groupBox2.Controls.Add(this.CB_9);
this.groupBox2.Controls.Add(this.L_17);
this.groupBox2.Controls.Add(this.CB_17);
this.groupBox2.Controls.Add(this.L_16);
this.groupBox2.Controls.Add(this.CB_16);
this.groupBox2.Controls.Add(this.L_15);
this.groupBox2.Controls.Add(this.CB_15);
this.groupBox2.Controls.Add(this.L_14);
this.groupBox2.Controls.Add(this.CB_14);
this.groupBox2.Controls.Add(this.L_13);
this.groupBox2.Controls.Add(this.CB_13);
this.groupBox2.Controls.Add(this.L_12);
this.groupBox2.Controls.Add(this.CB_12);
this.groupBox2.Controls.Add(this.L_11);
this.groupBox2.Controls.Add(this.CB_11);
this.groupBox2.Controls.Add(this.L_10);
this.groupBox2.Controls.Add(this.CB_10);
this.groupBox2.Controls.Add(this.L_8);
this.groupBox2.Controls.Add(this.CB_8);
this.groupBox2.Controls.Add(this.L_7);
this.groupBox2.Controls.Add(this.CB_7);
this.groupBox2.Controls.Add(this.L_6);
this.groupBox2.Controls.Add(this.CB_6);
this.groupBox2.Controls.Add(this.L_5);
this.groupBox2.Controls.Add(this.CB_5);
this.groupBox2.Controls.Add(this.L_4);
this.groupBox2.Controls.Add(this.CB_4);
this.groupBox2.Controls.Add(this.L_3);
this.groupBox2.Controls.Add(this.CB_3);
this.groupBox2.Controls.Add(this.L_2);
this.groupBox2.Controls.Add(this.CB_2);
this.groupBox2.Controls.Add(this.L_1);
this.groupBox2.Controls.Add(this.CB_1);
this.groupBox2.Location = new System.Drawing.Point(12, 12);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(250, 270);
this.groupBox2.TabIndex = 39;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Regular";
//
// CHK_1
//
this.CHK_1.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_1.Location = new System.Drawing.Point(9, 22);
this.CHK_1.Name = "CHK_1";
this.CHK_1.Size = new System.Drawing.Size(100, 17);
this.CHK_1.TabIndex = 38;
this.CHK_1.Text = "?Bargain MAX";
this.CHK_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_1.UseVisualStyleBackColor = true;
//
// CHK_2
//
this.CHK_2.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_2.Location = new System.Drawing.Point(9, 43);
this.CHK_2.Name = "CHK_2";
this.CHK_2.Size = new System.Drawing.Size(100, 17);
this.CHK_2.TabIndex = 39;
this.CHK_2.Text = "?EXP MAX";
this.CHK_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_2.UseVisualStyleBackColor = true;
//
// CHK_3
//
this.CHK_3.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_3.Location = new System.Drawing.Point(9, 64);
this.CHK_3.Name = "CHK_3";
this.CHK_3.Size = new System.Drawing.Size(100, 17);
this.CHK_3.TabIndex = 40;
this.CHK_3.Text = "?Prize MAX";
this.CHK_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_3.UseVisualStyleBackColor = true;
//
// CHK_4
//
this.CHK_4.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_4.Location = new System.Drawing.Point(9, 85);
this.CHK_4.Name = "CHK_4";
this.CHK_4.Size = new System.Drawing.Size(100, 17);
this.CHK_4.TabIndex = 41;
this.CHK_4.Text = "?Hatch MAX";
this.CHK_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_4.UseVisualStyleBackColor = true;
//
// CHK_5
//
this.CHK_5.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_5.Location = new System.Drawing.Point(9, 106);
this.CHK_5.Name = "CHK_5";
this.CHK_5.Size = new System.Drawing.Size(100, 17);
this.CHK_5.TabIndex = 42;
this.CHK_5.Text = "?Capture MAX";
this.CHK_5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_5.UseVisualStyleBackColor = true;
//
// CHK_6
//
this.CHK_6.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_6.Location = new System.Drawing.Point(9, 127);
this.CHK_6.Name = "CHK_6";
this.CHK_6.Size = new System.Drawing.Size(100, 17);
this.CHK_6.TabIndex = 43;
this.CHK_6.Text = "?Restore MAX";
this.CHK_6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_6.UseVisualStyleBackColor = true;
//
// CHK_7
//
this.CHK_7.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_7.Location = new System.Drawing.Point(9, 148);
this.CHK_7.Name = "CHK_7";
this.CHK_7.Size = new System.Drawing.Size(100, 17);
this.CHK_7.TabIndex = 44;
this.CHK_7.Text = "?Befriend MAX";
this.CHK_7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_7.UseVisualStyleBackColor = true;
this.GB_Event.Controls.Add(this.CHK_8);
this.GB_Event.Controls.Add(this.CHK_7);
this.GB_Event.Controls.Add(this.CHK_6);
this.GB_Event.Controls.Add(this.CHK_5);
this.GB_Event.Controls.Add(this.CHK_4);
this.GB_Event.Controls.Add(this.CHK_3);
this.GB_Event.Controls.Add(this.CHK_2);
this.GB_Event.Controls.Add(this.CHK_1);
this.GB_Event.Controls.Add(this.B_AllMax);
this.GB_Event.Location = new System.Drawing.Point(268, 12);
this.GB_Event.Name = "GB_Event";
this.GB_Event.Size = new System.Drawing.Size(126, 225);
this.GB_Event.TabIndex = 38;
this.GB_Event.TabStop = false;
this.GB_Event.Text = "Event";
//
// CHK_8
//
@ -668,13 +547,134 @@ private void InitializeComponent()
this.CHK_8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_8.UseVisualStyleBackColor = true;
//
// CHK_7
//
this.CHK_7.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_7.Location = new System.Drawing.Point(9, 148);
this.CHK_7.Name = "CHK_7";
this.CHK_7.Size = new System.Drawing.Size(100, 17);
this.CHK_7.TabIndex = 44;
this.CHK_7.Text = "?Befriend MAX";
this.CHK_7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_7.UseVisualStyleBackColor = true;
//
// CHK_6
//
this.CHK_6.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_6.Location = new System.Drawing.Point(9, 127);
this.CHK_6.Name = "CHK_6";
this.CHK_6.Size = new System.Drawing.Size(100, 17);
this.CHK_6.TabIndex = 43;
this.CHK_6.Text = "?Restore MAX";
this.CHK_6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_6.UseVisualStyleBackColor = true;
//
// CHK_5
//
this.CHK_5.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_5.Location = new System.Drawing.Point(9, 106);
this.CHK_5.Name = "CHK_5";
this.CHK_5.Size = new System.Drawing.Size(100, 17);
this.CHK_5.TabIndex = 42;
this.CHK_5.Text = "?Capture MAX";
this.CHK_5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_5.UseVisualStyleBackColor = true;
//
// CHK_4
//
this.CHK_4.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_4.Location = new System.Drawing.Point(9, 85);
this.CHK_4.Name = "CHK_4";
this.CHK_4.Size = new System.Drawing.Size(100, 17);
this.CHK_4.TabIndex = 41;
this.CHK_4.Text = "?Hatch MAX";
this.CHK_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_4.UseVisualStyleBackColor = true;
//
// CHK_3
//
this.CHK_3.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_3.Location = new System.Drawing.Point(9, 64);
this.CHK_3.Name = "CHK_3";
this.CHK_3.Size = new System.Drawing.Size(100, 17);
this.CHK_3.TabIndex = 40;
this.CHK_3.Text = "?Prize MAX";
this.CHK_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_3.UseVisualStyleBackColor = true;
//
// CHK_2
//
this.CHK_2.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_2.Location = new System.Drawing.Point(9, 43);
this.CHK_2.Name = "CHK_2";
this.CHK_2.Size = new System.Drawing.Size(100, 17);
this.CHK_2.TabIndex = 39;
this.CHK_2.Text = "?EXP MAX";
this.CHK_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_2.UseVisualStyleBackColor = true;
//
// CHK_1
//
this.CHK_1.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_1.Location = new System.Drawing.Point(9, 22);
this.CHK_1.Name = "CHK_1";
this.CHK_1.Size = new System.Drawing.Size(100, 17);
this.CHK_1.TabIndex = 38;
this.CHK_1.Text = "?Bargain MAX";
this.CHK_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_1.UseVisualStyleBackColor = true;
//
// GB_Regular
//
this.GB_Regular.Controls.Add(this.B_MaxP);
this.GB_Regular.Controls.Add(this.L_9);
this.GB_Regular.Controls.Add(this.CB_9);
this.GB_Regular.Controls.Add(this.L_17);
this.GB_Regular.Controls.Add(this.CB_17);
this.GB_Regular.Controls.Add(this.L_16);
this.GB_Regular.Controls.Add(this.CB_16);
this.GB_Regular.Controls.Add(this.L_15);
this.GB_Regular.Controls.Add(this.CB_15);
this.GB_Regular.Controls.Add(this.L_14);
this.GB_Regular.Controls.Add(this.CB_14);
this.GB_Regular.Controls.Add(this.L_13);
this.GB_Regular.Controls.Add(this.CB_13);
this.GB_Regular.Controls.Add(this.L_12);
this.GB_Regular.Controls.Add(this.CB_12);
this.GB_Regular.Controls.Add(this.L_11);
this.GB_Regular.Controls.Add(this.CB_11);
this.GB_Regular.Controls.Add(this.L_10);
this.GB_Regular.Controls.Add(this.CB_10);
this.GB_Regular.Controls.Add(this.L_8);
this.GB_Regular.Controls.Add(this.CB_8);
this.GB_Regular.Controls.Add(this.L_7);
this.GB_Regular.Controls.Add(this.CB_7);
this.GB_Regular.Controls.Add(this.L_6);
this.GB_Regular.Controls.Add(this.CB_6);
this.GB_Regular.Controls.Add(this.L_5);
this.GB_Regular.Controls.Add(this.CB_5);
this.GB_Regular.Controls.Add(this.L_4);
this.GB_Regular.Controls.Add(this.CB_4);
this.GB_Regular.Controls.Add(this.L_3);
this.GB_Regular.Controls.Add(this.CB_3);
this.GB_Regular.Controls.Add(this.L_2);
this.GB_Regular.Controls.Add(this.CB_2);
this.GB_Regular.Controls.Add(this.L_1);
this.GB_Regular.Controls.Add(this.CB_1);
this.GB_Regular.Location = new System.Drawing.Point(12, 12);
this.GB_Regular.Name = "GB_Regular";
this.GB_Regular.Size = new System.Drawing.Size(250, 270);
this.GB_Regular.TabIndex = 39;
this.GB_Regular.TabStop = false;
this.GB_Regular.Text = "Regular";
//
// SAV_OPower
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(404, 292);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GB_Regular);
this.Controls.Add(this.GB_Event);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.B_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
@ -684,8 +684,8 @@ private void InitializeComponent()
this.Name = "SAV_OPower";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "O-Power Editor";
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.GB_Event.ResumeLayout(false);
this.GB_Regular.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -730,7 +730,7 @@ private void InitializeComponent()
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.Button B_MaxP;
private System.Windows.Forms.Button B_AllMax;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox GB_Event;
private System.Windows.Forms.CheckBox CHK_8;
private System.Windows.Forms.CheckBox CHK_7;
private System.Windows.Forms.CheckBox CHK_6;
@ -739,6 +739,6 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox CHK_3;
private System.Windows.Forms.CheckBox CHK_2;
private System.Windows.Forms.CheckBox CHK_1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox GB_Regular;
}
}

View File

@ -16,6 +16,7 @@ public SAV_OPower(Form1 frm1)
m_parent = frm1;
if (m_parent.savegame_oras) opoweroffset = 0x1C800;
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
LoadData();
}
Form1 m_parent;

View File

@ -47,21 +47,21 @@ private void InitializeComponent()
this.CHK_L3 = new System.Windows.Forms.CheckBox();
this.CHK_L2 = new System.Windows.Forms.CheckBox();
this.CHK_L1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.L_goto = new System.Windows.Forms.Label();
this.CB_Species = new System.Windows.Forms.ComboBox();
this.B_GiveAll = new System.Windows.Forms.Button();
this.B_Save = new System.Windows.Forms.Button();
this.B_FillDex = new System.Windows.Forms.Button();
this.GB_Language = new System.Windows.Forms.GroupBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.GB_Encountered = new System.Windows.Forms.GroupBox();
this.L_Battled = new System.Windows.Forms.Label();
this.MT_Count = new System.Windows.Forms.MaskedTextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.GB_Owned = new System.Windows.Forms.GroupBox();
this.TB_Spinda = new System.Windows.Forms.TextBox();
this.L_Spinda = new System.Windows.Forms.Label();
this.GB_Language.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.GB_Encountered.SuspendLayout();
this.GB_Owned.SuspendLayout();
this.SuspendLayout();
//
// B_Cancel
@ -259,14 +259,14 @@ private void InitializeComponent()
this.CHK_L1.UseVisualStyleBackColor = true;
this.CHK_L1.Click += new System.EventHandler(this.changeLanguageBool);
//
// label1
// L_goto
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(31, 13);
this.label1.TabIndex = 20;
this.label1.Text = "goto:";
this.L_goto.AutoSize = true;
this.L_goto.Location = new System.Drawing.Point(12, 16);
this.L_goto.Name = "L_goto";
this.L_goto.Size = new System.Drawing.Size(31, 13);
this.L_goto.TabIndex = 20;
this.L_goto.Text = "goto:";
//
// CB_Species
//
@ -330,29 +330,29 @@ private void InitializeComponent()
this.GB_Language.TabStop = false;
this.GB_Language.Text = "Languages";
//
// groupBox1
// GB_Encountered
//
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.CHK_P9);
this.groupBox1.Controls.Add(this.MT_Count);
this.groupBox1.Controls.Add(this.CHK_P8);
this.groupBox1.Controls.Add(this.CHK_P7);
this.groupBox1.Controls.Add(this.CHK_P6);
this.groupBox1.Location = new System.Drawing.Point(148, 154);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(115, 111);
this.groupBox1.TabIndex = 27;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Encountered";
this.GB_Encountered.Controls.Add(this.L_Battled);
this.GB_Encountered.Controls.Add(this.CHK_P9);
this.GB_Encountered.Controls.Add(this.MT_Count);
this.GB_Encountered.Controls.Add(this.CHK_P8);
this.GB_Encountered.Controls.Add(this.CHK_P7);
this.GB_Encountered.Controls.Add(this.CHK_P6);
this.GB_Encountered.Location = new System.Drawing.Point(148, 154);
this.GB_Encountered.Name = "GB_Encountered";
this.GB_Encountered.Size = new System.Drawing.Size(115, 111);
this.GB_Encountered.TabIndex = 27;
this.GB_Encountered.TabStop = false;
this.GB_Encountered.Text = "Encountered";
//
// label2
// L_Battled
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 85);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(43, 13);
this.label2.TabIndex = 32;
this.label2.Text = "Battled:";
this.L_Battled.AutoSize = true;
this.L_Battled.Location = new System.Drawing.Point(9, 85);
this.L_Battled.Name = "L_Battled";
this.L_Battled.Size = new System.Drawing.Size(43, 13);
this.L_Battled.TabIndex = 32;
this.L_Battled.Text = "Battled:";
//
// MT_Count
//
@ -364,19 +364,19 @@ private void InitializeComponent()
this.MT_Count.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.MT_Count.TextChanged += new System.EventHandler(this.changeEncounteredCount);
//
// groupBox2
// GB_Owned
//
this.groupBox2.Controls.Add(this.CHK_P1);
this.groupBox2.Controls.Add(this.CHK_P5);
this.groupBox2.Controls.Add(this.CHK_P4);
this.groupBox2.Controls.Add(this.CHK_P3);
this.groupBox2.Controls.Add(this.CHK_P2);
this.groupBox2.Location = new System.Drawing.Point(148, 40);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(115, 108);
this.groupBox2.TabIndex = 28;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Owned";
this.GB_Owned.Controls.Add(this.CHK_P1);
this.GB_Owned.Controls.Add(this.CHK_P5);
this.GB_Owned.Controls.Add(this.CHK_P4);
this.GB_Owned.Controls.Add(this.CHK_P3);
this.GB_Owned.Controls.Add(this.CHK_P2);
this.GB_Owned.Location = new System.Drawing.Point(148, 40);
this.GB_Owned.Name = "GB_Owned";
this.GB_Owned.Size = new System.Drawing.Size(115, 108);
this.GB_Owned.TabIndex = 28;
this.GB_Owned.TabStop = false;
this.GB_Owned.Text = "Owned";
//
// TB_Spinda
//
@ -391,7 +391,7 @@ private void InitializeComponent()
// L_Spinda
//
this.L_Spinda.AutoSize = true;
this.L_Spinda.Location = new System.Drawing.Point(266, 198);
this.L_Spinda.Location = new System.Drawing.Point(269, 198);
this.L_Spinda.Name = "L_Spinda";
this.L_Spinda.Size = new System.Drawing.Size(43, 13);
this.L_Spinda.TabIndex = 30;
@ -404,14 +404,14 @@ private void InitializeComponent()
this.ClientSize = new System.Drawing.Size(394, 272);
this.Controls.Add(this.L_Spinda);
this.Controls.Add(this.TB_Spinda);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GB_Owned);
this.Controls.Add(this.GB_Encountered);
this.Controls.Add(this.GB_Language);
this.Controls.Add(this.B_FillDex);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.B_GiveAll);
this.Controls.Add(this.CB_Species);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_goto);
this.Controls.Add(this.LB_Species);
this.Controls.Add(this.B_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
@ -423,10 +423,10 @@ private void InitializeComponent()
this.Text = "Pokédex Editor";
this.GB_Language.ResumeLayout(false);
this.GB_Language.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.GB_Encountered.ResumeLayout(false);
this.GB_Encountered.PerformLayout();
this.GB_Owned.ResumeLayout(false);
this.GB_Owned.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -452,17 +452,17 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox CHK_L3;
private System.Windows.Forms.CheckBox CHK_L2;
private System.Windows.Forms.CheckBox CHK_L1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label L_goto;
private System.Windows.Forms.ComboBox CB_Species;
private System.Windows.Forms.Button B_GiveAll;
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.Button B_FillDex;
private System.Windows.Forms.GroupBox GB_Language;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox GB_Encountered;
private System.Windows.Forms.GroupBox GB_Owned;
private System.Windows.Forms.TextBox TB_Spinda;
private System.Windows.Forms.Label L_Spinda;
private System.Windows.Forms.MaskedTextBox MT_Count;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label L_Battled;
}
}

View File

@ -15,6 +15,7 @@ public partial class SAV_PokedexORAS : Form
public SAV_PokedexORAS(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, sav.Length);
sv = m_parent.savindex * 0x7F000;

View File

@ -48,20 +48,20 @@ private void InitializeComponent()
this.CHK_L3 = new System.Windows.Forms.CheckBox();
this.CHK_L2 = new System.Windows.Forms.CheckBox();
this.CHK_L1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.L_goto = new System.Windows.Forms.Label();
this.CB_Species = new System.Windows.Forms.ComboBox();
this.B_GiveAll = new System.Windows.Forms.Button();
this.B_Save = new System.Windows.Forms.Button();
this.B_FillDex = new System.Windows.Forms.Button();
this.GB_Language = new System.Windows.Forms.GroupBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.GB_Encountered = new System.Windows.Forms.GroupBox();
this.GB_Owned = new System.Windows.Forms.GroupBox();
this.CHK_F1 = new System.Windows.Forms.CheckBox();
this.TB_Spinda = new System.Windows.Forms.TextBox();
this.L_Spinda = new System.Windows.Forms.Label();
this.GB_Language.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.GB_Encountered.SuspendLayout();
this.GB_Owned.SuspendLayout();
this.SuspendLayout();
//
// B_Cancel
@ -270,14 +270,14 @@ private void InitializeComponent()
this.CHK_L1.UseVisualStyleBackColor = true;
this.CHK_L1.Click += new System.EventHandler(this.changeLanguageBool);
//
// label1
// L_goto
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(31, 13);
this.label1.TabIndex = 20;
this.label1.Text = "goto:";
this.L_goto.AutoSize = true;
this.L_goto.Location = new System.Drawing.Point(12, 16);
this.L_goto.Name = "L_goto";
this.L_goto.Size = new System.Drawing.Size(31, 13);
this.L_goto.TabIndex = 20;
this.L_goto.Text = "goto:";
//
// CB_Species
//
@ -341,34 +341,34 @@ private void InitializeComponent()
this.GB_Language.TabStop = false;
this.GB_Language.Text = "Languages";
//
// groupBox1
// GB_Encountered
//
this.groupBox1.Controls.Add(this.CHK_P9);
this.groupBox1.Controls.Add(this.CHK_P8);
this.groupBox1.Controls.Add(this.CHK_P7);
this.groupBox1.Controls.Add(this.CHK_P6);
this.groupBox1.Location = new System.Drawing.Point(148, 176);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(115, 89);
this.groupBox1.TabIndex = 27;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Encountered";
this.GB_Encountered.Controls.Add(this.CHK_P9);
this.GB_Encountered.Controls.Add(this.CHK_P8);
this.GB_Encountered.Controls.Add(this.CHK_P7);
this.GB_Encountered.Controls.Add(this.CHK_P6);
this.GB_Encountered.Location = new System.Drawing.Point(148, 176);
this.GB_Encountered.Name = "GB_Encountered";
this.GB_Encountered.Size = new System.Drawing.Size(115, 89);
this.GB_Encountered.TabIndex = 27;
this.GB_Encountered.TabStop = false;
this.GB_Encountered.Text = "Encountered";
//
// groupBox2
// GB_Owned
//
this.groupBox2.Controls.Add(this.CHK_F1);
this.groupBox2.Controls.Add(this.CHK_P1);
this.groupBox2.Controls.Add(this.CHK_P10);
this.groupBox2.Controls.Add(this.CHK_P5);
this.groupBox2.Controls.Add(this.CHK_P4);
this.groupBox2.Controls.Add(this.CHK_P3);
this.groupBox2.Controls.Add(this.CHK_P2);
this.groupBox2.Location = new System.Drawing.Point(148, 40);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(115, 130);
this.groupBox2.TabIndex = 28;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Owned";
this.GB_Owned.Controls.Add(this.CHK_F1);
this.GB_Owned.Controls.Add(this.CHK_P1);
this.GB_Owned.Controls.Add(this.CHK_P10);
this.GB_Owned.Controls.Add(this.CHK_P5);
this.GB_Owned.Controls.Add(this.CHK_P4);
this.GB_Owned.Controls.Add(this.CHK_P3);
this.GB_Owned.Controls.Add(this.CHK_P2);
this.GB_Owned.Location = new System.Drawing.Point(148, 40);
this.GB_Owned.Name = "GB_Owned";
this.GB_Owned.Size = new System.Drawing.Size(115, 130);
this.GB_Owned.TabIndex = 28;
this.GB_Owned.TabStop = false;
this.GB_Owned.Text = "Owned";
//
// CHK_F1
//
@ -394,42 +394,42 @@ private void InitializeComponent()
// L_Spinda
//
this.L_Spinda.AutoSize = true;
this.L_Spinda.Location = new System.Drawing.Point(266, 198);
this.L_Spinda.Location = new System.Drawing.Point(269, 198);
this.L_Spinda.Name = "L_Spinda";
this.L_Spinda.Size = new System.Drawing.Size(43, 13);
this.L_Spinda.TabIndex = 30;
this.L_Spinda.Text = "Spinda:";
//
// SAV_Pokedex
// SAV_PokedexXY
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(394, 272);
this.Controls.Add(this.L_Spinda);
this.Controls.Add(this.TB_Spinda);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GB_Owned);
this.Controls.Add(this.GB_Encountered);
this.Controls.Add(this.GB_Language);
this.Controls.Add(this.B_FillDex);
this.Controls.Add(this.B_Save);
this.Controls.Add(this.B_GiveAll);
this.Controls.Add(this.CB_Species);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_goto);
this.Controls.Add(this.LB_Species);
this.Controls.Add(this.B_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SAV_Pokedex";
this.Name = "SAV_PokedexXY";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Pokédex Editor";
this.GB_Language.ResumeLayout(false);
this.GB_Language.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.GB_Encountered.ResumeLayout(false);
this.GB_Encountered.PerformLayout();
this.GB_Owned.ResumeLayout(false);
this.GB_Owned.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -456,14 +456,14 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox CHK_L3;
private System.Windows.Forms.CheckBox CHK_L2;
private System.Windows.Forms.CheckBox CHK_L1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label L_goto;
private System.Windows.Forms.ComboBox CB_Species;
private System.Windows.Forms.Button B_GiveAll;
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.Button B_FillDex;
private System.Windows.Forms.GroupBox GB_Language;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox GB_Encountered;
private System.Windows.Forms.GroupBox GB_Owned;
private System.Windows.Forms.CheckBox CHK_F1;
private System.Windows.Forms.TextBox TB_Spinda;
private System.Windows.Forms.Label L_Spinda;

View File

@ -15,6 +15,7 @@ public partial class SAV_PokedexXY : Form
public SAV_PokedexXY(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, sav.Length);
savshift = m_parent.savindex * 0x7F000;

View File

@ -35,7 +35,7 @@ private void InitializeComponent()
this.B_All = new System.Windows.Forms.Button();
this.B_Sort = new System.Windows.Forms.Button();
this.B_None = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.L_Count = new System.Windows.Forms.Label();
this.MT_CNT = new System.Windows.Forms.MaskedTextBox();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
@ -115,15 +115,15 @@ private void InitializeComponent()
this.B_None.UseVisualStyleBackColor = true;
this.B_None.Click += new System.EventHandler(this.B_None_Click);
//
// label1
// L_Count
//
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 240);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(32, 13);
this.label1.TabIndex = 17;
this.label1.Text = "CNT:";
this.L_Count.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.L_Count.AutoSize = true;
this.L_Count.Location = new System.Drawing.Point(12, 240);
this.L_Count.Name = "L_Count";
this.L_Count.Size = new System.Drawing.Size(32, 13);
this.L_Count.TabIndex = 17;
this.L_Count.Text = "CNT:";
//
// MT_CNT
//
@ -142,7 +142,7 @@ private void InitializeComponent()
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(224, 272);
this.Controls.Add(this.MT_CNT);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_Count);
this.Controls.Add(this.B_None);
this.Controls.Add(this.B_Sort);
this.Controls.Add(this.B_All);
@ -171,7 +171,7 @@ private void InitializeComponent()
private System.Windows.Forms.Button B_All;
private System.Windows.Forms.Button B_Sort;
private System.Windows.Forms.Button B_None;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label L_Count;
private System.Windows.Forms.MaskedTextBox MT_CNT;
}
}

View File

@ -14,6 +14,7 @@ public partial class SAV_Pokepuff : Form
public SAV_Pokepuff(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
pfa = Form1.puffs;

View File

@ -32,7 +32,7 @@ private void InitializeComponent()
this.B_Save = new System.Windows.Forms.Button();
this.B_Cancel = new System.Windows.Forms.Button();
this.LB_Favorite = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.L_Favorite = new System.Windows.Forms.Label();
this.B_FDisplay = new System.Windows.Forms.Button();
this.f_PKM = new System.Windows.Forms.TabPage();
this.GB_PKM = new System.Windows.Forms.GroupBox();
@ -57,7 +57,7 @@ private void InitializeComponent()
this.TB_Level = new System.Windows.Forms.MaskedTextBox();
this.CB_Form = new System.Windows.Forms.ComboBox();
this.CHK_Shiny = new System.Windows.Forms.CheckBox();
this.Label_PPups = new System.Windows.Forms.Label();
this.L_PPups = new System.Windows.Forms.Label();
this.CB_PPu4 = new System.Windows.Forms.ComboBox();
this.CB_PPu3 = new System.Windows.Forms.ComboBox();
this.CB_PPu2 = new System.Windows.Forms.ComboBox();
@ -66,60 +66,60 @@ private void InitializeComponent()
this.CB_Move3 = new System.Windows.Forms.ComboBox();
this.CB_Move2 = new System.Windows.Forms.ComboBox();
this.CB_Move1 = new System.Windows.Forms.ComboBox();
this.label23 = new System.Windows.Forms.Label();
this.L_Participant = new System.Windows.Forms.Label();
this.NUD_FPKM = new System.Windows.Forms.NumericUpDown();
this.CB_Species = new System.Windows.Forms.ComboBox();
this.CB_HeldItem = new System.Windows.Forms.ComboBox();
this.CB_Nature = new System.Windows.Forms.ComboBox();
this.label22 = new System.Windows.Forms.Label();
this.L_EncryptionConstant = new System.Windows.Forms.Label();
this.TB_EC = new System.Windows.Forms.TextBox();
this.label21 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.L_EVs = new System.Windows.Forms.Label();
this.L_IVs = new System.Windows.Forms.Label();
this.L_SPE = new System.Windows.Forms.Label();
this.L_SpD = new System.Windows.Forms.Label();
this.L_SpA = new System.Windows.Forms.Label();
this.L_DEF = new System.Windows.Forms.Label();
this.L_ATK = new System.Windows.Forms.Label();
this.L_HP = new System.Windows.Forms.Label();
this.f_MAIN = new System.Windows.Forms.TabPage();
this.NUD_FBaseLocation = new System.Windows.Forms.NumericUpDown();
this.TB_FT2 = new System.Windows.Forms.TextBox();
this.TB_FT1 = new System.Windows.Forms.TextBox();
this.label24 = new System.Windows.Forms.Label();
this.label25 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label13 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.L_TeamSlogan = new System.Windows.Forms.Label();
this.L_TeamName = new System.Windows.Forms.Label();
this.GB_Object = new System.Windows.Forms.GroupBox();
this.L_Y = new System.Windows.Forms.Label();
this.L_X = new System.Windows.Forms.Label();
this.NUD_FX = new System.Windows.Forms.NumericUpDown();
this.NUD_FY = new System.Windows.Forms.NumericUpDown();
this.label11 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.L_Rotation = new System.Windows.Forms.Label();
this.L_Decoration = new System.Windows.Forms.Label();
this.NUD_FRot = new System.Windows.Forms.NumericUpDown();
this.NUD_FObjType = new System.Windows.Forms.NumericUpDown();
this.label9 = new System.Windows.Forms.Label();
this.L_Index = new System.Windows.Forms.Label();
this.NUD_FObject = new System.Windows.Forms.NumericUpDown();
this.label8 = new System.Windows.Forms.Label();
this.L_BaseLocation = new System.Windows.Forms.Label();
this.TB_FSay4 = new System.Windows.Forms.TextBox();
this.TB_FSay3 = new System.Windows.Forms.TextBox();
this.TB_FSay2 = new System.Windows.Forms.TextBox();
this.TB_FSay1 = new System.Windows.Forms.TextBox();
this.TB_FOT = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.L_TrName = new System.Windows.Forms.Label();
this.L_Confetti = new System.Windows.Forms.Label();
this.L_Blackboard = new System.Windows.Forms.Label();
this.L_Encourage = new System.Windows.Forms.Label();
this.L_Happy = new System.Windows.Forms.Label();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.B_GiveDecor = new System.Windows.Forms.Button();
this.B_FSave = new System.Windows.Forms.Button();
this.MT_Flags = new System.Windows.Forms.MaskedTextBox();
this.label2 = new System.Windows.Forms.Label();
this.L_FlagsCaptured = new System.Windows.Forms.Label();
this.f_PKM.SuspendLayout();
this.GB_PKM.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_FPKM)).BeginInit();
this.f_MAIN.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_FBaseLocation)).BeginInit();
this.groupBox1.SuspendLayout();
this.GB_Object.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_FX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_FY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_FRot)).BeginInit();
@ -158,14 +158,14 @@ private void InitializeComponent()
this.LB_Favorite.Size = new System.Drawing.Size(78, 264);
this.LB_Favorite.TabIndex = 4;
//
// label1
// L_Favorite
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 13);
this.label1.TabIndex = 6;
this.label1.Text = "Favorites:";
this.L_Favorite.AutoSize = true;
this.L_Favorite.Location = new System.Drawing.Point(12, 9);
this.L_Favorite.Name = "L_Favorite";
this.L_Favorite.Size = new System.Drawing.Size(53, 13);
this.L_Favorite.TabIndex = 6;
this.L_Favorite.Text = "Favorites:";
//
// B_FDisplay
//
@ -210,7 +210,7 @@ private void InitializeComponent()
this.GB_PKM.Controls.Add(this.TB_Level);
this.GB_PKM.Controls.Add(this.CB_Form);
this.GB_PKM.Controls.Add(this.CHK_Shiny);
this.GB_PKM.Controls.Add(this.Label_PPups);
this.GB_PKM.Controls.Add(this.L_PPups);
this.GB_PKM.Controls.Add(this.CB_PPu4);
this.GB_PKM.Controls.Add(this.CB_PPu3);
this.GB_PKM.Controls.Add(this.CB_PPu2);
@ -219,21 +219,21 @@ private void InitializeComponent()
this.GB_PKM.Controls.Add(this.CB_Move3);
this.GB_PKM.Controls.Add(this.CB_Move2);
this.GB_PKM.Controls.Add(this.CB_Move1);
this.GB_PKM.Controls.Add(this.label23);
this.GB_PKM.Controls.Add(this.L_Participant);
this.GB_PKM.Controls.Add(this.NUD_FPKM);
this.GB_PKM.Controls.Add(this.CB_Species);
this.GB_PKM.Controls.Add(this.CB_HeldItem);
this.GB_PKM.Controls.Add(this.CB_Nature);
this.GB_PKM.Controls.Add(this.label22);
this.GB_PKM.Controls.Add(this.L_EncryptionConstant);
this.GB_PKM.Controls.Add(this.TB_EC);
this.GB_PKM.Controls.Add(this.label21);
this.GB_PKM.Controls.Add(this.label20);
this.GB_PKM.Controls.Add(this.label17);
this.GB_PKM.Controls.Add(this.label18);
this.GB_PKM.Controls.Add(this.label19);
this.GB_PKM.Controls.Add(this.label16);
this.GB_PKM.Controls.Add(this.label15);
this.GB_PKM.Controls.Add(this.label14);
this.GB_PKM.Controls.Add(this.L_EVs);
this.GB_PKM.Controls.Add(this.L_IVs);
this.GB_PKM.Controls.Add(this.L_SPE);
this.GB_PKM.Controls.Add(this.L_SpD);
this.GB_PKM.Controls.Add(this.L_SpA);
this.GB_PKM.Controls.Add(this.L_DEF);
this.GB_PKM.Controls.Add(this.L_ATK);
this.GB_PKM.Controls.Add(this.L_HP);
this.GB_PKM.Location = new System.Drawing.Point(0, 0);
this.GB_PKM.Name = "GB_PKM";
this.GB_PKM.Size = new System.Drawing.Size(369, 263);
@ -455,14 +455,14 @@ private void InitializeComponent()
this.CHK_Shiny.Text = "☆";
this.CHK_Shiny.UseVisualStyleBackColor = true;
//
// Label_PPups
// L_PPups
//
this.Label_PPups.Location = new System.Drawing.Point(142, 145);
this.Label_PPups.Name = "Label_PPups";
this.Label_PPups.Size = new System.Drawing.Size(45, 13);
this.Label_PPups.TabIndex = 75;
this.Label_PPups.Text = "PP Ups";
this.Label_PPups.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.L_PPups.Location = new System.Drawing.Point(142, 145);
this.L_PPups.Name = "L_PPups";
this.L_PPups.Size = new System.Drawing.Size(45, 13);
this.L_PPups.TabIndex = 75;
this.L_PPups.Text = "PP Ups";
this.L_PPups.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// CB_PPu4
//
@ -560,14 +560,14 @@ private void InitializeComponent()
this.CB_Move1.Size = new System.Drawing.Size(121, 21);
this.CB_Move1.TabIndex = 68;
//
// label23
// L_Participant
//
this.label23.AutoSize = true;
this.label23.Location = new System.Drawing.Point(12, 19);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(60, 13);
this.label23.TabIndex = 67;
this.label23.Text = "Participant:";
this.L_Participant.AutoSize = true;
this.L_Participant.Location = new System.Drawing.Point(12, 19);
this.L_Participant.Name = "L_Participant";
this.L_Participant.Size = new System.Drawing.Size(60, 13);
this.L_Participant.TabIndex = 67;
this.L_Participant.Text = "Participant:";
//
// NUD_FPKM
//
@ -624,14 +624,14 @@ private void InitializeComponent()
this.CB_Nature.Size = new System.Drawing.Size(122, 21);
this.CB_Nature.TabIndex = 63;
//
// label22
// L_EncryptionConstant
//
this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(12, 47);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(32, 13);
this.label22.TabIndex = 62;
this.label22.Text = "ENC:";
this.L_EncryptionConstant.AutoSize = true;
this.L_EncryptionConstant.Location = new System.Drawing.Point(12, 47);
this.L_EncryptionConstant.Name = "L_EncryptionConstant";
this.L_EncryptionConstant.Size = new System.Drawing.Size(32, 13);
this.L_EncryptionConstant.TabIndex = 62;
this.L_EncryptionConstant.Text = "ENC:";
//
// TB_EC
//
@ -644,105 +644,105 @@ private void InitializeComponent()
this.TB_EC.TabIndex = 61;
this.TB_EC.Text = "12345678";
//
// label21
// L_EVs
//
this.label21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(294, 12);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(26, 13);
this.label21.TabIndex = 23;
this.label21.Text = "EVs";
this.L_EVs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_EVs.AutoSize = true;
this.L_EVs.Location = new System.Drawing.Point(294, 12);
this.L_EVs.Name = "L_EVs";
this.L_EVs.Size = new System.Drawing.Size(26, 13);
this.L_EVs.TabIndex = 23;
this.L_EVs.Text = "EVs";
//
// label20
// L_IVs
//
this.label20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label20.AutoSize = true;
this.label20.Location = new System.Drawing.Point(265, 12);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(22, 13);
this.label20.TabIndex = 16;
this.label20.Text = "IVs";
this.L_IVs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_IVs.AutoSize = true;
this.L_IVs.Location = new System.Drawing.Point(265, 12);
this.L_IVs.Name = "L_IVs";
this.L_IVs.Size = new System.Drawing.Size(22, 13);
this.L_IVs.TabIndex = 16;
this.L_IVs.Text = "IVs";
//
// label17
// L_SPE
//
this.label17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(235, 140);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(28, 13);
this.label17.TabIndex = 13;
this.label17.Text = "SPE";
this.L_SPE.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_SPE.AutoSize = true;
this.L_SPE.Location = new System.Drawing.Point(235, 140);
this.L_SPE.Name = "L_SPE";
this.L_SPE.Size = new System.Drawing.Size(28, 13);
this.L_SPE.TabIndex = 13;
this.L_SPE.Text = "SPE";
//
// label18
// L_SpD
//
this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label18.AutoSize = true;
this.label18.Location = new System.Drawing.Point(235, 118);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(28, 13);
this.label18.TabIndex = 12;
this.label18.Text = "SpD";
this.L_SpD.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_SpD.AutoSize = true;
this.L_SpD.Location = new System.Drawing.Point(235, 118);
this.L_SpD.Name = "L_SpD";
this.L_SpD.Size = new System.Drawing.Size(28, 13);
this.L_SpD.TabIndex = 12;
this.L_SpD.Text = "SpD";
//
// label19
// L_SpA
//
this.label19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label19.AutoSize = true;
this.label19.Location = new System.Drawing.Point(236, 96);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(27, 13);
this.label19.TabIndex = 11;
this.label19.Text = "SpA";
this.L_SpA.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_SpA.AutoSize = true;
this.L_SpA.Location = new System.Drawing.Point(236, 96);
this.L_SpA.Name = "L_SpA";
this.L_SpA.Size = new System.Drawing.Size(27, 13);
this.L_SpA.TabIndex = 11;
this.L_SpA.Text = "SpA";
//
// label16
// L_DEF
//
this.label16.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label16.AutoSize = true;
this.label16.Location = new System.Drawing.Point(235, 74);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(28, 13);
this.label16.TabIndex = 4;
this.label16.Text = "DEF";
this.L_DEF.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_DEF.AutoSize = true;
this.L_DEF.Location = new System.Drawing.Point(235, 74);
this.L_DEF.Name = "L_DEF";
this.L_DEF.Size = new System.Drawing.Size(28, 13);
this.L_DEF.TabIndex = 4;
this.L_DEF.Text = "DEF";
//
// label15
// L_ATK
//
this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(235, 52);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(28, 13);
this.label15.TabIndex = 3;
this.label15.Text = "ATK";
this.L_ATK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_ATK.AutoSize = true;
this.L_ATK.Location = new System.Drawing.Point(235, 52);
this.L_ATK.Name = "L_ATK";
this.L_ATK.Size = new System.Drawing.Size(28, 13);
this.L_ATK.TabIndex = 3;
this.L_ATK.Text = "ATK";
//
// label14
// L_HP
//
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(241, 30);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(22, 13);
this.label14.TabIndex = 2;
this.label14.Text = "HP";
this.L_HP.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_HP.AutoSize = true;
this.L_HP.Location = new System.Drawing.Point(241, 30);
this.L_HP.Name = "L_HP";
this.L_HP.Size = new System.Drawing.Size(22, 13);
this.L_HP.TabIndex = 2;
this.L_HP.Text = "HP";
//
// f_MAIN
//
this.f_MAIN.Controls.Add(this.NUD_FBaseLocation);
this.f_MAIN.Controls.Add(this.TB_FT2);
this.f_MAIN.Controls.Add(this.TB_FT1);
this.f_MAIN.Controls.Add(this.label24);
this.f_MAIN.Controls.Add(this.label25);
this.f_MAIN.Controls.Add(this.groupBox1);
this.f_MAIN.Controls.Add(this.label8);
this.f_MAIN.Controls.Add(this.L_TeamSlogan);
this.f_MAIN.Controls.Add(this.L_TeamName);
this.f_MAIN.Controls.Add(this.GB_Object);
this.f_MAIN.Controls.Add(this.L_BaseLocation);
this.f_MAIN.Controls.Add(this.TB_FSay4);
this.f_MAIN.Controls.Add(this.TB_FSay3);
this.f_MAIN.Controls.Add(this.TB_FSay2);
this.f_MAIN.Controls.Add(this.TB_FSay1);
this.f_MAIN.Controls.Add(this.TB_FOT);
this.f_MAIN.Controls.Add(this.label7);
this.f_MAIN.Controls.Add(this.label6);
this.f_MAIN.Controls.Add(this.label5);
this.f_MAIN.Controls.Add(this.label4);
this.f_MAIN.Controls.Add(this.label3);
this.f_MAIN.Controls.Add(this.L_TrName);
this.f_MAIN.Controls.Add(this.L_Confetti);
this.f_MAIN.Controls.Add(this.L_Blackboard);
this.f_MAIN.Controls.Add(this.L_Encourage);
this.f_MAIN.Controls.Add(this.L_Happy);
this.f_MAIN.Location = new System.Drawing.Point(4, 22);
this.f_MAIN.Name = "f_MAIN";
this.f_MAIN.Padding = new System.Windows.Forms.Padding(3);
@ -793,66 +793,66 @@ private void InitializeComponent()
this.TB_FT1.Size = new System.Drawing.Size(124, 20);
this.TB_FT1.TabIndex = 14;
//
// label24
// L_TeamSlogan
//
this.label24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label24.AutoSize = true;
this.label24.Location = new System.Drawing.Point(166, 135);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(73, 13);
this.label24.TabIndex = 17;
this.label24.Text = "Team Slogan:";
this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_TeamSlogan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_TeamSlogan.AutoSize = true;
this.L_TeamSlogan.Location = new System.Drawing.Point(166, 135);
this.L_TeamSlogan.Name = "L_TeamSlogan";
this.L_TeamSlogan.Size = new System.Drawing.Size(73, 13);
this.L_TeamSlogan.TabIndex = 17;
this.L_TeamSlogan.Text = "Team Slogan:";
this.L_TeamSlogan.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label25
// L_TeamName
//
this.label25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label25.AutoSize = true;
this.label25.Location = new System.Drawing.Point(171, 113);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(68, 13);
this.label25.TabIndex = 16;
this.label25.Text = "Team Name:";
this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_TeamName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_TeamName.AutoSize = true;
this.L_TeamName.Location = new System.Drawing.Point(171, 113);
this.L_TeamName.Name = "L_TeamName";
this.L_TeamName.Size = new System.Drawing.Size(68, 13);
this.L_TeamName.TabIndex = 16;
this.L_TeamName.Text = "Team Name:";
this.L_TeamName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// groupBox1
// GB_Object
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
this.GB_Object.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.label13);
this.groupBox1.Controls.Add(this.label12);
this.groupBox1.Controls.Add(this.NUD_FX);
this.groupBox1.Controls.Add(this.NUD_FY);
this.groupBox1.Controls.Add(this.label11);
this.groupBox1.Controls.Add(this.label10);
this.groupBox1.Controls.Add(this.NUD_FRot);
this.groupBox1.Controls.Add(this.NUD_FObjType);
this.groupBox1.Controls.Add(this.label9);
this.groupBox1.Controls.Add(this.NUD_FObject);
this.groupBox1.Location = new System.Drawing.Point(6, 158);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(357, 103);
this.groupBox1.TabIndex = 13;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Object Layout";
this.GB_Object.Controls.Add(this.L_Y);
this.GB_Object.Controls.Add(this.L_X);
this.GB_Object.Controls.Add(this.NUD_FX);
this.GB_Object.Controls.Add(this.NUD_FY);
this.GB_Object.Controls.Add(this.L_Rotation);
this.GB_Object.Controls.Add(this.L_Decoration);
this.GB_Object.Controls.Add(this.NUD_FRot);
this.GB_Object.Controls.Add(this.NUD_FObjType);
this.GB_Object.Controls.Add(this.L_Index);
this.GB_Object.Controls.Add(this.NUD_FObject);
this.GB_Object.Location = new System.Drawing.Point(6, 158);
this.GB_Object.Name = "GB_Object";
this.GB_Object.Size = new System.Drawing.Size(357, 103);
this.GB_Object.TabIndex = 13;
this.GB_Object.TabStop = false;
this.GB_Object.Text = "Object Layout";
//
// label13
// L_Y
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(231, 48);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(71, 13);
this.label13.TabIndex = 9;
this.label13.Text = "Y Coordinate:";
this.L_Y.AutoSize = true;
this.L_Y.Location = new System.Drawing.Point(231, 48);
this.L_Y.Name = "L_Y";
this.L_Y.Size = new System.Drawing.Size(71, 13);
this.L_Y.TabIndex = 9;
this.L_Y.Text = "Y Coordinate:";
//
// label12
// L_X
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(231, 22);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(71, 13);
this.label12.TabIndex = 8;
this.label12.Text = "X Coordinate:";
this.L_X.AutoSize = true;
this.L_X.Location = new System.Drawing.Point(231, 22);
this.L_X.Name = "L_X";
this.L_X.Size = new System.Drawing.Size(71, 13);
this.L_X.TabIndex = 8;
this.L_X.Text = "X Coordinate:";
//
// NUD_FX
//
@ -880,23 +880,23 @@ private void InitializeComponent()
this.NUD_FY.TabIndex = 6;
this.NUD_FY.ValueChanged += new System.EventHandler(this.changeObjectQuality);
//
// label11
// L_Rotation
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(6, 74);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(68, 13);
this.label11.TabIndex = 5;
this.label11.Text = "Rotation Val:";
this.L_Rotation.AutoSize = true;
this.L_Rotation.Location = new System.Drawing.Point(6, 74);
this.L_Rotation.Name = "L_Rotation";
this.L_Rotation.Size = new System.Drawing.Size(68, 13);
this.L_Rotation.TabIndex = 5;
this.L_Rotation.Text = "Rotation Val:";
//
// label10
// L_Decoration
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(12, 48);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(62, 13);
this.label10.TabIndex = 4;
this.label10.Text = "Decoration:";
this.L_Decoration.AutoSize = true;
this.L_Decoration.Location = new System.Drawing.Point(12, 48);
this.L_Decoration.Name = "L_Decoration";
this.L_Decoration.Size = new System.Drawing.Size(62, 13);
this.L_Decoration.TabIndex = 4;
this.L_Decoration.Text = "Decoration:";
//
// NUD_FRot
//
@ -939,14 +939,14 @@ private void InitializeComponent()
-2147483648});
this.NUD_FObjType.ValueChanged += new System.EventHandler(this.changeObjectQuality);
//
// label9
// L_Index
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(38, 22);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(36, 13);
this.label9.TabIndex = 1;
this.label9.Text = "Index:";
this.L_Index.AutoSize = true;
this.L_Index.Location = new System.Drawing.Point(38, 22);
this.L_Index.Name = "L_Index";
this.L_Index.Size = new System.Drawing.Size(36, 13);
this.L_Index.TabIndex = 1;
this.L_Index.Text = "Index:";
//
// NUD_FObject
//
@ -971,14 +971,14 @@ private void InitializeComponent()
0});
this.NUD_FObject.ValueChanged += new System.EventHandler(this.changeObjectIndex);
//
// label8
// L_BaseLocation
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(6, 35);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(112, 13);
this.label8.TabIndex = 11;
this.label8.Text = "Secret Base Location:";
this.L_BaseLocation.AutoSize = true;
this.L_BaseLocation.Location = new System.Drawing.Point(6, 35);
this.L_BaseLocation.Name = "L_BaseLocation";
this.L_BaseLocation.Size = new System.Drawing.Size(112, 13);
this.L_BaseLocation.TabIndex = 11;
this.L_BaseLocation.Text = "Secret Base Location:";
//
// TB_FSay4
//
@ -1029,58 +1029,58 @@ private void InitializeComponent()
this.TB_FOT.Size = new System.Drawing.Size(93, 20);
this.TB_FOT.TabIndex = 0;
//
// label7
// L_TrName
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(6, 9);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(74, 13);
this.label7.TabIndex = 9;
this.label7.Text = "Trainer Name:";
this.L_TrName.AutoSize = true;
this.L_TrName.Location = new System.Drawing.Point(6, 9);
this.L_TrName.Name = "L_TrName";
this.L_TrName.Size = new System.Drawing.Size(74, 13);
this.L_TrName.TabIndex = 9;
this.L_TrName.Text = "Trainer Name:";
//
// label6
// L_Confetti
//
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(193, 75);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(46, 13);
this.label6.TabIndex = 8;
this.label6.Text = "Confetti:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_Confetti.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Confetti.AutoSize = true;
this.L_Confetti.Location = new System.Drawing.Point(193, 75);
this.L_Confetti.Name = "L_Confetti";
this.L_Confetti.Size = new System.Drawing.Size(46, 13);
this.L_Confetti.TabIndex = 8;
this.L_Confetti.Text = "Confetti:";
this.L_Confetti.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label5
// L_Blackboard
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(175, 53);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 13);
this.label5.TabIndex = 7;
this.label5.Text = "Blackboard:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_Blackboard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Blackboard.AutoSize = true;
this.L_Blackboard.Location = new System.Drawing.Point(175, 53);
this.L_Blackboard.Name = "L_Blackboard";
this.L_Blackboard.Size = new System.Drawing.Size(64, 13);
this.L_Blackboard.TabIndex = 7;
this.L_Blackboard.Text = "Blackboard:";
this.L_Blackboard.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label4
// L_Encourage
//
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(177, 32);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(62, 13);
this.label4.TabIndex = 6;
this.label4.Text = "Encourage:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_Encourage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Encourage.AutoSize = true;
this.L_Encourage.Location = new System.Drawing.Point(177, 32);
this.L_Encourage.Name = "L_Encourage";
this.L_Encourage.Size = new System.Drawing.Size(62, 13);
this.L_Encourage.TabIndex = 6;
this.L_Encourage.Text = "Encourage:";
this.L_Encourage.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label3
// L_Happy
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(198, 9);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 13);
this.label3.TabIndex = 5;
this.label3.Text = "Happy:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_Happy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Happy.AutoSize = true;
this.L_Happy.Location = new System.Drawing.Point(198, 9);
this.L_Happy.Name = "L_Happy";
this.L_Happy.Size = new System.Drawing.Size(41, 13);
this.L_Happy.TabIndex = 5;
this.L_Happy.Text = "Happy:";
this.L_Happy.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// tabControl1
//
@ -1124,21 +1124,21 @@ private void InitializeComponent()
this.MT_Flags.TabIndex = 21;
this.MT_Flags.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label2
// L_FlagsCaptured
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 307);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(84, 13);
this.label2.TabIndex = 22;
this.label2.Text = "Flags Captured: ";
this.L_FlagsCaptured.AutoSize = true;
this.L_FlagsCaptured.Location = new System.Drawing.Point(9, 307);
this.L_FlagsCaptured.Name = "L_FlagsCaptured";
this.L_FlagsCaptured.Size = new System.Drawing.Size(84, 13);
this.L_FlagsCaptured.TabIndex = 22;
this.L_FlagsCaptured.Text = "Flags Captured: ";
//
// SAV_SecretBase
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(514, 332);
this.Controls.Add(this.label2);
this.Controls.Add(this.L_FlagsCaptured);
this.Controls.Add(this.MT_Flags);
this.Controls.Add(this.B_FSave);
this.Controls.Add(this.B_GiveDecor);
@ -1146,7 +1146,7 @@ private void InitializeComponent()
this.Controls.Add(this.B_Save);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.B_FDisplay);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_Favorite);
this.Controls.Add(this.LB_Favorite);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@ -1162,8 +1162,8 @@ private void InitializeComponent()
this.f_MAIN.ResumeLayout(false);
this.f_MAIN.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_FBaseLocation)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.GB_Object.ResumeLayout(false);
this.GB_Object.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_FX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_FY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_FRot)).EndInit();
@ -1180,50 +1180,50 @@ private void InitializeComponent()
private System.Windows.Forms.Button B_Save;
private System.Windows.Forms.Button B_Cancel;
private System.Windows.Forms.ListBox LB_Favorite;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label L_Favorite;
private System.Windows.Forms.Button B_FDisplay;
private System.Windows.Forms.TabPage f_PKM;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label L_EVs;
private System.Windows.Forms.Label L_IVs;
private System.Windows.Forms.Label L_SPE;
private System.Windows.Forms.Label L_SpD;
private System.Windows.Forms.Label L_SpA;
private System.Windows.Forms.Label L_DEF;
private System.Windows.Forms.Label L_ATK;
private System.Windows.Forms.Label L_HP;
private System.Windows.Forms.TabPage f_MAIN;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.GroupBox GB_Object;
private System.Windows.Forms.Label L_Y;
private System.Windows.Forms.Label L_X;
private System.Windows.Forms.NumericUpDown NUD_FX;
private System.Windows.Forms.NumericUpDown NUD_FY;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label L_Rotation;
private System.Windows.Forms.Label L_Decoration;
private System.Windows.Forms.NumericUpDown NUD_FRot;
private System.Windows.Forms.NumericUpDown NUD_FObjType;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label L_Index;
private System.Windows.Forms.NumericUpDown NUD_FObject;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label L_BaseLocation;
private System.Windows.Forms.TextBox TB_FSay4;
private System.Windows.Forms.TextBox TB_FSay3;
private System.Windows.Forms.TextBox TB_FSay2;
private System.Windows.Forms.TextBox TB_FSay1;
private System.Windows.Forms.TextBox TB_FOT;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label L_TrName;
private System.Windows.Forms.Label L_Confetti;
private System.Windows.Forms.Label L_Blackboard;
private System.Windows.Forms.Label L_Encourage;
private System.Windows.Forms.Label L_Happy;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label L_EncryptionConstant;
private System.Windows.Forms.TextBox TB_EC;
private System.Windows.Forms.ComboBox CB_HeldItem;
private System.Windows.Forms.ComboBox CB_Nature;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Label L_Participant;
private System.Windows.Forms.NumericUpDown NUD_FPKM;
public System.Windows.Forms.ComboBox CB_Species;
private System.Windows.Forms.CheckBox CHK_Shiny;
private System.Windows.Forms.Label Label_PPups;
private System.Windows.Forms.Label L_PPups;
private System.Windows.Forms.ComboBox CB_PPu4;
private System.Windows.Forms.ComboBox CB_PPu3;
private System.Windows.Forms.ComboBox CB_PPu2;
@ -1257,10 +1257,10 @@ private void InitializeComponent()
private System.Windows.Forms.Button B_FSave;
private System.Windows.Forms.TextBox TB_FT2;
private System.Windows.Forms.TextBox TB_FT1;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Label L_TeamSlogan;
private System.Windows.Forms.Label L_TeamName;
private System.Windows.Forms.NumericUpDown NUD_FBaseLocation;
private System.Windows.Forms.MaskedTextBox MT_Flags;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label L_FlagsCaptured;
}
}

View File

@ -15,7 +15,7 @@ public partial class SAV_SecretBase : Form
public SAV_SecretBase(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this.Name, Form1.curlanguage, this.Controls);
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;

View File

@ -35,9 +35,9 @@ private void InitializeComponent()
this.TB_Time1 = new System.Windows.Forms.TextBox();
this.TB_Time2 = new System.Windows.Forms.TextBox();
this.CB_S2 = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.L_Time1 = new System.Windows.Forms.Label();
this.L_Time2 = new System.Windows.Forms.Label();
this.L_Species2 = new System.Windows.Forms.Label();
this.listBox1 = new System.Windows.Forms.ListBox();
this.TB_Time = new System.Windows.Forms.TextBox();
this.CB_Species = new System.Windows.Forms.ComboBox();
@ -47,7 +47,7 @@ private void InitializeComponent()
this.label4 = new System.Windows.Forms.Label();
this.L_Records = new System.Windows.Forms.Label();
this.L_Bags = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.L_UNKNOWN = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
@ -122,35 +122,35 @@ private void InitializeComponent()
this.CB_S2.Size = new System.Drawing.Size(101, 21);
this.CB_S2.TabIndex = 120;
//
// label1
// L_Time1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(176, 165);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(36, 13);
this.label1.TabIndex = 121;
this.label1.Text = "Time1";
this.L_Time1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Time1.AutoSize = true;
this.L_Time1.Location = new System.Drawing.Point(176, 165);
this.L_Time1.Name = "L_Time1";
this.L_Time1.Size = new System.Drawing.Size(36, 13);
this.L_Time1.TabIndex = 121;
this.L_Time1.Text = "Time1";
//
// label2
// L_Time2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(176, 204);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(36, 13);
this.label2.TabIndex = 122;
this.label2.Text = "Time2";
this.L_Time2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Time2.AutoSize = true;
this.L_Time2.Location = new System.Drawing.Point(176, 204);
this.L_Time2.Name = "L_Time2";
this.L_Time2.Size = new System.Drawing.Size(36, 13);
this.L_Time2.TabIndex = 122;
this.L_Time2.Text = "Time2";
//
// label3
// L_Species2
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(175, 243);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(45, 13);
this.label3.TabIndex = 123;
this.label3.Text = "Species";
this.L_Species2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_Species2.AutoSize = true;
this.L_Species2.Location = new System.Drawing.Point(175, 243);
this.L_Species2.Name = "L_Species2";
this.L_Species2.Size = new System.Drawing.Size(45, 13);
this.L_Species2.TabIndex = 123;
this.L_Species2.Text = "Species";
//
// listBox1
//
@ -272,22 +272,22 @@ private void InitializeComponent()
this.L_Bags.TabIndex = 132;
this.L_Bags.Text = "Training Bags";
//
// label5
// L_UNKNOWN
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(227, 165);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(65, 13);
this.label5.TabIndex = 133;
this.label5.Text = "UNKNOWN";
this.L_UNKNOWN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.L_UNKNOWN.AutoSize = true;
this.L_UNKNOWN.Location = new System.Drawing.Point(227, 165);
this.L_UNKNOWN.Name = "L_UNKNOWN";
this.L_UNKNOWN.Size = new System.Drawing.Size(65, 13);
this.L_UNKNOWN.TabIndex = 133;
this.L_UNKNOWN.Text = "UNKNOWN";
//
// SAV_SuperTrain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(314, 312);
this.Controls.Add(this.label5);
this.Controls.Add(this.L_UNKNOWN);
this.Controls.Add(this.L_Bags);
this.Controls.Add(this.L_Records);
this.Controls.Add(this.label4);
@ -297,9 +297,9 @@ private void InitializeComponent()
this.Controls.Add(this.CB_Species);
this.Controls.Add(this.TB_Time);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.L_Species2);
this.Controls.Add(this.L_Time2);
this.Controls.Add(this.L_Time1);
this.Controls.Add(this.CB_S2);
this.Controls.Add(this.TB_Time2);
this.Controls.Add(this.TB_Time1);
@ -328,9 +328,9 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox TB_Time1;
private System.Windows.Forms.TextBox TB_Time2;
private System.Windows.Forms.ComboBox CB_S2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label L_Time1;
private System.Windows.Forms.Label L_Time2;
private System.Windows.Forms.Label L_Species2;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.TextBox TB_Time;
private System.Windows.Forms.ComboBox CB_Species;
@ -340,6 +340,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label L_Records;
private System.Windows.Forms.Label L_Bags;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label L_UNKNOWN;
}
}

View File

@ -24,6 +24,7 @@ public SAV_SuperTrain(Form1 frm1)
offsetSpec = data_offset + 0x188 + 0x7F000 * savindex;
offsetVal = data_offset + 0x18A + 0x7F000 * savindex;
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
string[] stages = Form1.trainingstage;
listBox1.Items.Clear();
for (int i = 0; i < 30; i++)

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,7 @@ public partial class SAV_Trainer : Form
public SAV_Trainer(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;
@ -28,9 +29,9 @@ public SAV_Trainer(Form1 frm1)
psssatoffset = 0x24800; Maison += 0xA00;
this.Width = (int)((float)Width * (float)428 / (float)590);
CB_Multi.Enabled = true;
label34.Enabled = true; // Multiplayer Sprite Label
L_MultiplayerSprite.Enabled = true; // Multiplayer Sprite Label
label21.Visible = false; // Style Label
L_Style.Visible = false; // Style Label
TB_Style.Visible = false;
GB_Appear.Visible = false;
}

View File

@ -15,6 +15,7 @@ public partial class SAV_Wondercard : Form
public SAV_Wondercard(Form1 frm1)
{
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage, this.Controls);
m_parent = frm1;
Array.Copy(m_parent.savefile, sav, 0x100000);
savindex = m_parent.savindex;
@ -254,4 +255,4 @@ private void tabMain_DragDrop(object sender, DragEventArgs e)
loadwcdata();
}
}
}
}