From d1c598d3580fde8b8a9c11db9db2537742928727 Mon Sep 17 00:00:00 2001 From: suloku Date: Thu, 23 Mar 2017 23:42:31 +0100 Subject: [PATCH] 3DS link editor fully working and hopefully bug-free --- BW_tool/Editors/DreamRadar.Designer.cs | 1735 ++++++++++++----------- BW_tool/Editors/DreamRadar.cs | 99 +- BW_tool/Editors/Entralink_DreamWorld.cs | 3 +- BW_tool/MainForm.Designer.cs | 4 +- BW_tool/SAV/SAV5.cs | 2 +- 5 files changed, 958 insertions(+), 885 deletions(-) diff --git a/BW_tool/Editors/DreamRadar.Designer.cs b/BW_tool/Editors/DreamRadar.Designer.cs index 88090e9..581696f 100644 --- a/BW_tool/Editors/DreamRadar.Designer.cs +++ b/BW_tool/Editors/DreamRadar.Designer.cs @@ -89,6 +89,7 @@ namespace BW_tool private System.Windows.Forms.CheckBox flag4; private System.Windows.Forms.Label label25; private System.Windows.Forms.CheckBox flag0; + private System.Windows.Forms.Label label26; /// /// Disposes resources used by the form. @@ -110,162 +111,164 @@ namespace BW_tool /// private void InitializeComponent() { - this.saveexit_but = new System.Windows.Forms.Button(); - this.exit_but = new System.Windows.Forms.Button(); - this.clean_but = new System.Windows.Forms.Button(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.label5 = new System.Windows.Forms.Label(); - this.legend8 = new System.Windows.Forms.ComboBox(); - this.label6 = new System.Windows.Forms.Label(); - this.legend7 = new System.Windows.Forms.ComboBox(); - this.label7 = new System.Windows.Forms.Label(); - this.legend6 = new System.Windows.Forms.ComboBox(); - this.label8 = new System.Windows.Forms.Label(); - this.legend5 = new System.Windows.Forms.ComboBox(); - this.label4 = new System.Windows.Forms.Label(); - this.legend4 = new System.Windows.Forms.ComboBox(); - this.label3 = new System.Windows.Forms.Label(); - this.legend3 = new System.Windows.Forms.ComboBox(); - this.label2 = new System.Windows.Forms.Label(); - this.legend2 = new System.Windows.Forms.ComboBox(); - this.label1 = new System.Windows.Forms.Label(); - this.legend1 = new System.Windows.Forms.ComboBox(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.label24 = new System.Windows.Forms.Label(); - this.label23 = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); - this.pkmgnd6 = new System.Windows.Forms.ComboBox(); - this.pkmgnd5 = new System.Windows.Forms.ComboBox(); - this.pkmgnd4 = new System.Windows.Forms.ComboBox(); - this.pkmgnd3 = new System.Windows.Forms.ComboBox(); - this.pkmgnd2 = new System.Windows.Forms.ComboBox(); - this.pkmgnd1 = new System.Windows.Forms.ComboBox(); - this.label9 = new System.Windows.Forms.Label(); - this.pkm1 = new System.Windows.Forms.ComboBox(); - this.pkm6 = new System.Windows.Forms.ComboBox(); - this.label14 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.pkm2 = new System.Windows.Forms.ComboBox(); - this.pkm5 = new System.Windows.Forms.ComboBox(); - this.label13 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.pkm3 = new System.Windows.Forms.ComboBox(); - this.pkm4 = new System.Windows.Forms.ComboBox(); - this.label12 = new System.Windows.Forms.Label(); - this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.itemcnt6 = new System.Windows.Forms.NumericUpDown(); - this.itemcnt5 = new System.Windows.Forms.NumericUpDown(); - this.itemcnt4 = new System.Windows.Forms.NumericUpDown(); - this.itemcnt3 = new System.Windows.Forms.NumericUpDown(); - this.itemcnt2 = new System.Windows.Forms.NumericUpDown(); - this.itemcnt1 = new System.Windows.Forms.NumericUpDown(); - this.label15 = new System.Windows.Forms.Label(); - this.label20 = new System.Windows.Forms.Label(); - this.item6 = new System.Windows.Forms.ComboBox(); - this.item1 = new System.Windows.Forms.ComboBox(); - this.label16 = new System.Windows.Forms.Label(); - this.item2 = new System.Windows.Forms.ComboBox(); - this.item5 = new System.Windows.Forms.ComboBox(); - this.label19 = new System.Windows.Forms.Label(); - this.label17 = new System.Windows.Forms.Label(); - this.item3 = new System.Windows.Forms.ComboBox(); - this.item4 = new System.Windows.Forms.ComboBox(); - this.label18 = new System.Windows.Forms.Label(); - this.groupBox4 = new System.Windows.Forms.GroupBox(); - this.allmode = new System.Windows.Forms.RadioButton(); - this.legitmode = new System.Windows.Forms.RadioButton(); - this.label21 = new System.Windows.Forms.Label(); - this.groupBox5 = new System.Windows.Forms.GroupBox(); - this.flag7 = new System.Windows.Forms.CheckBox(); - this.flag3 = new System.Windows.Forms.CheckBox(); - this.flag6 = new System.Windows.Forms.CheckBox(); - this.flag2 = new System.Windows.Forms.CheckBox(); - this.flag5 = new System.Windows.Forms.CheckBox(); - this.flag1 = new System.Windows.Forms.CheckBox(); - this.flag4 = new System.Windows.Forms.CheckBox(); - this.flag0 = new System.Windows.Forms.CheckBox(); - this.label25 = new System.Windows.Forms.Label(); - this.groupBox1.SuspendLayout(); - this.groupBox2.SuspendLayout(); - this.groupBox3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt1)).BeginInit(); - this.groupBox4.SuspendLayout(); - this.groupBox5.SuspendLayout(); - this.SuspendLayout(); - // - // saveexit_but - // - this.saveexit_but.Location = new System.Drawing.Point(782, 245); - this.saveexit_but.Name = "saveexit_but"; - this.saveexit_but.Size = new System.Drawing.Size(99, 29); - this.saveexit_but.TabIndex = 11; - this.saveexit_but.Text = "Save and Exit"; - this.saveexit_but.UseVisualStyleBackColor = true; - this.saveexit_but.Click += new System.EventHandler(this.Saveexit_butClick); - // - // exit_but - // - this.exit_but.Location = new System.Drawing.Point(909, 247); - this.exit_but.Name = "exit_but"; - this.exit_but.Size = new System.Drawing.Size(97, 27); - this.exit_but.TabIndex = 10; - this.exit_but.Text = "Exit"; - this.exit_but.UseVisualStyleBackColor = true; - this.exit_but.Click += new System.EventHandler(this.Exit_butClick); - // - // clean_but - // - this.clean_but.Location = new System.Drawing.Point(776, 15); - this.clean_but.Name = "clean_but"; - this.clean_but.Size = new System.Drawing.Size(230, 49); - this.clean_but.TabIndex = 12; - this.clean_but.Text = "RESET ALL DATA\n(allows to receive legendary Pokémon again)"; - this.clean_but.UseVisualStyleBackColor = true; - this.clean_but.Click += new System.EventHandler(this.Clean_butClick); - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.label5); - this.groupBox1.Controls.Add(this.legend8); - this.groupBox1.Controls.Add(this.label6); - this.groupBox1.Controls.Add(this.legend7); - this.groupBox1.Controls.Add(this.label7); - this.groupBox1.Controls.Add(this.legend6); - this.groupBox1.Controls.Add(this.label8); - this.groupBox1.Controls.Add(this.legend5); - this.groupBox1.Controls.Add(this.label4); - this.groupBox1.Controls.Add(this.legend4); - this.groupBox1.Controls.Add(this.label3); - this.groupBox1.Controls.Add(this.legend3); - this.groupBox1.Controls.Add(this.label2); - this.groupBox1.Controls.Add(this.legend2); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Controls.Add(this.legend1); - this.groupBox1.Location = new System.Drawing.Point(12, 12); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(185, 243); - this.groupBox1.TabIndex = 13; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Legendary Slots"; - // - // label5 - // - this.label5.Location = new System.Drawing.Point(6, 205); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(43, 23); - this.label5.TabIndex = 15; - this.label5.Text = "Slot 8"; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend8 - // - this.legend8.FormattingEnabled = true; - this.legend8.Items.AddRange(new object[] { + this.saveexit_but = new System.Windows.Forms.Button(); + this.exit_but = new System.Windows.Forms.Button(); + this.clean_but = new System.Windows.Forms.Button(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label5 = new System.Windows.Forms.Label(); + this.legend8 = new System.Windows.Forms.ComboBox(); + this.label6 = new System.Windows.Forms.Label(); + this.legend7 = new System.Windows.Forms.ComboBox(); + this.label7 = new System.Windows.Forms.Label(); + this.legend6 = new System.Windows.Forms.ComboBox(); + this.label8 = new System.Windows.Forms.Label(); + this.legend5 = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.legend4 = new System.Windows.Forms.ComboBox(); + this.label3 = new System.Windows.Forms.Label(); + this.legend3 = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.legend2 = new System.Windows.Forms.ComboBox(); + this.label1 = new System.Windows.Forms.Label(); + this.legend1 = new System.Windows.Forms.ComboBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label24 = new System.Windows.Forms.Label(); + this.label23 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.pkmgnd6 = new System.Windows.Forms.ComboBox(); + this.pkmgnd5 = new System.Windows.Forms.ComboBox(); + this.pkmgnd4 = new System.Windows.Forms.ComboBox(); + this.pkmgnd3 = new System.Windows.Forms.ComboBox(); + this.pkmgnd2 = new System.Windows.Forms.ComboBox(); + this.pkmgnd1 = new System.Windows.Forms.ComboBox(); + this.label9 = new System.Windows.Forms.Label(); + this.pkm1 = new System.Windows.Forms.ComboBox(); + this.pkm6 = new System.Windows.Forms.ComboBox(); + this.label14 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.pkm2 = new System.Windows.Forms.ComboBox(); + this.pkm5 = new System.Windows.Forms.ComboBox(); + this.label13 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.pkm3 = new System.Windows.Forms.ComboBox(); + this.pkm4 = new System.Windows.Forms.ComboBox(); + this.label12 = new System.Windows.Forms.Label(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.label26 = new System.Windows.Forms.Label(); + this.itemcnt6 = new System.Windows.Forms.NumericUpDown(); + this.itemcnt5 = new System.Windows.Forms.NumericUpDown(); + this.itemcnt4 = new System.Windows.Forms.NumericUpDown(); + this.itemcnt3 = new System.Windows.Forms.NumericUpDown(); + this.itemcnt2 = new System.Windows.Forms.NumericUpDown(); + this.itemcnt1 = new System.Windows.Forms.NumericUpDown(); + this.label15 = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); + this.item6 = new System.Windows.Forms.ComboBox(); + this.item1 = new System.Windows.Forms.ComboBox(); + this.label16 = new System.Windows.Forms.Label(); + this.item2 = new System.Windows.Forms.ComboBox(); + this.item5 = new System.Windows.Forms.ComboBox(); + this.label19 = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.item3 = new System.Windows.Forms.ComboBox(); + this.item4 = new System.Windows.Forms.ComboBox(); + this.label18 = new System.Windows.Forms.Label(); + this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.label25 = new System.Windows.Forms.Label(); + this.allmode = new System.Windows.Forms.RadioButton(); + this.legitmode = new System.Windows.Forms.RadioButton(); + this.label21 = new System.Windows.Forms.Label(); + this.groupBox5 = new System.Windows.Forms.GroupBox(); + this.flag7 = new System.Windows.Forms.CheckBox(); + this.flag3 = new System.Windows.Forms.CheckBox(); + this.flag6 = new System.Windows.Forms.CheckBox(); + this.flag2 = new System.Windows.Forms.CheckBox(); + this.flag5 = new System.Windows.Forms.CheckBox(); + this.flag1 = new System.Windows.Forms.CheckBox(); + this.flag4 = new System.Windows.Forms.CheckBox(); + this.flag0 = new System.Windows.Forms.CheckBox(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt1)).BeginInit(); + this.groupBox4.SuspendLayout(); + this.groupBox5.SuspendLayout(); + this.SuspendLayout(); + // + // saveexit_but + // + this.saveexit_but.Location = new System.Drawing.Point(782, 245); + this.saveexit_but.Name = "saveexit_but"; + this.saveexit_but.Size = new System.Drawing.Size(99, 29); + this.saveexit_but.TabIndex = 11; + this.saveexit_but.Text = "Save and Exit"; + this.saveexit_but.UseVisualStyleBackColor = true; + this.saveexit_but.Click += new System.EventHandler(this.Saveexit_butClick); + // + // exit_but + // + this.exit_but.Location = new System.Drawing.Point(909, 247); + this.exit_but.Name = "exit_but"; + this.exit_but.Size = new System.Drawing.Size(97, 27); + this.exit_but.TabIndex = 10; + this.exit_but.Text = "Exit"; + this.exit_but.UseVisualStyleBackColor = true; + this.exit_but.Click += new System.EventHandler(this.Exit_butClick); + // + // clean_but + // + this.clean_but.Location = new System.Drawing.Point(827, 192); + this.clean_but.Name = "clean_but"; + this.clean_but.Size = new System.Drawing.Size(122, 22); + this.clean_but.TabIndex = 12; + this.clean_but.Text = "RESET ALL DATA"; + this.clean_but.UseVisualStyleBackColor = true; + this.clean_but.Visible = false; + this.clean_but.Click += new System.EventHandler(this.Clean_butClick); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.label5); + this.groupBox1.Controls.Add(this.legend8); + this.groupBox1.Controls.Add(this.label6); + this.groupBox1.Controls.Add(this.legend7); + this.groupBox1.Controls.Add(this.label7); + this.groupBox1.Controls.Add(this.legend6); + this.groupBox1.Controls.Add(this.label8); + this.groupBox1.Controls.Add(this.legend5); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.legend4); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.legend3); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.legend2); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.legend1); + this.groupBox1.Location = new System.Drawing.Point(12, 12); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(185, 243); + this.groupBox1.TabIndex = 13; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Legendary Slots"; + // + // label5 + // + this.label5.Location = new System.Drawing.Point(6, 205); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(43, 23); + this.label5.TabIndex = 15; + this.label5.Text = "Slot 8"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend8 + // + this.legend8.FormattingEnabled = true; + this.legend8.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -275,24 +278,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend8.Location = new System.Drawing.Point(55, 207); - this.legend8.Name = "legend8"; - this.legend8.Size = new System.Drawing.Size(104, 21); - this.legend8.TabIndex = 14; - // - // label6 - // - this.label6.Location = new System.Drawing.Point(6, 178); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(43, 23); - this.label6.TabIndex = 13; - this.label6.Text = "Slot 7"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend7 - // - this.legend7.FormattingEnabled = true; - this.legend7.Items.AddRange(new object[] { + this.legend8.Location = new System.Drawing.Point(55, 207); + this.legend8.Name = "legend8"; + this.legend8.Size = new System.Drawing.Size(104, 21); + this.legend8.TabIndex = 14; + // + // label6 + // + this.label6.Location = new System.Drawing.Point(6, 178); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(43, 23); + this.label6.TabIndex = 13; + this.label6.Text = "Slot 7"; + this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend7 + // + this.legend7.FormattingEnabled = true; + this.legend7.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -302,24 +305,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend7.Location = new System.Drawing.Point(55, 180); - this.legend7.Name = "legend7"; - this.legend7.Size = new System.Drawing.Size(104, 21); - this.legend7.TabIndex = 12; - // - // label7 - // - this.label7.Location = new System.Drawing.Point(6, 151); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(43, 23); - this.label7.TabIndex = 11; - this.label7.Text = "Slot 6"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend6 - // - this.legend6.FormattingEnabled = true; - this.legend6.Items.AddRange(new object[] { + this.legend7.Location = new System.Drawing.Point(55, 180); + this.legend7.Name = "legend7"; + this.legend7.Size = new System.Drawing.Size(104, 21); + this.legend7.TabIndex = 12; + // + // label7 + // + this.label7.Location = new System.Drawing.Point(6, 151); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(43, 23); + this.label7.TabIndex = 11; + this.label7.Text = "Slot 6"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend6 + // + this.legend6.FormattingEnabled = true; + this.legend6.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -329,24 +332,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend6.Location = new System.Drawing.Point(55, 153); - this.legend6.Name = "legend6"; - this.legend6.Size = new System.Drawing.Size(104, 21); - this.legend6.TabIndex = 10; - // - // label8 - // - this.label8.Location = new System.Drawing.Point(6, 124); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(43, 23); - this.label8.TabIndex = 9; - this.label8.Text = "Slot 5"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend5 - // - this.legend5.FormattingEnabled = true; - this.legend5.Items.AddRange(new object[] { + this.legend6.Location = new System.Drawing.Point(55, 153); + this.legend6.Name = "legend6"; + this.legend6.Size = new System.Drawing.Size(104, 21); + this.legend6.TabIndex = 10; + // + // label8 + // + this.label8.Location = new System.Drawing.Point(6, 124); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(43, 23); + this.label8.TabIndex = 9; + this.label8.Text = "Slot 5"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend5 + // + this.legend5.FormattingEnabled = true; + this.legend5.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -356,24 +359,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend5.Location = new System.Drawing.Point(55, 126); - this.legend5.Name = "legend5"; - this.legend5.Size = new System.Drawing.Size(104, 21); - this.legend5.TabIndex = 8; - // - // label4 - // - this.label4.Location = new System.Drawing.Point(6, 97); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(43, 23); - this.label4.TabIndex = 7; - this.label4.Text = "Slot 4"; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend4 - // - this.legend4.FormattingEnabled = true; - this.legend4.Items.AddRange(new object[] { + this.legend5.Location = new System.Drawing.Point(55, 126); + this.legend5.Name = "legend5"; + this.legend5.Size = new System.Drawing.Size(104, 21); + this.legend5.TabIndex = 8; + // + // label4 + // + this.label4.Location = new System.Drawing.Point(6, 97); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(43, 23); + this.label4.TabIndex = 7; + this.label4.Text = "Slot 4"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend4 + // + this.legend4.FormattingEnabled = true; + this.legend4.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -383,24 +386,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend4.Location = new System.Drawing.Point(55, 99); - this.legend4.Name = "legend4"; - this.legend4.Size = new System.Drawing.Size(104, 21); - this.legend4.TabIndex = 6; - // - // label3 - // - this.label3.Location = new System.Drawing.Point(6, 70); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(43, 23); - this.label3.TabIndex = 5; - this.label3.Text = "Slot 3"; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend3 - // - this.legend3.FormattingEnabled = true; - this.legend3.Items.AddRange(new object[] { + this.legend4.Location = new System.Drawing.Point(55, 99); + this.legend4.Name = "legend4"; + this.legend4.Size = new System.Drawing.Size(104, 21); + this.legend4.TabIndex = 6; + // + // label3 + // + this.label3.Location = new System.Drawing.Point(6, 70); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(43, 23); + this.label3.TabIndex = 5; + this.label3.Text = "Slot 3"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend3 + // + this.legend3.FormattingEnabled = true; + this.legend3.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -410,24 +413,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend3.Location = new System.Drawing.Point(55, 72); - this.legend3.Name = "legend3"; - this.legend3.Size = new System.Drawing.Size(104, 21); - this.legend3.TabIndex = 4; - // - // label2 - // - this.label2.Location = new System.Drawing.Point(6, 43); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(43, 23); - this.label2.TabIndex = 3; - this.label2.Text = "Slot 2"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend2 - // - this.legend2.FormattingEnabled = true; - this.legend2.Items.AddRange(new object[] { + this.legend3.Location = new System.Drawing.Point(55, 72); + this.legend3.Name = "legend3"; + this.legend3.Size = new System.Drawing.Size(104, 21); + this.legend3.TabIndex = 4; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(6, 43); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(43, 23); + this.label2.TabIndex = 3; + this.label2.Text = "Slot 2"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend2 + // + this.legend2.FormattingEnabled = true; + this.legend2.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -437,24 +440,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend2.Location = new System.Drawing.Point(55, 45); - this.legend2.Name = "legend2"; - this.legend2.Size = new System.Drawing.Size(104, 21); - this.legend2.TabIndex = 2; - // - // label1 - // - this.label1.Location = new System.Drawing.Point(6, 16); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(43, 23); - this.label1.TabIndex = 1; - this.label1.Text = "Slot 1"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // legend1 - // - this.legend1.FormattingEnabled = true; - this.legend1.Items.AddRange(new object[] { + this.legend2.Location = new System.Drawing.Point(55, 45); + this.legend2.Name = "legend2"; + this.legend2.Size = new System.Drawing.Size(104, 21); + this.legend2.TabIndex = 2; + // + // label1 + // + this.label1.Location = new System.Drawing.Point(6, 16); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(43, 23); + this.label1.TabIndex = 1; + this.label1.Text = "Slot 1"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // legend1 + // + this.legend1.FormattingEnabled = true; + this.legend1.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -464,154 +467,154 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.legend1.Location = new System.Drawing.Point(55, 18); - this.legend1.Name = "legend1"; - this.legend1.Size = new System.Drawing.Size(104, 21); - this.legend1.TabIndex = 0; - // - // groupBox2 - // - this.groupBox2.Controls.Add(this.label24); - this.groupBox2.Controls.Add(this.label23); - this.groupBox2.Controls.Add(this.label22); - this.groupBox2.Controls.Add(this.pkmgnd6); - this.groupBox2.Controls.Add(this.pkmgnd5); - this.groupBox2.Controls.Add(this.pkmgnd4); - this.groupBox2.Controls.Add(this.pkmgnd3); - this.groupBox2.Controls.Add(this.pkmgnd2); - this.groupBox2.Controls.Add(this.pkmgnd1); - this.groupBox2.Controls.Add(this.label9); - this.groupBox2.Controls.Add(this.pkm1); - this.groupBox2.Controls.Add(this.pkm6); - this.groupBox2.Controls.Add(this.label14); - this.groupBox2.Controls.Add(this.label10); - this.groupBox2.Controls.Add(this.pkm2); - this.groupBox2.Controls.Add(this.pkm5); - this.groupBox2.Controls.Add(this.label13); - this.groupBox2.Controls.Add(this.label11); - this.groupBox2.Controls.Add(this.pkm3); - this.groupBox2.Controls.Add(this.pkm4); - this.groupBox2.Controls.Add(this.label12); - this.groupBox2.Location = new System.Drawing.Point(203, 12); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(239, 243); - this.groupBox2.TabIndex = 14; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Pokémon Slots"; - // - // label24 - // - this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label24.Location = new System.Drawing.Point(165, 20); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(52, 23); - this.label24.TabIndex = 36; - this.label24.Text = "Gender"; - this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label23 - // - this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label23.Location = new System.Drawing.Point(55, 20); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(104, 23); - this.label23.TabIndex = 35; - this.label23.Text = "Species"; - this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label22 - // - this.label22.Location = new System.Drawing.Point(16, 209); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(214, 31); - this.label22.TabIndex = 34; - this.label22.Text = "Note: fixed gender and genderless species will be auto-corrected when saving."; - // - // pkmgnd6 - // - this.pkmgnd6.FormattingEnabled = true; - this.pkmgnd6.Items.AddRange(new object[] { + this.legend1.Location = new System.Drawing.Point(55, 18); + this.legend1.Name = "legend1"; + this.legend1.Size = new System.Drawing.Size(104, 21); + this.legend1.TabIndex = 0; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.label24); + this.groupBox2.Controls.Add(this.label23); + this.groupBox2.Controls.Add(this.label22); + this.groupBox2.Controls.Add(this.pkmgnd6); + this.groupBox2.Controls.Add(this.pkmgnd5); + this.groupBox2.Controls.Add(this.pkmgnd4); + this.groupBox2.Controls.Add(this.pkmgnd3); + this.groupBox2.Controls.Add(this.pkmgnd2); + this.groupBox2.Controls.Add(this.pkmgnd1); + this.groupBox2.Controls.Add(this.label9); + this.groupBox2.Controls.Add(this.pkm1); + this.groupBox2.Controls.Add(this.pkm6); + this.groupBox2.Controls.Add(this.label14); + this.groupBox2.Controls.Add(this.label10); + this.groupBox2.Controls.Add(this.pkm2); + this.groupBox2.Controls.Add(this.pkm5); + this.groupBox2.Controls.Add(this.label13); + this.groupBox2.Controls.Add(this.label11); + this.groupBox2.Controls.Add(this.pkm3); + this.groupBox2.Controls.Add(this.pkm4); + this.groupBox2.Controls.Add(this.label12); + this.groupBox2.Location = new System.Drawing.Point(203, 12); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(282, 243); + this.groupBox2.TabIndex = 14; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Pokémon Slots"; + // + // label24 + // + this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label24.Location = new System.Drawing.Point(191, 20); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(85, 23); + this.label24.TabIndex = 36; + this.label24.Text = "Gender"; + this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label23 + // + this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label23.Location = new System.Drawing.Point(55, 20); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(104, 23); + this.label23.TabIndex = 35; + this.label23.Text = "Species"; + this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label22 + // + this.label22.Location = new System.Drawing.Point(16, 209); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(260, 31); + this.label22.TabIndex = 34; + this.label22.Text = "Note: fixed gender and genderless species will be auto-corrected when saving."; + // + // pkmgnd6 + // + this.pkmgnd6.FormattingEnabled = true; + this.pkmgnd6.Items.AddRange(new object[] { "♂", "♀", "Genderless"}); - this.pkmgnd6.Location = new System.Drawing.Point(165, 180); - this.pkmgnd6.Name = "pkmgnd6"; - this.pkmgnd6.Size = new System.Drawing.Size(52, 21); - this.pkmgnd6.TabIndex = 33; - // - // pkmgnd5 - // - this.pkmgnd5.FormattingEnabled = true; - this.pkmgnd5.Items.AddRange(new object[] { + this.pkmgnd6.Location = new System.Drawing.Point(191, 180); + this.pkmgnd6.Name = "pkmgnd6"; + this.pkmgnd6.Size = new System.Drawing.Size(85, 21); + this.pkmgnd6.TabIndex = 33; + // + // pkmgnd5 + // + this.pkmgnd5.FormattingEnabled = true; + this.pkmgnd5.Items.AddRange(new object[] { "♂", "♀", "Genderless"}); - this.pkmgnd5.Location = new System.Drawing.Point(165, 153); - this.pkmgnd5.Name = "pkmgnd5"; - this.pkmgnd5.Size = new System.Drawing.Size(52, 21); - this.pkmgnd5.TabIndex = 32; - // - // pkmgnd4 - // - this.pkmgnd4.FormattingEnabled = true; - this.pkmgnd4.Items.AddRange(new object[] { + this.pkmgnd5.Location = new System.Drawing.Point(191, 153); + this.pkmgnd5.Name = "pkmgnd5"; + this.pkmgnd5.Size = new System.Drawing.Size(85, 21); + this.pkmgnd5.TabIndex = 32; + // + // pkmgnd4 + // + this.pkmgnd4.FormattingEnabled = true; + this.pkmgnd4.Items.AddRange(new object[] { "♂", "♀", "Genderless"}); - this.pkmgnd4.Location = new System.Drawing.Point(165, 126); - this.pkmgnd4.Name = "pkmgnd4"; - this.pkmgnd4.Size = new System.Drawing.Size(52, 21); - this.pkmgnd4.TabIndex = 31; - // - // pkmgnd3 - // - this.pkmgnd3.FormattingEnabled = true; - this.pkmgnd3.Items.AddRange(new object[] { + this.pkmgnd4.Location = new System.Drawing.Point(191, 126); + this.pkmgnd4.Name = "pkmgnd4"; + this.pkmgnd4.Size = new System.Drawing.Size(85, 21); + this.pkmgnd4.TabIndex = 31; + // + // pkmgnd3 + // + this.pkmgnd3.FormattingEnabled = true; + this.pkmgnd3.Items.AddRange(new object[] { "♂", "♀", "Genderless"}); - this.pkmgnd3.Location = new System.Drawing.Point(165, 99); - this.pkmgnd3.Name = "pkmgnd3"; - this.pkmgnd3.Size = new System.Drawing.Size(52, 21); - this.pkmgnd3.TabIndex = 30; - // - // pkmgnd2 - // - this.pkmgnd2.FormattingEnabled = true; - this.pkmgnd2.Items.AddRange(new object[] { + this.pkmgnd3.Location = new System.Drawing.Point(191, 99); + this.pkmgnd3.Name = "pkmgnd3"; + this.pkmgnd3.Size = new System.Drawing.Size(85, 21); + this.pkmgnd3.TabIndex = 30; + // + // pkmgnd2 + // + this.pkmgnd2.FormattingEnabled = true; + this.pkmgnd2.Items.AddRange(new object[] { "♂", "♀", "Genderless"}); - this.pkmgnd2.Location = new System.Drawing.Point(165, 72); - this.pkmgnd2.Name = "pkmgnd2"; - this.pkmgnd2.Size = new System.Drawing.Size(52, 21); - this.pkmgnd2.TabIndex = 29; - // - // pkmgnd1 - // - this.pkmgnd1.FormattingEnabled = true; - this.pkmgnd1.Items.AddRange(new object[] { + this.pkmgnd2.Location = new System.Drawing.Point(191, 72); + this.pkmgnd2.Name = "pkmgnd2"; + this.pkmgnd2.Size = new System.Drawing.Size(85, 21); + this.pkmgnd2.TabIndex = 29; + // + // pkmgnd1 + // + this.pkmgnd1.FormattingEnabled = true; + this.pkmgnd1.Items.AddRange(new object[] { "♂", "♀", "Genderless"}); - this.pkmgnd1.Location = new System.Drawing.Point(165, 45); - this.pkmgnd1.Name = "pkmgnd1"; - this.pkmgnd1.Size = new System.Drawing.Size(52, 21); - this.pkmgnd1.TabIndex = 28; - // - // label9 - // - this.label9.Location = new System.Drawing.Point(6, 178); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(43, 23); - this.label9.TabIndex = 27; - this.label9.Text = "Slot 6"; - this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // pkm1 - // - this.pkm1.FormattingEnabled = true; - this.pkm1.Items.AddRange(new object[] { + this.pkmgnd1.Location = new System.Drawing.Point(191, 45); + this.pkmgnd1.Name = "pkmgnd1"; + this.pkmgnd1.Size = new System.Drawing.Size(85, 21); + this.pkmgnd1.TabIndex = 28; + // + // label9 + // + this.label9.Location = new System.Drawing.Point(6, 178); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(43, 23); + this.label9.TabIndex = 27; + this.label9.Text = "Slot 6"; + this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // pkm1 + // + this.pkm1.FormattingEnabled = true; + this.pkm1.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -621,15 +624,15 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.pkm1.Location = new System.Drawing.Point(55, 45); - this.pkm1.Name = "pkm1"; - this.pkm1.Size = new System.Drawing.Size(104, 21); - this.pkm1.TabIndex = 16; - // - // pkm6 - // - this.pkm6.FormattingEnabled = true; - this.pkm6.Items.AddRange(new object[] { + this.pkm1.Location = new System.Drawing.Point(55, 45); + this.pkm1.Name = "pkm1"; + this.pkm1.Size = new System.Drawing.Size(130, 21); + this.pkm1.TabIndex = 16; + // + // pkm6 + // + this.pkm6.FormattingEnabled = true; + this.pkm6.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -639,33 +642,33 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.pkm6.Location = new System.Drawing.Point(55, 180); - this.pkm6.Name = "pkm6"; - this.pkm6.Size = new System.Drawing.Size(104, 21); - this.pkm6.TabIndex = 26; - // - // label14 - // - this.label14.Location = new System.Drawing.Point(6, 43); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(43, 23); - this.label14.TabIndex = 17; - this.label14.Text = "Slot 1"; - this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label10 - // - this.label10.Location = new System.Drawing.Point(6, 151); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(43, 23); - this.label10.TabIndex = 25; - this.label10.Text = "Slot 5"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // pkm2 - // - this.pkm2.FormattingEnabled = true; - this.pkm2.Items.AddRange(new object[] { + this.pkm6.Location = new System.Drawing.Point(55, 180); + this.pkm6.Name = "pkm6"; + this.pkm6.Size = new System.Drawing.Size(130, 21); + this.pkm6.TabIndex = 26; + // + // label14 + // + this.label14.Location = new System.Drawing.Point(6, 43); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(43, 23); + this.label14.TabIndex = 17; + this.label14.Text = "Slot 1"; + this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label10 + // + this.label10.Location = new System.Drawing.Point(6, 151); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(43, 23); + this.label10.TabIndex = 25; + this.label10.Text = "Slot 5"; + this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // pkm2 + // + this.pkm2.FormattingEnabled = true; + this.pkm2.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -675,15 +678,15 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.pkm2.Location = new System.Drawing.Point(55, 72); - this.pkm2.Name = "pkm2"; - this.pkm2.Size = new System.Drawing.Size(104, 21); - this.pkm2.TabIndex = 18; - // - // pkm5 - // - this.pkm5.FormattingEnabled = true; - this.pkm5.Items.AddRange(new object[] { + this.pkm2.Location = new System.Drawing.Point(55, 72); + this.pkm2.Name = "pkm2"; + this.pkm2.Size = new System.Drawing.Size(130, 21); + this.pkm2.TabIndex = 18; + // + // pkm5 + // + this.pkm5.FormattingEnabled = true; + this.pkm5.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -693,33 +696,33 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.pkm5.Location = new System.Drawing.Point(55, 153); - this.pkm5.Name = "pkm5"; - this.pkm5.Size = new System.Drawing.Size(104, 21); - this.pkm5.TabIndex = 24; - // - // label13 - // - this.label13.Location = new System.Drawing.Point(6, 70); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(43, 23); - this.label13.TabIndex = 19; - this.label13.Text = "Slot 2"; - this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label11 - // - this.label11.Location = new System.Drawing.Point(6, 124); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(43, 23); - this.label11.TabIndex = 23; - this.label11.Text = "Slot 4"; - this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // pkm3 - // - this.pkm3.FormattingEnabled = true; - this.pkm3.Items.AddRange(new object[] { + this.pkm5.Location = new System.Drawing.Point(55, 153); + this.pkm5.Name = "pkm5"; + this.pkm5.Size = new System.Drawing.Size(130, 21); + this.pkm5.TabIndex = 24; + // + // label13 + // + this.label13.Location = new System.Drawing.Point(6, 70); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(43, 23); + this.label13.TabIndex = 19; + this.label13.Text = "Slot 2"; + this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label11 + // + this.label11.Location = new System.Drawing.Point(6, 124); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(43, 23); + this.label11.TabIndex = 23; + this.label11.Text = "Slot 4"; + this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // pkm3 + // + this.pkm3.FormattingEnabled = true; + this.pkm3.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -729,15 +732,15 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.pkm3.Location = new System.Drawing.Point(55, 99); - this.pkm3.Name = "pkm3"; - this.pkm3.Size = new System.Drawing.Size(104, 21); - this.pkm3.TabIndex = 20; - // - // pkm4 - // - this.pkm4.FormattingEnabled = true; - this.pkm4.Items.AddRange(new object[] { + this.pkm3.Location = new System.Drawing.Point(55, 99); + this.pkm3.Name = "pkm3"; + this.pkm3.Size = new System.Drawing.Size(130, 21); + this.pkm3.TabIndex = 20; + // + // pkm4 + // + this.pkm4.FormattingEnabled = true; + this.pkm4.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -747,141 +750,151 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.pkm4.Location = new System.Drawing.Point(55, 126); - this.pkm4.Name = "pkm4"; - this.pkm4.Size = new System.Drawing.Size(104, 21); - this.pkm4.TabIndex = 22; - // - // label12 - // - this.label12.Location = new System.Drawing.Point(6, 97); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(43, 23); - this.label12.TabIndex = 21; - this.label12.Text = "Slot 3"; - this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // groupBox3 - // - this.groupBox3.Controls.Add(this.itemcnt6); - this.groupBox3.Controls.Add(this.itemcnt5); - this.groupBox3.Controls.Add(this.itemcnt4); - this.groupBox3.Controls.Add(this.itemcnt3); - this.groupBox3.Controls.Add(this.itemcnt2); - this.groupBox3.Controls.Add(this.itemcnt1); - this.groupBox3.Controls.Add(this.label15); - this.groupBox3.Controls.Add(this.label20); - this.groupBox3.Controls.Add(this.item6); - this.groupBox3.Controls.Add(this.item1); - this.groupBox3.Controls.Add(this.label16); - this.groupBox3.Controls.Add(this.item2); - this.groupBox3.Controls.Add(this.item5); - this.groupBox3.Controls.Add(this.label19); - this.groupBox3.Controls.Add(this.label17); - this.groupBox3.Controls.Add(this.item3); - this.groupBox3.Controls.Add(this.item4); - this.groupBox3.Controls.Add(this.label18); - this.groupBox3.Location = new System.Drawing.Point(491, 12); - this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(279, 243); - this.groupBox3.TabIndex = 15; - this.groupBox3.TabStop = false; - this.groupBox3.Text = "Item Slots"; - // - // itemcnt6 - // - this.itemcnt6.Location = new System.Drawing.Point(165, 181); - this.itemcnt6.Maximum = new decimal(new int[] { + this.pkm4.Location = new System.Drawing.Point(55, 126); + this.pkm4.Name = "pkm4"; + this.pkm4.Size = new System.Drawing.Size(130, 21); + this.pkm4.TabIndex = 22; + // + // label12 + // + this.label12.Location = new System.Drawing.Point(6, 97); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(43, 23); + this.label12.TabIndex = 21; + this.label12.Text = "Slot 3"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.label26); + this.groupBox3.Controls.Add(this.itemcnt6); + this.groupBox3.Controls.Add(this.itemcnt5); + this.groupBox3.Controls.Add(this.itemcnt4); + this.groupBox3.Controls.Add(this.itemcnt3); + this.groupBox3.Controls.Add(this.itemcnt2); + this.groupBox3.Controls.Add(this.itemcnt1); + this.groupBox3.Controls.Add(this.label15); + this.groupBox3.Controls.Add(this.label20); + this.groupBox3.Controls.Add(this.item6); + this.groupBox3.Controls.Add(this.item1); + this.groupBox3.Controls.Add(this.label16); + this.groupBox3.Controls.Add(this.item2); + this.groupBox3.Controls.Add(this.item5); + this.groupBox3.Controls.Add(this.label19); + this.groupBox3.Controls.Add(this.label17); + this.groupBox3.Controls.Add(this.item3); + this.groupBox3.Controls.Add(this.item4); + this.groupBox3.Controls.Add(this.label18); + this.groupBox3.Location = new System.Drawing.Point(491, 12); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(279, 243); + this.groupBox3.TabIndex = 15; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "Item Slots"; + // + // label26 + // + this.label26.Location = new System.Drawing.Point(20, 209); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(253, 28); + this.label26.TabIndex = 46; + this.label26.Text = "Note: \"NONE\" will auto-set to 0 cuantity. Any item with 0 cuantity will be auto s" + + "et to 1 when saving."; + // + // itemcnt6 + // + this.itemcnt6.Location = new System.Drawing.Point(223, 181); + this.itemcnt6.Maximum = new decimal(new int[] { 99, 0, 0, 0}); - this.itemcnt6.Name = "itemcnt6"; - this.itemcnt6.Size = new System.Drawing.Size(50, 20); - this.itemcnt6.TabIndex = 45; - // - // itemcnt5 - // - this.itemcnt5.Location = new System.Drawing.Point(165, 154); - this.itemcnt5.Maximum = new decimal(new int[] { + this.itemcnt6.Name = "itemcnt6"; + this.itemcnt6.Size = new System.Drawing.Size(50, 20); + this.itemcnt6.TabIndex = 45; + // + // itemcnt5 + // + this.itemcnt5.Location = new System.Drawing.Point(223, 154); + this.itemcnt5.Maximum = new decimal(new int[] { 99, 0, 0, 0}); - this.itemcnt5.Name = "itemcnt5"; - this.itemcnt5.Size = new System.Drawing.Size(50, 20); - this.itemcnt5.TabIndex = 44; - // - // itemcnt4 - // - this.itemcnt4.Location = new System.Drawing.Point(165, 127); - this.itemcnt4.Maximum = new decimal(new int[] { + this.itemcnt5.Name = "itemcnt5"; + this.itemcnt5.Size = new System.Drawing.Size(50, 20); + this.itemcnt5.TabIndex = 44; + // + // itemcnt4 + // + this.itemcnt4.Location = new System.Drawing.Point(223, 127); + this.itemcnt4.Maximum = new decimal(new int[] { 99, 0, 0, 0}); - this.itemcnt4.Name = "itemcnt4"; - this.itemcnt4.Size = new System.Drawing.Size(50, 20); - this.itemcnt4.TabIndex = 43; - // - // itemcnt3 - // - this.itemcnt3.Location = new System.Drawing.Point(165, 100); - this.itemcnt3.Maximum = new decimal(new int[] { + this.itemcnt4.Name = "itemcnt4"; + this.itemcnt4.Size = new System.Drawing.Size(50, 20); + this.itemcnt4.TabIndex = 43; + // + // itemcnt3 + // + this.itemcnt3.Location = new System.Drawing.Point(223, 100); + this.itemcnt3.Maximum = new decimal(new int[] { 99, 0, 0, 0}); - this.itemcnt3.Name = "itemcnt3"; - this.itemcnt3.Size = new System.Drawing.Size(50, 20); - this.itemcnt3.TabIndex = 42; - // - // itemcnt2 - // - this.itemcnt2.Location = new System.Drawing.Point(165, 73); - this.itemcnt2.Maximum = new decimal(new int[] { + this.itemcnt3.Name = "itemcnt3"; + this.itemcnt3.Size = new System.Drawing.Size(50, 20); + this.itemcnt3.TabIndex = 42; + // + // itemcnt2 + // + this.itemcnt2.Location = new System.Drawing.Point(223, 73); + this.itemcnt2.Maximum = new decimal(new int[] { 99, 0, 0, 0}); - this.itemcnt2.Name = "itemcnt2"; - this.itemcnt2.Size = new System.Drawing.Size(50, 20); - this.itemcnt2.TabIndex = 41; - // - // itemcnt1 - // - this.itemcnt1.Location = new System.Drawing.Point(165, 46); - this.itemcnt1.Maximum = new decimal(new int[] { + this.itemcnt2.Name = "itemcnt2"; + this.itemcnt2.Size = new System.Drawing.Size(50, 20); + this.itemcnt2.TabIndex = 41; + // + // itemcnt1 + // + this.itemcnt1.Location = new System.Drawing.Point(223, 46); + this.itemcnt1.Maximum = new decimal(new int[] { 99, 0, 0, 0}); - this.itemcnt1.Name = "itemcnt1"; - this.itemcnt1.Size = new System.Drawing.Size(50, 20); - this.itemcnt1.TabIndex = 40; - // - // label15 - // - this.label15.Location = new System.Drawing.Point(6, 178); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(43, 23); - this.label15.TabIndex = 39; - this.label15.Text = "Slot 6"; - this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label20 - // - this.label20.Location = new System.Drawing.Point(6, 43); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(43, 23); - this.label20.TabIndex = 29; - this.label20.Text = "Slot 1"; - this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // item6 - // - this.item6.FormattingEnabled = true; - this.item6.Items.AddRange(new object[] { + this.itemcnt1.Name = "itemcnt1"; + this.itemcnt1.Size = new System.Drawing.Size(50, 20); + this.itemcnt1.TabIndex = 40; + // + // label15 + // + this.label15.Location = new System.Drawing.Point(6, 178); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(43, 23); + this.label15.TabIndex = 39; + this.label15.Text = "Slot 6"; + this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label20 + // + this.label20.Location = new System.Drawing.Point(6, 43); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(43, 23); + this.label20.TabIndex = 29; + this.label20.Text = "Slot 1"; + this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // item6 + // + this.item6.FormattingEnabled = true; + this.item6.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -891,15 +904,15 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.item6.Location = new System.Drawing.Point(55, 180); - this.item6.Name = "item6"; - this.item6.Size = new System.Drawing.Size(104, 21); - this.item6.TabIndex = 38; - // - // item1 - // - this.item1.FormattingEnabled = true; - this.item1.Items.AddRange(new object[] { + this.item6.Location = new System.Drawing.Point(55, 180); + this.item6.Name = "item6"; + this.item6.Size = new System.Drawing.Size(162, 21); + this.item6.TabIndex = 38; + // + // item1 + // + this.item1.FormattingEnabled = true; + this.item1.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -909,24 +922,24 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.item1.Location = new System.Drawing.Point(55, 45); - this.item1.Name = "item1"; - this.item1.Size = new System.Drawing.Size(104, 21); - this.item1.TabIndex = 28; - // - // label16 - // - this.label16.Location = new System.Drawing.Point(6, 151); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(43, 23); - this.label16.TabIndex = 37; - this.label16.Text = "Slot 5"; - this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // item2 - // - this.item2.FormattingEnabled = true; - this.item2.Items.AddRange(new object[] { + this.item1.Location = new System.Drawing.Point(55, 45); + this.item1.Name = "item1"; + this.item1.Size = new System.Drawing.Size(162, 21); + this.item1.TabIndex = 28; + // + // label16 + // + this.label16.Location = new System.Drawing.Point(6, 151); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(43, 23); + this.label16.TabIndex = 37; + this.label16.Text = "Slot 5"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // item2 + // + this.item2.FormattingEnabled = true; + this.item2.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -936,15 +949,15 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.item2.Location = new System.Drawing.Point(55, 72); - this.item2.Name = "item2"; - this.item2.Size = new System.Drawing.Size(104, 21); - this.item2.TabIndex = 30; - // - // item5 - // - this.item5.FormattingEnabled = true; - this.item5.Items.AddRange(new object[] { + this.item2.Location = new System.Drawing.Point(55, 72); + this.item2.Name = "item2"; + this.item2.Size = new System.Drawing.Size(162, 21); + this.item2.TabIndex = 30; + // + // item5 + // + this.item5.FormattingEnabled = true; + this.item5.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -954,33 +967,33 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.item5.Location = new System.Drawing.Point(55, 153); - this.item5.Name = "item5"; - this.item5.Size = new System.Drawing.Size(104, 21); - this.item5.TabIndex = 36; - // - // label19 - // - this.label19.Location = new System.Drawing.Point(6, 70); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(43, 23); - this.label19.TabIndex = 31; - this.label19.Text = "Slot 2"; - this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label17 - // - this.label17.Location = new System.Drawing.Point(6, 124); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(43, 23); - this.label17.TabIndex = 35; - this.label17.Text = "Slot 4"; - this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // item3 - // - this.item3.FormattingEnabled = true; - this.item3.Items.AddRange(new object[] { + this.item5.Location = new System.Drawing.Point(55, 153); + this.item5.Name = "item5"; + this.item5.Size = new System.Drawing.Size(162, 21); + this.item5.TabIndex = 36; + // + // label19 + // + this.label19.Location = new System.Drawing.Point(6, 70); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(43, 23); + this.label19.TabIndex = 31; + this.label19.Text = "Slot 2"; + this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label17 + // + this.label17.Location = new System.Drawing.Point(6, 124); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(43, 23); + this.label17.TabIndex = 35; + this.label17.Text = "Slot 4"; + this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // item3 + // + this.item3.FormattingEnabled = true; + this.item3.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -990,15 +1003,15 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.item3.Location = new System.Drawing.Point(55, 99); - this.item3.Name = "item3"; - this.item3.Size = new System.Drawing.Size(104, 21); - this.item3.TabIndex = 32; - // - // item4 - // - this.item4.FormattingEnabled = true; - this.item4.Items.AddRange(new object[] { + this.item3.Location = new System.Drawing.Point(55, 99); + this.item3.Name = "item3"; + this.item3.Size = new System.Drawing.Size(162, 21); + this.item3.TabIndex = 32; + // + // item4 + // + this.item4.FormattingEnabled = true; + this.item4.Items.AddRange(new object[] { "NONE", "Tornadus", "Thundurus", @@ -1008,195 +1021,189 @@ namespace BW_tool "Giratina", "Ho-Oh", "Lugia"}); - this.item4.Location = new System.Drawing.Point(55, 126); - this.item4.Name = "item4"; - this.item4.Size = new System.Drawing.Size(104, 21); - this.item4.TabIndex = 34; - // - // label18 - // - this.label18.Location = new System.Drawing.Point(6, 97); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(43, 23); - this.label18.TabIndex = 33; - this.label18.Text = "Slot 3"; - this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // groupBox4 - // - this.groupBox4.Controls.Add(this.label25); - this.groupBox4.Controls.Add(this.allmode); - this.groupBox4.Controls.Add(this.legitmode); - this.groupBox4.Location = new System.Drawing.Point(776, 185); - this.groupBox4.Name = "groupBox4"; - this.groupBox4.Size = new System.Drawing.Size(230, 56); - this.groupBox4.TabIndex = 16; - this.groupBox4.TabStop = false; - // - // allmode - // - this.allmode.Location = new System.Drawing.Point(129, 9); - this.allmode.Name = "allmode"; - this.allmode.Size = new System.Drawing.Size(83, 24); - this.allmode.TabIndex = 1; - this.allmode.TabStop = true; - this.allmode.Text = "All Mode"; - this.allmode.UseVisualStyleBackColor = true; - this.allmode.CheckedChanged += new System.EventHandler(this.AllmodeCheckedChanged); - // - // legitmode - // - this.legitmode.Location = new System.Drawing.Point(40, 9); - this.legitmode.Name = "legitmode"; - this.legitmode.Size = new System.Drawing.Size(83, 24); - this.legitmode.TabIndex = 0; - this.legitmode.TabStop = true; - this.legitmode.Text = "Legit Mode"; - this.legitmode.UseVisualStyleBackColor = true; - this.legitmode.CheckedChanged += new System.EventHandler(this.LegitmodeCheckedChanged); - // - // label21 - // - this.label21.Location = new System.Drawing.Point(12, 258); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(758, 23); - this.label21.TabIndex = 17; - this.label21.Text = "Note: Dream Radar only allows to transfer a total of 6 Pokémon (including normal " + + this.item4.Location = new System.Drawing.Point(55, 126); + this.item4.Name = "item4"; + this.item4.Size = new System.Drawing.Size(162, 21); + this.item4.TabIndex = 34; + // + // label18 + // + this.label18.Location = new System.Drawing.Point(6, 97); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(43, 23); + this.label18.TabIndex = 33; + this.label18.Text = "Slot 3"; + this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // groupBox4 + // + this.groupBox4.Controls.Add(this.label25); + this.groupBox4.Controls.Add(this.allmode); + this.groupBox4.Controls.Add(this.legitmode); + this.groupBox4.Location = new System.Drawing.Point(776, 130); + this.groupBox4.Name = "groupBox4"; + this.groupBox4.Size = new System.Drawing.Size(230, 56); + this.groupBox4.TabIndex = 16; + this.groupBox4.TabStop = false; + // + // label25 + // + this.label25.Location = new System.Drawing.Point(14, 34); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(209, 19); + this.label25.TabIndex = 2; + this.label25.Text = "Note: Changing mode will reload all data"; + // + // allmode + // + this.allmode.Location = new System.Drawing.Point(129, 9); + this.allmode.Name = "allmode"; + this.allmode.Size = new System.Drawing.Size(83, 24); + this.allmode.TabIndex = 1; + this.allmode.TabStop = true; + this.allmode.Text = "All Mode"; + this.allmode.UseVisualStyleBackColor = true; + this.allmode.CheckedChanged += new System.EventHandler(this.AllmodeCheckedChanged); + // + // legitmode + // + this.legitmode.Location = new System.Drawing.Point(40, 9); + this.legitmode.Name = "legitmode"; + this.legitmode.Size = new System.Drawing.Size(83, 24); + this.legitmode.TabIndex = 0; + this.legitmode.TabStop = true; + this.legitmode.Text = "Legit Mode"; + this.legitmode.UseVisualStyleBackColor = true; + this.legitmode.CheckedChanged += new System.EventHandler(this.LegitmodeCheckedChanged); + // + // label21 + // + this.label21.ImageAlign = System.Drawing.ContentAlignment.BottomLeft; + this.label21.Location = new System.Drawing.Point(12, 270); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(758, 23); + this.label21.TabIndex = 17; + this.label21.Text = "Note: Dream Radar only allows to transfer a total of 6 Pokémon (including normal " + "+ legendaries) even though you can transfer 14 at once using this editor."; - // - // groupBox5 - // - this.groupBox5.Controls.Add(this.flag7); - this.groupBox5.Controls.Add(this.flag3); - this.groupBox5.Controls.Add(this.flag6); - this.groupBox5.Controls.Add(this.flag2); - this.groupBox5.Controls.Add(this.flag5); - this.groupBox5.Controls.Add(this.flag1); - this.groupBox5.Controls.Add(this.flag4); - this.groupBox5.Controls.Add(this.flag0); - this.groupBox5.Location = new System.Drawing.Point(776, 70); - this.groupBox5.Name = "groupBox5"; - this.groupBox5.Size = new System.Drawing.Size(230, 112); - this.groupBox5.TabIndex = 18; - this.groupBox5.TabStop = false; - this.groupBox5.Text = "Legendary Flags"; - // - // flag7 - // - this.flag7.AutoCheck = false; - this.flag7.Location = new System.Drawing.Point(108, 85); - this.flag7.Name = "flag7"; - this.flag7.Size = new System.Drawing.Size(104, 24); - this.flag7.TabIndex = 7; - this.flag7.Text = "Lugia"; - this.flag7.UseVisualStyleBackColor = true; - // - // flag3 - // - this.flag3.AutoCheck = false; - this.flag3.Location = new System.Drawing.Point(6, 85); - this.flag3.Name = "flag3"; - this.flag3.Size = new System.Drawing.Size(104, 24); - this.flag3.TabIndex = 6; - this.flag3.Text = "Dialga"; - this.flag3.UseVisualStyleBackColor = true; - // - // flag6 - // - this.flag6.AutoCheck = false; - this.flag6.Location = new System.Drawing.Point(108, 62); - this.flag6.Name = "flag6"; - this.flag6.Size = new System.Drawing.Size(104, 24); - this.flag6.TabIndex = 5; - this.flag6.Text = "Ho-Oh"; - this.flag6.UseVisualStyleBackColor = true; - // - // flag2 - // - this.flag2.AutoCheck = false; - this.flag2.Location = new System.Drawing.Point(6, 62); - this.flag2.Name = "flag2"; - this.flag2.Size = new System.Drawing.Size(104, 24); - this.flag2.TabIndex = 4; - this.flag2.Text = "Landorus"; - this.flag2.UseVisualStyleBackColor = true; - // - // flag5 - // - this.flag5.AutoCheck = false; - this.flag5.Location = new System.Drawing.Point(108, 39); - this.flag5.Name = "flag5"; - this.flag5.Size = new System.Drawing.Size(104, 24); - this.flag5.TabIndex = 3; - this.flag5.Text = "Giratina"; - this.flag5.UseVisualStyleBackColor = true; - // - // flag1 - // - this.flag1.AutoCheck = false; - this.flag1.Location = new System.Drawing.Point(6, 39); - this.flag1.Name = "flag1"; - this.flag1.Size = new System.Drawing.Size(104, 24); - this.flag1.TabIndex = 2; - this.flag1.Text = "Thundurus"; - this.flag1.UseVisualStyleBackColor = true; - // - // flag4 - // - this.flag4.AutoCheck = false; - this.flag4.Location = new System.Drawing.Point(108, 16); - this.flag4.Name = "flag4"; - this.flag4.Size = new System.Drawing.Size(104, 24); - this.flag4.TabIndex = 1; - this.flag4.Text = "Palkia"; - this.flag4.UseVisualStyleBackColor = true; - // - // flag0 - // - this.flag0.AutoCheck = false; - this.flag0.Location = new System.Drawing.Point(6, 16); - this.flag0.Name = "flag0"; - this.flag0.Size = new System.Drawing.Size(104, 24); - this.flag0.TabIndex = 0; - this.flag0.Text = "Tornadus"; - this.flag0.UseVisualStyleBackColor = true; - // - // label25 - // - this.label25.Location = new System.Drawing.Point(14, 34); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(209, 19); - this.label25.TabIndex = 2; - this.label25.Text = "Note: Changing mode will reload all data"; - // - // DreamRadar - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1018, 286); - this.Controls.Add(this.groupBox5); - this.Controls.Add(this.label21); - this.Controls.Add(this.groupBox4); - this.Controls.Add(this.groupBox3); - this.Controls.Add(this.groupBox2); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.clean_but); - this.Controls.Add(this.saveexit_but); - this.Controls.Add(this.exit_but); - this.Name = "DreamRadar"; - this.Text = "DreamRadar"; - this.groupBox1.ResumeLayout(false); - this.groupBox2.ResumeLayout(false); - this.groupBox3.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.itemcnt1)).EndInit(); - this.groupBox4.ResumeLayout(false); - this.groupBox5.ResumeLayout(false); - this.ResumeLayout(false); + // + // groupBox5 + // + this.groupBox5.Controls.Add(this.flag7); + this.groupBox5.Controls.Add(this.flag3); + this.groupBox5.Controls.Add(this.flag6); + this.groupBox5.Controls.Add(this.flag2); + this.groupBox5.Controls.Add(this.flag5); + this.groupBox5.Controls.Add(this.flag1); + this.groupBox5.Controls.Add(this.flag4); + this.groupBox5.Controls.Add(this.flag0); + this.groupBox5.Location = new System.Drawing.Point(776, 12); + this.groupBox5.Name = "groupBox5"; + this.groupBox5.Size = new System.Drawing.Size(230, 112); + this.groupBox5.TabIndex = 18; + this.groupBox5.TabStop = false; + this.groupBox5.Text = "Legendary Flags"; + // + // flag7 + // + this.flag7.Location = new System.Drawing.Point(108, 85); + this.flag7.Name = "flag7"; + this.flag7.Size = new System.Drawing.Size(104, 24); + this.flag7.TabIndex = 7; + this.flag7.Text = "Lugia"; + this.flag7.UseVisualStyleBackColor = true; + // + // flag3 + // + this.flag3.Location = new System.Drawing.Point(6, 85); + this.flag3.Name = "flag3"; + this.flag3.Size = new System.Drawing.Size(104, 24); + this.flag3.TabIndex = 6; + this.flag3.Text = "Dialga"; + this.flag3.UseVisualStyleBackColor = true; + // + // flag6 + // + this.flag6.Location = new System.Drawing.Point(108, 62); + this.flag6.Name = "flag6"; + this.flag6.Size = new System.Drawing.Size(104, 24); + this.flag6.TabIndex = 5; + this.flag6.Text = "Ho-Oh"; + this.flag6.UseVisualStyleBackColor = true; + // + // flag2 + // + this.flag2.Location = new System.Drawing.Point(6, 62); + this.flag2.Name = "flag2"; + this.flag2.Size = new System.Drawing.Size(104, 24); + this.flag2.TabIndex = 4; + this.flag2.Text = "Landorus"; + this.flag2.UseVisualStyleBackColor = true; + // + // flag5 + // + this.flag5.Location = new System.Drawing.Point(108, 39); + this.flag5.Name = "flag5"; + this.flag5.Size = new System.Drawing.Size(104, 24); + this.flag5.TabIndex = 3; + this.flag5.Text = "Giratina"; + this.flag5.UseVisualStyleBackColor = true; + // + // flag1 + // + this.flag1.Location = new System.Drawing.Point(6, 39); + this.flag1.Name = "flag1"; + this.flag1.Size = new System.Drawing.Size(104, 24); + this.flag1.TabIndex = 2; + this.flag1.Text = "Thundurus"; + this.flag1.UseVisualStyleBackColor = true; + // + // flag4 + // + this.flag4.Location = new System.Drawing.Point(108, 16); + this.flag4.Name = "flag4"; + this.flag4.Size = new System.Drawing.Size(104, 24); + this.flag4.TabIndex = 1; + this.flag4.Text = "Palkia"; + this.flag4.UseVisualStyleBackColor = true; + // + // flag0 + // + this.flag0.Location = new System.Drawing.Point(6, 16); + this.flag0.Name = "flag0"; + this.flag0.Size = new System.Drawing.Size(104, 24); + this.flag0.TabIndex = 0; + this.flag0.Text = "Tornadus"; + this.flag0.UseVisualStyleBackColor = true; + this.flag0.CheckedChanged += new System.EventHandler(this.Flag0CheckedChanged); + // + // DreamRadar + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1018, 286); + this.Controls.Add(this.groupBox5); + this.Controls.Add(this.label21); + this.Controls.Add(this.groupBox4); + this.Controls.Add(this.groupBox3); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.clean_but); + this.Controls.Add(this.saveexit_but); + this.Controls.Add(this.exit_but); + this.Name = "DreamRadar"; + this.Text = "DreamRadar"; + this.groupBox1.ResumeLayout(false); + this.groupBox2.ResumeLayout(false); + this.groupBox3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.itemcnt1)).EndInit(); + this.groupBox4.ResumeLayout(false); + this.groupBox5.ResumeLayout(false); + this.ResumeLayout(false); } } diff --git a/BW_tool/Editors/DreamRadar.cs b/BW_tool/Editors/DreamRadar.cs index 41864cf..c5e9f50 100644 --- a/BW_tool/Editors/DreamRadar.cs +++ b/BW_tool/Editors/DreamRadar.cs @@ -31,10 +31,13 @@ namespace BW_tool drkey = new DRKEY(MainForm.save.getBlock(drkeyblock)); dra = new DRA(MainForm.save.dslinkA_get()); - drb = new DRB(PKX5.cryptoXor32Array(MainForm.save.dslinkB_get(), 0, 0x5C, 0x5C)); //Get 3DS link data decrypted + drb = new DRB(PKX5.cryptoXor32Array(MainForm.save.dslinkB_get(), 0, 0x7C, 0x7C)); //Get 3DS link data decrypted if (dra.received == false) + { MessageBox.Show("Warning! There's unreceived data in the savegame!"); + dra.key = drb.EncKey^drkey.FLAGS;//This makes editing the data possible without messing up the current encryption + } if (drb.illegal == true) { @@ -63,10 +66,10 @@ namespace BW_tool set_data(); MainForm.save.setBlock(drkey.Data, 72); MainForm.save.dslinkA_set(dra.Data); - MainForm.save.dslinkB_set(PKX5.cryptoXor32Array(drb.Data, 0, 0x5C, 0x5C)); + MainForm.save.dslinkB_set(PKX5.cryptoXor32Array(drb.Data, 0, 0x7C, 0x7C)); this.Close(); } - void Clean_butClick(object sender, EventArgs e) + void Clean_butClick(object sender, EventArgs e) //Right now this button is disabled as we know how to edit all the data { drkey.reinit(); dra.reinit(); @@ -74,7 +77,7 @@ namespace BW_tool MainForm.save.setBlock(drkey.Data, 72); MainForm.save.dslinkA_set(dra.Data); - MainForm.save.dslinkB_set(PKX5.cryptoXor32Array(drb.Data, 0, 0x5C, 0x5C)); + MainForm.save.dslinkB_set(PKX5.cryptoXor32Array(drb.Data, 0, 0x7C, 0x7C)); this.Close(); } @@ -210,6 +213,20 @@ namespace BW_tool void set_data() { + //Get the correct intial key before changing the flags + drb.EncKey = dra.key^drkey.FLAGS; + + //Set the flags + drkey.Tornadus = flag0.Checked; + drkey.Thundurus = flag1.Checked; + drkey.Landorus = flag2.Checked; + drkey.Dialga = flag3.Checked; + drkey.Palkia = flag4.Checked; + drkey.Giratina = flag5.Checked; + drkey.HoOh = flag6.Checked; + drkey.Lugia = flag7.Checked; + + drb.clean_data();//Set everything to 0 first //Legendary slots switch (legend1.SelectedIndex) { @@ -491,19 +508,20 @@ namespace BW_tool dra.received = false; //If we have any data, mark as available to be received } + //This is what Dream Radar does, not doing this makes the data be recognized as corrupted. + dra.unknown1 = 0; + dra.key = 0; } void AllmodeCheckedChanged(object sender, EventArgs e) { - if (drb.illegal == true) + if (allmode.Checked == true) { - allmode.Checked = true; set_all_list(); } else { - legitmode.Checked = true; set_legal_list(); } @@ -511,20 +529,22 @@ namespace BW_tool } void LegitmodeCheckedChanged(object sender, EventArgs e) { - if (drb.illegal == true) + if (allmode.Checked == true) { - allmode.Checked = true; set_all_list(); } else { - legitmode.Checked = true; set_legal_list(); } load_data(); } + void Flag0CheckedChanged(object sender, EventArgs e) + { + + } } public class DRKEY @@ -566,7 +586,7 @@ namespace BW_tool } public class DRA { - internal int Size = 10; + internal int Size = 0x10; private UInt32 ident = 0x43524746; public byte[] Data; @@ -606,15 +626,16 @@ namespace BW_tool } public class DRB { - public int Size = 0x60; + public int Size = 0x80; public byte[] Data; public DRB(byte[] data = null) { Data = data ?? new byte[Size]; - //Read the legendary values int i = 0; + + //Read the legendary values for (i=0; i<8;i++) { legendaries[i] = BitConverter.ToUInt32(Data, 0x00 + i*4); @@ -745,9 +766,37 @@ namespace BW_tool public void set_poke(int species, int gender, int index) { - //TODO add genderless and single gender species filter - pokes[index] = (UInt32)(gender | (species << 16)); + int finalgender = gender; + + //Set fixed gender species regardless of user choice + if (species == 0) + { + finalgender = 0; + } + else + { + int i = 0; + for (i=0;i