diff --git a/Misc/Util.cs b/Misc/Util.cs index da7731763..13299ac37 100644 --- a/Misc/Util.cs +++ b/Misc/Util.cs @@ -295,9 +295,37 @@ internal static void Shuffle(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], " = "); diff --git a/PKHeX.csproj b/PKHeX.csproj index adea91295..0ce8aa1d7 100644 --- a/PKHeX.csproj +++ b/PKHeX.csproj @@ -147,12 +147,6 @@ SAV_BerryField.cs - - Form - - - SAV_BoxIO.cs - Form @@ -259,9 +253,6 @@ SAV_BerryField.cs - - SAV_BoxIO.cs - SAV_BoxLayout.cs diff --git a/PKX/f1-Main.Designer.cs b/PKX/f1-Main.Designer.cs index e2a86cf46..0d5bae788 100644 --- a/PKX/f1-Main.Designer.cs +++ b/PKX/f1-Main.Designer.cs @@ -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; diff --git a/PKX/f1-Main.cs b/PKX/f1-Main.cs index 0f2d71356..be5f530ea 100644 --- a/PKX/f1-Main.cs +++ b/PKX/f1-Main.cs @@ -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) { diff --git a/PKX/f1-Main.resx b/PKX/f1-Main.resx index bec90d114..a0ef8fc4c 100644 --- a/PKX/f1-Main.resx +++ b/PKX/f1-Main.resx @@ -525,10 +525,10 @@ True - + True - + True @@ -579,12 +579,6 @@ True - - True - - - True - True @@ -606,6 +600,9 @@ True + + True + 46 diff --git a/PKX/f2-Text.cs b/PKX/f2-Text.cs index c849e60f0..34af1467f 100644 --- a/PKX/f2-Text.cs +++ b/PKX/f2-Text.cs @@ -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[] diff --git a/PKX/f3-MemoryAmie.cs b/PKX/f3-MemoryAmie.cs index 09a1ad1c9..d3462d2de 100644 --- a/PKX/f3-MemoryAmie.cs +++ b/PKX/f3-MemoryAmie.cs @@ -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 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 argvals = new List(); + 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 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 item_list = getComboBoxItems(Form1.itemlist, allowed); + var item_list = Util.getCBList(Form1.itemlist, items_allowed); #endregion - List species_list = (List)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 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 move_list = new List(); - // 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 CTmemargs = new List(); - 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 OTmemargs = new List(); - 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 getComboBoxItems(string[] list, int[] allowed) - { - - List combolist = new List(); - // 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 getComboBoxItems2(string[] list, int[] allowed) - { - List combolist = new List(); - // 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; - } - } } } diff --git a/PKX/f4-RibbMedal.Designer.cs b/PKX/f4-RibbMedal.Designer.cs index b4c4de71f..ff84ff337 100644 --- a/PKX/f4-RibbMedal.Designer.cs +++ b/PKX/f4-RibbMedal.Designer.cs @@ -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; diff --git a/PKX/f4-RibbMedal.cs b/PKX/f4-RibbMedal.cs index 0063e6002..2042602df 100644 --- a/PKX/f4-RibbMedal.cs +++ b/PKX/f4-RibbMedal.cs @@ -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; diff --git a/Resources/text/changelog.txt b/Resources/text/changelog.txt index 1da7e9632..136de27d4 100644 --- a/Resources/text/changelog.txt +++ b/Resources/text/changelog.txt @@ -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. \ No newline at end of file + - 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. \ No newline at end of file diff --git a/Resources/text/en/lang_en.txt b/Resources/text/en/lang_en.txt index a294b1d0c..91768ea78 100644 --- a/Resources/text/en/lang_en.txt +++ b/Resources/text/en/lang_en.txt @@ -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 \ No newline at end of file diff --git a/Resources/text/shortcuts.txt b/Resources/text/shortcuts.txt index e2d696a61..f4c9e5174 100644 --- a/Resources/text/shortcuts.txt +++ b/Resources/text/shortcuts.txt @@ -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 diff --git a/SAV/SAV_BerryField.Designer.cs b/SAV/SAV_BerryField.Designer.cs index b6bf5ade1..a9026e81f 100644 --- a/SAV/SAV_BerryField.Designer.cs +++ b/SAV/SAV_BerryField.Designer.cs @@ -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; diff --git a/SAV/SAV_BerryField.cs b/SAV/SAV_BerryField.cs index a67981e10..3a7643ee5 100644 --- a/SAV/SAV_BerryField.cs +++ b/SAV/SAV_BerryField.cs @@ -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; diff --git a/SAV/SAV_BoxIO.Designer.cs b/SAV/SAV_BoxIO.Designer.cs deleted file mode 100644 index 34d7d787c..000000000 --- a/SAV/SAV_BoxIO.Designer.cs +++ /dev/null @@ -1,136 +0,0 @@ -namespace PKHeX -{ - partial class SAV_BoxIO - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - 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; - } -} \ No newline at end of file diff --git a/SAV/SAV_BoxIO.cs b/SAV/SAV_BoxIO.cs deleted file mode 100644 index 30c6612f2..000000000 --- a/SAV/SAV_BoxIO.cs +++ /dev/null @@ -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 - } - } -} diff --git a/SAV/SAV_BoxIO.resx b/SAV/SAV_BoxIO.resx deleted file mode 100644 index 4964deeb3..000000000 --- a/SAV/SAV_BoxIO.resx +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - True - - - True - - - - - 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////// - - - \ No newline at end of file diff --git a/SAV/SAV_BoxLayout.Designer.cs b/SAV/SAV_BoxLayout.Designer.cs index 52c2829c3..f2a9cd002 100644 --- a/SAV/SAV_BoxLayout.Designer.cs +++ b/SAV/SAV_BoxLayout.Designer.cs @@ -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; diff --git a/SAV/SAV_BoxLayout.cs b/SAV/SAV_BoxLayout.cs index 089138fea..6df5ef25c 100644 --- a/SAV/SAV_BoxLayout.cs +++ b/SAV/SAV_BoxLayout.cs @@ -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; diff --git a/SAV/SAV_BoxLayout.resx b/SAV/SAV_BoxLayout.resx index e783cb733..cb4a5de3a 100644 --- a/SAV/SAV_BoxLayout.resx +++ b/SAV/SAV_BoxLayout.resx @@ -126,7 +126,7 @@ True - + True diff --git a/SAV/SAV_EventFlagsORAS.Designer.cs b/SAV/SAV_EventFlagsORAS.Designer.cs index 131370f81..6e9266231 100644 --- a/SAV/SAV_EventFlagsORAS.Designer.cs +++ b/SAV/SAV_EventFlagsORAS.Designer.cs @@ -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; diff --git a/SAV/SAV_EventFlagsORAS.cs b/SAV/SAV_EventFlagsORAS.cs index 2b60902d6..79672d10f 100644 --- a/SAV/SAV_EventFlagsORAS.cs +++ b/SAV/SAV_EventFlagsORAS.cs @@ -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; diff --git a/SAV/SAV_EventFlagsXY.Designer.cs b/SAV/SAV_EventFlagsXY.Designer.cs index dbee69681..428b25852 100644 --- a/SAV/SAV_EventFlagsXY.Designer.cs +++ b/SAV/SAV_EventFlagsXY.Designer.cs @@ -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; diff --git a/SAV/SAV_EventFlagsXY.cs b/SAV/SAV_EventFlagsXY.cs index a81a6c242..f6965b859 100644 --- a/SAV/SAV_EventFlagsXY.cs +++ b/SAV/SAV_EventFlagsXY.cs @@ -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; diff --git a/SAV/SAV_HallOfFame.cs b/SAV/SAV_HallOfFame.cs index c2654623e..41e76224f 100644 --- a/SAV/SAV_HallOfFame.cs +++ b/SAV/SAV_HallOfFame.cs @@ -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; diff --git a/SAV/SAV_Inventory.Designer.cs b/SAV/SAV_Inventory.Designer.cs index 89d1a5c6c..fc4e3e0d5 100644 --- a/SAV/SAV_Inventory.Designer.cs +++ b/SAV/SAV_Inventory.Designer.cs @@ -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; diff --git a/SAV/SAV_Inventory.cs b/SAV/SAV_Inventory.cs index 15c70ed8a..a607ffdbc 100644 --- a/SAV/SAV_Inventory.cs +++ b/SAV/SAV_Inventory.cs @@ -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; diff --git a/SAV/SAV_Inventory.resx b/SAV/SAV_Inventory.resx index 95c643915..33b3719a5 100644 --- a/SAV/SAV_Inventory.resx +++ b/SAV/SAV_Inventory.resx @@ -126,7 +126,7 @@ True - + True diff --git a/SAV/SAV_OPower.Designer.cs b/SAV/SAV_OPower.Designer.cs index 99658d28e..fbab342f0 100644 --- a/SAV/SAV_OPower.Designer.cs +++ b/SAV/SAV_OPower.Designer.cs @@ -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; } } \ No newline at end of file diff --git a/SAV/SAV_OPower.cs b/SAV/SAV_OPower.cs index 34abcf755..03d3d4966 100644 --- a/SAV/SAV_OPower.cs +++ b/SAV/SAV_OPower.cs @@ -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; diff --git a/SAV/SAV_PokedexORAS.Designer.cs b/SAV/SAV_PokedexORAS.Designer.cs index c442afab9..d0c13577f 100644 --- a/SAV/SAV_PokedexORAS.Designer.cs +++ b/SAV/SAV_PokedexORAS.Designer.cs @@ -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; } } \ No newline at end of file diff --git a/SAV/SAV_PokedexORAS.cs b/SAV/SAV_PokedexORAS.cs index f68ad0c8c..999e48e18 100644 --- a/SAV/SAV_PokedexORAS.cs +++ b/SAV/SAV_PokedexORAS.cs @@ -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; diff --git a/SAV/SAV_PokedexXY.Designer.cs b/SAV/SAV_PokedexXY.Designer.cs index c175a39ae..6ead8205a 100644 --- a/SAV/SAV_PokedexXY.Designer.cs +++ b/SAV/SAV_PokedexXY.Designer.cs @@ -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; diff --git a/SAV/SAV_PokedexXY.cs b/SAV/SAV_PokedexXY.cs index a5b1fca08..e756a2097 100644 --- a/SAV/SAV_PokedexXY.cs +++ b/SAV/SAV_PokedexXY.cs @@ -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; diff --git a/SAV/SAV_Pokepuff.Designer.cs b/SAV/SAV_Pokepuff.Designer.cs index 9032b9a34..3ddaa04fc 100644 --- a/SAV/SAV_Pokepuff.Designer.cs +++ b/SAV/SAV_Pokepuff.Designer.cs @@ -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; } } \ No newline at end of file diff --git a/SAV/SAV_Pokepuff.cs b/SAV/SAV_Pokepuff.cs index 3a0331863..5867c4dd8 100644 --- a/SAV/SAV_Pokepuff.cs +++ b/SAV/SAV_Pokepuff.cs @@ -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; diff --git a/SAV/SAV_SecretBase.Designer.cs b/SAV/SAV_SecretBase.Designer.cs index 6fe1e6388..b5cdc03fd 100644 --- a/SAV/SAV_SecretBase.Designer.cs +++ b/SAV/SAV_SecretBase.Designer.cs @@ -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; } } \ No newline at end of file diff --git a/SAV/SAV_SecretBase.cs b/SAV/SAV_SecretBase.cs index afce11376..111c8a33d 100644 --- a/SAV/SAV_SecretBase.cs +++ b/SAV/SAV_SecretBase.cs @@ -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; diff --git a/SAV/SAV_SuperTrain.Designer.cs b/SAV/SAV_SuperTrain.Designer.cs index ee3c23636..1e2c51459 100644 --- a/SAV/SAV_SuperTrain.Designer.cs +++ b/SAV/SAV_SuperTrain.Designer.cs @@ -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; } } \ No newline at end of file diff --git a/SAV/SAV_SuperTrain.cs b/SAV/SAV_SuperTrain.cs index 989299474..dfb0a4c75 100644 --- a/SAV/SAV_SuperTrain.cs +++ b/SAV/SAV_SuperTrain.cs @@ -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++) diff --git a/SAV/SAV_Trainer.Designer.cs b/SAV/SAV_Trainer.Designer.cs index b4f846b4e..e492dc5e5 100644 --- a/SAV/SAV_Trainer.Designer.cs +++ b/SAV/SAV_Trainer.Designer.cs @@ -32,9 +32,9 @@ private void InitializeComponent() this.B_Cancel = new System.Windows.Forms.Button(); this.B_Save = new System.Windows.Forms.Button(); this.TB_OTName = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); + this.L_TrainerName = new System.Windows.Forms.Label(); this.MT_Money = new System.Windows.Forms.MaskedTextBox(); - this.label2 = new System.Windows.Forms.Label(); + this.L_Money = new System.Windows.Forms.Label(); this.L_TID = new System.Windows.Forms.Label(); this.L_SID = new System.Windows.Forms.Label(); this.MT_TID = new System.Windows.Forms.MaskedTextBox(); @@ -90,7 +90,7 @@ private void InitializeComponent() this.CB_Game = new System.Windows.Forms.ComboBox(); this.CB_Gender = new System.Windows.Forms.ComboBox(); this.TB_Style = new System.Windows.Forms.MaskedTextBox(); - this.label21 = new System.Windows.Forms.Label(); + this.L_Style = new System.Windows.Forms.Label(); this.GB_MaisonBest = new System.Windows.Forms.GroupBox(); this.TB_MBMS = new System.Windows.Forms.MaskedTextBox(); this.TB_MBMN = new System.Windows.Forms.MaskedTextBox(); @@ -102,13 +102,13 @@ private void InitializeComponent() this.TB_MBDN = new System.Windows.Forms.MaskedTextBox(); this.TB_MBSS = new System.Windows.Forms.MaskedTextBox(); this.TB_MBSN = new System.Windows.Forms.MaskedTextBox(); - this.label9 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - 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.GB_SuperB = new System.Windows.Forms.Label(); + this.L_NormalB = new System.Windows.Forms.Label(); + this.L_MultiB = new System.Windows.Forms.Label(); + this.L_RotationB = new System.Windows.Forms.Label(); + this.L_TriplesB = new System.Windows.Forms.Label(); + this.L_DoublesB = new System.Windows.Forms.Label(); + this.L_SinglesB = new System.Windows.Forms.Label(); this.GB_MaisonCurrent = new System.Windows.Forms.GroupBox(); this.TB_MCMS = new System.Windows.Forms.MaskedTextBox(); this.TB_MCMN = new System.Windows.Forms.MaskedTextBox(); @@ -120,19 +120,19 @@ private void InitializeComponent() this.TB_MCDN = new System.Windows.Forms.MaskedTextBox(); this.TB_MCSS = new System.Windows.Forms.MaskedTextBox(); this.TB_MCSN = new System.Windows.Forms.MaskedTextBox(); - this.label10 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.label16 = 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.label20 = new System.Windows.Forms.Label(); + this.L_SuperC = new System.Windows.Forms.Label(); + this.L_NormalC = new System.Windows.Forms.Label(); + this.L_MultiC = new System.Windows.Forms.Label(); + this.L_RotationC = new System.Windows.Forms.Label(); + this.L_TriplesC = new System.Windows.Forms.Label(); + this.L_DoublesC = new System.Windows.Forms.Label(); + this.L_SinglesC = new System.Windows.Forms.Label(); + this.L_CurrentMap = new System.Windows.Forms.Label(); + this.L_X = new System.Windows.Forms.Label(); + this.L_Y = new System.Windows.Forms.Label(); + this.L_Z = new System.Windows.Forms.Label(); this.GB_Appear = new System.Windows.Forms.GroupBox(); - this.label35 = new System.Windows.Forms.Label(); + this.L_Outfit = new System.Windows.Forms.Label(); this.MT_1403F = new System.Windows.Forms.MaskedTextBox(); this.MT_1403E = new System.Windows.Forms.MaskedTextBox(); this.MT_1403D = new System.Windows.Forms.MaskedTextBox(); @@ -152,7 +152,7 @@ private void InitializeComponent() this.MT_14030 = new System.Windows.Forms.MaskedTextBox(); this.MT_Hat = new System.Windows.Forms.MaskedTextBox(); this.MT_HairColor = new System.Windows.Forms.MaskedTextBox(); - this.label32 = new System.Windows.Forms.Label(); + this.L_Dress = new System.Windows.Forms.Label(); this.CB_Dress = new System.Windows.Forms.ComboBox(); this.CB_Bag = new System.Windows.Forms.ComboBox(); this.CB_Socks = new System.Windows.Forms.ComboBox(); @@ -160,33 +160,33 @@ private void InitializeComponent() this.CB_Shirt = new System.Windows.Forms.ComboBox(); this.CB_Accessory = new System.Windows.Forms.ComboBox(); this.CB_Hat = new System.Windows.Forms.ComboBox(); - this.label31 = new System.Windows.Forms.Label(); - this.label30 = new System.Windows.Forms.Label(); - this.label29 = new System.Windows.Forms.Label(); - this.label28 = new System.Windows.Forms.Label(); - this.label27 = new System.Windows.Forms.Label(); + this.L_Accessory = new System.Windows.Forms.Label(); + this.L_Bag = new System.Windows.Forms.Label(); + this.L_Socks = new System.Windows.Forms.Label(); + this.L_Pants = new System.Windows.Forms.Label(); + this.L_Shirt = new System.Windows.Forms.Label(); this.CB_FaceHair = new System.Windows.Forms.ComboBox(); this.CB_Hair = new System.Windows.Forms.ComboBox(); this.CB_Eye = new System.Windows.Forms.ComboBox(); this.CB_Skin = new System.Windows.Forms.ComboBox(); - this.label26 = new System.Windows.Forms.Label(); - this.label25 = new System.Windows.Forms.Label(); - this.label24 = new System.Windows.Forms.Label(); - this.label23 = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); + this.L_Hat = new System.Windows.Forms.Label(); + this.L_FacialHair = new System.Windows.Forms.Label(); + this.L_Hairstyle = new System.Windows.Forms.Label(); + this.L_HairColor = new System.Windows.Forms.Label(); + this.L_SkinColor = new System.Windows.Forms.Label(); this.GB_Map = new System.Windows.Forms.GroupBox(); this.TB_CoordY = new System.Windows.Forms.MaskedTextBox(); this.TB_CoordZ = new System.Windows.Forms.MaskedTextBox(); this.TB_CoordX = new System.Windows.Forms.MaskedTextBox(); this.TB_CoordM = new System.Windows.Forms.MaskedTextBox(); this.GB_Misc = new System.Windows.Forms.GroupBox(); - this.label34 = new System.Windows.Forms.Label(); + this.L_MultiplayerSprite = new System.Windows.Forms.Label(); this.PB_Sprite = new System.Windows.Forms.PictureBox(); this.CB_Multi = new System.Windows.Forms.ComboBox(); this.L_Offset = new System.Windows.Forms.Label(); - this.label33 = new System.Windows.Forms.Label(); + this.L_Stats = new System.Windows.Forms.Label(); this.CB_Stats = new System.Windows.Forms.ComboBox(); - this.label39 = new System.Windows.Forms.Label(); + this.L_Value = new System.Windows.Forms.Label(); this.MT_Stat = new System.Windows.Forms.MaskedTextBox(); this.GB_Badges.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pb8)).BeginInit(); @@ -240,14 +240,14 @@ private void InitializeComponent() this.TB_OTName.Text = "WWWWWWWWWWWW"; this.TB_OTName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // label1 + // L_TrainerName // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(19, 20); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(74, 13); - this.label1.TabIndex = 3; - this.label1.Text = "Trainer Name:"; + this.L_TrainerName.AutoSize = true; + this.L_TrainerName.Location = new System.Drawing.Point(19, 20); + this.L_TrainerName.Name = "L_TrainerName"; + this.L_TrainerName.Size = new System.Drawing.Size(74, 13); + this.L_TrainerName.TabIndex = 3; + this.L_TrainerName.Text = "Trainer Name:"; // // MT_Money // @@ -259,14 +259,14 @@ private void InitializeComponent() this.MT_Money.TabIndex = 4; this.MT_Money.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // label2 + // L_Money // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(102, 42); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(16, 13); - this.label2.TabIndex = 5; - this.label2.Text = "$:"; + this.L_Money.AutoSize = true; + this.L_Money.Location = new System.Drawing.Point(102, 42); + this.L_Money.Name = "L_Money"; + this.L_Money.Size = new System.Drawing.Size(16, 13); + this.L_Money.TabIndex = 5; + this.L_Money.Text = "$:"; // // L_TID // @@ -661,12 +661,12 @@ private void InitializeComponent() this.GB_Overview.Controls.Add(this.L_3DSReg); this.GB_Overview.Controls.Add(this.MT_SID); this.GB_Overview.Controls.Add(this.MT_TID); - this.GB_Overview.Controls.Add(this.label2); + this.GB_Overview.Controls.Add(this.L_Money); this.GB_Overview.Controls.Add(this.L_SID); this.GB_Overview.Controls.Add(this.MT_Money); this.GB_Overview.Controls.Add(this.L_TID); this.GB_Overview.Controls.Add(this.TB_OTName); - this.GB_Overview.Controls.Add(this.label1); + this.GB_Overview.Controls.Add(this.L_TrainerName); this.GB_Overview.Controls.Add(this.CB_Game); this.GB_Overview.Controls.Add(this.CB_Gender); this.GB_Overview.Location = new System.Drawing.Point(12, 12); @@ -890,14 +890,14 @@ private void InitializeComponent() this.TB_Style.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.TB_Style.TextChanged += new System.EventHandler(this.change255); // - // label21 + // L_Style // - this.label21.Location = new System.Drawing.Point(42, 70); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(46, 13); - this.label21.TabIndex = 7; - this.label21.Text = "Style:"; - this.label21.TextAlign = System.Drawing.ContentAlignment.TopRight; + this.L_Style.Location = new System.Drawing.Point(42, 70); + this.L_Style.Name = "L_Style"; + this.L_Style.Size = new System.Drawing.Size(46, 13); + this.L_Style.TabIndex = 7; + this.L_Style.Text = "Style:"; + this.L_Style.TextAlign = System.Drawing.ContentAlignment.TopRight; // // GB_MaisonBest // @@ -912,13 +912,13 @@ private void InitializeComponent() this.GB_MaisonBest.Controls.Add(this.TB_MBDN); this.GB_MaisonBest.Controls.Add(this.TB_MBSS); this.GB_MaisonBest.Controls.Add(this.TB_MBSN); - this.GB_MaisonBest.Controls.Add(this.label9); - this.GB_MaisonBest.Controls.Add(this.label8); - this.GB_MaisonBest.Controls.Add(this.label7); - this.GB_MaisonBest.Controls.Add(this.label6); - this.GB_MaisonBest.Controls.Add(this.label5); - this.GB_MaisonBest.Controls.Add(this.label4); - this.GB_MaisonBest.Controls.Add(this.label3); + this.GB_MaisonBest.Controls.Add(this.GB_SuperB); + this.GB_MaisonBest.Controls.Add(this.L_NormalB); + this.GB_MaisonBest.Controls.Add(this.L_MultiB); + this.GB_MaisonBest.Controls.Add(this.L_RotationB); + this.GB_MaisonBest.Controls.Add(this.L_TriplesB); + this.GB_MaisonBest.Controls.Add(this.L_DoublesB); + this.GB_MaisonBest.Controls.Add(this.L_SinglesB); this.GB_MaisonBest.Location = new System.Drawing.Point(416, 148); this.GB_MaisonBest.Name = "GB_MaisonBest"; this.GB_MaisonBest.Size = new System.Drawing.Size(155, 134); @@ -1016,68 +1016,68 @@ private void InitializeComponent() this.TB_MBSN.Size = new System.Drawing.Size(35, 20); this.TB_MBSN.TabIndex = 56; // - // label9 + // GB_SuperB // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(104, 17); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(35, 13); - this.label9.TabIndex = 45; - this.label9.Text = "Super"; + this.GB_SuperB.AutoSize = true; + this.GB_SuperB.Location = new System.Drawing.Point(104, 17); + this.GB_SuperB.Name = "GB_SuperB"; + this.GB_SuperB.Size = new System.Drawing.Size(35, 13); + this.GB_SuperB.TabIndex = 45; + this.GB_SuperB.Text = "Super"; // - // label8 + // L_NormalB // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(58, 17); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(40, 13); - this.label8.TabIndex = 44; - this.label8.Text = "Normal"; + this.L_NormalB.AutoSize = true; + this.L_NormalB.Location = new System.Drawing.Point(58, 17); + this.L_NormalB.Name = "L_NormalB"; + this.L_NormalB.Size = new System.Drawing.Size(40, 13); + this.L_NormalB.TabIndex = 44; + this.L_NormalB.Text = "Normal"; // - // label7 + // L_MultiB // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(8, 109); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(32, 13); - this.label7.TabIndex = 43; - this.label7.Text = "Multi:"; + this.L_MultiB.AutoSize = true; + this.L_MultiB.Location = new System.Drawing.Point(8, 109); + this.L_MultiB.Name = "L_MultiB"; + this.L_MultiB.Size = new System.Drawing.Size(32, 13); + this.L_MultiB.TabIndex = 43; + this.L_MultiB.Text = "Multi:"; // - // label6 + // L_RotationB // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(8, 91); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(50, 13); - this.label6.TabIndex = 42; - this.label6.Text = "Rotation:"; + this.L_RotationB.AutoSize = true; + this.L_RotationB.Location = new System.Drawing.Point(8, 91); + this.L_RotationB.Name = "L_RotationB"; + this.L_RotationB.Size = new System.Drawing.Size(50, 13); + this.L_RotationB.TabIndex = 42; + this.L_RotationB.Text = "Rotation:"; // - // label5 + // L_TriplesB // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(8, 72); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(41, 13); - this.label5.TabIndex = 41; - this.label5.Text = "Triples:"; + this.L_TriplesB.AutoSize = true; + this.L_TriplesB.Location = new System.Drawing.Point(8, 72); + this.L_TriplesB.Name = "L_TriplesB"; + this.L_TriplesB.Size = new System.Drawing.Size(41, 13); + this.L_TriplesB.TabIndex = 41; + this.L_TriplesB.Text = "Triples:"; // - // label4 + // L_DoublesB // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(8, 53); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(49, 13); - this.label4.TabIndex = 40; - this.label4.Text = "Doubles:"; + this.L_DoublesB.AutoSize = true; + this.L_DoublesB.Location = new System.Drawing.Point(8, 53); + this.L_DoublesB.Name = "L_DoublesB"; + this.L_DoublesB.Size = new System.Drawing.Size(49, 13); + this.L_DoublesB.TabIndex = 40; + this.L_DoublesB.Text = "Doubles:"; // - // label3 + // L_SinglesB // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(8, 34); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(44, 13); - this.label3.TabIndex = 39; - this.label3.Text = "Singles:"; + this.L_SinglesB.AutoSize = true; + this.L_SinglesB.Location = new System.Drawing.Point(8, 34); + this.L_SinglesB.Name = "L_SinglesB"; + this.L_SinglesB.Size = new System.Drawing.Size(44, 13); + this.L_SinglesB.TabIndex = 39; + this.L_SinglesB.Text = "Singles:"; // // GB_MaisonCurrent // @@ -1092,13 +1092,13 @@ private void InitializeComponent() this.GB_MaisonCurrent.Controls.Add(this.TB_MCDN); this.GB_MaisonCurrent.Controls.Add(this.TB_MCSS); this.GB_MaisonCurrent.Controls.Add(this.TB_MCSN); - this.GB_MaisonCurrent.Controls.Add(this.label10); - this.GB_MaisonCurrent.Controls.Add(this.label11); - this.GB_MaisonCurrent.Controls.Add(this.label12); - this.GB_MaisonCurrent.Controls.Add(this.label13); - this.GB_MaisonCurrent.Controls.Add(this.label14); - this.GB_MaisonCurrent.Controls.Add(this.label15); - this.GB_MaisonCurrent.Controls.Add(this.label16); + this.GB_MaisonCurrent.Controls.Add(this.L_SuperC); + this.GB_MaisonCurrent.Controls.Add(this.L_NormalC); + this.GB_MaisonCurrent.Controls.Add(this.L_MultiC); + this.GB_MaisonCurrent.Controls.Add(this.L_RotationC); + this.GB_MaisonCurrent.Controls.Add(this.L_TriplesC); + this.GB_MaisonCurrent.Controls.Add(this.L_DoublesC); + this.GB_MaisonCurrent.Controls.Add(this.L_SinglesC); this.GB_MaisonCurrent.Location = new System.Drawing.Point(416, 12); this.GB_MaisonCurrent.Name = "GB_MaisonCurrent"; this.GB_MaisonCurrent.Size = new System.Drawing.Size(155, 130); @@ -1196,108 +1196,108 @@ private void InitializeComponent() this.TB_MCSN.Size = new System.Drawing.Size(35, 20); this.TB_MCSN.TabIndex = 46; // - // label10 + // L_SuperC // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(106, 17); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(35, 13); - this.label10.TabIndex = 45; - this.label10.Text = "Super"; + this.L_SuperC.AutoSize = true; + this.L_SuperC.Location = new System.Drawing.Point(104, 16); + this.L_SuperC.Name = "L_SuperC"; + this.L_SuperC.Size = new System.Drawing.Size(35, 13); + this.L_SuperC.TabIndex = 45; + this.L_SuperC.Text = "Super"; // - // label11 + // L_NormalC // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(58, 16); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(40, 13); - this.label11.TabIndex = 44; - this.label11.Text = "Normal"; + this.L_NormalC.AutoSize = true; + this.L_NormalC.Location = new System.Drawing.Point(58, 16); + this.L_NormalC.Name = "L_NormalC"; + this.L_NormalC.Size = new System.Drawing.Size(40, 13); + this.L_NormalC.TabIndex = 44; + this.L_NormalC.Text = "Normal"; // - // label12 + // L_MultiC // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(8, 107); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(32, 13); - this.label12.TabIndex = 43; - this.label12.Text = "Multi:"; + this.L_MultiC.AutoSize = true; + this.L_MultiC.Location = new System.Drawing.Point(8, 107); + this.L_MultiC.Name = "L_MultiC"; + this.L_MultiC.Size = new System.Drawing.Size(32, 13); + this.L_MultiC.TabIndex = 43; + this.L_MultiC.Text = "Multi:"; // - // label13 + // L_RotationC // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(8, 89); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(50, 13); - this.label13.TabIndex = 42; - this.label13.Text = "Rotation:"; + this.L_RotationC.AutoSize = true; + this.L_RotationC.Location = new System.Drawing.Point(8, 89); + this.L_RotationC.Name = "L_RotationC"; + this.L_RotationC.Size = new System.Drawing.Size(50, 13); + this.L_RotationC.TabIndex = 42; + this.L_RotationC.Text = "Rotation:"; // - // label14 + // L_TriplesC // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(8, 70); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(41, 13); - this.label14.TabIndex = 41; - this.label14.Text = "Triples:"; + this.L_TriplesC.AutoSize = true; + this.L_TriplesC.Location = new System.Drawing.Point(8, 70); + this.L_TriplesC.Name = "L_TriplesC"; + this.L_TriplesC.Size = new System.Drawing.Size(41, 13); + this.L_TriplesC.TabIndex = 41; + this.L_TriplesC.Text = "Triples:"; // - // label15 + // L_DoublesC // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(8, 51); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(49, 13); - this.label15.TabIndex = 40; - this.label15.Text = "Doubles:"; + this.L_DoublesC.AutoSize = true; + this.L_DoublesC.Location = new System.Drawing.Point(8, 51); + this.L_DoublesC.Name = "L_DoublesC"; + this.L_DoublesC.Size = new System.Drawing.Size(49, 13); + this.L_DoublesC.TabIndex = 40; + this.L_DoublesC.Text = "Doubles:"; // - // label16 + // L_SinglesC // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(8, 32); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(44, 13); - this.label16.TabIndex = 39; - this.label16.Text = "Singles:"; + this.L_SinglesC.AutoSize = true; + this.L_SinglesC.Location = new System.Drawing.Point(8, 32); + this.L_SinglesC.Name = "L_SinglesC"; + this.L_SinglesC.Size = new System.Drawing.Size(44, 13); + this.L_SinglesC.TabIndex = 39; + this.L_SinglesC.Text = "Singles:"; // - // label17 + // L_CurrentMap // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(36, 35); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(68, 13); - this.label17.TabIndex = 46; - this.label17.Text = "Current Map:"; + this.L_CurrentMap.AutoSize = true; + this.L_CurrentMap.Location = new System.Drawing.Point(36, 35); + this.L_CurrentMap.Name = "L_CurrentMap"; + this.L_CurrentMap.Size = new System.Drawing.Size(68, 13); + this.L_CurrentMap.TabIndex = 46; + this.L_CurrentMap.Text = "Current Map:"; // - // label18 + // L_X // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(31, 73); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(71, 13); - this.label18.TabIndex = 47; - this.label18.Text = "X Coordinate:"; + this.L_X.AutoSize = true; + this.L_X.Location = new System.Drawing.Point(31, 73); + this.L_X.Name = "L_X"; + this.L_X.Size = new System.Drawing.Size(71, 13); + this.L_X.TabIndex = 47; + this.L_X.Text = "X Coordinate:"; // - // label19 + // L_Y // - this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(31, 151); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(71, 13); - this.label19.TabIndex = 49; - this.label19.Text = "Y Coordinate:"; + this.L_Y.AutoSize = true; + this.L_Y.Location = new System.Drawing.Point(31, 151); + this.L_Y.Name = "L_Y"; + this.L_Y.Size = new System.Drawing.Size(71, 13); + this.L_Y.TabIndex = 49; + this.L_Y.Text = "Y Coordinate:"; // - // label20 + // L_Z // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(31, 111); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(71, 13); - this.label20.TabIndex = 48; - this.label20.Text = "Z Coordinate:"; + this.L_Z.AutoSize = true; + this.L_Z.Location = new System.Drawing.Point(31, 111); + this.L_Z.Name = "L_Z"; + this.L_Z.Size = new System.Drawing.Size(71, 13); + this.L_Z.TabIndex = 48; + this.L_Z.Text = "Z Coordinate:"; // // GB_Appear // - this.GB_Appear.Controls.Add(this.label35); + this.GB_Appear.Controls.Add(this.L_Outfit); this.GB_Appear.Controls.Add(this.MT_1403F); this.GB_Appear.Controls.Add(this.MT_1403E); this.GB_Appear.Controls.Add(this.MT_1403D); @@ -1317,7 +1317,7 @@ private void InitializeComponent() this.GB_Appear.Controls.Add(this.MT_14030); this.GB_Appear.Controls.Add(this.MT_Hat); this.GB_Appear.Controls.Add(this.MT_HairColor); - this.GB_Appear.Controls.Add(this.label32); + this.GB_Appear.Controls.Add(this.L_Dress); this.GB_Appear.Controls.Add(this.CB_Dress); this.GB_Appear.Controls.Add(this.CB_Bag); this.GB_Appear.Controls.Add(this.CB_Socks); @@ -1325,20 +1325,20 @@ private void InitializeComponent() this.GB_Appear.Controls.Add(this.CB_Shirt); this.GB_Appear.Controls.Add(this.CB_Accessory); this.GB_Appear.Controls.Add(this.CB_Hat); - this.GB_Appear.Controls.Add(this.label31); - this.GB_Appear.Controls.Add(this.label30); - this.GB_Appear.Controls.Add(this.label29); - this.GB_Appear.Controls.Add(this.label28); - this.GB_Appear.Controls.Add(this.label27); + this.GB_Appear.Controls.Add(this.L_Accessory); + this.GB_Appear.Controls.Add(this.L_Bag); + this.GB_Appear.Controls.Add(this.L_Socks); + this.GB_Appear.Controls.Add(this.L_Pants); + this.GB_Appear.Controls.Add(this.L_Shirt); this.GB_Appear.Controls.Add(this.CB_FaceHair); this.GB_Appear.Controls.Add(this.CB_Hair); this.GB_Appear.Controls.Add(this.CB_Eye); this.GB_Appear.Controls.Add(this.CB_Skin); - this.GB_Appear.Controls.Add(this.label26); - this.GB_Appear.Controls.Add(this.label25); - this.GB_Appear.Controls.Add(this.label24); - this.GB_Appear.Controls.Add(this.label23); - this.GB_Appear.Controls.Add(this.label22); + this.GB_Appear.Controls.Add(this.L_Hat); + this.GB_Appear.Controls.Add(this.L_FacialHair); + this.GB_Appear.Controls.Add(this.L_Hairstyle); + this.GB_Appear.Controls.Add(this.L_HairColor); + this.GB_Appear.Controls.Add(this.L_SkinColor); this.GB_Appear.Location = new System.Drawing.Point(230, 12); this.GB_Appear.Name = "GB_Appear"; this.GB_Appear.Size = new System.Drawing.Size(180, 270); @@ -1346,14 +1346,14 @@ private void InitializeComponent() this.GB_Appear.TabStop = false; this.GB_Appear.Text = "Current Appearance (X/Y)"; // - // label35 + // L_Outfit // - this.label35.AutoSize = true; - this.label35.Location = new System.Drawing.Point(116, 244); - this.label35.Name = "label35"; - this.label35.Size = new System.Drawing.Size(55, 13); - this.label35.TabIndex = 72; - this.label35.Text = "Outfit Vals"; + this.L_Outfit.AutoSize = true; + this.L_Outfit.Location = new System.Drawing.Point(116, 244); + this.L_Outfit.Name = "L_Outfit"; + this.L_Outfit.Size = new System.Drawing.Size(55, 13); + this.L_Outfit.TabIndex = 72; + this.L_Outfit.Text = "Outfit Vals"; // // MT_1403F // @@ -1544,15 +1544,15 @@ private void InitializeComponent() this.MT_HairColor.TabIndex = 55; this.MT_HairColor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // label32 + // L_Dress // - this.label32.Location = new System.Drawing.Point(11, 194); - this.label32.Name = "label32"; - this.label32.Size = new System.Drawing.Size(65, 13); - this.label32.TabIndex = 21; - this.label32.Text = "Dress:"; - this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label32.Visible = false; + this.L_Dress.Location = new System.Drawing.Point(11, 194); + this.L_Dress.Name = "L_Dress"; + this.L_Dress.Size = new System.Drawing.Size(65, 13); + this.L_Dress.TabIndex = 21; + this.L_Dress.Text = "Dress:"; + this.L_Dress.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Dress.Visible = false; // // CB_Dress // @@ -1624,54 +1624,54 @@ private void InitializeComponent() this.CB_Hat.TabIndex = 14; this.CB_Hat.Visible = false; // - // label31 + // L_Accessory // - this.label31.Location = new System.Drawing.Point(11, 131); - this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(65, 13); - this.label31.TabIndex = 13; - this.label31.Text = "Accessory:"; - this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label31.Visible = false; + this.L_Accessory.Location = new System.Drawing.Point(11, 131); + this.L_Accessory.Name = "L_Accessory"; + this.L_Accessory.Size = new System.Drawing.Size(65, 13); + this.L_Accessory.TabIndex = 13; + this.L_Accessory.Text = "Accessory:"; + this.L_Accessory.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Accessory.Visible = false; // - // label30 + // L_Bag // - this.label30.Location = new System.Drawing.Point(11, 235); - this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(65, 13); - this.label30.TabIndex = 12; - this.label30.Text = "Bag:"; - this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Bag.Location = new System.Drawing.Point(11, 235); + this.L_Bag.Name = "L_Bag"; + this.L_Bag.Size = new System.Drawing.Size(65, 13); + this.L_Bag.TabIndex = 12; + this.L_Bag.Text = "Bag:"; + this.L_Bag.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // label29 + // L_Socks // - this.label29.Location = new System.Drawing.Point(11, 214); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(65, 13); - this.label29.TabIndex = 11; - this.label29.Text = "Socks:"; - this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label29.Visible = false; + this.L_Socks.Location = new System.Drawing.Point(11, 214); + this.L_Socks.Name = "L_Socks"; + this.L_Socks.Size = new System.Drawing.Size(65, 13); + this.L_Socks.TabIndex = 11; + this.L_Socks.Text = "Socks:"; + this.L_Socks.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Socks.Visible = false; // - // label28 + // L_Pants // - this.label28.Location = new System.Drawing.Point(11, 173); - this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(65, 13); - this.label28.TabIndex = 10; - this.label28.Text = "Pants:"; - this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label28.Visible = false; + this.L_Pants.Location = new System.Drawing.Point(11, 173); + this.L_Pants.Name = "L_Pants"; + this.L_Pants.Size = new System.Drawing.Size(65, 13); + this.L_Pants.TabIndex = 10; + this.L_Pants.Text = "Pants:"; + this.L_Pants.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Pants.Visible = false; // - // label27 + // L_Shirt // - this.label27.Location = new System.Drawing.Point(11, 152); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(65, 13); - this.label27.TabIndex = 9; - this.label27.Text = "Shirt:"; - this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label27.Visible = false; + this.L_Shirt.Location = new System.Drawing.Point(11, 152); + this.L_Shirt.Name = "L_Shirt"; + this.L_Shirt.Size = new System.Drawing.Size(65, 13); + this.L_Shirt.TabIndex = 9; + this.L_Shirt.Text = "Shirt:"; + this.L_Shirt.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Shirt.Visible = false; // // CB_FaceHair // @@ -1713,64 +1713,64 @@ private void InitializeComponent() this.CB_Skin.TabIndex = 5; this.CB_Skin.Visible = false; // - // label26 + // L_Hat // - this.label26.Location = new System.Drawing.Point(11, 110); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(65, 13); - this.label26.TabIndex = 4; - this.label26.Text = "Hat:"; - this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Hat.Location = new System.Drawing.Point(11, 110); + this.L_Hat.Name = "L_Hat"; + this.L_Hat.Size = new System.Drawing.Size(65, 13); + this.L_Hat.TabIndex = 4; + this.L_Hat.Text = "Hat:"; + this.L_Hat.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // label25 + // L_FacialHair // - this.label25.Location = new System.Drawing.Point(11, 88); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(65, 13); - this.label25.TabIndex = 3; - this.label25.Text = "Facial Hair:"; - this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label25.Visible = false; + this.L_FacialHair.Location = new System.Drawing.Point(11, 88); + this.L_FacialHair.Name = "L_FacialHair"; + this.L_FacialHair.Size = new System.Drawing.Size(65, 13); + this.L_FacialHair.TabIndex = 3; + this.L_FacialHair.Text = "Facial Hair:"; + this.L_FacialHair.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_FacialHair.Visible = false; // - // label24 + // L_Hairstyle // - this.label24.Location = new System.Drawing.Point(11, 67); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(65, 13); - this.label24.TabIndex = 2; - this.label24.Text = "Hairstyle:"; - this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label24.Visible = false; + this.L_Hairstyle.Location = new System.Drawing.Point(11, 67); + this.L_Hairstyle.Name = "L_Hairstyle"; + this.L_Hairstyle.Size = new System.Drawing.Size(65, 13); + this.L_Hairstyle.TabIndex = 2; + this.L_Hairstyle.Text = "Hairstyle:"; + this.L_Hairstyle.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Hairstyle.Visible = false; // - // label23 + // L_HairColor // - this.label23.Location = new System.Drawing.Point(11, 47); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(65, 13); - this.label23.TabIndex = 1; - this.label23.Text = "Hair Color:"; - this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_HairColor.Location = new System.Drawing.Point(11, 47); + this.L_HairColor.Name = "L_HairColor"; + this.L_HairColor.Size = new System.Drawing.Size(65, 13); + this.L_HairColor.TabIndex = 1; + this.L_HairColor.Text = "Hair Color:"; + this.L_HairColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // label22 + // L_SkinColor // - this.label22.Location = new System.Drawing.Point(11, 28); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(65, 13); - this.label22.TabIndex = 0; - this.label22.Text = "Skin Color:"; - this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.label22.Visible = false; + this.L_SkinColor.Location = new System.Drawing.Point(11, 28); + this.L_SkinColor.Name = "L_SkinColor"; + this.L_SkinColor.Size = new System.Drawing.Size(65, 13); + this.L_SkinColor.TabIndex = 0; + this.L_SkinColor.Text = "Skin Color:"; + this.L_SkinColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_SkinColor.Visible = false; // // GB_Map // this.GB_Map.Controls.Add(this.TB_CoordY); - this.GB_Map.Controls.Add(this.label19); + this.GB_Map.Controls.Add(this.L_Y); this.GB_Map.Controls.Add(this.TB_CoordZ); - this.GB_Map.Controls.Add(this.label17); + this.GB_Map.Controls.Add(this.L_CurrentMap); this.GB_Map.Controls.Add(this.TB_CoordX); - this.GB_Map.Controls.Add(this.label20); + this.GB_Map.Controls.Add(this.L_Z); this.GB_Map.Controls.Add(this.TB_CoordM); - this.GB_Map.Controls.Add(this.label18); + this.GB_Map.Controls.Add(this.L_X); this.GB_Map.Location = new System.Drawing.Point(230, 288); this.GB_Map.Name = "GB_Map"; this.GB_Map.Size = new System.Drawing.Size(179, 195); @@ -1817,10 +1817,10 @@ private void InitializeComponent() // GB_Misc // this.GB_Misc.Controls.Add(this.TB_Style); - this.GB_Misc.Controls.Add(this.label34); + this.GB_Misc.Controls.Add(this.L_MultiplayerSprite); this.GB_Misc.Controls.Add(this.PB_Sprite); this.GB_Misc.Controls.Add(this.CB_Multi); - this.GB_Misc.Controls.Add(this.label21); + this.GB_Misc.Controls.Add(this.L_Style); this.GB_Misc.Location = new System.Drawing.Point(13, 374); this.GB_Misc.Name = "GB_Misc"; this.GB_Misc.Size = new System.Drawing.Size(209, 109); @@ -1828,15 +1828,15 @@ private void InitializeComponent() this.GB_Misc.TabStop = false; this.GB_Misc.Text = "Misc"; // - // label34 + // L_MultiplayerSprite // - this.label34.AutoSize = true; - this.label34.Enabled = false; - this.label34.Location = new System.Drawing.Point(44, 18); - this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(90, 13); - this.label34.TabIndex = 27; - this.label34.Text = "Multiplayer Sprite:"; + this.L_MultiplayerSprite.AutoSize = true; + this.L_MultiplayerSprite.Enabled = false; + this.L_MultiplayerSprite.Location = new System.Drawing.Point(44, 18); + this.L_MultiplayerSprite.Name = "L_MultiplayerSprite"; + this.L_MultiplayerSprite.Size = new System.Drawing.Size(90, 13); + this.L_MultiplayerSprite.TabIndex = 27; + this.L_MultiplayerSprite.Text = "Multiplayer Sprite:"; // // PB_Sprite // @@ -1869,15 +1869,15 @@ private void InitializeComponent() this.L_Offset.TabIndex = 28; this.L_Offset.Text = "(offset)"; // - // label33 + // L_Stats // - this.label33.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.label33.AutoSize = true; - this.label33.Location = new System.Drawing.Point(424, 524); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(31, 13); - this.label33.TabIndex = 24; - this.label33.Text = "Stats"; + this.L_Stats.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.L_Stats.AutoSize = true; + this.L_Stats.Location = new System.Drawing.Point(424, 524); + this.L_Stats.Name = "L_Stats"; + this.L_Stats.Size = new System.Drawing.Size(31, 13); + this.L_Stats.TabIndex = 24; + this.L_Stats.Text = "Stats"; // // CB_Stats // @@ -1893,15 +1893,15 @@ private void InitializeComponent() this.CB_Stats.TabIndex = 23; this.CB_Stats.SelectedIndexChanged += new System.EventHandler(this.changeStat); // - // label39 + // L_Value // - this.label39.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.label39.AutoSize = true; - this.label39.Location = new System.Drawing.Point(424, 564); - this.label39.Name = "label39"; - this.label39.Size = new System.Drawing.Size(34, 13); - this.label39.TabIndex = 22; - this.label39.Text = "Value"; + this.L_Value.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.L_Value.AutoSize = true; + this.L_Value.Location = new System.Drawing.Point(424, 564); + this.L_Value.Name = "L_Value"; + this.L_Value.Size = new System.Drawing.Size(34, 13); + this.L_Value.TabIndex = 22; + this.L_Value.Text = "Value"; // // MT_Stat // @@ -1928,11 +1928,11 @@ private void InitializeComponent() this.Controls.Add(this.GB_MaisonCurrent); this.Controls.Add(this.GB_MaisonBest); this.Controls.Add(this.B_Save); - this.Controls.Add(this.label33); + this.Controls.Add(this.L_Stats); this.Controls.Add(this.B_Cancel); this.Controls.Add(this.CB_Stats); this.Controls.Add(this.GB_Overview); - this.Controls.Add(this.label39); + this.Controls.Add(this.L_Value); this.Controls.Add(this.GB_Sayings); this.Controls.Add(this.MT_Stat); this.Controls.Add(this.GB_Badges); @@ -1978,9 +1978,9 @@ private void InitializeComponent() private System.Windows.Forms.Button B_Cancel; private System.Windows.Forms.Button B_Save; private System.Windows.Forms.TextBox TB_OTName; - private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label L_TrainerName; private System.Windows.Forms.MaskedTextBox MT_Money; - private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label L_Money; private System.Windows.Forms.Label L_TID; private System.Windows.Forms.Label L_SID; private System.Windows.Forms.MaskedTextBox MT_TID; @@ -2023,34 +2023,34 @@ private void InitializeComponent() private System.Windows.Forms.Label L_Region; private System.Windows.Forms.Label L_Country; private System.Windows.Forms.GroupBox GB_MaisonBest; - private System.Windows.Forms.Label label9; - private System.Windows.Forms.Label label8; - 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 GB_SuperB; + private System.Windows.Forms.Label L_NormalB; + private System.Windows.Forms.Label L_MultiB; + private System.Windows.Forms.Label L_RotationB; + private System.Windows.Forms.Label L_TriplesB; + private System.Windows.Forms.Label L_DoublesB; + private System.Windows.Forms.Label L_SinglesB; private System.Windows.Forms.GroupBox GB_MaisonCurrent; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.Label label11; - private System.Windows.Forms.Label label12; - private System.Windows.Forms.Label label13; - private System.Windows.Forms.Label label14; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label L_SuperC; + private System.Windows.Forms.Label L_NormalC; + private System.Windows.Forms.Label L_MultiC; + private System.Windows.Forms.Label L_RotationC; + private System.Windows.Forms.Label L_TriplesC; + private System.Windows.Forms.Label L_DoublesC; + private System.Windows.Forms.Label L_SinglesC; private System.Windows.Forms.Label L_Language; private System.Windows.Forms.ComboBox CB_Game; private System.Windows.Forms.ComboBox CB_Gender; - private System.Windows.Forms.Label label17; - private System.Windows.Forms.Label label18; - private System.Windows.Forms.Label label19; - private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label L_CurrentMap; + private System.Windows.Forms.Label L_X; + private System.Windows.Forms.Label L_Y; + private System.Windows.Forms.Label L_Z; private System.Windows.Forms.MaskedTextBox TB_BP; private System.Windows.Forms.MaskedTextBox TB_PM; private System.Windows.Forms.Label L_BP; private System.Windows.Forms.Label L_PM; private System.Windows.Forms.MaskedTextBox TB_Style; - private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label L_Style; private System.Windows.Forms.MaskedTextBox TB_MBMS; private System.Windows.Forms.MaskedTextBox TB_MBMN; private System.Windows.Forms.MaskedTextBox TB_MBRS; @@ -2072,7 +2072,7 @@ private void InitializeComponent() private System.Windows.Forms.MaskedTextBox TB_MCSS; private System.Windows.Forms.MaskedTextBox TB_MCSN; private System.Windows.Forms.GroupBox GB_Appear; - private System.Windows.Forms.Label label32; + private System.Windows.Forms.Label L_Dress; private System.Windows.Forms.ComboBox CB_Dress; private System.Windows.Forms.ComboBox CB_Bag; private System.Windows.Forms.ComboBox CB_Socks; @@ -2080,32 +2080,32 @@ private void InitializeComponent() private System.Windows.Forms.ComboBox CB_Shirt; private System.Windows.Forms.ComboBox CB_Accessory; private System.Windows.Forms.ComboBox CB_Hat; - private System.Windows.Forms.Label label31; - private System.Windows.Forms.Label label30; - private System.Windows.Forms.Label label29; - private System.Windows.Forms.Label label28; - private System.Windows.Forms.Label label27; + private System.Windows.Forms.Label L_Accessory; + private System.Windows.Forms.Label L_Bag; + private System.Windows.Forms.Label L_Socks; + private System.Windows.Forms.Label L_Pants; + private System.Windows.Forms.Label L_Shirt; private System.Windows.Forms.ComboBox CB_FaceHair; private System.Windows.Forms.ComboBox CB_Hair; private System.Windows.Forms.ComboBox CB_Eye; private System.Windows.Forms.ComboBox CB_Skin; - private System.Windows.Forms.Label label26; - private System.Windows.Forms.Label label25; - private System.Windows.Forms.Label label24; - private System.Windows.Forms.Label label23; - private System.Windows.Forms.Label label22; + private System.Windows.Forms.Label L_Hat; + private System.Windows.Forms.Label L_FacialHair; + private System.Windows.Forms.Label L_Hairstyle; + private System.Windows.Forms.Label L_HairColor; + private System.Windows.Forms.Label L_SkinColor; private System.Windows.Forms.GroupBox GB_Map; private System.Windows.Forms.MaskedTextBox TB_CoordY; private System.Windows.Forms.MaskedTextBox TB_CoordZ; private System.Windows.Forms.MaskedTextBox TB_CoordX; private System.Windows.Forms.MaskedTextBox TB_CoordM; private System.Windows.Forms.GroupBox GB_Misc; - private System.Windows.Forms.Label label34; + private System.Windows.Forms.Label L_MultiplayerSprite; private System.Windows.Forms.PictureBox PB_Sprite; private System.Windows.Forms.ComboBox CB_Multi; - private System.Windows.Forms.Label label33; + private System.Windows.Forms.Label L_Stats; private System.Windows.Forms.ComboBox CB_Stats; - private System.Windows.Forms.Label label39; + private System.Windows.Forms.Label L_Value; private System.Windows.Forms.MaskedTextBox MT_Stat; private System.Windows.Forms.Label L_Offset; private System.Windows.Forms.Label L_Seconds; @@ -2133,6 +2133,6 @@ private void InitializeComponent() private System.Windows.Forms.MaskedTextBox MT_1403E; private System.Windows.Forms.MaskedTextBox MT_1403D; private System.Windows.Forms.MaskedTextBox MT_1403C; - private System.Windows.Forms.Label label35; + private System.Windows.Forms.Label L_Outfit; } } diff --git a/SAV/SAV_Trainer.cs b/SAV/SAV_Trainer.cs index b451afc1f..ad287991d 100644 --- a/SAV/SAV_Trainer.cs +++ b/SAV/SAV_Trainer.cs @@ -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; } diff --git a/SAV/SAV_Wondercard.cs b/SAV/SAV_Wondercard.cs index 45739c16c..fbbfcff37 100644 --- a/SAV/SAV_Wondercard.cs +++ b/SAV/SAV_Wondercard.cs @@ -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(); } } -} +} \ No newline at end of file