diff --git a/CodeGenerator.Designer.cs b/CodeGenerator.Designer.cs index 4df995417..c9c9d0b6b 100644 --- a/CodeGenerator.Designer.cs +++ b/CodeGenerator.Designer.cs @@ -44,15 +44,16 @@ private void InitializeComponent() this.B_Clear = new System.Windows.Forms.Button(); this.B_Copy = new System.Windows.Forms.Button(); this.B_Diff = new System.Windows.Forms.Button(); + this.CHK_Break = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // RTB_Code // this.RTB_Code.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.RTB_Code.Location = new System.Drawing.Point(8, 43); + this.RTB_Code.Location = new System.Drawing.Point(8, 52); this.RTB_Code.Name = "RTB_Code"; this.RTB_Code.ReadOnly = true; - this.RTB_Code.Size = new System.Drawing.Size(160, 200); + this.RTB_Code.Size = new System.Drawing.Size(160, 191); this.RTB_Code.TabIndex = 0; this.RTB_Code.Text = "01234567 01234567 "; // @@ -240,11 +241,24 @@ private void InitializeComponent() this.B_Diff.UseVisualStyleBackColor = true; this.B_Diff.Click += new System.EventHandler(this.B_Diff_Click); // + // CHK_Break + // + this.CHK_Break.AutoSize = true; + this.CHK_Break.Checked = true; + this.CHK_Break.CheckState = System.Windows.Forms.CheckState.Checked; + this.CHK_Break.Location = new System.Drawing.Point(8, 35); + this.CHK_Break.Name = "CHK_Break"; + this.CHK_Break.Size = new System.Drawing.Size(156, 17); + this.CHK_Break.TabIndex = 19; + this.CHK_Break.Text = "Line Break for Simple Mode"; + this.CHK_Break.UseVisualStyleBackColor = true; + // // CodeGenerator // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(176, 249); + this.Controls.Add(this.CHK_Break); this.Controls.Add(this.B_Diff); this.Controls.Add(this.B_Copy); this.Controls.Add(this.B_Clear); @@ -289,5 +303,6 @@ private void InitializeComponent() private System.Windows.Forms.Button B_Clear; private System.Windows.Forms.Button B_Copy; private System.Windows.Forms.Button B_Diff; + private System.Windows.Forms.CheckBox CHK_Break; } } \ No newline at end of file diff --git a/CodeGenerator.cs b/CodeGenerator.cs index 3f45a9506..ce8eb71ee 100644 --- a/CodeGenerator.cs +++ b/CodeGenerator.cs @@ -260,7 +260,8 @@ private void B_Save_Click(object sender, EventArgs e) private void B_Copy_Click(object sender, EventArgs e) { - Clipboard.SetText(RTB_Code.Text); + if (RTB_Code.Text.Length > 0) Clipboard.SetText(RTB_Code.Text); + else {MessageBox.Show("No code created!\n\nClick [Create Diff], then make sure that data appears in the Text Box below.\nIf no code appears, then you didn't save your changes.\n\nBe sure to Set the Pokemon you edited back into a Box/Party slot!","Alert");} } private void B_Diff_Click(object sender, EventArgs e) @@ -281,12 +282,12 @@ private void B_Diff_Click(object sender, EventArgs e) result += ((0x20000000 + i).ToString("X8") + " "); result += (BitConverter.ToUInt32(newcyber, i).ToString("X8") + "\n"); lines++; - if (lines % 128 == 0) + if ((lines % 128 == 0) && CHK_Break.Checked) { result += ("\r\n--- Segment " + (lines / 128 + 1).ToString() + " ---\r\n\r\n"); } if (lines > 10000) goto toomany; } } - if (lines / 128 > 0) + if ((lines / 128 > 0) && CHK_Break.Checked) { MessageBox.Show((1+ (lines / 128)).ToString() + " Code Segments","Alert"); } diff --git a/PKHeX.csproj b/PKHeX.csproj index 8f44a3ee8..ba8d8237e 100644 --- a/PKHeX.csproj +++ b/PKHeX.csproj @@ -150,6 +150,12 @@ SAV_OPower.cs + + Form + + + SAV_Pokedex.cs + Form @@ -216,6 +222,9 @@ SAV_OPower.cs + + SAV_Pokedex.cs + SAV_Pokepuff.cs diff --git a/SAV_OPower.Designer.cs b/SAV_OPower.Designer.cs index 480ac8365..99658d28e 100644 --- a/SAV_OPower.Designer.cs +++ b/SAV_OPower.Designer.cs @@ -67,6 +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.CHK_8 = new System.Windows.Forms.CheckBox(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // CB_1 @@ -79,14 +91,14 @@ private void InitializeComponent() "2", "3", "S"}); - this.CB_1.Location = new System.Drawing.Point(78, 8); + this.CB_1.Location = new System.Drawing.Point(86, 20); this.CB_1.Name = "CB_1"; this.CB_1.Size = new System.Drawing.Size(37, 21); this.CB_1.TabIndex = 0; // // L_1 // - this.L_1.Location = new System.Drawing.Point(4, 11); + this.L_1.Location = new System.Drawing.Point(12, 23); this.L_1.Name = "L_1"; this.L_1.Size = new System.Drawing.Size(70, 13); this.L_1.TabIndex = 1; @@ -95,7 +107,7 @@ private void InitializeComponent() // // L_2 // - this.L_2.Location = new System.Drawing.Point(4, 38); + this.L_2.Location = new System.Drawing.Point(12, 50); this.L_2.Name = "L_2"; this.L_2.Size = new System.Drawing.Size(70, 13); this.L_2.TabIndex = 3; @@ -112,14 +124,14 @@ private void InitializeComponent() "2", "3", "S"}); - this.CB_2.Location = new System.Drawing.Point(78, 35); + this.CB_2.Location = new System.Drawing.Point(86, 47); this.CB_2.Name = "CB_2"; this.CB_2.Size = new System.Drawing.Size(37, 21); this.CB_2.TabIndex = 2; // // L_3 // - this.L_3.Location = new System.Drawing.Point(4, 65); + this.L_3.Location = new System.Drawing.Point(12, 77); this.L_3.Name = "L_3"; this.L_3.Size = new System.Drawing.Size(70, 13); this.L_3.TabIndex = 5; @@ -136,14 +148,14 @@ private void InitializeComponent() "2", "3", "S"}); - this.CB_3.Location = new System.Drawing.Point(78, 62); + this.CB_3.Location = new System.Drawing.Point(86, 74); this.CB_3.Name = "CB_3"; this.CB_3.Size = new System.Drawing.Size(37, 21); this.CB_3.TabIndex = 4; // // L_4 // - this.L_4.Location = new System.Drawing.Point(4, 92); + this.L_4.Location = new System.Drawing.Point(12, 104); this.L_4.Name = "L_4"; this.L_4.Size = new System.Drawing.Size(70, 13); this.L_4.TabIndex = 7; @@ -160,14 +172,14 @@ private void InitializeComponent() "2", "3", "S"}); - this.CB_4.Location = new System.Drawing.Point(78, 89); + this.CB_4.Location = new System.Drawing.Point(86, 101); this.CB_4.Name = "CB_4"; this.CB_4.Size = new System.Drawing.Size(37, 21); this.CB_4.TabIndex = 6; // // L_5 // - this.L_5.Location = new System.Drawing.Point(4, 119); + this.L_5.Location = new System.Drawing.Point(12, 131); this.L_5.Name = "L_5"; this.L_5.Size = new System.Drawing.Size(70, 13); this.L_5.TabIndex = 9; @@ -184,14 +196,14 @@ private void InitializeComponent() "2", "3", "S"}); - this.CB_5.Location = new System.Drawing.Point(78, 116); + this.CB_5.Location = new System.Drawing.Point(86, 128); this.CB_5.Name = "CB_5"; this.CB_5.Size = new System.Drawing.Size(37, 21); this.CB_5.TabIndex = 8; // // L_6 // - this.L_6.Location = new System.Drawing.Point(4, 146); + this.L_6.Location = new System.Drawing.Point(12, 158); this.L_6.Name = "L_6"; this.L_6.Size = new System.Drawing.Size(70, 13); this.L_6.TabIndex = 11; @@ -207,14 +219,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_6.Location = new System.Drawing.Point(78, 143); + this.CB_6.Location = new System.Drawing.Point(86, 155); this.CB_6.Name = "CB_6"; this.CB_6.Size = new System.Drawing.Size(37, 21); this.CB_6.TabIndex = 10; // // L_7 // - this.L_7.Location = new System.Drawing.Point(4, 173); + this.L_7.Location = new System.Drawing.Point(12, 185); this.L_7.Name = "L_7"; this.L_7.Size = new System.Drawing.Size(70, 13); this.L_7.TabIndex = 13; @@ -230,14 +242,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_7.Location = new System.Drawing.Point(78, 170); + this.CB_7.Location = new System.Drawing.Point(86, 182); this.CB_7.Name = "CB_7"; this.CB_7.Size = new System.Drawing.Size(37, 21); this.CB_7.TabIndex = 12; // // L_8 // - this.L_8.Location = new System.Drawing.Point(4, 200); + this.L_8.Location = new System.Drawing.Point(12, 212); this.L_8.Name = "L_8"; this.L_8.Size = new System.Drawing.Size(70, 13); this.L_8.TabIndex = 15; @@ -253,14 +265,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_8.Location = new System.Drawing.Point(78, 197); + this.CB_8.Location = new System.Drawing.Point(86, 209); this.CB_8.Name = "CB_8"; this.CB_8.Size = new System.Drawing.Size(37, 21); this.CB_8.TabIndex = 14; // // L_17 // - this.L_17.Location = new System.Drawing.Point(116, 200); + this.L_17.Location = new System.Drawing.Point(124, 212); this.L_17.Name = "L_17"; this.L_17.Size = new System.Drawing.Size(70, 13); this.L_17.TabIndex = 31; @@ -276,14 +288,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_17.Location = new System.Drawing.Point(187, 197); + this.CB_17.Location = new System.Drawing.Point(195, 209); this.CB_17.Name = "CB_17"; this.CB_17.Size = new System.Drawing.Size(37, 21); this.CB_17.TabIndex = 30; // // L_16 // - this.L_16.Location = new System.Drawing.Point(116, 173); + this.L_16.Location = new System.Drawing.Point(124, 185); this.L_16.Name = "L_16"; this.L_16.Size = new System.Drawing.Size(70, 13); this.L_16.TabIndex = 29; @@ -299,14 +311,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_16.Location = new System.Drawing.Point(187, 170); + this.CB_16.Location = new System.Drawing.Point(195, 182); this.CB_16.Name = "CB_16"; this.CB_16.Size = new System.Drawing.Size(37, 21); this.CB_16.TabIndex = 28; // // L_15 // - this.L_15.Location = new System.Drawing.Point(116, 146); + this.L_15.Location = new System.Drawing.Point(124, 158); this.L_15.Name = "L_15"; this.L_15.Size = new System.Drawing.Size(70, 13); this.L_15.TabIndex = 27; @@ -322,14 +334,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_15.Location = new System.Drawing.Point(187, 143); + this.CB_15.Location = new System.Drawing.Point(195, 155); this.CB_15.Name = "CB_15"; this.CB_15.Size = new System.Drawing.Size(37, 21); this.CB_15.TabIndex = 26; // // L_14 // - this.L_14.Location = new System.Drawing.Point(116, 119); + this.L_14.Location = new System.Drawing.Point(124, 131); this.L_14.Name = "L_14"; this.L_14.Size = new System.Drawing.Size(70, 13); this.L_14.TabIndex = 25; @@ -345,14 +357,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_14.Location = new System.Drawing.Point(187, 116); + this.CB_14.Location = new System.Drawing.Point(195, 128); this.CB_14.Name = "CB_14"; this.CB_14.Size = new System.Drawing.Size(37, 21); this.CB_14.TabIndex = 24; // // L_13 // - this.L_13.Location = new System.Drawing.Point(116, 92); + this.L_13.Location = new System.Drawing.Point(124, 104); this.L_13.Name = "L_13"; this.L_13.Size = new System.Drawing.Size(70, 13); this.L_13.TabIndex = 23; @@ -368,14 +380,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_13.Location = new System.Drawing.Point(187, 89); + this.CB_13.Location = new System.Drawing.Point(195, 101); this.CB_13.Name = "CB_13"; this.CB_13.Size = new System.Drawing.Size(37, 21); this.CB_13.TabIndex = 22; // // L_12 // - this.L_12.Location = new System.Drawing.Point(116, 65); + this.L_12.Location = new System.Drawing.Point(124, 77); this.L_12.Name = "L_12"; this.L_12.Size = new System.Drawing.Size(70, 13); this.L_12.TabIndex = 21; @@ -391,14 +403,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_12.Location = new System.Drawing.Point(187, 62); + this.CB_12.Location = new System.Drawing.Point(195, 74); this.CB_12.Name = "CB_12"; this.CB_12.Size = new System.Drawing.Size(37, 21); this.CB_12.TabIndex = 20; // // L_11 // - this.L_11.Location = new System.Drawing.Point(116, 38); + this.L_11.Location = new System.Drawing.Point(124, 50); this.L_11.Name = "L_11"; this.L_11.Size = new System.Drawing.Size(70, 13); this.L_11.TabIndex = 19; @@ -414,14 +426,14 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_11.Location = new System.Drawing.Point(187, 35); + this.CB_11.Location = new System.Drawing.Point(195, 47); this.CB_11.Name = "CB_11"; this.CB_11.Size = new System.Drawing.Size(37, 21); this.CB_11.TabIndex = 18; // // L_10 // - this.L_10.Location = new System.Drawing.Point(116, 11); + this.L_10.Location = new System.Drawing.Point(124, 23); this.L_10.Name = "L_10"; this.L_10.Size = new System.Drawing.Size(70, 13); this.L_10.TabIndex = 17; @@ -438,14 +450,14 @@ private void InitializeComponent() "2", "3", "S"}); - this.CB_10.Location = new System.Drawing.Point(187, 8); + this.CB_10.Location = new System.Drawing.Point(195, 20); this.CB_10.Name = "CB_10"; this.CB_10.Size = new System.Drawing.Size(37, 21); this.CB_10.TabIndex = 16; // // L_9 // - this.L_9.Location = new System.Drawing.Point(4, 227); + this.L_9.Location = new System.Drawing.Point(12, 239); this.L_9.Name = "L_9"; this.L_9.Size = new System.Drawing.Size(70, 13); this.L_9.TabIndex = 33; @@ -461,16 +473,16 @@ private void InitializeComponent() "1", "2", "3"}); - this.CB_9.Location = new System.Drawing.Point(78, 224); + this.CB_9.Location = new System.Drawing.Point(86, 236); this.CB_9.Name = "CB_9"; this.CB_9.Size = new System.Drawing.Size(37, 21); this.CB_9.TabIndex = 32; // // B_Cancel // - this.B_Cancel.Location = new System.Drawing.Point(124, 249); + this.B_Cancel.Location = new System.Drawing.Point(268, 246); this.B_Cancel.Name = "B_Cancel"; - this.B_Cancel.Size = new System.Drawing.Size(54, 23); + this.B_Cancel.Size = new System.Drawing.Size(56, 23); this.B_Cancel.TabIndex = 34; this.B_Cancel.Text = "Cancel"; this.B_Cancel.UseVisualStyleBackColor = true; @@ -478,9 +490,9 @@ private void InitializeComponent() // // B_Save // - this.B_Save.Location = new System.Drawing.Point(178, 249); + this.B_Save.Location = new System.Drawing.Point(330, 246); this.B_Save.Name = "B_Save"; - this.B_Save.Size = new System.Drawing.Size(54, 23); + this.B_Save.Size = new System.Drawing.Size(64, 23); this.B_Save.TabIndex = 35; this.B_Save.Text = "Save"; this.B_Save.UseVisualStyleBackColor = true; @@ -488,67 +500,183 @@ private void InitializeComponent() // // B_MaxP // - this.B_MaxP.Location = new System.Drawing.Point(178, 223); + this.B_MaxP.Location = new System.Drawing.Point(140, 234); this.B_MaxP.Name = "B_MaxP"; - this.B_MaxP.Size = new System.Drawing.Size(54, 23); + this.B_MaxP.Size = new System.Drawing.Size(92, 23); this.B_MaxP.TabIndex = 36; - this.B_MaxP.Text = "MAX+S"; + this.B_MaxP.Text = "Give All"; this.B_MaxP.UseVisualStyleBackColor = true; this.B_MaxP.Click += new System.EventHandler(this.B_MaxP_Click); // // B_AllMax // - this.B_AllMax.Location = new System.Drawing.Point(124, 223); + this.B_AllMax.Location = new System.Drawing.Point(29, 192); this.B_AllMax.Name = "B_AllMax"; - this.B_AllMax.Size = new System.Drawing.Size(54, 23); + this.B_AllMax.Size = new System.Drawing.Size(68, 23); this.B_AllMax.TabIndex = 37; - this.B_AllMax.Text = "All MAX"; + this.B_AllMax.Text = "Give All"; this.B_AllMax.UseVisualStyleBackColor = true; this.B_AllMax.Click += new System.EventHandler(this.B_AllMax_Click); // + // groupBox1 + // + 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; + // + // CHK_8 + // + this.CHK_8.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.CHK_8.Location = new System.Drawing.Point(9, 169); + this.CHK_8.Name = "CHK_8"; + this.CHK_8.Size = new System.Drawing.Size(100, 17); + this.CHK_8.TabIndex = 45; + this.CHK_8.Text = "?Unused"; + this.CHK_8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.CHK_8.UseVisualStyleBackColor = true; + // // SAV_OPower // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(244, 278); - this.Controls.Add(this.B_AllMax); - this.Controls.Add(this.B_MaxP); + this.ClientSize = new System.Drawing.Size(404, 292); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); this.Controls.Add(this.B_Save); this.Controls.Add(this.B_Cancel); - this.Controls.Add(this.L_9); - this.Controls.Add(this.CB_9); - this.Controls.Add(this.L_17); - this.Controls.Add(this.CB_17); - this.Controls.Add(this.L_16); - this.Controls.Add(this.CB_16); - this.Controls.Add(this.L_15); - this.Controls.Add(this.CB_15); - this.Controls.Add(this.L_14); - this.Controls.Add(this.CB_14); - this.Controls.Add(this.L_13); - this.Controls.Add(this.CB_13); - this.Controls.Add(this.L_12); - this.Controls.Add(this.CB_12); - this.Controls.Add(this.L_11); - this.Controls.Add(this.CB_11); - this.Controls.Add(this.L_10); - this.Controls.Add(this.CB_10); - this.Controls.Add(this.L_8); - this.Controls.Add(this.CB_8); - this.Controls.Add(this.L_7); - this.Controls.Add(this.CB_7); - this.Controls.Add(this.L_6); - this.Controls.Add(this.CB_6); - this.Controls.Add(this.L_5); - this.Controls.Add(this.CB_5); - this.Controls.Add(this.L_4); - this.Controls.Add(this.CB_4); - this.Controls.Add(this.L_3); - this.Controls.Add(this.CB_3); - this.Controls.Add(this.L_2); - this.Controls.Add(this.CB_2); - this.Controls.Add(this.L_1); - this.Controls.Add(this.CB_1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; @@ -556,6 +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.ResumeLayout(false); } @@ -600,5 +730,15 @@ 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.CheckBox CHK_8; + private System.Windows.Forms.CheckBox CHK_7; + private System.Windows.Forms.CheckBox CHK_6; + private System.Windows.Forms.CheckBox CHK_5; + private System.Windows.Forms.CheckBox CHK_4; + 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; } } \ No newline at end of file diff --git a/SAV_OPower.cs b/SAV_OPower.cs index fefe79cca..71d8b7d10 100644 --- a/SAV_OPower.cs +++ b/SAV_OPower.cs @@ -52,7 +52,7 @@ private void LoadData() CB_9.SelectedIndex = getIndex(o, 3); o += 3; // 23 o++; - CB_10.SelectedIndex = getIndex(o, 4); o += 4; o++; // @ 27 + CB_10.SelectedIndex = getIndex(o, 4); o += 4; o++; // @ 27- CB_11.SelectedIndex = getIndex(o, 3); o += 3; // 2C-2E CB_12.SelectedIndex = getIndex(o, 3); o += 3; // 2F-31 @@ -61,6 +61,16 @@ private void LoadData() CB_15.SelectedIndex = getIndex(o, 3); o += 3; // 38-3A CB_16.SelectedIndex = getIndex(o, 3); o += 3; // 3B-3D CB_17.SelectedIndex = getIndex(o, 3); o += 3; // 3E-40 + + // Load Maxes + CHK_1.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x00]); + CHK_2.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x05]); + CHK_3.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x0A]); + CHK_4.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x0F]); + CHK_5.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x14]); + CHK_6.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x19]); + CHK_7.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x26]); + CHK_8.Checked = Convert.ToBoolean(m_parent.savefile[0x1BE00 + 0x2B]); } private void SaveData() { @@ -85,10 +95,17 @@ private void SaveData() } Array.Copy(data, 0, m_parent.savefile, o + offsets[i], data.Length); } - } - private void setindex(int o, int l, int v) - { + // Save Maxes + + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x00] = Convert.ToByte(CHK_1.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x05] = Convert.ToByte(CHK_2.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x0A] = Convert.ToByte(CHK_3.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x0F] = Convert.ToByte(CHK_4.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x14] = Convert.ToByte(CHK_5.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x19] = Convert.ToByte(CHK_6.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x26] = Convert.ToByte(CHK_7.Checked); + m_parent.savefile[m_parent.savindex * 0x7F000 + 0x1BE00 + 0x2B] = Convert.ToByte(CHK_8.Checked); } private int getIndex(int o, int l) { @@ -123,15 +140,23 @@ private void max(bool s) CB_1, CB_2, CB_3, CB_4, CB_5, CB_6, CB_7, CB_8, CB_9, CB_10, CB_11, CB_12, CB_13, CB_14, CB_15, CB_16, CB_17, }; - if (s) + CheckBox[] echk = new CheckBox[] { CHK_1, CHK_2, CHK_3, CHK_4, CHK_5, CHK_6, CHK_7, CHK_8 }; + { for (int i = 0; i < cba.Length; i++) - cba[i].SelectedIndex = cba[i].Items.Count-1; + cba[i].SelectedIndex = (cba[i].Items.Count-1); } - else + if (!s) + { + for (int i = 0; i < echk.Length; i++) + echk[i].Checked = !(ModifierKeys == Keys.Control); + } + else if (ModifierKeys == Keys.Control) { for (int i = 0; i < cba.Length; i++) - cba[i].SelectedIndex = 3; + cba[i].SelectedIndex = 0; + for (int i = 0; i < echk.Length; i++) + echk[i].Checked = false; } } } diff --git a/SAV_OPower.resx b/SAV_OPower.resx index 5a8f3bd14..603f660be 100644 --- a/SAV_OPower.resx +++ b/SAV_OPower.resx @@ -117,120 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - diff --git a/SAV_Pokedex.Designer.cs b/SAV_Pokedex.Designer.cs new file mode 100644 index 000000000..0314bc45d --- /dev/null +++ b/SAV_Pokedex.Designer.cs @@ -0,0 +1,398 @@ +namespace PKHeX +{ + partial class SAV_Pokedex + { + /// + /// 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_Pokedex)); + this.B_Cancel = new System.Windows.Forms.Button(); + this.L_Beta = new System.Windows.Forms.Label(); + this.LB_Species = new System.Windows.Forms.ListBox(); + this.CHK_P1 = new System.Windows.Forms.CheckBox(); + this.CHK_P2 = new System.Windows.Forms.CheckBox(); + this.CHK_P3 = new System.Windows.Forms.CheckBox(); + this.CHK_P4 = new System.Windows.Forms.CheckBox(); + this.CHK_P5 = new System.Windows.Forms.CheckBox(); + this.CHK_P6 = new System.Windows.Forms.CheckBox(); + this.CHK_P7 = new System.Windows.Forms.CheckBox(); + this.CHK_P8 = new System.Windows.Forms.CheckBox(); + this.CHK_P9 = new System.Windows.Forms.CheckBox(); + this.CHK_P10 = new System.Windows.Forms.CheckBox(); + this.CHK_L7 = new System.Windows.Forms.CheckBox(); + this.CHK_L6 = new System.Windows.Forms.CheckBox(); + this.CHK_L5 = new System.Windows.Forms.CheckBox(); + this.CHK_L4 = new System.Windows.Forms.CheckBox(); + 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.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.SuspendLayout(); + // + // B_Cancel + // + this.B_Cancel.Location = new System.Drawing.Point(262, 189); + this.B_Cancel.Name = "B_Cancel"; + this.B_Cancel.Size = new System.Drawing.Size(80, 23); + this.B_Cancel.TabIndex = 0; + this.B_Cancel.Text = "Cancel"; + this.B_Cancel.UseVisualStyleBackColor = true; + this.B_Cancel.Click += new System.EventHandler(this.B_Cancel_Click); + // + // L_Beta + // + this.L_Beta.AutoSize = true; + this.L_Beta.ForeColor = System.Drawing.Color.Red; + this.L_Beta.Location = new System.Drawing.Point(156, 209); + this.L_Beta.Name = "L_Beta"; + this.L_Beta.Size = new System.Drawing.Size(84, 13); + this.L_Beta.TabIndex = 1; + this.L_Beta.Text = "Still researching."; + // + // LB_Species + // + this.LB_Species.FormattingEnabled = true; + this.LB_Species.Location = new System.Drawing.Point(12, 40); + this.LB_Species.Name = "LB_Species"; + this.LB_Species.Size = new System.Drawing.Size(130, 173); + this.LB_Species.TabIndex = 2; + this.LB_Species.SelectedIndexChanged += new System.EventHandler(this.changeLBSpecies); + // + // CHK_P1 + // + this.CHK_P1.AutoSize = true; + this.CHK_P1.Enabled = false; + this.CHK_P1.Location = new System.Drawing.Point(159, 40); + this.CHK_P1.Name = "CHK_P1"; + this.CHK_P1.Size = new System.Drawing.Size(73, 17); + this.CHK_P1.TabIndex = 3; + this.CHK_P1.Text = "Partition 1"; + this.CHK_P1.UseVisualStyleBackColor = true; + // + // CHK_P2 + // + this.CHK_P2.AutoSize = true; + this.CHK_P2.Enabled = false; + this.CHK_P2.Location = new System.Drawing.Point(159, 57); + this.CHK_P2.Name = "CHK_P2"; + this.CHK_P2.Size = new System.Drawing.Size(73, 17); + this.CHK_P2.TabIndex = 4; + this.CHK_P2.Text = "Partition 2"; + this.CHK_P2.UseVisualStyleBackColor = true; + // + // CHK_P3 + // + this.CHK_P3.AutoSize = true; + this.CHK_P3.Enabled = false; + this.CHK_P3.Location = new System.Drawing.Point(159, 74); + this.CHK_P3.Name = "CHK_P3"; + this.CHK_P3.Size = new System.Drawing.Size(73, 17); + this.CHK_P3.TabIndex = 5; + this.CHK_P3.Text = "Partition 3"; + this.CHK_P3.UseVisualStyleBackColor = true; + // + // CHK_P4 + // + this.CHK_P4.AutoSize = true; + this.CHK_P4.Enabled = false; + this.CHK_P4.Location = new System.Drawing.Point(159, 91); + this.CHK_P4.Name = "CHK_P4"; + this.CHK_P4.Size = new System.Drawing.Size(73, 17); + this.CHK_P4.TabIndex = 6; + this.CHK_P4.Text = "Partition 4"; + this.CHK_P4.UseVisualStyleBackColor = true; + // + // CHK_P5 + // + this.CHK_P5.AutoSize = true; + this.CHK_P5.Enabled = false; + this.CHK_P5.Location = new System.Drawing.Point(159, 108); + this.CHK_P5.Name = "CHK_P5"; + this.CHK_P5.Size = new System.Drawing.Size(73, 17); + this.CHK_P5.TabIndex = 7; + this.CHK_P5.Text = "Partition 5"; + this.CHK_P5.UseVisualStyleBackColor = true; + // + // CHK_P6 + // + this.CHK_P6.AutoSize = true; + this.CHK_P6.Enabled = false; + this.CHK_P6.Location = new System.Drawing.Point(159, 125); + this.CHK_P6.Name = "CHK_P6"; + this.CHK_P6.Size = new System.Drawing.Size(73, 17); + this.CHK_P6.TabIndex = 8; + this.CHK_P6.Text = "Partition 6"; + this.CHK_P6.UseVisualStyleBackColor = true; + // + // CHK_P7 + // + this.CHK_P7.AutoSize = true; + this.CHK_P7.Enabled = false; + this.CHK_P7.Location = new System.Drawing.Point(159, 142); + this.CHK_P7.Name = "CHK_P7"; + this.CHK_P7.Size = new System.Drawing.Size(73, 17); + this.CHK_P7.TabIndex = 9; + this.CHK_P7.Text = "Partition 7"; + this.CHK_P7.UseVisualStyleBackColor = true; + // + // CHK_P8 + // + this.CHK_P8.AutoSize = true; + this.CHK_P8.Enabled = false; + this.CHK_P8.Location = new System.Drawing.Point(159, 159); + this.CHK_P8.Name = "CHK_P8"; + this.CHK_P8.Size = new System.Drawing.Size(73, 17); + this.CHK_P8.TabIndex = 10; + this.CHK_P8.Text = "Partition 8"; + this.CHK_P8.UseVisualStyleBackColor = true; + // + // CHK_P9 + // + this.CHK_P9.AutoSize = true; + this.CHK_P9.Enabled = false; + this.CHK_P9.Location = new System.Drawing.Point(159, 176); + this.CHK_P9.Name = "CHK_P9"; + this.CHK_P9.Size = new System.Drawing.Size(73, 17); + this.CHK_P9.TabIndex = 11; + this.CHK_P9.Text = "Partition 9"; + this.CHK_P9.UseVisualStyleBackColor = true; + // + // CHK_P10 + // + this.CHK_P10.AutoSize = true; + this.CHK_P10.Enabled = false; + this.CHK_P10.Location = new System.Drawing.Point(159, 193); + this.CHK_P10.Name = "CHK_P10"; + this.CHK_P10.Size = new System.Drawing.Size(74, 17); + this.CHK_P10.TabIndex = 12; + this.CHK_P10.Text = "Partition A"; + this.CHK_P10.UseVisualStyleBackColor = true; + // + // CHK_L7 + // + this.CHK_L7.AutoSize = true; + this.CHK_L7.Enabled = false; + this.CHK_L7.Location = new System.Drawing.Point(262, 142); + this.CHK_L7.Name = "CHK_L7"; + this.CHK_L7.Size = new System.Drawing.Size(83, 17); + this.CHK_L7.TabIndex = 19; + this.CHK_L7.Text = "Language 7"; + this.CHK_L7.UseVisualStyleBackColor = true; + // + // CHK_L6 + // + this.CHK_L6.AutoSize = true; + this.CHK_L6.Enabled = false; + this.CHK_L6.Location = new System.Drawing.Point(262, 125); + this.CHK_L6.Name = "CHK_L6"; + this.CHK_L6.Size = new System.Drawing.Size(83, 17); + this.CHK_L6.TabIndex = 18; + this.CHK_L6.Text = "Language 6"; + this.CHK_L6.UseVisualStyleBackColor = true; + // + // CHK_L5 + // + this.CHK_L5.AutoSize = true; + this.CHK_L5.Enabled = false; + this.CHK_L5.Location = new System.Drawing.Point(262, 108); + this.CHK_L5.Name = "CHK_L5"; + this.CHK_L5.Size = new System.Drawing.Size(83, 17); + this.CHK_L5.TabIndex = 17; + this.CHK_L5.Text = "Language 5"; + this.CHK_L5.UseVisualStyleBackColor = true; + // + // CHK_L4 + // + this.CHK_L4.AutoSize = true; + this.CHK_L4.Enabled = false; + this.CHK_L4.Location = new System.Drawing.Point(262, 91); + this.CHK_L4.Name = "CHK_L4"; + this.CHK_L4.Size = new System.Drawing.Size(83, 17); + this.CHK_L4.TabIndex = 16; + this.CHK_L4.Text = "Language 4"; + this.CHK_L4.UseVisualStyleBackColor = true; + // + // CHK_L3 + // + this.CHK_L3.AutoSize = true; + this.CHK_L3.Enabled = false; + this.CHK_L3.Location = new System.Drawing.Point(262, 74); + this.CHK_L3.Name = "CHK_L3"; + this.CHK_L3.Size = new System.Drawing.Size(83, 17); + this.CHK_L3.TabIndex = 15; + this.CHK_L3.Text = "Language 3"; + this.CHK_L3.UseVisualStyleBackColor = true; + // + // CHK_L2 + // + this.CHK_L2.AutoSize = true; + this.CHK_L2.Enabled = false; + this.CHK_L2.Location = new System.Drawing.Point(262, 57); + this.CHK_L2.Name = "CHK_L2"; + this.CHK_L2.Size = new System.Drawing.Size(83, 17); + this.CHK_L2.TabIndex = 14; + this.CHK_L2.Text = "Language 2"; + this.CHK_L2.UseVisualStyleBackColor = true; + // + // CHK_L1 + // + this.CHK_L1.AutoSize = true; + this.CHK_L1.Enabled = false; + this.CHK_L1.Location = new System.Drawing.Point(262, 40); + this.CHK_L1.Name = "CHK_L1"; + this.CHK_L1.Size = new System.Drawing.Size(83, 17); + this.CHK_L1.TabIndex = 13; + this.CHK_L1.Text = "Language 1"; + this.CHK_L1.UseVisualStyleBackColor = true; + // + // label1 + // + 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:"; + // + // CB_Species + // + this.CB_Species.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; + this.CB_Species.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.CB_Species.DropDownWidth = 95; + this.CB_Species.FormattingEnabled = true; + this.CB_Species.Location = new System.Drawing.Point(50, 13); + this.CB_Species.Name = "CB_Species"; + this.CB_Species.Size = new System.Drawing.Size(92, 21); + this.CB_Species.TabIndex = 21; + this.CB_Species.SelectedIndexChanged += new System.EventHandler(this.changeCBSpecies); + this.CB_Species.SelectedValueChanged += new System.EventHandler(this.changeCBSpecies); + this.CB_Species.KeyDown += new System.Windows.Forms.KeyEventHandler(this.removedropCB); + // + // B_GiveAll + // + this.B_GiveAll.Enabled = false; + this.B_GiveAll.Location = new System.Drawing.Point(157, 11); + this.B_GiveAll.Name = "B_GiveAll"; + this.B_GiveAll.Size = new System.Drawing.Size(80, 23); + this.B_GiveAll.TabIndex = 23; + this.B_GiveAll.Text = "Give All"; + this.B_GiveAll.UseVisualStyleBackColor = true; + // + // B_Save + // + this.B_Save.Enabled = false; + this.B_Save.Location = new System.Drawing.Point(262, 165); + this.B_Save.Name = "B_Save"; + this.B_Save.Size = new System.Drawing.Size(80, 23); + this.B_Save.TabIndex = 24; + this.B_Save.Text = "Save"; + this.B_Save.UseVisualStyleBackColor = true; + // + // B_FillDex + // + this.B_FillDex.Enabled = false; + this.B_FillDex.Location = new System.Drawing.Point(262, 11); + this.B_FillDex.Name = "B_FillDex"; + this.B_FillDex.Size = new System.Drawing.Size(80, 23); + this.B_FillDex.TabIndex = 25; + this.B_FillDex.Text = "Fill Dex"; + this.B_FillDex.UseVisualStyleBackColor = true; + // + // SAV_Pokedex + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(354, 222); + this.Controls.Add(this.L_Beta); + 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.CHK_L7); + this.Controls.Add(this.CHK_L6); + this.Controls.Add(this.CHK_L5); + this.Controls.Add(this.CHK_L4); + this.Controls.Add(this.CHK_L3); + this.Controls.Add(this.CHK_L2); + this.Controls.Add(this.CHK_L1); + this.Controls.Add(this.CHK_P10); + this.Controls.Add(this.CHK_P9); + this.Controls.Add(this.CHK_P8); + this.Controls.Add(this.CHK_P7); + this.Controls.Add(this.CHK_P6); + this.Controls.Add(this.CHK_P5); + this.Controls.Add(this.CHK_P4); + this.Controls.Add(this.CHK_P3); + this.Controls.Add(this.CHK_P2); + this.Controls.Add(this.CHK_P1); + 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.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Pokédex Editor"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button B_Cancel; + private System.Windows.Forms.Label L_Beta; + private System.Windows.Forms.ListBox LB_Species; + private System.Windows.Forms.CheckBox CHK_P1; + private System.Windows.Forms.CheckBox CHK_P2; + private System.Windows.Forms.CheckBox CHK_P3; + private System.Windows.Forms.CheckBox CHK_P4; + private System.Windows.Forms.CheckBox CHK_P5; + private System.Windows.Forms.CheckBox CHK_P6; + private System.Windows.Forms.CheckBox CHK_P7; + private System.Windows.Forms.CheckBox CHK_P8; + private System.Windows.Forms.CheckBox CHK_P9; + private System.Windows.Forms.CheckBox CHK_P10; + private System.Windows.Forms.CheckBox CHK_L7; + private System.Windows.Forms.CheckBox CHK_L6; + private System.Windows.Forms.CheckBox CHK_L5; + private System.Windows.Forms.CheckBox CHK_L4; + 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.ComboBox CB_Species; + private System.Windows.Forms.Button B_GiveAll; + private System.Windows.Forms.Button B_Save; + private System.Windows.Forms.Button B_FillDex; + } +} \ No newline at end of file diff --git a/SAV_Pokedex.cs b/SAV_Pokedex.cs new file mode 100644 index 000000000..fcad3af65 --- /dev/null +++ b/SAV_Pokedex.cs @@ -0,0 +1,115 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace PKHeX +{ + public partial class SAV_Pokedex : Form + { + public SAV_Pokedex(Form1 frm1) + { + m_parent = frm1; + InitializeComponent(); + Array.Copy(m_parent.savefile, sav, sav.Length); + savshift = m_parent.savindex*0x7F000; + Setup(); + editing = false; + } + public byte[] sav = new Byte[0x100000]; + public int savshift = 0; + public bool[,] specbools = new bool[10, 0x60 * 8]; + public bool[,] langbools = new bool[7, 0x60 * 8]; + Form1 m_parent; + private void Setup() + { + // Clear Listbox and ComboBox + LB_Species.Items.Clear(); + CB_Species.Items.Clear(); + + // Fill List + + List species_list = (List)m_parent.CB_Species.DataSource; + species_list.RemoveAt(0); // Remove 0th Entry + CB_Species.DataSource = species_list; + CB_Species.DisplayMember = "Text"; + CB_Species.ValueMember = "Value"; + + for (int i = 1; i < m_parent.specieslist.Length; i++) + { + LB_Species.Items.Add(i.ToString("000") + " - " + m_parent.specieslist[i]); + } + + // Fill Bit arrays + for (int i = 0; i < 0xA; i++) + { + byte[] data = new Byte[0x60]; + Array.Copy(sav, savshift + 0x1A408 + 0x60 * i, data, 0, 0x60); + BitArray BitRegion = new BitArray(data); + for (int b = 0; b < (0x60 * 8); b++) + specbools[i, b] = BitRegion[b]; + } + + // Fill Language arrays + byte[] langdata = new Byte[0x280]; + Array.Copy(sav, savshift + 0x1A7C8, langdata, 0, 0x280); + BitArray LangRegion = new BitArray(langdata); + for (int b = 0; b < (0x60 * 8); b++) + langbools[b % 7, b / 7] = LangRegion[b]; + } + private void B_Cancel_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void changeCBSpecies(object sender, EventArgs e) + { + if (!editing) + { + editing = true; + int index = (int)CB_Species.SelectedValue; + LB_Species.SelectedIndex = index - 1; // Since we don't allow index0 in combobox, everything is shifted by 1 + LB_Species.TopIndex = (int)(LB_Species.SelectedIndex); + editing = false; + } + loadchks(); + } + bool editing = true; + private void changeLBSpecies(object sender, EventArgs e) + { + if (!editing) + { + editing = true; + int index = LB_Species.SelectedIndex + 1; + CB_Species.SelectedValue = index; + editing = false; + } + loadchks(); + } + private void loadchks() + { + // Load Bools for the data + int pk = (int)((PKHeX.cbItem)(CB_Species.SelectedItem)).Value; + CheckBox[] CP = new CheckBox[] { + CHK_P1,CHK_P2,CHK_P3,CHK_P4,CHK_P5,CHK_P6,CHK_P7,CHK_P8,CHK_P9,CHK_P10, + }; + CheckBox[] CL = new CheckBox[] { + CHK_L1,CHK_L2,CHK_L3,CHK_L4,CHK_L5,CHK_L6,CHK_L7, + }; + // Load Partitions + for (int i = 0; i < 10; i++) + CP[i].Checked = specbools[i, pk-1]; + for (int i = 0; i < 7; i++) + CL[i].Checked = langbools[i, pk-1]; + } + private void removedropCB(object sender, KeyEventArgs e) + { + ((ComboBox)sender).DroppedDown = false; + } + } +} diff --git a/SAV_Pokedex.resx b/SAV_Pokedex.resx new file mode 100644 index 000000000..603f660be --- /dev/null +++ b/SAV_Pokedex.resx @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, PublicKe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AADwAAAA8AAAAPAAAADwAAAA8AA + AAPAAAADwAAAA8AAAAPAAAAD4AAAB/gAAB////// + + + \ No newline at end of file diff --git a/SAV_Trainer.Designer.cs b/SAV_Trainer.Designer.cs index 993ff4f86..7f2c8ce51 100644 --- a/SAV_Trainer.Designer.cs +++ b/SAV_Trainer.Designer.cs @@ -68,8 +68,14 @@ private void InitializeComponent() this.TB_Saying2 = new System.Windows.Forms.TextBox(); this.TB_Saying1 = new System.Windows.Forms.TextBox(); this.GB_Overview = new System.Windows.Forms.GroupBox(); + this.TB_Style = new System.Windows.Forms.MaskedTextBox(); this.L_Language = new System.Windows.Forms.Label(); + this.TB_PM = new System.Windows.Forms.MaskedTextBox(); + this.TB_BP = new System.Windows.Forms.MaskedTextBox(); + this.L_PM = new System.Windows.Forms.Label(); this.L_Region = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); + this.L_BP = new System.Windows.Forms.Label(); this.L_Country = new System.Windows.Forms.Label(); this.CB_Region = new System.Windows.Forms.ComboBox(); this.CB_Country = new System.Windows.Forms.ComboBox(); @@ -79,7 +85,17 @@ private void InitializeComponent() this.L_3DSReg = new System.Windows.Forms.Label(); this.CB_Game = new System.Windows.Forms.ComboBox(); this.CB_Gender = new System.Windows.Forms.ComboBox(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.GB_MaisonBest = new System.Windows.Forms.GroupBox(); + this.TB_MBMS = new System.Windows.Forms.MaskedTextBox(); + this.TB_MBMN = new System.Windows.Forms.MaskedTextBox(); + this.TB_MBRS = new System.Windows.Forms.MaskedTextBox(); + this.TB_MBRN = new System.Windows.Forms.MaskedTextBox(); + this.TB_MBTS = new System.Windows.Forms.MaskedTextBox(); + this.TB_MBTN = new System.Windows.Forms.MaskedTextBox(); + this.TB_MBDS = new System.Windows.Forms.MaskedTextBox(); + 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(); @@ -87,17 +103,17 @@ private void InitializeComponent() this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); - this.TB_MBMN = new System.Windows.Forms.TextBox(); - this.TB_MBMS = new System.Windows.Forms.TextBox(); - this.TB_MBRS = new System.Windows.Forms.TextBox(); - this.TB_MBRN = new System.Windows.Forms.TextBox(); - this.TB_MBTS = new System.Windows.Forms.TextBox(); - this.TB_MBTN = new System.Windows.Forms.TextBox(); - this.TB_MBDS = new System.Windows.Forms.TextBox(); - this.TB_MBDN = new System.Windows.Forms.TextBox(); - this.TB_MBSS = new System.Windows.Forms.TextBox(); - this.TB_MBSN = new System.Windows.Forms.TextBox(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.GB_MaisonCurrent = new System.Windows.Forms.GroupBox(); + this.TB_MCMS = new System.Windows.Forms.MaskedTextBox(); + this.TB_MCMN = new System.Windows.Forms.MaskedTextBox(); + this.TB_MCRS = new System.Windows.Forms.MaskedTextBox(); + this.TB_MCRN = new System.Windows.Forms.MaskedTextBox(); + this.TB_MCTS = new System.Windows.Forms.MaskedTextBox(); + this.TB_MCTN = new System.Windows.Forms.MaskedTextBox(); + this.TB_MCDS = new System.Windows.Forms.MaskedTextBox(); + 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(); @@ -105,31 +121,39 @@ private void InitializeComponent() this.label14 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); - this.TB_MCMN = new System.Windows.Forms.TextBox(); - this.TB_MCMS = new System.Windows.Forms.TextBox(); - this.TB_MCRS = new System.Windows.Forms.TextBox(); - this.TB_MCRN = new System.Windows.Forms.TextBox(); - this.TB_MCTS = new System.Windows.Forms.TextBox(); - this.TB_MCTN = new System.Windows.Forms.TextBox(); - this.TB_MCDS = new System.Windows.Forms.TextBox(); - this.TB_MCDN = new System.Windows.Forms.TextBox(); - this.TB_MCSS = new System.Windows.Forms.TextBox(); - this.TB_MCSN = new System.Windows.Forms.TextBox(); - this.TB_CoordZ = new System.Windows.Forms.TextBox(); - this.TB_CoordY = new System.Windows.Forms.TextBox(); - this.TB_CoordX = new System.Windows.Forms.TextBox(); - this.TB_CoordM = new System.Windows.Forms.TextBox(); 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.GB_Currency = new System.Windows.Forms.GroupBox(); - this.TB_BP = new System.Windows.Forms.MaskedTextBox(); - this.TB_PM = new System.Windows.Forms.MaskedTextBox(); - this.L_BP = new System.Windows.Forms.Label(); - this.L_PM = new System.Windows.Forms.Label(); - this.label21 = new System.Windows.Forms.Label(); - this.TB_Style = new System.Windows.Forms.MaskedTextBox(); + this.GB_Appear = new System.Windows.Forms.GroupBox(); + this.label32 = new System.Windows.Forms.Label(); + this.comboBox11 = new System.Windows.Forms.ComboBox(); + this.comboBox10 = new System.Windows.Forms.ComboBox(); + this.comboBox9 = new System.Windows.Forms.ComboBox(); + this.comboBox8 = new System.Windows.Forms.ComboBox(); + this.comboBox7 = new System.Windows.Forms.ComboBox(); + this.comboBox6 = new System.Windows.Forms.ComboBox(); + this.comboBox5 = 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.comboBox4 = new System.Windows.Forms.ComboBox(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.comboBox1 = 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.GB_Map = new System.Windows.Forms.GroupBox(); + this.GB_Reserved = new System.Windows.Forms.GroupBox(); + this.TB_CoordM = new System.Windows.Forms.MaskedTextBox(); + this.TB_CoordX = new System.Windows.Forms.MaskedTextBox(); + this.TB_CoordZ = new System.Windows.Forms.MaskedTextBox(); + this.TB_CoordY = new System.Windows.Forms.MaskedTextBox(); this.GB_Badges.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pb8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pb6)).BeginInit(); @@ -141,16 +165,17 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.pb1)).BeginInit(); this.GB_Sayings.SuspendLayout(); this.GB_Overview.SuspendLayout(); - this.groupBox2.SuspendLayout(); - this.groupBox1.SuspendLayout(); - this.GB_Currency.SuspendLayout(); + this.GB_MaisonBest.SuspendLayout(); + this.GB_MaisonCurrent.SuspendLayout(); + this.GB_Appear.SuspendLayout(); + this.GB_Map.SuspendLayout(); this.SuspendLayout(); // // B_Cancel // - this.B_Cancel.Location = new System.Drawing.Point(551, 308); + this.B_Cancel.Location = new System.Drawing.Point(416, 474); this.B_Cancel.Name = "B_Cancel"; - this.B_Cancel.Size = new System.Drawing.Size(65, 23); + this.B_Cancel.Size = new System.Drawing.Size(75, 23); this.B_Cancel.TabIndex = 0; this.B_Cancel.Text = "Cancel"; this.B_Cancel.UseVisualStyleBackColor = true; @@ -158,9 +183,9 @@ private void InitializeComponent() // // B_Save // - this.B_Save.Location = new System.Drawing.Point(551, 284); + this.B_Save.Location = new System.Drawing.Point(496, 474); this.B_Save.Name = "B_Save"; - this.B_Save.Size = new System.Drawing.Size(65, 23); + this.B_Save.Size = new System.Drawing.Size(75, 23); this.B_Save.TabIndex = 1; this.B_Save.Text = "Save"; this.B_Save.UseVisualStyleBackColor = true; @@ -169,7 +194,7 @@ private void InitializeComponent() // TB_OTName // this.TB_OTName.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.TB_OTName.Location = new System.Drawing.Point(102, 17); + this.TB_OTName.Location = new System.Drawing.Point(99, 17); this.TB_OTName.MaxLength = 12; this.TB_OTName.Name = "TB_OTName"; this.TB_OTName.Size = new System.Drawing.Size(93, 20); @@ -180,7 +205,7 @@ private void InitializeComponent() // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(22, 20); + 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; @@ -188,7 +213,7 @@ private void InitializeComponent() // // MT_Money // - this.MT_Money.Location = new System.Drawing.Point(122, 39); + this.MT_Money.Location = new System.Drawing.Point(119, 39); this.MT_Money.Mask = "0000000"; this.MT_Money.Name = "MT_Money"; this.MT_Money.RightToLeft = System.Windows.Forms.RightToLeft.Yes; @@ -199,7 +224,7 @@ private void InitializeComponent() // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(105, 42); + 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; @@ -207,7 +232,7 @@ private void InitializeComponent() // // L_TID // - this.L_TID.Location = new System.Drawing.Point(12, 42); + this.L_TID.Location = new System.Drawing.Point(9, 42); this.L_TID.Name = "L_TID"; this.L_TID.Size = new System.Drawing.Size(38, 13); this.L_TID.TabIndex = 6; @@ -216,7 +241,7 @@ private void InitializeComponent() // // L_SID // - this.L_SID.Location = new System.Drawing.Point(12, 65); + this.L_SID.Location = new System.Drawing.Point(9, 65); this.L_SID.Name = "L_SID"; this.L_SID.Size = new System.Drawing.Size(38, 13); this.L_SID.TabIndex = 7; @@ -225,7 +250,7 @@ private void InitializeComponent() // // MT_TID // - this.MT_TID.Location = new System.Drawing.Point(56, 40); + this.MT_TID.Location = new System.Drawing.Point(53, 40); this.MT_TID.Mask = "00000"; this.MT_TID.Name = "MT_TID"; this.MT_TID.RightToLeft = System.Windows.Forms.RightToLeft.Yes; @@ -236,7 +261,7 @@ private void InitializeComponent() // // MT_SID // - this.MT_SID.Location = new System.Drawing.Point(56, 62); + this.MT_SID.Location = new System.Drawing.Point(53, 62); this.MT_SID.Mask = "00000"; this.MT_SID.Name = "MT_SID"; this.MT_SID.RightToLeft = System.Windows.Forms.RightToLeft.Yes; @@ -351,7 +376,7 @@ private void InitializeComponent() this.GB_Badges.Controls.Add(this.pb3); this.GB_Badges.Controls.Add(this.cb1); this.GB_Badges.Controls.Add(this.pb1); - this.GB_Badges.Location = new System.Drawing.Point(12, 195); + this.GB_Badges.Location = new System.Drawing.Point(12, 370); this.GB_Badges.Name = "GB_Badges"; this.GB_Badges.Size = new System.Drawing.Size(398, 135); this.GB_Badges.TabIndex = 26; @@ -442,9 +467,9 @@ private void InitializeComponent() this.GB_Sayings.Controls.Add(this.TB_Saying3); this.GB_Sayings.Controls.Add(this.TB_Saying2); this.GB_Sayings.Controls.Add(this.TB_Saying1); - this.GB_Sayings.Location = new System.Drawing.Point(235, 12); + this.GB_Sayings.Location = new System.Drawing.Point(12, 248); this.GB_Sayings.Name = "GB_Sayings"; - this.GB_Sayings.Size = new System.Drawing.Size(175, 120); + this.GB_Sayings.Size = new System.Drawing.Size(210, 120); this.GB_Sayings.TabIndex = 27; this.GB_Sayings.TabStop = false; this.GB_Sayings.Text = "Saved Sayings"; @@ -452,7 +477,7 @@ private void InitializeComponent() // L_Saying5 // this.L_Saying5.AutoSize = true; - this.L_Saying5.Location = new System.Drawing.Point(13, 99); + this.L_Saying5.Location = new System.Drawing.Point(31, 99); this.L_Saying5.Name = "L_Saying5"; this.L_Saying5.Size = new System.Drawing.Size(16, 13); this.L_Saying5.TabIndex = 9; @@ -461,7 +486,7 @@ private void InitializeComponent() // L_Saying4 // this.L_Saying4.AutoSize = true; - this.L_Saying4.Location = new System.Drawing.Point(13, 79); + this.L_Saying4.Location = new System.Drawing.Point(31, 79); this.L_Saying4.Name = "L_Saying4"; this.L_Saying4.Size = new System.Drawing.Size(16, 13); this.L_Saying4.TabIndex = 8; @@ -470,7 +495,7 @@ private void InitializeComponent() // L_Saying3 // this.L_Saying3.AutoSize = true; - this.L_Saying3.Location = new System.Drawing.Point(13, 59); + this.L_Saying3.Location = new System.Drawing.Point(31, 59); this.L_Saying3.Name = "L_Saying3"; this.L_Saying3.Size = new System.Drawing.Size(16, 13); this.L_Saying3.TabIndex = 7; @@ -479,7 +504,7 @@ private void InitializeComponent() // L_Saying2 // this.L_Saying2.AutoSize = true; - this.L_Saying2.Location = new System.Drawing.Point(13, 39); + this.L_Saying2.Location = new System.Drawing.Point(31, 39); this.L_Saying2.Name = "L_Saying2"; this.L_Saying2.Size = new System.Drawing.Size(16, 13); this.L_Saying2.TabIndex = 6; @@ -488,7 +513,7 @@ private void InitializeComponent() // L_Saying1 // this.L_Saying1.AutoSize = true; - this.L_Saying1.Location = new System.Drawing.Point(13, 19); + this.L_Saying1.Location = new System.Drawing.Point(31, 19); this.L_Saying1.Name = "L_Saying1"; this.L_Saying1.Size = new System.Drawing.Size(16, 13); this.L_Saying1.TabIndex = 5; @@ -497,7 +522,7 @@ private void InitializeComponent() // TB_Saying5 // this.TB_Saying5.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.TB_Saying5.Location = new System.Drawing.Point(35, 96); + this.TB_Saying5.Location = new System.Drawing.Point(53, 96); this.TB_Saying5.MaxLength = 16; this.TB_Saying5.Name = "TB_Saying5"; this.TB_Saying5.Size = new System.Drawing.Size(126, 20); @@ -508,7 +533,7 @@ private void InitializeComponent() // TB_Saying4 // this.TB_Saying4.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.TB_Saying4.Location = new System.Drawing.Point(35, 76); + this.TB_Saying4.Location = new System.Drawing.Point(53, 76); this.TB_Saying4.MaxLength = 16; this.TB_Saying4.Name = "TB_Saying4"; this.TB_Saying4.Size = new System.Drawing.Size(126, 20); @@ -519,7 +544,7 @@ private void InitializeComponent() // TB_Saying3 // this.TB_Saying3.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.TB_Saying3.Location = new System.Drawing.Point(35, 56); + this.TB_Saying3.Location = new System.Drawing.Point(53, 56); this.TB_Saying3.MaxLength = 16; this.TB_Saying3.Name = "TB_Saying3"; this.TB_Saying3.Size = new System.Drawing.Size(126, 20); @@ -530,7 +555,7 @@ private void InitializeComponent() // TB_Saying2 // this.TB_Saying2.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.TB_Saying2.Location = new System.Drawing.Point(35, 36); + this.TB_Saying2.Location = new System.Drawing.Point(53, 36); this.TB_Saying2.MaxLength = 16; this.TB_Saying2.Name = "TB_Saying2"; this.TB_Saying2.Size = new System.Drawing.Size(126, 20); @@ -541,7 +566,7 @@ private void InitializeComponent() // TB_Saying1 // this.TB_Saying1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.TB_Saying1.Location = new System.Drawing.Point(35, 16); + this.TB_Saying1.Location = new System.Drawing.Point(53, 16); this.TB_Saying1.MaxLength = 16; this.TB_Saying1.Name = "TB_Saying1"; this.TB_Saying1.Size = new System.Drawing.Size(126, 20); @@ -551,8 +576,14 @@ private void InitializeComponent() // // GB_Overview // + this.GB_Overview.Controls.Add(this.TB_Style); this.GB_Overview.Controls.Add(this.L_Language); + this.GB_Overview.Controls.Add(this.TB_PM); + this.GB_Overview.Controls.Add(this.TB_BP); + this.GB_Overview.Controls.Add(this.L_PM); this.GB_Overview.Controls.Add(this.L_Region); + this.GB_Overview.Controls.Add(this.label21); + this.GB_Overview.Controls.Add(this.L_BP); this.GB_Overview.Controls.Add(this.L_Country); this.GB_Overview.Controls.Add(this.CB_Region); this.GB_Overview.Controls.Add(this.CB_Country); @@ -572,32 +603,90 @@ private void InitializeComponent() this.GB_Overview.Controls.Add(this.CB_Gender); this.GB_Overview.Location = new System.Drawing.Point(12, 12); this.GB_Overview.Name = "GB_Overview"; - this.GB_Overview.Size = new System.Drawing.Size(217, 183); + this.GB_Overview.Size = new System.Drawing.Size(210, 230); this.GB_Overview.TabIndex = 28; this.GB_Overview.TabStop = false; this.GB_Overview.Text = "Overview"; // + // TB_Style + // + this.TB_Style.Location = new System.Drawing.Point(78, 201); + this.TB_Style.Mask = "000"; + this.TB_Style.Name = "TB_Style"; + this.TB_Style.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.TB_Style.Size = new System.Drawing.Size(26, 20); + this.TB_Style.TabIndex = 8; + this.TB_Style.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.TB_Style.TextChanged += new System.EventHandler(this.changeStyle); + // // L_Language // - this.L_Language.Location = new System.Drawing.Point(17, 88); + this.L_Language.Location = new System.Drawing.Point(14, 88); this.L_Language.Name = "L_Language"; this.L_Language.Size = new System.Drawing.Size(80, 13); this.L_Language.TabIndex = 21; this.L_Language.Text = "Language:"; this.L_Language.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // + // TB_PM + // + this.TB_PM.Location = new System.Drawing.Point(78, 181); + this.TB_PM.Mask = "0000000"; + this.TB_PM.Name = "TB_PM"; + this.TB_PM.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.TB_PM.Size = new System.Drawing.Size(56, 20); + this.TB_PM.TabIndex = 5; + this.TB_PM.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // TB_BP + // + this.TB_BP.Location = new System.Drawing.Point(155, 201); + this.TB_BP.Mask = "0000"; + this.TB_BP.Name = "TB_BP"; + this.TB_BP.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.TB_BP.Size = new System.Drawing.Size(37, 20); + this.TB_BP.TabIndex = 6; + this.TB_BP.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // L_PM + // + this.L_PM.Location = new System.Drawing.Point(12, 184); + this.L_PM.Name = "L_PM"; + this.L_PM.Size = new System.Drawing.Size(60, 13); + this.L_PM.TabIndex = 0; + this.L_PM.Text = "PokeMiles:"; + this.L_PM.TextAlign = System.Drawing.ContentAlignment.TopRight; + // // L_Region // - this.L_Region.Location = new System.Drawing.Point(17, 134); + this.L_Region.Location = new System.Drawing.Point(14, 134); this.L_Region.Name = "L_Region"; this.L_Region.Size = new System.Drawing.Size(80, 13); this.L_Region.TabIndex = 20; this.L_Region.Text = "Region:"; this.L_Region.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // + // label21 + // + this.label21.Location = new System.Drawing.Point(26, 204); + 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; + // + // L_BP + // + this.L_BP.Location = new System.Drawing.Point(137, 184); + this.L_BP.Name = "L_BP"; + this.L_BP.Size = new System.Drawing.Size(50, 13); + this.L_BP.TabIndex = 1; + this.L_BP.Text = "BP:"; + this.L_BP.TextAlign = System.Drawing.ContentAlignment.TopRight; + // // L_Country // - this.L_Country.Location = new System.Drawing.Point(17, 111); + this.L_Country.Location = new System.Drawing.Point(14, 111); this.L_Country.Name = "L_Country"; this.L_Country.Size = new System.Drawing.Size(80, 13); this.L_Country.TabIndex = 19; @@ -608,7 +697,7 @@ private void InitializeComponent() // this.CB_Region.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CB_Region.FormattingEnabled = true; - this.CB_Region.Location = new System.Drawing.Point(102, 131); + this.CB_Region.Location = new System.Drawing.Point(99, 131); this.CB_Region.Name = "CB_Region"; this.CB_Region.Size = new System.Drawing.Size(93, 21); this.CB_Region.TabIndex = 18; @@ -617,14 +706,14 @@ private void InitializeComponent() // this.CB_Country.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CB_Country.FormattingEnabled = true; - this.CB_Country.Location = new System.Drawing.Point(102, 108); + this.CB_Country.Location = new System.Drawing.Point(99, 108); this.CB_Country.Name = "CB_Country"; this.CB_Country.Size = new System.Drawing.Size(93, 21); this.CB_Country.TabIndex = 17; // // B_MaxCash // - this.B_MaxCash.Location = new System.Drawing.Point(175, 39); + this.B_MaxCash.Location = new System.Drawing.Point(172, 39); this.B_MaxCash.Name = "B_MaxCash"; this.B_MaxCash.Size = new System.Drawing.Size(20, 20); this.B_MaxCash.TabIndex = 16; @@ -636,7 +725,7 @@ private void InitializeComponent() // this.CB_3DSReg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CB_3DSReg.FormattingEnabled = true; - this.CB_3DSReg.Location = new System.Drawing.Point(102, 154); + this.CB_3DSReg.Location = new System.Drawing.Point(99, 154); this.CB_3DSReg.Name = "CB_3DSReg"; this.CB_3DSReg.Size = new System.Drawing.Size(93, 21); this.CB_3DSReg.TabIndex = 14; @@ -645,14 +734,14 @@ private void InitializeComponent() // this.CB_Language.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CB_Language.FormattingEnabled = true; - this.CB_Language.Location = new System.Drawing.Point(102, 85); + this.CB_Language.Location = new System.Drawing.Point(99, 85); this.CB_Language.Name = "CB_Language"; this.CB_Language.Size = new System.Drawing.Size(93, 21); this.CB_Language.TabIndex = 15; // // L_3DSReg // - this.L_3DSReg.Location = new System.Drawing.Point(17, 157); + this.L_3DSReg.Location = new System.Drawing.Point(14, 157); this.L_3DSReg.Name = "L_3DSReg"; this.L_3DSReg.Size = new System.Drawing.Size(80, 13); this.L_3DSReg.TabIndex = 10; @@ -666,7 +755,7 @@ private void InitializeComponent() this.CB_Game.Items.AddRange(new object[] { "X", "Y"}); - this.CB_Game.Location = new System.Drawing.Point(160, 62); + this.CB_Game.Location = new System.Drawing.Point(157, 62); this.CB_Game.Name = "CB_Game"; this.CB_Game.Size = new System.Drawing.Size(35, 21); this.CB_Game.TabIndex = 24; @@ -678,41 +767,131 @@ private void InitializeComponent() this.CB_Gender.Items.AddRange(new object[] { "Male", "Female"}); - this.CB_Gender.Location = new System.Drawing.Point(102, 62); + this.CB_Gender.Location = new System.Drawing.Point(99, 62); this.CB_Gender.Name = "CB_Gender"; this.CB_Gender.Size = new System.Drawing.Size(57, 21); this.CB_Gender.TabIndex = 22; // - // groupBox2 + // GB_MaisonBest // - this.groupBox2.Controls.Add(this.label9); - this.groupBox2.Controls.Add(this.label8); - this.groupBox2.Controls.Add(this.label7); - this.groupBox2.Controls.Add(this.label6); - this.groupBox2.Controls.Add(this.label5); - this.groupBox2.Controls.Add(this.label4); - this.groupBox2.Controls.Add(this.label3); - this.groupBox2.Controls.Add(this.TB_MBMN); - this.groupBox2.Controls.Add(this.TB_MBMS); - this.groupBox2.Controls.Add(this.TB_MBRS); - this.groupBox2.Controls.Add(this.TB_MBRN); - this.groupBox2.Controls.Add(this.TB_MBTS); - this.groupBox2.Controls.Add(this.TB_MBTN); - this.groupBox2.Controls.Add(this.TB_MBDS); - this.groupBox2.Controls.Add(this.TB_MBDN); - this.groupBox2.Controls.Add(this.TB_MBSS); - this.groupBox2.Controls.Add(this.TB_MBSN); - this.groupBox2.Location = new System.Drawing.Point(416, 148); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(200, 134); - this.groupBox2.TabIndex = 40; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Maison Streaks (Best)"; + this.GB_MaisonBest.Controls.Add(this.TB_MBMS); + this.GB_MaisonBest.Controls.Add(this.TB_MBMN); + this.GB_MaisonBest.Controls.Add(this.TB_MBRS); + this.GB_MaisonBest.Controls.Add(this.TB_MBRN); + this.GB_MaisonBest.Controls.Add(this.TB_MBTS); + this.GB_MaisonBest.Controls.Add(this.TB_MBTN); + this.GB_MaisonBest.Controls.Add(this.TB_MBDS); + 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.Location = new System.Drawing.Point(416, 148); + this.GB_MaisonBest.Name = "GB_MaisonBest"; + this.GB_MaisonBest.Size = new System.Drawing.Size(155, 134); + this.GB_MaisonBest.TabIndex = 40; + this.GB_MaisonBest.TabStop = false; + this.GB_MaisonBest.Text = "Maison Streaks (Best)"; + // + // TB_MBMS + // + this.TB_MBMS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBMS.Location = new System.Drawing.Point(104, 106); + this.TB_MBMS.Mask = "0000"; + this.TB_MBMS.Name = "TB_MBMS"; + this.TB_MBMS.Size = new System.Drawing.Size(35, 20); + this.TB_MBMS.TabIndex = 65; + // + // TB_MBMN + // + this.TB_MBMN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBMN.Location = new System.Drawing.Point(61, 106); + this.TB_MBMN.Mask = "0000"; + this.TB_MBMN.Name = "TB_MBMN"; + this.TB_MBMN.Size = new System.Drawing.Size(35, 20); + this.TB_MBMN.TabIndex = 64; + // + // TB_MBRS + // + this.TB_MBRS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBRS.Location = new System.Drawing.Point(104, 87); + this.TB_MBRS.Mask = "0000"; + this.TB_MBRS.Name = "TB_MBRS"; + this.TB_MBRS.Size = new System.Drawing.Size(35, 20); + this.TB_MBRS.TabIndex = 63; + // + // TB_MBRN + // + this.TB_MBRN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBRN.Location = new System.Drawing.Point(61, 87); + this.TB_MBRN.Mask = "0000"; + this.TB_MBRN.Name = "TB_MBRN"; + this.TB_MBRN.Size = new System.Drawing.Size(35, 20); + this.TB_MBRN.TabIndex = 62; + // + // TB_MBTS + // + this.TB_MBTS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBTS.Location = new System.Drawing.Point(104, 69); + this.TB_MBTS.Mask = "0000"; + this.TB_MBTS.Name = "TB_MBTS"; + this.TB_MBTS.Size = new System.Drawing.Size(35, 20); + this.TB_MBTS.TabIndex = 61; + // + // TB_MBTN + // + this.TB_MBTN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBTN.Location = new System.Drawing.Point(61, 69); + this.TB_MBTN.Mask = "0000"; + this.TB_MBTN.Name = "TB_MBTN"; + this.TB_MBTN.Size = new System.Drawing.Size(35, 20); + this.TB_MBTN.TabIndex = 60; + // + // TB_MBDS + // + this.TB_MBDS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBDS.Location = new System.Drawing.Point(104, 50); + this.TB_MBDS.Mask = "0000"; + this.TB_MBDS.Name = "TB_MBDS"; + this.TB_MBDS.Size = new System.Drawing.Size(35, 20); + this.TB_MBDS.TabIndex = 59; + // + // TB_MBDN + // + this.TB_MBDN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBDN.Location = new System.Drawing.Point(61, 50); + this.TB_MBDN.Mask = "0000"; + this.TB_MBDN.Name = "TB_MBDN"; + this.TB_MBDN.Size = new System.Drawing.Size(35, 20); + this.TB_MBDN.TabIndex = 58; + // + // TB_MBSS + // + this.TB_MBSS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBSS.Location = new System.Drawing.Point(104, 31); + this.TB_MBSS.Mask = "0000"; + this.TB_MBSS.Name = "TB_MBSS"; + this.TB_MBSS.Size = new System.Drawing.Size(35, 20); + this.TB_MBSS.TabIndex = 57; + // + // TB_MBSN + // + this.TB_MBSN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MBSN.Location = new System.Drawing.Point(61, 31); + this.TB_MBSN.Mask = "0000"; + this.TB_MBSN.Name = "TB_MBSN"; + this.TB_MBSN.Size = new System.Drawing.Size(35, 20); + this.TB_MBSN.TabIndex = 56; // // label9 // this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(144, 17); + 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; @@ -721,7 +900,7 @@ private void InitializeComponent() // label8 // this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(67, 17); + 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; @@ -772,116 +951,126 @@ private void InitializeComponent() this.label3.TabIndex = 39; this.label3.Text = "Singles:"; // - // TB_MBMN + // GB_MaisonCurrent // - this.TB_MBMN.Location = new System.Drawing.Point(58, 106); - this.TB_MBMN.MaxLength = 4; - this.TB_MBMN.Name = "TB_MBMN"; - this.TB_MBMN.Size = new System.Drawing.Size(59, 20); - this.TB_MBMN.TabIndex = 33; + this.GB_MaisonCurrent.Controls.Add(this.TB_MCMS); + this.GB_MaisonCurrent.Controls.Add(this.TB_MCMN); + this.GB_MaisonCurrent.Controls.Add(this.TB_MCRS); + this.GB_MaisonCurrent.Controls.Add(this.TB_MCRN); + this.GB_MaisonCurrent.Controls.Add(this.TB_MCTS); + this.GB_MaisonCurrent.Controls.Add(this.TB_MCTN); + this.GB_MaisonCurrent.Controls.Add(this.TB_MCDS); + 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.Location = new System.Drawing.Point(416, 12); + this.GB_MaisonCurrent.Name = "GB_MaisonCurrent"; + this.GB_MaisonCurrent.Size = new System.Drawing.Size(155, 130); + this.GB_MaisonCurrent.TabIndex = 41; + this.GB_MaisonCurrent.TabStop = false; + this.GB_MaisonCurrent.Text = "Maison Streaks (Current)"; // - // TB_MBMS + // TB_MCMS // - this.TB_MBMS.Location = new System.Drawing.Point(132, 106); - this.TB_MBMS.MaxLength = 4; - this.TB_MBMS.Name = "TB_MBMS"; - this.TB_MBMS.Size = new System.Drawing.Size(59, 20); - this.TB_MBMS.TabIndex = 38; + this.TB_MCMS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCMS.Location = new System.Drawing.Point(104, 104); + this.TB_MCMS.Mask = "0000"; + this.TB_MCMS.Name = "TB_MCMS"; + this.TB_MCMS.Size = new System.Drawing.Size(35, 20); + this.TB_MCMS.TabIndex = 55; // - // TB_MBRS + // TB_MCMN // - this.TB_MBRS.Location = new System.Drawing.Point(132, 87); - this.TB_MBRS.MaxLength = 4; - this.TB_MBRS.Name = "TB_MBRS"; - this.TB_MBRS.Size = new System.Drawing.Size(59, 20); - this.TB_MBRS.TabIndex = 37; + this.TB_MCMN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCMN.Location = new System.Drawing.Point(61, 104); + this.TB_MCMN.Mask = "0000"; + this.TB_MCMN.Name = "TB_MCMN"; + this.TB_MCMN.Size = new System.Drawing.Size(35, 20); + this.TB_MCMN.TabIndex = 54; // - // TB_MBRN + // TB_MCRS // - this.TB_MBRN.Location = new System.Drawing.Point(58, 87); - this.TB_MBRN.MaxLength = 4; - this.TB_MBRN.Name = "TB_MBRN"; - this.TB_MBRN.Size = new System.Drawing.Size(59, 20); - this.TB_MBRN.TabIndex = 32; + this.TB_MCRS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCRS.Location = new System.Drawing.Point(104, 85); + this.TB_MCRS.Mask = "0000"; + this.TB_MCRS.Name = "TB_MCRS"; + this.TB_MCRS.Size = new System.Drawing.Size(35, 20); + this.TB_MCRS.TabIndex = 53; // - // TB_MBTS + // TB_MCRN // - this.TB_MBTS.Location = new System.Drawing.Point(132, 69); - this.TB_MBTS.MaxLength = 4; - this.TB_MBTS.Name = "TB_MBTS"; - this.TB_MBTS.Size = new System.Drawing.Size(59, 20); - this.TB_MBTS.TabIndex = 36; + this.TB_MCRN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCRN.Location = new System.Drawing.Point(61, 85); + this.TB_MCRN.Mask = "0000"; + this.TB_MCRN.Name = "TB_MCRN"; + this.TB_MCRN.Size = new System.Drawing.Size(35, 20); + this.TB_MCRN.TabIndex = 52; // - // TB_MBTN + // TB_MCTS // - this.TB_MBTN.Location = new System.Drawing.Point(58, 69); - this.TB_MBTN.MaxLength = 4; - this.TB_MBTN.Name = "TB_MBTN"; - this.TB_MBTN.Size = new System.Drawing.Size(59, 20); - this.TB_MBTN.TabIndex = 31; + this.TB_MCTS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCTS.Location = new System.Drawing.Point(104, 67); + this.TB_MCTS.Mask = "0000"; + this.TB_MCTS.Name = "TB_MCTS"; + this.TB_MCTS.Size = new System.Drawing.Size(35, 20); + this.TB_MCTS.TabIndex = 51; // - // TB_MBDS + // TB_MCTN // - this.TB_MBDS.Location = new System.Drawing.Point(132, 50); - this.TB_MBDS.MaxLength = 4; - this.TB_MBDS.Name = "TB_MBDS"; - this.TB_MBDS.Size = new System.Drawing.Size(59, 20); - this.TB_MBDS.TabIndex = 35; + this.TB_MCTN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCTN.Location = new System.Drawing.Point(61, 67); + this.TB_MCTN.Mask = "0000"; + this.TB_MCTN.Name = "TB_MCTN"; + this.TB_MCTN.Size = new System.Drawing.Size(35, 20); + this.TB_MCTN.TabIndex = 50; // - // TB_MBDN + // TB_MCDS // - this.TB_MBDN.Location = new System.Drawing.Point(58, 50); - this.TB_MBDN.MaxLength = 4; - this.TB_MBDN.Name = "TB_MBDN"; - this.TB_MBDN.Size = new System.Drawing.Size(59, 20); - this.TB_MBDN.TabIndex = 30; + this.TB_MCDS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCDS.Location = new System.Drawing.Point(104, 48); + this.TB_MCDS.Mask = "0000"; + this.TB_MCDS.Name = "TB_MCDS"; + this.TB_MCDS.Size = new System.Drawing.Size(35, 20); + this.TB_MCDS.TabIndex = 49; // - // TB_MBSS + // TB_MCDN // - this.TB_MBSS.Location = new System.Drawing.Point(132, 31); - this.TB_MBSS.MaxLength = 4; - this.TB_MBSS.Name = "TB_MBSS"; - this.TB_MBSS.Size = new System.Drawing.Size(59, 20); - this.TB_MBSS.TabIndex = 34; + this.TB_MCDN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCDN.Location = new System.Drawing.Point(61, 48); + this.TB_MCDN.Mask = "0000"; + this.TB_MCDN.Name = "TB_MCDN"; + this.TB_MCDN.Size = new System.Drawing.Size(35, 20); + this.TB_MCDN.TabIndex = 48; // - // TB_MBSN + // TB_MCSS // - this.TB_MBSN.Location = new System.Drawing.Point(58, 31); - this.TB_MBSN.MaxLength = 4; - this.TB_MBSN.Name = "TB_MBSN"; - this.TB_MBSN.Size = new System.Drawing.Size(59, 20); - this.TB_MBSN.TabIndex = 29; + this.TB_MCSS.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCSS.Location = new System.Drawing.Point(104, 29); + this.TB_MCSS.Mask = "0000"; + this.TB_MCSS.Name = "TB_MCSS"; + this.TB_MCSS.Size = new System.Drawing.Size(35, 20); + this.TB_MCSS.TabIndex = 47; // - // groupBox1 + // TB_MCSN // - this.groupBox1.Controls.Add(this.label10); - this.groupBox1.Controls.Add(this.label11); - this.groupBox1.Controls.Add(this.label12); - this.groupBox1.Controls.Add(this.label13); - this.groupBox1.Controls.Add(this.label14); - this.groupBox1.Controls.Add(this.label15); - this.groupBox1.Controls.Add(this.label16); - this.groupBox1.Controls.Add(this.TB_MCMN); - this.groupBox1.Controls.Add(this.TB_MCMS); - this.groupBox1.Controls.Add(this.TB_MCRS); - this.groupBox1.Controls.Add(this.TB_MCRN); - this.groupBox1.Controls.Add(this.TB_MCTS); - this.groupBox1.Controls.Add(this.TB_MCTN); - this.groupBox1.Controls.Add(this.TB_MCDS); - this.groupBox1.Controls.Add(this.TB_MCDN); - this.groupBox1.Controls.Add(this.TB_MCSS); - this.groupBox1.Controls.Add(this.TB_MCSN); - this.groupBox1.Location = new System.Drawing.Point(416, 12); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(200, 134); - this.groupBox1.TabIndex = 41; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Maison Streaks (Current)"; + this.TB_MCSN.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_MCSN.Location = new System.Drawing.Point(61, 29); + this.TB_MCSN.Mask = "0000"; + this.TB_MCSN.Name = "TB_MCSN"; + this.TB_MCSN.Size = new System.Drawing.Size(35, 20); + this.TB_MCSN.TabIndex = 46; // // label10 // this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(144, 16); + 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; @@ -890,7 +1079,7 @@ private void InitializeComponent() // label11 // this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(67, 17); + 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; @@ -899,7 +1088,7 @@ private void InitializeComponent() // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(8, 109); + 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; @@ -908,7 +1097,7 @@ private void InitializeComponent() // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(8, 91); + 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; @@ -917,7 +1106,7 @@ private void InitializeComponent() // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(8, 72); + 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; @@ -926,7 +1115,7 @@ private void InitializeComponent() // label15 // this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(8, 53); + 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; @@ -935,128 +1124,16 @@ private void InitializeComponent() // label16 // this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(8, 34); + 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:"; // - // TB_MCMN - // - this.TB_MCMN.Location = new System.Drawing.Point(58, 106); - this.TB_MCMN.MaxLength = 4; - this.TB_MCMN.Name = "TB_MCMN"; - this.TB_MCMN.Size = new System.Drawing.Size(59, 20); - this.TB_MCMN.TabIndex = 33; - // - // TB_MCMS - // - this.TB_MCMS.Location = new System.Drawing.Point(132, 105); - this.TB_MCMS.MaxLength = 4; - this.TB_MCMS.Name = "TB_MCMS"; - this.TB_MCMS.Size = new System.Drawing.Size(59, 20); - this.TB_MCMS.TabIndex = 38; - // - // TB_MCRS - // - this.TB_MCRS.Location = new System.Drawing.Point(132, 86); - this.TB_MCRS.MaxLength = 4; - this.TB_MCRS.Name = "TB_MCRS"; - this.TB_MCRS.Size = new System.Drawing.Size(59, 20); - this.TB_MCRS.TabIndex = 37; - // - // TB_MCRN - // - this.TB_MCRN.Location = new System.Drawing.Point(58, 87); - this.TB_MCRN.MaxLength = 4; - this.TB_MCRN.Name = "TB_MCRN"; - this.TB_MCRN.Size = new System.Drawing.Size(59, 20); - this.TB_MCRN.TabIndex = 32; - // - // TB_MCTS - // - this.TB_MCTS.Location = new System.Drawing.Point(132, 68); - this.TB_MCTS.MaxLength = 4; - this.TB_MCTS.Name = "TB_MCTS"; - this.TB_MCTS.Size = new System.Drawing.Size(59, 20); - this.TB_MCTS.TabIndex = 36; - // - // TB_MCTN - // - this.TB_MCTN.Location = new System.Drawing.Point(58, 69); - this.TB_MCTN.MaxLength = 4; - this.TB_MCTN.Name = "TB_MCTN"; - this.TB_MCTN.Size = new System.Drawing.Size(59, 20); - this.TB_MCTN.TabIndex = 31; - // - // TB_MCDS - // - this.TB_MCDS.Location = new System.Drawing.Point(132, 49); - this.TB_MCDS.MaxLength = 4; - this.TB_MCDS.Name = "TB_MCDS"; - this.TB_MCDS.Size = new System.Drawing.Size(59, 20); - this.TB_MCDS.TabIndex = 35; - // - // TB_MCDN - // - this.TB_MCDN.Location = new System.Drawing.Point(58, 50); - this.TB_MCDN.MaxLength = 4; - this.TB_MCDN.Name = "TB_MCDN"; - this.TB_MCDN.Size = new System.Drawing.Size(59, 20); - this.TB_MCDN.TabIndex = 30; - // - // TB_MCSS - // - this.TB_MCSS.Location = new System.Drawing.Point(132, 30); - this.TB_MCSS.MaxLength = 4; - this.TB_MCSS.Name = "TB_MCSS"; - this.TB_MCSS.Size = new System.Drawing.Size(59, 20); - this.TB_MCSS.TabIndex = 34; - // - // TB_MCSN - // - this.TB_MCSN.Location = new System.Drawing.Point(58, 31); - this.TB_MCSN.MaxLength = 4; - this.TB_MCSN.Name = "TB_MCSN"; - this.TB_MCSN.Size = new System.Drawing.Size(59, 20); - this.TB_MCSN.TabIndex = 29; - // - // TB_CoordZ - // - this.TB_CoordZ.Location = new System.Drawing.Point(500, 286); - this.TB_CoordZ.MaxLength = 6; - this.TB_CoordZ.Name = "TB_CoordZ"; - this.TB_CoordZ.Size = new System.Drawing.Size(46, 20); - this.TB_CoordZ.TabIndex = 42; - // - // TB_CoordY - // - this.TB_CoordY.Location = new System.Drawing.Point(500, 310); - this.TB_CoordY.MaxLength = 6; - this.TB_CoordY.Name = "TB_CoordY"; - this.TB_CoordY.Size = new System.Drawing.Size(46, 20); - this.TB_CoordY.TabIndex = 43; - // - // TB_CoordX - // - this.TB_CoordX.Location = new System.Drawing.Point(436, 310); - this.TB_CoordX.MaxLength = 6; - this.TB_CoordX.Name = "TB_CoordX"; - this.TB_CoordX.Size = new System.Drawing.Size(46, 20); - this.TB_CoordX.TabIndex = 45; - // - // TB_CoordM - // - this.TB_CoordM.Location = new System.Drawing.Point(436, 286); - this.TB_CoordM.MaxLength = 4; - this.TB_CoordM.Name = "TB_CoordM"; - this.TB_CoordM.Size = new System.Drawing.Size(46, 20); - this.TB_CoordM.TabIndex = 44; - // // label17 // this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(420, 289); + this.label17.Location = new System.Drawing.Point(26, 28); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(16, 13); this.label17.TabIndex = 46; @@ -1065,7 +1142,7 @@ private void InitializeComponent() // label18 // this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(420, 313); + this.label18.Location = new System.Drawing.Point(26, 52); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(14, 13); this.label18.TabIndex = 47; @@ -1074,7 +1151,7 @@ private void InitializeComponent() // label19 // this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(484, 313); + this.label19.Location = new System.Drawing.Point(90, 52); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(14, 13); this.label19.TabIndex = 49; @@ -1083,104 +1160,315 @@ private void InitializeComponent() // label20 // this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(484, 289); + this.label20.Location = new System.Drawing.Point(90, 28); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(14, 13); this.label20.TabIndex = 48; this.label20.Text = "Z"; // - // GB_Currency + // GB_Appear // - this.GB_Currency.Controls.Add(this.TB_Style); - this.GB_Currency.Controls.Add(this.label21); - this.GB_Currency.Controls.Add(this.TB_BP); - this.GB_Currency.Controls.Add(this.TB_PM); - this.GB_Currency.Controls.Add(this.L_BP); - this.GB_Currency.Controls.Add(this.L_PM); - this.GB_Currency.Location = new System.Drawing.Point(235, 132); - this.GB_Currency.Name = "GB_Currency"; - this.GB_Currency.Size = new System.Drawing.Size(175, 63); - this.GB_Currency.TabIndex = 50; - this.GB_Currency.TabStop = false; - this.GB_Currency.Text = "Misc"; + this.GB_Appear.Controls.Add(this.label32); + this.GB_Appear.Controls.Add(this.comboBox11); + this.GB_Appear.Controls.Add(this.comboBox10); + this.GB_Appear.Controls.Add(this.comboBox9); + this.GB_Appear.Controls.Add(this.comboBox8); + this.GB_Appear.Controls.Add(this.comboBox7); + this.GB_Appear.Controls.Add(this.comboBox6); + this.GB_Appear.Controls.Add(this.comboBox5); + 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.comboBox4); + this.GB_Appear.Controls.Add(this.comboBox3); + this.GB_Appear.Controls.Add(this.comboBox2); + this.GB_Appear.Controls.Add(this.comboBox1); + 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.Enabled = false; + 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); + this.GB_Appear.TabIndex = 50; + this.GB_Appear.TabStop = false; + this.GB_Appear.Text = "Current Appearance (X/Y)"; // - // TB_BP + // label32 // - this.TB_BP.Location = new System.Drawing.Point(53, 16); - this.TB_BP.Mask = "0000"; - this.TB_BP.Name = "TB_BP"; - this.TB_BP.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.TB_BP.Size = new System.Drawing.Size(37, 20); - this.TB_BP.TabIndex = 6; - this.TB_BP.Text = "1234"; - this.TB_BP.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + 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; // - // TB_PM + // comboBox11 // - this.TB_PM.Location = new System.Drawing.Point(105, 39); - this.TB_PM.Mask = "0000000"; - this.TB_PM.Name = "TB_PM"; - this.TB_PM.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.TB_PM.Size = new System.Drawing.Size(56, 20); - this.TB_PM.TabIndex = 5; - this.TB_PM.Text = "1234567"; - this.TB_PM.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.comboBox11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox11.FormattingEnabled = true; + this.comboBox11.Location = new System.Drawing.Point(78, 191); + this.comboBox11.Name = "comboBox11"; + this.comboBox11.Size = new System.Drawing.Size(88, 21); + this.comboBox11.TabIndex = 20; // - // L_BP + // comboBox10 // - this.L_BP.Location = new System.Drawing.Point(3, 19); - this.L_BP.Name = "L_BP"; - this.L_BP.Size = new System.Drawing.Size(50, 13); - this.L_BP.TabIndex = 1; - this.L_BP.Text = "BP:"; - this.L_BP.TextAlign = System.Drawing.ContentAlignment.TopRight; + this.comboBox10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox10.FormattingEnabled = true; + this.comboBox10.Location = new System.Drawing.Point(78, 233); + this.comboBox10.Name = "comboBox10"; + this.comboBox10.Size = new System.Drawing.Size(88, 21); + this.comboBox10.TabIndex = 19; // - // L_PM + // comboBox9 // - this.L_PM.Location = new System.Drawing.Point(13, 42); - this.L_PM.Name = "L_PM"; - this.L_PM.Size = new System.Drawing.Size(80, 13); - this.L_PM.TabIndex = 0; - this.L_PM.Text = "PokeMiles:"; - this.L_PM.TextAlign = System.Drawing.ContentAlignment.TopRight; + this.comboBox9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox9.FormattingEnabled = true; + this.comboBox9.Location = new System.Drawing.Point(78, 212); + this.comboBox9.Name = "comboBox9"; + this.comboBox9.Size = new System.Drawing.Size(88, 21); + this.comboBox9.TabIndex = 18; // - // label21 + // comboBox8 // - this.label21.Location = new System.Drawing.Point(90, 19); - 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.comboBox8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox8.FormattingEnabled = true; + this.comboBox8.Location = new System.Drawing.Point(78, 170); + this.comboBox8.Name = "comboBox8"; + this.comboBox8.Size = new System.Drawing.Size(88, 21); + this.comboBox8.TabIndex = 17; // - // TB_Style + // comboBox7 // - this.TB_Style.Location = new System.Drawing.Point(135, 16); - this.TB_Style.Mask = "000"; - this.TB_Style.Name = "TB_Style"; - this.TB_Style.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.TB_Style.Size = new System.Drawing.Size(26, 20); - this.TB_Style.TabIndex = 8; - this.TB_Style.Text = "123"; - this.TB_Style.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.TB_Style.TextChanged += new System.EventHandler(this.changeStyle); + this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox7.FormattingEnabled = true; + this.comboBox7.Location = new System.Drawing.Point(78, 149); + this.comboBox7.Name = "comboBox7"; + this.comboBox7.Size = new System.Drawing.Size(88, 21); + this.comboBox7.TabIndex = 16; + // + // comboBox6 + // + this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox6.FormattingEnabled = true; + this.comboBox6.Location = new System.Drawing.Point(78, 128); + this.comboBox6.Name = "comboBox6"; + this.comboBox6.Size = new System.Drawing.Size(88, 21); + this.comboBox6.TabIndex = 15; + // + // comboBox5 + // + this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox5.FormattingEnabled = true; + this.comboBox5.Location = new System.Drawing.Point(78, 107); + this.comboBox5.Name = "comboBox5"; + this.comboBox5.Size = new System.Drawing.Size(88, 21); + this.comboBox5.TabIndex = 14; + // + // label31 + // + 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; + // + // label30 + // + 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; + // + // label29 + // + 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; + // + // label28 + // + 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; + // + // label27 + // + 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; + // + // comboBox4 + // + this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox4.FormattingEnabled = true; + this.comboBox4.Location = new System.Drawing.Point(78, 86); + this.comboBox4.Name = "comboBox4"; + this.comboBox4.Size = new System.Drawing.Size(88, 21); + this.comboBox4.TabIndex = 8; + // + // comboBox3 + // + this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Location = new System.Drawing.Point(78, 65); + this.comboBox3.Name = "comboBox3"; + this.comboBox3.Size = new System.Drawing.Size(88, 21); + this.comboBox3.TabIndex = 7; + // + // comboBox2 + // + this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Location = new System.Drawing.Point(78, 44); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(88, 21); + this.comboBox2.TabIndex = 6; + // + // comboBox1 + // + this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Location = new System.Drawing.Point(78, 23); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(88, 21); + this.comboBox1.TabIndex = 5; + // + // label26 + // + 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; + // + // label25 + // + 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; + // + // label24 + // + 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; + // + // label23 + // + 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 = "Eye Color:"; + this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label22 + // + 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; + // + // GB_Map + // + this.GB_Map.Controls.Add(this.TB_CoordY); + this.GB_Map.Controls.Add(this.label19); + this.GB_Map.Controls.Add(this.TB_CoordZ); + this.GB_Map.Controls.Add(this.label17); + this.GB_Map.Controls.Add(this.TB_CoordX); + this.GB_Map.Controls.Add(this.label20); + this.GB_Map.Controls.Add(this.TB_CoordM); + this.GB_Map.Controls.Add(this.label18); + 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, 80); + this.GB_Map.TabIndex = 51; + this.GB_Map.TabStop = false; + this.GB_Map.Text = "Map Position"; + // + // GB_Reserved + // + this.GB_Reserved.Enabled = false; + this.GB_Reserved.Location = new System.Drawing.Point(416, 288); + this.GB_Reserved.Name = "GB_Reserved"; + this.GB_Reserved.Size = new System.Drawing.Size(155, 177); + this.GB_Reserved.TabIndex = 52; + this.GB_Reserved.TabStop = false; + this.GB_Reserved.Text = "Multiplayer"; + // + // TB_CoordM + // + this.TB_CoordM.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_CoordM.Location = new System.Drawing.Point(44, 25); + this.TB_CoordM.Mask = "0000"; + this.TB_CoordM.Name = "TB_CoordM"; + this.TB_CoordM.Size = new System.Drawing.Size(35, 20); + this.TB_CoordM.TabIndex = 0; + // + // TB_CoordX + // + this.TB_CoordX.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_CoordX.Location = new System.Drawing.Point(43, 49); + this.TB_CoordX.Mask = "0000"; + this.TB_CoordX.Name = "TB_CoordX"; + this.TB_CoordX.Size = new System.Drawing.Size(35, 20); + this.TB_CoordX.TabIndex = 1; + // + // TB_CoordZ + // + this.TB_CoordZ.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_CoordZ.Location = new System.Drawing.Point(110, 25); + this.TB_CoordZ.Mask = "0000"; + this.TB_CoordZ.Name = "TB_CoordZ"; + this.TB_CoordZ.Size = new System.Drawing.Size(35, 20); + this.TB_CoordZ.TabIndex = 2; + // + // TB_CoordY + // + this.TB_CoordY.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TB_CoordY.Location = new System.Drawing.Point(110, 49); + this.TB_CoordY.Mask = "0000"; + this.TB_CoordY.Name = "TB_CoordY"; + this.TB_CoordY.Size = new System.Drawing.Size(35, 20); + this.TB_CoordY.TabIndex = 3; // // SAV_Trainer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(624, 337); - this.Controls.Add(this.GB_Currency); - this.Controls.Add(this.label19); - this.Controls.Add(this.label20); - this.Controls.Add(this.label18); - this.Controls.Add(this.label17); - this.Controls.Add(this.TB_CoordX); - this.Controls.Add(this.TB_CoordM); - this.Controls.Add(this.TB_CoordY); - this.Controls.Add(this.TB_CoordZ); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.groupBox2); + this.ClientSize = new System.Drawing.Size(584, 512); + this.Controls.Add(this.GB_Reserved); + this.Controls.Add(this.GB_Map); + this.Controls.Add(this.GB_Appear); + this.Controls.Add(this.GB_MaisonCurrent); + this.Controls.Add(this.GB_MaisonBest); this.Controls.Add(this.B_Save); this.Controls.Add(this.B_Cancel); this.Controls.Add(this.GB_Overview); @@ -1207,14 +1495,14 @@ private void InitializeComponent() this.GB_Sayings.PerformLayout(); this.GB_Overview.ResumeLayout(false); this.GB_Overview.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.GB_Currency.ResumeLayout(false); - this.GB_Currency.PerformLayout(); + this.GB_MaisonBest.ResumeLayout(false); + this.GB_MaisonBest.PerformLayout(); + this.GB_MaisonCurrent.ResumeLayout(false); + this.GB_MaisonCurrent.PerformLayout(); + this.GB_Appear.ResumeLayout(false); + this.GB_Map.ResumeLayout(false); + this.GB_Map.PerformLayout(); this.ResumeLayout(false); - this.PerformLayout(); } @@ -1267,7 +1555,7 @@ private void InitializeComponent() private System.Windows.Forms.ComboBox CB_Country; private System.Windows.Forms.Label L_Region; private System.Windows.Forms.Label L_Country; - private System.Windows.Forms.GroupBox groupBox2; + 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; @@ -1275,17 +1563,7 @@ private void InitializeComponent() private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label3; - private System.Windows.Forms.TextBox TB_MBMN; - private System.Windows.Forms.TextBox TB_MBMS; - private System.Windows.Forms.TextBox TB_MBRS; - private System.Windows.Forms.TextBox TB_MBRN; - private System.Windows.Forms.TextBox TB_MBTS; - private System.Windows.Forms.TextBox TB_MBTN; - private System.Windows.Forms.TextBox TB_MBDS; - private System.Windows.Forms.TextBox TB_MBDN; - private System.Windows.Forms.TextBox TB_MBSS; - private System.Windows.Forms.TextBox TB_MBSN; - private System.Windows.Forms.GroupBox groupBox1; + 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; @@ -1293,33 +1571,67 @@ private void InitializeComponent() private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label15; private System.Windows.Forms.Label label16; - private System.Windows.Forms.TextBox TB_MCMN; - private System.Windows.Forms.TextBox TB_MCMS; - private System.Windows.Forms.TextBox TB_MCRS; - private System.Windows.Forms.TextBox TB_MCRN; - private System.Windows.Forms.TextBox TB_MCTS; - private System.Windows.Forms.TextBox TB_MCTN; - private System.Windows.Forms.TextBox TB_MCDS; - private System.Windows.Forms.TextBox TB_MCDN; - private System.Windows.Forms.TextBox TB_MCSS; - private System.Windows.Forms.TextBox TB_MCSN; 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.TextBox TB_CoordZ; - private System.Windows.Forms.TextBox TB_CoordY; - private System.Windows.Forms.TextBox TB_CoordX; - private System.Windows.Forms.TextBox TB_CoordM; 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.GroupBox GB_Currency; 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.MaskedTextBox TB_MBMS; + private System.Windows.Forms.MaskedTextBox TB_MBMN; + private System.Windows.Forms.MaskedTextBox TB_MBRS; + private System.Windows.Forms.MaskedTextBox TB_MBRN; + private System.Windows.Forms.MaskedTextBox TB_MBTS; + private System.Windows.Forms.MaskedTextBox TB_MBTN; + private System.Windows.Forms.MaskedTextBox TB_MBDS; + private System.Windows.Forms.MaskedTextBox TB_MBDN; + private System.Windows.Forms.MaskedTextBox TB_MBSS; + private System.Windows.Forms.MaskedTextBox TB_MBSN; + private System.Windows.Forms.MaskedTextBox TB_MCMS; + private System.Windows.Forms.MaskedTextBox TB_MCMN; + private System.Windows.Forms.MaskedTextBox TB_MCRS; + private System.Windows.Forms.MaskedTextBox TB_MCRN; + private System.Windows.Forms.MaskedTextBox TB_MCTS; + private System.Windows.Forms.MaskedTextBox TB_MCTN; + private System.Windows.Forms.MaskedTextBox TB_MCDS; + private System.Windows.Forms.MaskedTextBox TB_MCDN; + 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.ComboBox comboBox11; + private System.Windows.Forms.ComboBox comboBox10; + private System.Windows.Forms.ComboBox comboBox9; + private System.Windows.Forms.ComboBox comboBox8; + private System.Windows.Forms.ComboBox comboBox7; + private System.Windows.Forms.ComboBox comboBox6; + private System.Windows.Forms.ComboBox comboBox5; + 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.ComboBox comboBox4; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.ComboBox comboBox1; + 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.GroupBox GB_Map; + private System.Windows.Forms.GroupBox GB_Reserved; + 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; } } \ No newline at end of file diff --git a/SAV_Trainer.cs b/SAV_Trainer.cs index 8f43d292c..4c83436dc 100644 --- a/SAV_Trainer.cs +++ b/SAV_Trainer.cs @@ -284,10 +284,10 @@ private void getTextBoxes() TB_MBMN.Text = BitConverter.ToUInt16(sav, savshift + 0x205C0 + 2 * 18).ToString(); TB_MBMS.Text = BitConverter.ToUInt16(sav, savshift + 0x205C0 + 2 * 19).ToString(); - TB_CoordM.Text = BitConverter.ToUInt16(sav, savshift + 0x6802).ToString("X4"); - TB_CoordX.Text = BitConverter.ToSingle(sav, savshift + 0x6810).ToString("0.0"); - TB_CoordZ.Text = BitConverter.ToSingle(sav, savshift + 0x6814).ToString("0.0"); - TB_CoordY.Text = BitConverter.ToSingle(sav, savshift + 0x6818).ToString("0.0"); + TB_CoordM.Text = BitConverter.ToUInt16(sav, savshift + 0x6802).ToString(); + TB_CoordX.Text = BitConverter.ToSingle(sav, savshift + 0x6810).ToString(); + TB_CoordZ.Text = BitConverter.ToSingle(sav, savshift + 0x6814).ToString(); + TB_CoordY.Text = BitConverter.ToSingle(sav, savshift + 0x6818).ToString(); // Load BP and PokeMiles TB_BP.Text = BitConverter.ToUInt32(sav, savshift + 0x963C).ToString(); @@ -353,7 +353,7 @@ private void save() // New stuff. // Copy Maison Data in - TextBox[] tba = new TextBox[] { + MaskedTextBox[] tba = new MaskedTextBox[] { TB_MCSN,TB_MCSS,TB_MBSN,TB_MBSS, TB_MCDN,TB_MCDS,TB_MBDN,TB_MBDS, TB_MCTN,TB_MCTS,TB_MBTN,TB_MBTS, @@ -372,8 +372,6 @@ private void save() byte[] x = BitConverter.GetBytes(Single.Parse(TB_CoordX.Text)); Array.Resize(ref x, 4); Array.Copy(x,0,sav, savshift + 0x6810,4); byte[] z = BitConverter.GetBytes(Single.Parse(TB_CoordZ.Text)); Array.Resize(ref z, 4); Array.Copy(z,0,sav, savshift + 0x6814,4); byte[] y = BitConverter.GetBytes(Single.Parse(TB_CoordY.Text)); Array.Resize(ref y, 4); Array.Copy(y,0,sav, savshift + 0x6818,4); - TB_BP.Text = BitConverter.ToUInt32(sav, savshift + 0x963C).ToString(); - TB_PM.Text = BitConverter.ToUInt32(sav, savshift + 0x238FC).ToString(); byte[] bp = BitConverter.GetBytes(ToUInt32(TB_BP.Text)); Array.Resize(ref bp, 2); Array.Copy(bp, 0, sav, savshift + 0x963C, 2); byte[] pm = BitConverter.GetBytes(ToUInt32(TB_PM.Text)); Array.Resize(ref pm, 4); Array.Copy(pm, 0, sav, savshift + 0x238FC, 4); Array.Copy(pm, 0, sav, savshift + 0x23900, 4); @@ -421,6 +419,7 @@ private void changeBadge(object sender, EventArgs e) private void changeStyle(object sender, EventArgs e) { + if (TB_Style.Text == "") TB_Style.Text = "0"; if (int.Parse(TB_Style.Text) > 255) TB_Style.Text = "255"; } diff --git a/SAV_Trainer.resx b/SAV_Trainer.resx index f9e3e7a6a..603f660be 100644 --- a/SAV_Trainer.resx +++ b/SAV_Trainer.resx @@ -117,210 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - diff --git a/f1-Main.Designer.cs b/f1-Main.Designer.cs index babc60a12..da8a97964 100644 --- a/f1-Main.Designer.cs +++ b/f1-Main.Designer.cs @@ -3755,13 +3755,13 @@ public void InitializeComponent() // // B_OpenPokedex // - this.B_OpenPokedex.Enabled = false; this.B_OpenPokedex.Location = new System.Drawing.Point(177, 70); this.B_OpenPokedex.Name = "B_OpenPokedex"; this.B_OpenPokedex.Size = new System.Drawing.Size(75, 23); this.B_OpenPokedex.TabIndex = 14; this.B_OpenPokedex.Text = "Pokédex"; this.B_OpenPokedex.UseVisualStyleBackColor = true; + this.B_OpenPokedex.Click += new System.EventHandler(this.B_OpenPokedex_Click); // // GB_SAVtools // diff --git a/f1-Main.cs b/f1-Main.cs index ec9799a0b..cf15504e5 100644 --- a/f1-Main.cs +++ b/f1-Main.cs @@ -6720,6 +6720,7 @@ public byte[] preparepkx(byte[] buff) byte[] pkx = buff; // Repopulate PKX with Edited Stuff + if (getHEXval(TB_EC) == 0) BTN_RerollEC.PerformClick(); // Prevent 0 Encryption Constants Array.Copy(BitConverter.GetBytes(getHEXval(TB_EC)), 0, pkx, 0, 4); // EK Array.Copy(BitConverter.GetBytes(0), 0, pkx, 0x4, 4); // 0 CHK for now @@ -8433,6 +8434,12 @@ private void B_OpenOPowers_Click(object sender, EventArgs e) SAV_OPower opower = new PKHeX.SAV_OPower(this); opower.ShowDialog(); } + private void B_OpenPokedex_Click(object sender, EventArgs e) + { + // Open Pokedex Menu + SAV_Pokedex pokedex = new PKHeX.SAV_Pokedex(this); + pokedex.ShowDialog(); + } private void B_OUTPasserby_Click(object sender, EventArgs e) { RTB_T.Text = "PSS List\r\n\r\n"; @@ -8665,6 +8672,8 @@ private void reportToolStripMenuItem_Click(object sender, EventArgs e) } + + } #region Structs & Classes public class cbItem