From e2220dd2fd5d8f6ece0e27a5161e07f34da77cb9 Mon Sep 17 00:00:00 2001 From: suloku Date: Fri, 17 Jun 2016 15:57:25 +0200 Subject: [PATCH] Most of join avenue editor done. --- BW_tool/BW_tool.csproj | 7 + BW_tool/Editors/Join_avenue.Designer.cs | 2241 +++++++++++++++++++++++ BW_tool/Editors/Join_avenue.cs | 1243 +++++++++++++ BW_tool/Editors/Join_avenue.resx | 120 ++ BW_tool/Editors/KeySystem.cs | 2 +- BW_tool/MainForm.Designer.cs | 14 + BW_tool/MainForm.cs | 8 + 7 files changed, 3634 insertions(+), 1 deletion(-) create mode 100644 BW_tool/Editors/Join_avenue.Designer.cs create mode 100644 BW_tool/Editors/Join_avenue.cs create mode 100644 BW_tool/Editors/Join_avenue.resx diff --git a/BW_tool/BW_tool.csproj b/BW_tool/BW_tool.csproj index e4d5c7e..03c4cee 100644 --- a/BW_tool/BW_tool.csproj +++ b/BW_tool/BW_tool.csproj @@ -54,6 +54,10 @@ Entralink_DreamWorld.cs + + + Join_avenue.cs + KeySystem.cs @@ -109,6 +113,9 @@ Grotto.cs + + Join_avenue.cs + KeySystem.cs diff --git a/BW_tool/Editors/Join_avenue.Designer.cs b/BW_tool/Editors/Join_avenue.Designer.cs new file mode 100644 index 0000000..15ea68f --- /dev/null +++ b/BW_tool/Editors/Join_avenue.Designer.cs @@ -0,0 +1,2241 @@ +/* + * Created by SharpDevelop. + * User: LAURA + * Date: 16/06/2016 + * Time: 21:04 + * + * To change this template use Tools | Options | Coding | Edit Standard Headers. + */ +namespace BW_tool +{ + partial class Join_avenue + { + /// + /// Designer variable used to keep track of non-visual components. + /// + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.Button Exit_but; + private System.Windows.Forms.Button Saveexit_but; + private System.Windows.Forms.NumericUpDown rank; + private System.Windows.Forms.ComboBox color; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox favorite; + private System.Windows.Forms.TextBox Impressed; + private System.Windows.Forms.TextBox name; + private System.Windows.Forms.TextBox title; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.NumericUpDown npc; + private System.Windows.Forms.ComboBox helper; + private System.Windows.Forms.NumericUpDown shop; + private System.Windows.Forms.NumericUpDown visitor; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.TabPage tabPage3; + private System.Windows.Forms.TabPage tabPage4; + private System.Windows.Forms.ComboBox npc_gender; + private System.Windows.Forms.TextBox npc_name; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.TextBox npc_text2; + private System.Windows.Forms.TextBox npc_text1; + private System.Windows.Forms.CheckBox npc_spoken; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Button npc_apply; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.NumericUpDown helper_sprite; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.ComboBox helper_subregion_USA; + private System.Windows.Forms.TextBox helper_met; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Button helper_apply; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.TextBox helper_greet2; + private System.Windows.Forms.TextBox helper_greet1; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.ComboBox helper_country; + private System.Windows.Forms.TextBox helper_name; + private System.Windows.Forms.ComboBox helper_subregion_argentina; + private System.Windows.Forms.ComboBox helper_subregion_australia; + private System.Windows.Forms.ComboBox helper_subregion_brazil; + private System.Windows.Forms.ComboBox helper_subregion_canada; + private System.Windows.Forms.ComboBox helper_subregion_china; + private System.Windows.Forms.ComboBox helper_subregion_germany; + private System.Windows.Forms.ComboBox helper_subregion_spain; + private System.Windows.Forms.ComboBox helper_subregion_finland; + private System.Windows.Forms.ComboBox helper_subregion_france; + private System.Windows.Forms.ComboBox helper_subregion_england; + private System.Windows.Forms.ComboBox helper_subregion_india; + private System.Windows.Forms.ComboBox helper_subregion_italy; + private System.Windows.Forms.ComboBox helper_subregion_japan; + private System.Windows.Forms.ComboBox helper_subregion_norway; + private System.Windows.Forms.ComboBox helper_subregion_poland; + private System.Windows.Forms.ComboBox helper_subregion_russia; + private System.Windows.Forms.ComboBox helper_subregion_sweeden; + private System.Windows.Forms.ComboBox helper_subregion; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.DateTimePicker helper_date; + private System.Windows.Forms.NumericUpDown shop_exp; + private System.Windows.Forms.Label label34; + private System.Windows.Forms.CheckBox shop_inventory; + private System.Windows.Forms.Label shop_kind; + private System.Windows.Forms.ComboBox shop_store; + private System.Windows.Forms.Label label33; + private System.Windows.Forms.ComboBox shop_type; + private System.Windows.Forms.Label label32; + private System.Windows.Forms.ComboBox shop_rank; + private System.Windows.Forms.CheckBox shop_ishuman; + private System.Windows.Forms.Label label31; + private System.Windows.Forms.NumericUpDown shop_recruit; + private System.Windows.Forms.Label label30; + private System.Windows.Forms.ComboBox shop_gender; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.DateTimePicker shop_date; + private System.Windows.Forms.ComboBox shop_subregion; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.NumericUpDown shop_sprite; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.TextBox shop_shout; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.Button shop_apply; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.TextBox shop_farewell; + private System.Windows.Forms.TextBox shop_greeting; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.Label label28; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.ComboBox shop_country; + private System.Windows.Forms.TextBox shop_name; + private System.Windows.Forms.GroupBox groupBox1; + + /// + /// Disposes resources used by the form. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing) { + if (components != null) { + components.Dispose(); + } + } + base.Dispose(disposing); + } + + /// + /// This method is required for Windows Forms designer support. + /// Do not change the method contents inside the source code editor. The Forms designer might + /// not be able to load this method if it was changed manually. + /// + private void InitializeComponent() + { + this.Exit_but = new System.Windows.Forms.Button(); + this.Saveexit_but = new System.Windows.Forms.Button(); + this.rank = new System.Windows.Forms.NumericUpDown(); + this.color = new System.Windows.Forms.ComboBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.favorite = new System.Windows.Forms.TextBox(); + this.Impressed = new System.Windows.Forms.TextBox(); + this.name = new System.Windows.Forms.TextBox(); + this.title = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.npc = new System.Windows.Forms.NumericUpDown(); + this.shop = new System.Windows.Forms.NumericUpDown(); + this.visitor = new System.Windows.Forms.NumericUpDown(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.shop_exp = new System.Windows.Forms.NumericUpDown(); + this.label34 = new System.Windows.Forms.Label(); + this.shop_inventory = new System.Windows.Forms.CheckBox(); + this.shop_kind = new System.Windows.Forms.Label(); + this.shop_store = new System.Windows.Forms.ComboBox(); + this.label33 = new System.Windows.Forms.Label(); + this.shop_type = new System.Windows.Forms.ComboBox(); + this.label32 = new System.Windows.Forms.Label(); + this.shop_rank = new System.Windows.Forms.ComboBox(); + this.shop_ishuman = new System.Windows.Forms.CheckBox(); + this.label31 = new System.Windows.Forms.Label(); + this.shop_recruit = new System.Windows.Forms.NumericUpDown(); + this.label30 = new System.Windows.Forms.Label(); + this.shop_gender = new System.Windows.Forms.ComboBox(); + this.label21 = new System.Windows.Forms.Label(); + this.shop_date = new System.Windows.Forms.DateTimePicker(); + this.shop_subregion = new System.Windows.Forms.ComboBox(); + this.label22 = new System.Windows.Forms.Label(); + this.shop_sprite = new System.Windows.Forms.NumericUpDown(); + this.label23 = new System.Windows.Forms.Label(); + this.shop_shout = new System.Windows.Forms.TextBox(); + this.label24 = new System.Windows.Forms.Label(); + this.shop_apply = new System.Windows.Forms.Button(); + this.label25 = new System.Windows.Forms.Label(); + this.shop_farewell = new System.Windows.Forms.TextBox(); + this.shop_greeting = new System.Windows.Forms.TextBox(); + this.label26 = new System.Windows.Forms.Label(); + this.label27 = new System.Windows.Forms.Label(); + this.label28 = new System.Windows.Forms.Label(); + this.label29 = new System.Windows.Forms.Label(); + this.shop_country = new System.Windows.Forms.ComboBox(); + this.shop_name = new System.Windows.Forms.TextBox(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.tabPage3 = new System.Windows.Forms.TabPage(); + this.npc_apply = new System.Windows.Forms.Button(); + this.label12 = new System.Windows.Forms.Label(); + this.npc_text2 = new System.Windows.Forms.TextBox(); + this.npc_text1 = new System.Windows.Forms.TextBox(); + this.npc_spoken = new System.Windows.Forms.CheckBox(); + this.label11 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.npc_gender = new System.Windows.Forms.ComboBox(); + this.npc_name = new System.Windows.Forms.TextBox(); + this.tabPage4 = new System.Windows.Forms.TabPage(); + this.helper = new System.Windows.Forms.ComboBox(); + this.label20 = new System.Windows.Forms.Label(); + this.helper_date = new System.Windows.Forms.DateTimePicker(); + this.helper_subregion = new System.Windows.Forms.ComboBox(); + this.helper_subregion_argentina = new System.Windows.Forms.ComboBox(); + this.helper_subregion_australia = new System.Windows.Forms.ComboBox(); + this.helper_subregion_brazil = new System.Windows.Forms.ComboBox(); + this.helper_subregion_canada = new System.Windows.Forms.ComboBox(); + this.helper_subregion_china = new System.Windows.Forms.ComboBox(); + this.helper_subregion_germany = new System.Windows.Forms.ComboBox(); + this.helper_subregion_spain = new System.Windows.Forms.ComboBox(); + this.helper_subregion_finland = new System.Windows.Forms.ComboBox(); + this.helper_subregion_france = new System.Windows.Forms.ComboBox(); + this.helper_subregion_england = new System.Windows.Forms.ComboBox(); + this.helper_subregion_india = new System.Windows.Forms.ComboBox(); + this.helper_subregion_italy = new System.Windows.Forms.ComboBox(); + this.helper_subregion_japan = new System.Windows.Forms.ComboBox(); + this.helper_subregion_norway = new System.Windows.Forms.ComboBox(); + this.helper_subregion_poland = new System.Windows.Forms.ComboBox(); + this.helper_subregion_russia = new System.Windows.Forms.ComboBox(); + this.helper_subregion_sweeden = new System.Windows.Forms.ComboBox(); + this.label19 = new System.Windows.Forms.Label(); + this.helper_sprite = new System.Windows.Forms.NumericUpDown(); + this.label18 = new System.Windows.Forms.Label(); + this.helper_subregion_USA = new System.Windows.Forms.ComboBox(); + this.helper_met = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.helper_apply = new System.Windows.Forms.Button(); + this.label9 = new System.Windows.Forms.Label(); + this.helper_greet2 = new System.Windows.Forms.TextBox(); + this.helper_greet1 = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.helper_country = new System.Windows.Forms.ComboBox(); + this.helper_name = new System.Windows.Forms.TextBox(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + ((System.ComponentModel.ISupportInitialize)(this.rank)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.npc)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.shop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.visitor)).BeginInit(); + this.tabControl1.SuspendLayout(); + this.tabPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.shop_exp)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.shop_recruit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.shop_sprite)).BeginInit(); + this.tabPage2.SuspendLayout(); + this.tabPage3.SuspendLayout(); + this.tabPage4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.helper_sprite)).BeginInit(); + this.groupBox1.SuspendLayout(); + this.SuspendLayout(); + // + // Exit_but + // + this.Exit_but.Location = new System.Drawing.Point(23, 327); + this.Exit_but.Name = "Exit_but"; + this.Exit_but.Size = new System.Drawing.Size(102, 23); + this.Exit_but.TabIndex = 8; + this.Exit_but.Text = "Exit"; + this.Exit_but.UseVisualStyleBackColor = true; + this.Exit_but.Click += new System.EventHandler(this.Exit_butClick); + // + // Saveexit_but + // + this.Saveexit_but.Location = new System.Drawing.Point(176, 327); + this.Saveexit_but.Name = "Saveexit_but"; + this.Saveexit_but.Size = new System.Drawing.Size(102, 23); + this.Saveexit_but.TabIndex = 7; + this.Saveexit_but.Text = "Save and Exit"; + this.Saveexit_but.UseVisualStyleBackColor = true; + this.Saveexit_but.Click += new System.EventHandler(this.Saveexit_butClick); + // + // rank + // + this.rank.Location = new System.Drawing.Point(107, 45); + this.rank.Maximum = new decimal(new int[] { + 9999, + 0, + 0, + 0}); + this.rank.Name = "rank"; + this.rank.Size = new System.Drawing.Size(157, 20); + this.rank.TabIndex = 9; + // + // color + // + this.color.FormattingEnabled = true; + this.color.Items.AddRange(new object[] { + "Orange", + "Purple", + "Blue", + "Green"}); + this.color.Location = new System.Drawing.Point(107, 71); + this.color.Name = "color"; + this.color.Size = new System.Drawing.Size(157, 21); + this.color.TabIndex = 10; + // + // label1 + // + this.label1.Location = new System.Drawing.Point(9, 74); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(64, 20); + this.label1.TabIndex = 11; + this.label1.Text = "Color"; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(9, 47); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(64, 20); + this.label2.TabIndex = 12; + this.label2.Text = "Rank"; + // + // favorite + // + this.favorite.Location = new System.Drawing.Point(107, 124); + this.favorite.Name = "favorite"; + this.favorite.Size = new System.Drawing.Size(157, 20); + this.favorite.TabIndex = 13; + // + // Impressed + // + this.Impressed.Location = new System.Drawing.Point(107, 150); + this.Impressed.Name = "Impressed"; + this.Impressed.Size = new System.Drawing.Size(157, 20); + this.Impressed.TabIndex = 14; + // + // name + // + this.name.Location = new System.Drawing.Point(107, 19); + this.name.Name = "name"; + this.name.Size = new System.Drawing.Size(157, 20); + this.name.TabIndex = 15; + // + // title + // + this.title.Location = new System.Drawing.Point(107, 98); + this.title.Name = "title"; + this.title.Size = new System.Drawing.Size(157, 20); + this.title.TabIndex = 16; + // + // label3 + // + this.label3.Location = new System.Drawing.Point(9, 22); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(64, 23); + this.label3.TabIndex = 17; + this.label3.Text = "Name"; + // + // label4 + // + this.label4.Location = new System.Drawing.Point(9, 101); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(64, 20); + this.label4.TabIndex = 18; + this.label4.Text = "Title"; + // + // label5 + // + this.label5.Location = new System.Drawing.Point(9, 127); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(86, 20); + this.label5.TabIndex = 19; + this.label5.Text = "Favorite Phrase"; + // + // label6 + // + this.label6.Location = new System.Drawing.Point(9, 153); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(97, 20); + this.label6.TabIndex = 20; + this.label6.Text = "Impressed Phrase"; + // + // npc + // + this.npc.Location = new System.Drawing.Point(77, 15); + this.npc.Maximum = new decimal(new int[] { + 11, + 0, + 0, + 0}); + this.npc.Name = "npc"; + this.npc.Size = new System.Drawing.Size(53, 20); + this.npc.TabIndex = 29; + this.npc.ValueChanged += new System.EventHandler(this.NpcValueChanged); + // + // shop + // + this.shop.Location = new System.Drawing.Point(77, 15); + this.shop.Maximum = new decimal(new int[] { + 7, + 0, + 0, + 0}); + this.shop.Name = "shop"; + this.shop.Size = new System.Drawing.Size(53, 20); + this.shop.TabIndex = 31; + this.shop.ValueChanged += new System.EventHandler(this.ShopValueChanged); + // + // visitor + // + this.visitor.Location = new System.Drawing.Point(55, 7); + this.visitor.Maximum = new decimal(new int[] { + 7, + 0, + 0, + 0}); + this.visitor.Name = "visitor"; + this.visitor.Size = new System.Drawing.Size(53, 20); + this.visitor.TabIndex = 32; + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Controls.Add(this.tabPage3); + this.tabControl1.Controls.Add(this.tabPage4); + this.tabControl1.Location = new System.Drawing.Point(307, 12); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(511, 338); + this.tabControl1.TabIndex = 33; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.shop_exp); + this.tabPage1.Controls.Add(this.label34); + this.tabPage1.Controls.Add(this.shop_inventory); + this.tabPage1.Controls.Add(this.shop_kind); + this.tabPage1.Controls.Add(this.shop_store); + this.tabPage1.Controls.Add(this.label33); + this.tabPage1.Controls.Add(this.shop_type); + this.tabPage1.Controls.Add(this.label32); + this.tabPage1.Controls.Add(this.shop_rank); + this.tabPage1.Controls.Add(this.shop_ishuman); + this.tabPage1.Controls.Add(this.label31); + this.tabPage1.Controls.Add(this.shop_recruit); + this.tabPage1.Controls.Add(this.label30); + this.tabPage1.Controls.Add(this.shop_gender); + this.tabPage1.Controls.Add(this.label21); + this.tabPage1.Controls.Add(this.shop_date); + this.tabPage1.Controls.Add(this.shop_subregion); + this.tabPage1.Controls.Add(this.label22); + this.tabPage1.Controls.Add(this.shop_sprite); + this.tabPage1.Controls.Add(this.label23); + this.tabPage1.Controls.Add(this.shop_shout); + this.tabPage1.Controls.Add(this.label24); + this.tabPage1.Controls.Add(this.shop_apply); + this.tabPage1.Controls.Add(this.label25); + this.tabPage1.Controls.Add(this.shop_farewell); + this.tabPage1.Controls.Add(this.shop_greeting); + this.tabPage1.Controls.Add(this.label26); + this.tabPage1.Controls.Add(this.label27); + this.tabPage1.Controls.Add(this.label28); + this.tabPage1.Controls.Add(this.label29); + this.tabPage1.Controls.Add(this.shop_country); + this.tabPage1.Controls.Add(this.shop); + this.tabPage1.Controls.Add(this.shop_name); + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(503, 312); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "Shop"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // shop_exp + // + this.shop_exp.Location = new System.Drawing.Point(77, 281); + this.shop_exp.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.shop_exp.Name = "shop_exp"; + this.shop_exp.Size = new System.Drawing.Size(135, 20); + this.shop_exp.TabIndex = 113; + // + // label34 + // + this.label34.Location = new System.Drawing.Point(6, 283); + this.label34.Name = "label34"; + this.label34.Size = new System.Drawing.Size(65, 23); + this.label34.TabIndex = 112; + this.label34.Text = "Shop Exp"; + // + // shop_inventory + // + this.shop_inventory.Location = new System.Drawing.Point(222, 224); + this.shop_inventory.Name = "shop_inventory"; + this.shop_inventory.Size = new System.Drawing.Size(130, 24); + this.shop_inventory.TabIndex = 110; + this.shop_inventory.Text = "Inventory availability"; + this.shop_inventory.UseVisualStyleBackColor = true; + // + // shop_kind + // + this.shop_kind.Location = new System.Drawing.Point(6, 229); + this.shop_kind.Name = "shop_kind"; + this.shop_kind.Size = new System.Drawing.Size(65, 23); + this.shop_kind.TabIndex = 109; + this.shop_kind.Text = "Store"; + // + // shop_store + // + this.shop_store.FormattingEnabled = true; + this.shop_store.Items.AddRange(new object[] { + "Raffle", + "Salon", + "Market", + "Florist", + "Dojo", + "Nurse", + "Antique", + "Cafe"}); + this.shop_store.Location = new System.Drawing.Point(77, 226); + this.shop_store.Name = "shop_store"; + this.shop_store.Size = new System.Drawing.Size(135, 21); + this.shop_store.TabIndex = 108; + // + // label33 + // + this.label33.Location = new System.Drawing.Point(6, 202); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(65, 23); + this.label33.TabIndex = 107; + this.label33.Text = "Shop Ver"; + // + // shop_type + // + this.shop_type.FormattingEnabled = true; + this.shop_type.Items.AddRange(new object[] { + "Black", + "White", + "Black 2", + "White 2"}); + this.shop_type.Location = new System.Drawing.Point(77, 199); + this.shop_type.Name = "shop_type"; + this.shop_type.Size = new System.Drawing.Size(135, 21); + this.shop_type.TabIndex = 106; + // + // label32 + // + this.label32.Location = new System.Drawing.Point(6, 256); + this.label32.Name = "label32"; + this.label32.Size = new System.Drawing.Size(65, 23); + this.label32.TabIndex = 105; + this.label32.Text = "Shop Rank"; + // + // shop_rank + // + this.shop_rank.FormattingEnabled = true; + this.shop_rank.Items.AddRange(new object[] { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10"}); + this.shop_rank.Location = new System.Drawing.Point(77, 253); + this.shop_rank.Name = "shop_rank"; + this.shop_rank.Size = new System.Drawing.Size(135, 21); + this.shop_rank.TabIndex = 104; + // + // shop_ishuman + // + this.shop_ishuman.Location = new System.Drawing.Point(222, 197); + this.shop_ishuman.Name = "shop_ishuman"; + this.shop_ishuman.Size = new System.Drawing.Size(104, 24); + this.shop_ishuman.TabIndex = 103; + this.shop_ishuman.Text = "Is human"; + this.shop_ishuman.UseVisualStyleBackColor = true; + // + // label31 + // + this.label31.Location = new System.Drawing.Point(222, 147); + this.label31.Name = "label31"; + this.label31.Size = new System.Drawing.Size(65, 23); + this.label31.TabIndex = 102; + this.label31.Text = "Recruit Lvl"; + // + // shop_recruit + // + this.shop_recruit.Location = new System.Drawing.Point(293, 145); + this.shop_recruit.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.shop_recruit.Name = "shop_recruit"; + this.shop_recruit.Size = new System.Drawing.Size(47, 20); + this.shop_recruit.TabIndex = 101; + // + // label30 + // + this.label30.Location = new System.Drawing.Point(6, 148); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(57, 23); + this.label30.TabIndex = 100; + this.label30.Text = "Gender"; + // + // shop_gender + // + this.shop_gender.FormattingEnabled = true; + this.shop_gender.Items.AddRange(new object[] { + "Male", + "Female"}); + this.shop_gender.Location = new System.Drawing.Point(77, 145); + this.shop_gender.Name = "shop_gender"; + this.shop_gender.Size = new System.Drawing.Size(135, 21); + this.shop_gender.TabIndex = 99; + // + // label21 + // + this.label21.Location = new System.Drawing.Point(222, 122); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(57, 23); + this.label21.TabIndex = 98; + this.label21.Text = "Met Date"; + // + // shop_date + // + this.shop_date.Location = new System.Drawing.Point(293, 119); + this.shop_date.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); + this.shop_date.Name = "shop_date"; + this.shop_date.Size = new System.Drawing.Size(200, 20); + this.shop_date.TabIndex = 97; + // + // shop_subregion + // + this.shop_subregion.FormattingEnabled = true; + this.shop_subregion.Items.AddRange(new object[] { + "0 None"}); + this.shop_subregion.Location = new System.Drawing.Point(293, 68); + this.shop_subregion.Name = "shop_subregion"; + this.shop_subregion.Size = new System.Drawing.Size(191, 21); + this.shop_subregion.TabIndex = 96; + // + // label22 + // + this.label22.Location = new System.Drawing.Point(222, 97); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(57, 23); + this.label22.TabIndex = 95; + this.label22.Text = "Sprite"; + // + // shop_sprite + // + this.shop_sprite.Location = new System.Drawing.Point(293, 95); + this.shop_sprite.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.shop_sprite.Name = "shop_sprite"; + this.shop_sprite.Size = new System.Drawing.Size(47, 20); + this.shop_sprite.TabIndex = 94; + // + // label23 + // + this.label23.Location = new System.Drawing.Point(222, 71); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(57, 23); + this.label23.TabIndex = 93; + this.label23.Text = "Subregion"; + // + // shop_shout + // + this.shop_shout.Location = new System.Drawing.Point(77, 67); + this.shop_shout.MaxLength = 14; + this.shop_shout.Name = "shop_shout"; + this.shop_shout.Size = new System.Drawing.Size(135, 20); + this.shop_shout.TabIndex = 92; + // + // label24 + // + this.label24.Location = new System.Drawing.Point(6, 70); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(57, 23); + this.label24.TabIndex = 91; + this.label24.Text = "Shout"; + // + // shop_apply + // + this.shop_apply.Location = new System.Drawing.Point(293, 283); + this.shop_apply.Name = "shop_apply"; + this.shop_apply.Size = new System.Drawing.Size(67, 23); + this.shop_apply.TabIndex = 90; + this.shop_apply.Text = "Apply"; + this.shop_apply.UseVisualStyleBackColor = true; + this.shop_apply.Click += new System.EventHandler(this.Shop_applyClick); + // + // label25 + // + this.label25.Location = new System.Drawing.Point(6, 17); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(57, 23); + this.label25.TabIndex = 89; + this.label25.Text = "Slot"; + // + // shop_farewell + // + this.shop_farewell.Location = new System.Drawing.Point(77, 119); + this.shop_farewell.MaxLength = 14; + this.shop_farewell.Name = "shop_farewell"; + this.shop_farewell.Size = new System.Drawing.Size(135, 20); + this.shop_farewell.TabIndex = 88; + // + // shop_greeting + // + this.shop_greeting.Location = new System.Drawing.Point(77, 93); + this.shop_greeting.MaxLength = 14; + this.shop_greeting.Name = "shop_greeting"; + this.shop_greeting.Size = new System.Drawing.Size(135, 20); + this.shop_greeting.TabIndex = 87; + // + // label26 + // + this.label26.Location = new System.Drawing.Point(6, 122); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(57, 23); + this.label26.TabIndex = 86; + this.label26.Text = "Farewell"; + // + // label27 + // + this.label27.Location = new System.Drawing.Point(6, 96); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(57, 23); + this.label27.TabIndex = 85; + this.label27.Text = "Greeting"; + // + // label28 + // + this.label28.Location = new System.Drawing.Point(222, 44); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(57, 23); + this.label28.TabIndex = 84; + this.label28.Text = "Country"; + // + // label29 + // + this.label29.Location = new System.Drawing.Point(6, 44); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(57, 23); + this.label29.TabIndex = 83; + this.label29.Text = "Name"; + // + // shop_country + // + this.shop_country.FormattingEnabled = true; + this.shop_country.Items.AddRange(new object[] { + "0 None", + "1 Afghanistan", + "2 Albania", + "3 Algeria", + "4 American Samoa", + "5 Andorra", + "6 Angola", + "7 Anguilla", + "8 Antigua and Barbuda", + "9 Argentina", + "10 Armenia", + "11 Aruba", + "12 Australia", + "13 Austria", + "14 Azerbaijan", + "15 Bahamas", + "16 Bahrain", + "17 Bangladesh", + "18 Barbados", + "19 Belarus", + "20 Belgium", + "21 Belize", + "22 Benin", + "23 Bermuda", + "24 Bhutan", + "25 Bolivia", + "26 Bosnia and Herzegovina", + "27 Botswana", + "28 Brazil", + "29 British Virgin Islands", + "30 Brunei Darussalam", + "31 Bulgaria", + "32 Burkina Faso", + "33 Burundi", + "34 Cambodia", + "35 Cameroon", + "36 Canada", + "37 Cape Verde", + "38 Cayman Islands", + "39 Central African Republic", + "40 Chad", + "41 Channel Islands", + "42 Chile", + "43 China", + "44 Christmas Island", + "45 Colombia", + "46 Comoros", + "47 Congo", + "48 Cook Islands", + "49 Costa Rica", + "50 Cote d\'Ivoire", + "51 Croatia", + "52 Cuba", + "53 Cyprus", + "54 Czech Republic", + "55 North Korea", + "56 Democratic Republic of the Congo", + "57 Timor-Leste", + "58 Denmark", + "59 Djibouti", + "60 Dominica", + "61 Dominican Republic", + "62 Ecuador", + "63 Egypt", + "64 El Salvador", + "65 Equatorial Guinea", + "66 Eritrea", + "67 Estonia", + "68 Ethiopia", + "69 Falkland Islands", + "70 Faroe Islands", + "71 Fiji", + "72 Finland", + "73 France", + "74 French Guiana", + "75 French Polynesia", + "76 Gabon", + "77 Gambia", + "78 Georgia", + "79 Germany", + "80 Ghana", + "81 Gibraltar", + "82 Greece", + "83 Greenland", + "84 Grenada", + "85 Guadeloupe", + "86 Guam", + "87 Guatemala", + "88 Guinea", + "89 Guinea-Bissau", + "90 Guyana", + "91 Haiti", + "92 Honduras", + "93 Hungary", + "94 Iceland", + "95 India", + "96 Indonesia", + "97 Iran", + "98 Iraq", + "99 Ireland", + "100 Isle of Man", + "101 Israel", + "102 Italy", + "103 Jamaica", + "104 Jan Mayen Island", + "105 Japan", + "106 Jordan", + "107 Kashmir", + "108 Kazakhstan", + "109 Kenya", + "110 Kiribati", + "111 Kuwait", + "112 Kyrgyzstan", + "113 Laos", + "114 Latvia", + "115 Lebanon", + "116 Lesotho", + "117 Liberia", + "118 Libya", + "119 Liechtenstein", + "120 Lithuania", + "121 Luxembourg", + "122 Macedonia (FYROM)", + "123 Madagascar", + "124 Malawi", + "125 Malaysia", + "126 Maldives", + "127 Mali", + "128 Malta", + "129 Marshall Islands", + "130 Martinique", + "131 Mauritania", + "132 Mauritius", + "133 Mayotte", + "134 Mexico", + "135 Micronesia", + "136 Monaco", + "137 Mongolia", + "138 Montenegro", + "139 Morocco", + "140 Mozambique", + "141 Myanmar", + "142 Namibia", + "143 Nauru", + "144 Nepal", + "145 Netherlands", + "146 Netherlands Antilles", + "147 New Caledonia", + "148 New Zealand", + "149 Nicaragua", + "150 Niger", + "151 Nigeria", + "152 Niue", + "153 Norfolk Island", + "154 Northern Mariana Islands", + "155 Norway", + "156 Oman", + "157 Pakistan", + "158 Palau", + "159 Palestine", + "160 Panama", + "161 Papua New Guinea", + "162 Paraguay", + "163 Peru", + "164 Philippines", + "165 Pitcairn Islands", + "166 Poland", + "167 Portugal", + "168 Puerto Rico", + "169 Qatar", + "170 South Korea", + "171 Moldova", + "172 Reunion", + "173 Romania", + "174 Russian Federation", + "175 Rwanda", + "176 Saint Helena", + "177 Saint Kitts and Nevis", + "178 Saint Lucia", + "179 Saint Vincent and the Grenadines", + "180 Saint Pierre and Miquelon", + "181 Samoa", + "182 San Marino", + "183 Sao Tome and Principe", + "184 Saudi Arabia", + "185 Senegal", + "186 Serbia", + "187 Seychelles", + "188 Sierra Leone", + "189 Singapore", + "190 Slovakia", + "191 Slovenia", + "192 Solomon Islands", + "193 Somalia", + "194 South Africa", + "195 Spain", + "196 Sri Lanka", + "197 Sudan", + "198 Suriname", + "199 Swaziland", + "200 Sweden", + "201 Switzerland", + "202 Syria", + "203 Taiwan", + "204 Tajikistan", + "205 Thailand", + "206 Togo", + "207 Tokelau", + "208 Tonga", + "209 Trinidad and Tobago", + "210 Tunisia", + "211 Turkey", + "212 Turkmenistan", + "213 Turks and Caicos Islands", + "214 Tuvalu", + "215 Uganda", + "216 Ukraine", + "217 United Arab Emirates", + "218 United Kingdom", + "219 Tanzania", + "220 United States of America", + "221 United States Virgin Islands", + "222 Uruguay", + "223 Uzbekistan", + "224 Vanuatu", + "225 Holy See (Vatican City State)", + "226 Venezuela", + "227 Vietnam", + "228 Wallis and Futuna", + "229 Western Sahara", + "230 Yemen", + "231 Zambia", + "232 Zimbabwe"}); + this.shop_country.Location = new System.Drawing.Point(293, 41); + this.shop_country.Name = "shop_country"; + this.shop_country.Size = new System.Drawing.Size(191, 21); + this.shop_country.TabIndex = 82; + this.shop_country.SelectedIndexChanged += new System.EventHandler(this.Shop_countrySelectedIndexChanged); + // + // shop_name + // + this.shop_name.Location = new System.Drawing.Point(77, 41); + this.shop_name.MaxLength = 14; + this.shop_name.Name = "shop_name"; + this.shop_name.Size = new System.Drawing.Size(135, 20); + this.shop_name.TabIndex = 81; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.visitor); + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(503, 312); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "Visitor"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // tabPage3 + // + this.tabPage3.Controls.Add(this.npc_apply); + this.tabPage3.Controls.Add(this.label12); + this.tabPage3.Controls.Add(this.npc_text2); + this.tabPage3.Controls.Add(this.npc_text1); + this.tabPage3.Controls.Add(this.npc_spoken); + this.tabPage3.Controls.Add(this.label11); + this.tabPage3.Controls.Add(this.label10); + this.tabPage3.Controls.Add(this.label8); + this.tabPage3.Controls.Add(this.label7); + this.tabPage3.Controls.Add(this.npc_gender); + this.tabPage3.Controls.Add(this.npc_name); + this.tabPage3.Controls.Add(this.npc); + this.tabPage3.Location = new System.Drawing.Point(4, 22); + this.tabPage3.Name = "tabPage3"; + this.tabPage3.Padding = new System.Windows.Forms.Padding(3); + this.tabPage3.Size = new System.Drawing.Size(503, 312); + this.tabPage3.TabIndex = 2; + this.tabPage3.Text = "NPC"; + this.tabPage3.UseVisualStyleBackColor = true; + // + // npc_apply + // + this.npc_apply.Location = new System.Drawing.Point(6, 173); + this.npc_apply.Name = "npc_apply"; + this.npc_apply.Size = new System.Drawing.Size(67, 23); + this.npc_apply.TabIndex = 42; + this.npc_apply.Text = "Apply"; + this.npc_apply.UseVisualStyleBackColor = true; + this.npc_apply.Click += new System.EventHandler(this.Npc_applyClick); + // + // label12 + // + this.label12.Location = new System.Drawing.Point(6, 17); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(57, 23); + this.label12.TabIndex = 41; + this.label12.Text = "Slot"; + // + // npc_text2 + // + this.npc_text2.Location = new System.Drawing.Point(77, 117); + this.npc_text2.MaxLength = 14; + this.npc_text2.Name = "npc_text2"; + this.npc_text2.Size = new System.Drawing.Size(121, 20); + this.npc_text2.TabIndex = 40; + // + // npc_text1 + // + this.npc_text1.Location = new System.Drawing.Point(77, 91); + this.npc_text1.MaxLength = 14; + this.npc_text1.Name = "npc_text1"; + this.npc_text1.Size = new System.Drawing.Size(121, 20); + this.npc_text1.TabIndex = 39; + // + // npc_spoken + // + this.npc_spoken.Location = new System.Drawing.Point(77, 143); + this.npc_spoken.Name = "npc_spoken"; + this.npc_spoken.Size = new System.Drawing.Size(104, 24); + this.npc_spoken.TabIndex = 37; + this.npc_spoken.Text = "Spoken"; + this.npc_spoken.UseVisualStyleBackColor = true; + // + // label11 + // + this.label11.Location = new System.Drawing.Point(6, 120); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(57, 23); + this.label11.TabIndex = 36; + this.label11.Text = "Text 2"; + // + // label10 + // + this.label10.Location = new System.Drawing.Point(6, 94); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(57, 23); + this.label10.TabIndex = 35; + this.label10.Text = "Text 1"; + // + // label8 + // + this.label8.Location = new System.Drawing.Point(6, 67); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(57, 23); + this.label8.TabIndex = 33; + this.label8.Text = "Gender"; + // + // label7 + // + this.label7.Location = new System.Drawing.Point(6, 44); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(57, 23); + this.label7.TabIndex = 32; + this.label7.Text = "Name"; + // + // npc_gender + // + this.npc_gender.FormattingEnabled = true; + this.npc_gender.Items.AddRange(new object[] { + "Male", + "Female"}); + this.npc_gender.Location = new System.Drawing.Point(77, 64); + this.npc_gender.Name = "npc_gender"; + this.npc_gender.Size = new System.Drawing.Size(121, 21); + this.npc_gender.TabIndex = 31; + // + // npc_name + // + this.npc_name.Location = new System.Drawing.Point(77, 41); + this.npc_name.MaxLength = 14; + this.npc_name.Name = "npc_name"; + this.npc_name.Size = new System.Drawing.Size(121, 20); + this.npc_name.TabIndex = 30; + // + // tabPage4 + // + this.tabPage4.Controls.Add(this.helper); + this.tabPage4.Controls.Add(this.label20); + this.tabPage4.Controls.Add(this.helper_date); + this.tabPage4.Controls.Add(this.helper_subregion); + this.tabPage4.Controls.Add(this.helper_subregion_argentina); + this.tabPage4.Controls.Add(this.helper_subregion_australia); + this.tabPage4.Controls.Add(this.helper_subregion_brazil); + this.tabPage4.Controls.Add(this.helper_subregion_canada); + this.tabPage4.Controls.Add(this.helper_subregion_china); + this.tabPage4.Controls.Add(this.helper_subregion_germany); + this.tabPage4.Controls.Add(this.helper_subregion_spain); + this.tabPage4.Controls.Add(this.helper_subregion_finland); + this.tabPage4.Controls.Add(this.helper_subregion_france); + this.tabPage4.Controls.Add(this.helper_subregion_england); + this.tabPage4.Controls.Add(this.helper_subregion_india); + this.tabPage4.Controls.Add(this.helper_subregion_italy); + this.tabPage4.Controls.Add(this.helper_subregion_japan); + this.tabPage4.Controls.Add(this.helper_subregion_norway); + this.tabPage4.Controls.Add(this.helper_subregion_poland); + this.tabPage4.Controls.Add(this.helper_subregion_russia); + this.tabPage4.Controls.Add(this.helper_subregion_sweeden); + this.tabPage4.Controls.Add(this.label19); + this.tabPage4.Controls.Add(this.helper_sprite); + this.tabPage4.Controls.Add(this.label18); + this.tabPage4.Controls.Add(this.helper_subregion_USA); + this.tabPage4.Controls.Add(this.helper_met); + this.tabPage4.Controls.Add(this.label17); + this.tabPage4.Controls.Add(this.helper_apply); + this.tabPage4.Controls.Add(this.label9); + this.tabPage4.Controls.Add(this.helper_greet2); + this.tabPage4.Controls.Add(this.helper_greet1); + this.tabPage4.Controls.Add(this.label13); + this.tabPage4.Controls.Add(this.label14); + this.tabPage4.Controls.Add(this.label15); + this.tabPage4.Controls.Add(this.label16); + this.tabPage4.Controls.Add(this.helper_country); + this.tabPage4.Controls.Add(this.helper_name); + this.tabPage4.Location = new System.Drawing.Point(4, 22); + this.tabPage4.Name = "tabPage4"; + this.tabPage4.Padding = new System.Windows.Forms.Padding(3); + this.tabPage4.Size = new System.Drawing.Size(503, 312); + this.tabPage4.TabIndex = 3; + this.tabPage4.Text = "Helper"; + this.tabPage4.UseVisualStyleBackColor = true; + // + // helper + // + this.helper.FormattingEnabled = true; + this.helper.Items.AddRange(new object[] { + "Helper 1 (Registration)", + "Helper 2 (Shops)", + "Helper 3 (Organization)", + "Helper 4 (Healer)"}); + this.helper.Location = new System.Drawing.Point(77, 14); + this.helper.Name = "helper"; + this.helper.Size = new System.Drawing.Size(135, 21); + this.helper.TabIndex = 81; + this.helper.SelectedIndexChanged += new System.EventHandler(this.HelperSelectedIndexChanged); + // + // label20 + // + this.label20.Location = new System.Drawing.Point(222, 122); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(57, 23); + this.label20.TabIndex = 80; + this.label20.Text = "Met Date"; + // + // helper_date + // + this.helper_date.Location = new System.Drawing.Point(293, 119); + this.helper_date.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); + this.helper_date.Name = "helper_date"; + this.helper_date.Size = new System.Drawing.Size(200, 20); + this.helper_date.TabIndex = 79; + // + // helper_subregion + // + this.helper_subregion.FormattingEnabled = true; + this.helper_subregion.Items.AddRange(new object[] { + "0 None"}); + this.helper_subregion.Location = new System.Drawing.Point(293, 68); + this.helper_subregion.Name = "helper_subregion"; + this.helper_subregion.Size = new System.Drawing.Size(191, 21); + this.helper_subregion.TabIndex = 78; + // + // helper_subregion_argentina + // + this.helper_subregion_argentina.FormattingEnabled = true; + this.helper_subregion_argentina.Items.AddRange(new object[] { + "0 None", + "1 Buenos Aires", + "2 Ciudad Autónoma de Buenos Aires", + "3 Catamarca", + "4 Chaco", + "5 Chubut", + "6 Córdoba", + "7 Corrientes", + "8 Entre Ríos", + "9 Formosa", + "10 Jujuy", + "11 La Pampa", + "12 La Rioja", + "13 Mendoza", + "14 Misiones", + "15 Neuquén", + "16 Río Negro", + "17 Salta", + "18 San Juan", + "19 San Luis", + "20 Santa Cruz", + "21 Santa Fe", + "22 Santiago del Estero", + "23 Tierra del Fuego", + "24 Tucumán"}); + this.helper_subregion_argentina.Location = new System.Drawing.Point(472, 182); + this.helper_subregion_argentina.Name = "helper_subregion_argentina"; + this.helper_subregion_argentina.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_argentina.TabIndex = 77; + this.helper_subregion_argentina.Visible = false; + // + // helper_subregion_australia + // + this.helper_subregion_australia.FormattingEnabled = true; + this.helper_subregion_australia.Items.AddRange(new object[] { + "0 None", + "1 Australian Capital Territory", + "2 New South Wales", + "3 Northern Territory", + "4 Queensland", + "5 South Australia", + "6 Tasmania", + "7 Victoria", + "8 Western Australia"}); + this.helper_subregion_australia.Location = new System.Drawing.Point(424, 182); + this.helper_subregion_australia.Name = "helper_subregion_australia"; + this.helper_subregion_australia.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_australia.TabIndex = 76; + this.helper_subregion_australia.Visible = false; + // + // helper_subregion_brazil + // + this.helper_subregion_brazil.FormattingEnabled = true; + this.helper_subregion_brazil.Items.AddRange(new object[] { + "0 None", + "1 Acre", + "2 Rondônia", + "3 Alagoas", + "4 Amapá", + "5 Amazonas", + "6 Bahia", + "7 Ceará", + "8 Federal District", + "9 Espírito Santo", + "10 Goias", + "11 Maranhão", + "12 Mato Grosso", + "13 Mato Grosso do Sul", + "14 Minas Gerais", + "15 Pará", + "16 Paraíba", + "17 Paraná", + "18 Pernambuco", + "19 Piauí", + "20 Rio de Janeiro", + "21 Rio Grande do Sul", + "22 Rio Grande do Norte", + "23 Roraima", + "24 Santa Catarina", + "25 São Paulo", + "26 Sergipe", + "27 Tocantins"}); + this.helper_subregion_brazil.Location = new System.Drawing.Point(376, 182); + this.helper_subregion_brazil.Name = "helper_subregion_brazil"; + this.helper_subregion_brazil.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_brazil.TabIndex = 75; + this.helper_subregion_brazil.Visible = false; + // + // helper_subregion_canada + // + this.helper_subregion_canada.FormattingEnabled = true; + this.helper_subregion_canada.Items.AddRange(new object[] { + "0 None", + "1 Alberta", + "2 British Columbia", + "3 Manitoba", + "4 New Brunswick", + "5 Newfoundland and Labrador", + "6 Northwest Territories", + "7 Nova Scotia", + "8 Nunavut", + "9 Ontario", + "10 Prince Edward Island", + "11 Quebec", + "12 Saskatchewan", + "13 Yukon"}); + this.helper_subregion_canada.Location = new System.Drawing.Point(328, 182); + this.helper_subregion_canada.Name = "helper_subregion_canada"; + this.helper_subregion_canada.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_canada.TabIndex = 74; + this.helper_subregion_canada.Visible = false; + // + // helper_subregion_china + // + this.helper_subregion_china.FormattingEnabled = true; + this.helper_subregion_china.Items.AddRange(new object[] { + "0 None", + "1 Anhui", + "2 Beijing", + "3 Chongqing", + "4 Fujian", + "5 Gansu", + "6 Guangdong", + "7 Guangxi", + "8 Guizhou", + "9 Hainan", + "10 Hebei", + "11 Heilongjiang", + "12 Henan", + "13 Hubei", + "14 Hunan", + "15 Jiangsu", + "16 Jiangxi", + "17 Jilin", + "18 Liaoning", + "19 Inner Mongolia", + "20 Ningxia", + "21 Qinghai", + "22 Shaanxi", + "23 Shandong", + "24 Shanghai", + "25 Shanxi", + "26 Sichuan", + "27 Tianjin", + "28 Xinjiang", + "29 Tibet", + "30 Yunnan", + "31 Zhejiang", + "32 Hong Kong", + "33 Macau"}); + this.helper_subregion_china.Location = new System.Drawing.Point(280, 182); + this.helper_subregion_china.Name = "helper_subregion_china"; + this.helper_subregion_china.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_china.TabIndex = 73; + this.helper_subregion_china.Visible = false; + // + // helper_subregion_germany + // + this.helper_subregion_germany.FormattingEnabled = true; + this.helper_subregion_germany.Items.AddRange(new object[] { + "0 None", + "1 Baden-Württemberg", + "2 Bayern", + "3 Berlin", + "4 Brandenburg", + "5 Bremen", + "6 Hamburg", + "7 Hesse", + "8 Mecklenburg-West Pomerania", + "9 Lower Saxony", + "10 North Rhine-Westphalia", + "11 Rhineland-Palatinate", + "12 Saarland", + "13 Saxony", + "14 Saxony-Anhalt", + "15 Schleswig-Holstein", + "16 Thuringia"}); + this.helper_subregion_germany.Location = new System.Drawing.Point(232, 182); + this.helper_subregion_germany.Name = "helper_subregion_germany"; + this.helper_subregion_germany.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_germany.TabIndex = 72; + this.helper_subregion_germany.Visible = false; + // + // helper_subregion_spain + // + this.helper_subregion_spain.FormattingEnabled = true; + this.helper_subregion_spain.Items.AddRange(new object[] { + "0 None", + "1 Andalusia", + "2 Aragon", + "3 Asturias", + "4 Balearic Islands", + "5 Basque Country", + "6 Canary Islands", + "7 Cantabria", + "8 Castile-La Mancha", + "9 Castile and León", + "10 Catalonia", + "11 Extremadura", + "12 Galicia", + "13 Madrid", + "14 Murcia", + "15 Navarre", + "16 La Rioja", + "17 Valencia"}); + this.helper_subregion_spain.Location = new System.Drawing.Point(184, 182); + this.helper_subregion_spain.Name = "helper_subregion_spain"; + this.helper_subregion_spain.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_spain.TabIndex = 71; + this.helper_subregion_spain.Visible = false; + // + // helper_subregion_finland + // + this.helper_subregion_finland.FormattingEnabled = true; + this.helper_subregion_finland.Items.AddRange(new object[] { + "0 None", + "1 Åland Islands", + "2 Lapland", + "3 East Finland", + "4 South Finland", + "5 Oulu", + "6 West Finland"}); + this.helper_subregion_finland.Location = new System.Drawing.Point(136, 182); + this.helper_subregion_finland.Name = "helper_subregion_finland"; + this.helper_subregion_finland.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_finland.TabIndex = 70; + this.helper_subregion_finland.Visible = false; + // + // helper_subregion_france + // + this.helper_subregion_france.FormattingEnabled = true; + this.helper_subregion_france.Items.AddRange(new object[] { + "0 None", + "1 Aquitaine", + "2 Alsace", + "3 Île-de-France", + "4 Auvergne", + "5 Corse", + "6 Champagne-Ardenne", + "7 Nord-Pas-de-Calais", + "8 Lower Normandy", + "9 Upper Normandy", + "10 Picardy", + "11 Franche-Comté", + "12 Burgundy", + "13 Brittany", + "14 Provence-Alpes-Côte d\'Azur", + "15 Pays-de-la-Loire", + "16 Poitou-Charentes", + "17 Midi-Pyrenees", + "18 Languedoc-Roussillon", + "19 Limousin", + "20 Rhône-Alpes", + "21 Lorraine", + "22 Centre"}); + this.helper_subregion_france.Location = new System.Drawing.Point(88, 182); + this.helper_subregion_france.Name = "helper_subregion_france"; + this.helper_subregion_france.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_france.TabIndex = 69; + this.helper_subregion_france.Visible = false; + // + // helper_subregion_england + // + this.helper_subregion_england.FormattingEnabled = true; + this.helper_subregion_england.Items.AddRange(new object[] { + "0 None", + "1 East of England", + "2 East Midlands", + "3 Greater London", + "4 North East England", + "5 North West England", + "6 Northern Ireland", + "7 Scotland", + "8 South East England", + "9 South West England", + "10 Wales", + "11 West Midlands", + "12 Yorkshire and the Humber"}); + this.helper_subregion_england.Location = new System.Drawing.Point(472, 155); + this.helper_subregion_england.Name = "helper_subregion_england"; + this.helper_subregion_england.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_england.TabIndex = 68; + this.helper_subregion_england.Visible = false; + // + // helper_subregion_india + // + this.helper_subregion_india.FormattingEnabled = true; + this.helper_subregion_india.Items.AddRange(new object[] { + "0 None", + "1 Andaman and Nicobar Islands", + "2 Andhra Pradesh", + "3 Arunachal Pradesh", + "4 Assam", + "5 Bihar", + "6 Chandigarh", + "7 Chhattisgarh", + "8 Dadra and Nagar Haveli", + "9 Daman and Diu", + "10 Delhi", + "11 Goa", + "12 Gujarat", + "13 Haryana", + "14 Himachal Pradesh", + "15 Jammu and Kashmir", + "16 Jharkhand", + "17 Karnataka", + "18 Kerala", + "19 Lakshadweep", + "20 Madhya Pradesh", + "21 Maharashtra", + "22 Meghalaya", + "23 Mizoram", + "24 Manipur", + "25 Nagaland", + "26 Orissa", + "27 Puducherry", + "28 Punjab", + "29 Rajasthan", + "30 Sikkim", + "31 Tamil Nadu", + "32 Tripura", + "33 Uttar Pradesh", + "34 Uttarakhand", + "35 West Bengal"}); + this.helper_subregion_india.Location = new System.Drawing.Point(424, 155); + this.helper_subregion_india.Name = "helper_subregion_india"; + this.helper_subregion_india.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_india.TabIndex = 67; + this.helper_subregion_india.Visible = false; + // + // helper_subregion_italy + // + this.helper_subregion_italy.FormattingEnabled = true; + this.helper_subregion_italy.Items.AddRange(new object[] { + "0 None", + "1 Abruzzo", + "2 Basilicata", + "3 Calabria", + "4 Campania", + "5 Emilia-Romagna", + "6 Friuli-Venezia Giulia", + "7 Lazio", + "8 Liguria", + "9 Lombardy", + "10 Marche", + "11 Molise", + "12 Piedmont", + "13 Apulia", + "14 Sardinia", + "15 Sicily", + "16 Tuscany", + "17 Trentino-Alto Adige", + "18 Umbria", + "19 Valle d\'Aosta", + "20 Veneto"}); + this.helper_subregion_italy.Location = new System.Drawing.Point(376, 155); + this.helper_subregion_italy.Name = "helper_subregion_italy"; + this.helper_subregion_italy.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_italy.TabIndex = 66; + this.helper_subregion_italy.Visible = false; + // + // helper_subregion_japan + // + this.helper_subregion_japan.FormattingEnabled = true; + this.helper_subregion_japan.Items.AddRange(new object[] { + "0 None ", + "1 Hokkaido (Sapporo)", + "2 Hokkaido (Hakodate)", + "3 Hokkaido (Wakkanai)", + "4 Hokkaido (Kushiro)", + "5 Aomori ", + "6 Iwate ", + "7 Miyagi ", + "8 Akita ", + "9 Yamagata ", + "10 Fukushima ", + "11 Ibaraki ", + "12 Tochigi ", + "13 Gunma ", + "14 Saitama ", + "15 Chiba ", + "16 Tokyo ", + "17 Kanagawa ", + "18 Niigata ", + "19 Toyama ", + "20 Ishikawa ", + "21 Fukui ", + "22 Yamanashi ", + "23 Nagano ", + "24 Gifu ", + "25 Shizuoka ", + "26 Aichi ", + "27 Mie ", + "28 Shiga ", + "29 Kyoto ", + "30 Osaka ", + "31 Hyogo ", + "32 Nara ", + "33 Wakayama ", + "34 Tottori ", + "35 Shimane ", + "36 Okayama ", + "37 Hiroshima ", + "38 Yamaguchi ", + "39 Tokushima ", + "40 Kagawa ", + "41 Ehime ", + "42 Kochi ", + "43 Fukuoka ", + "44 Saga ", + "45 Nagasaki ", + "46 Kumamoto ", + "47 Oita ", + "48 Miyazaki ", + "49 Kagoshima ", + "50 Okinawa"}); + this.helper_subregion_japan.Location = new System.Drawing.Point(328, 155); + this.helper_subregion_japan.Name = "helper_subregion_japan"; + this.helper_subregion_japan.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_japan.TabIndex = 65; + this.helper_subregion_japan.Visible = false; + // + // helper_subregion_norway + // + this.helper_subregion_norway.FormattingEnabled = true; + this.helper_subregion_norway.Items.AddRange(new object[] { + "0 None", + "1 Akershus", + "2 Aust-Agder", + "3 Buskerud", + "4 Finnmark", + "5 Hedmark", + "6 Hordaland", + "7 Jan Mayen Island", + "8 Lofoten", + "9 Møre og Romsdal", + "10 Nordland", + "11 Nord-Trøndelag", + "12 Oppland", + "13 Oslo", + "14 Rogaland", + "15 Sogn og Fjordane", + "16 Sør-Trøndelag", + "17 Svalbard", + "18 Telemark", + "19 Troms", + "20 Vest-Agder", + "21 Vestfold", + "22 Østfold"}); + this.helper_subregion_norway.Location = new System.Drawing.Point(280, 155); + this.helper_subregion_norway.Name = "helper_subregion_norway"; + this.helper_subregion_norway.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_norway.TabIndex = 64; + this.helper_subregion_norway.Visible = false; + // + // helper_subregion_poland + // + this.helper_subregion_poland.FormattingEnabled = true; + this.helper_subregion_poland.Items.AddRange(new object[] { + "0 None", + "1 Lower Silesia", + "2 Kuyavia-Pomerania", + "3 Lublin", + "4 Lubusz", + "5 Lodz", + "6 Lesser Poland", + "7 Masovia", + "8 Opole", + "9 Subcarpathia", + "10 Podlachia", + "11 Pomerania", + "12 Silesia", + "13 Holy Cross", + "14 Warmia-Masuria", + "15 Greater Poland", + "16 West Pomerania"}); + this.helper_subregion_poland.Location = new System.Drawing.Point(232, 155); + this.helper_subregion_poland.Name = "helper_subregion_poland"; + this.helper_subregion_poland.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_poland.TabIndex = 63; + this.helper_subregion_poland.Visible = false; + // + // helper_subregion_russia + // + this.helper_subregion_russia.FormattingEnabled = true; + this.helper_subregion_russia.Items.AddRange(new object[] { + "0 None", + "1 Central Federal District", + "2 Far Eastern Federal District", + "3 Northwestern Federal District", + "4 Volga Federal District", + "5 Siberian Federal District", + "6 Southern Federal District", + "7 Urals Federal District", + "8 North Caucasian Federal District"}); + this.helper_subregion_russia.Location = new System.Drawing.Point(184, 155); + this.helper_subregion_russia.Name = "helper_subregion_russia"; + this.helper_subregion_russia.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_russia.TabIndex = 62; + this.helper_subregion_russia.Visible = false; + // + // helper_subregion_sweeden + // + this.helper_subregion_sweeden.FormattingEnabled = true; + this.helper_subregion_sweeden.Items.AddRange(new object[] { + "0 None", + "1 Blekinge", + "2 Dalarna", + "3 Gävleborg", + "4 Gotland", + "5 Halland", + "6 Jamtland", + "7 Jönköping", + "8 Kalmar", + "9 Kronoberg", + "10 Norrbotten", + "11 Oland", + "12 Örebro", + "13 Östergötland", + "14 Skane", + "15 Sodermanland", + "16 Stockholm", + "17 Uppsala", + "18 Varmland", + "19 Vasterbotten", + "20 Västernorrland", + "21 Vastmanland", + "22 Västra Götaland"}); + this.helper_subregion_sweeden.Location = new System.Drawing.Point(136, 155); + this.helper_subregion_sweeden.Name = "helper_subregion_sweeden"; + this.helper_subregion_sweeden.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_sweeden.TabIndex = 61; + this.helper_subregion_sweeden.Visible = false; + // + // label19 + // + this.label19.Location = new System.Drawing.Point(222, 97); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(57, 23); + this.label19.TabIndex = 60; + this.label19.Text = "Sprite"; + // + // helper_sprite + // + this.helper_sprite.Location = new System.Drawing.Point(293, 95); + this.helper_sprite.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.helper_sprite.Name = "helper_sprite"; + this.helper_sprite.Size = new System.Drawing.Size(47, 20); + this.helper_sprite.TabIndex = 59; + // + // label18 + // + this.label18.Location = new System.Drawing.Point(222, 71); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(57, 23); + this.label18.TabIndex = 58; + this.label18.Text = "Subregion"; + // + // helper_subregion_USA + // + this.helper_subregion_USA.FormattingEnabled = true; + this.helper_subregion_USA.Items.AddRange(new object[] { + "0 None", + "1 Alabama", + "2 Alaska", + "3 Arizona", + "4 Arkansas", + "5 California", + "6 Colorado", + "7 Connecticut", + "8 Delaware", + "9 Florida", + "10 Georgia", + "11 Hawaii", + "12 Idaho", + "13 Illinois", + "14 Indiana", + "15 Iowa", + "16 Kansas", + "17 Kentucky", + "18 Louisiana", + "19 Maine", + "20 Maryland", + "21 Massachusetts", + "22 Michigan", + "23 Minnesota", + "24 Mississippi", + "25 Missouri", + "26 Montana", + "27 Nebraska", + "28 Nevada", + "29 New Hampshire", + "30 New Jersey", + "31 New Mexico", + "32 New York", + "33 North Carolina", + "34 North Dakota", + "35 Ohio", + "36 Oklahoma", + "37 Oregon", + "38 Pennsylvania", + "39 Rhode Island", + "40 South Carolina", + "41 South Dakota", + "42 Tennessee", + "43 Texas", + "44 Utah", + "45 Vermont", + "46 Virginia", + "47 Washington", + "48 Washington, DC", + "49 West Virginia", + "50 Wisconsin", + "51 Wyoming"}); + this.helper_subregion_USA.Location = new System.Drawing.Point(88, 155); + this.helper_subregion_USA.Name = "helper_subregion_USA"; + this.helper_subregion_USA.Size = new System.Drawing.Size(42, 21); + this.helper_subregion_USA.TabIndex = 57; + this.helper_subregion_USA.Visible = false; + // + // helper_met + // + this.helper_met.Location = new System.Drawing.Point(77, 67); + this.helper_met.MaxLength = 14; + this.helper_met.Name = "helper_met"; + this.helper_met.Size = new System.Drawing.Size(135, 20); + this.helper_met.TabIndex = 56; + // + // label17 + // + this.label17.Location = new System.Drawing.Point(6, 70); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(57, 23); + this.label17.TabIndex = 55; + this.label17.Text = "Met text"; + // + // helper_apply + // + this.helper_apply.Location = new System.Drawing.Point(6, 173); + this.helper_apply.Name = "helper_apply"; + this.helper_apply.Size = new System.Drawing.Size(67, 23); + this.helper_apply.TabIndex = 54; + this.helper_apply.Text = "Apply"; + this.helper_apply.UseVisualStyleBackColor = true; + this.helper_apply.Click += new System.EventHandler(this.Helper_applyClick); + // + // label9 + // + this.label9.Location = new System.Drawing.Point(6, 17); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(57, 23); + this.label9.TabIndex = 53; + this.label9.Text = "Slot"; + // + // helper_greet2 + // + this.helper_greet2.Location = new System.Drawing.Point(77, 119); + this.helper_greet2.MaxLength = 14; + this.helper_greet2.Name = "helper_greet2"; + this.helper_greet2.Size = new System.Drawing.Size(135, 20); + this.helper_greet2.TabIndex = 52; + // + // helper_greet1 + // + this.helper_greet1.Location = new System.Drawing.Point(77, 93); + this.helper_greet1.MaxLength = 14; + this.helper_greet1.Name = "helper_greet1"; + this.helper_greet1.Size = new System.Drawing.Size(135, 20); + this.helper_greet1.TabIndex = 51; + // + // label13 + // + this.label13.Location = new System.Drawing.Point(6, 122); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(57, 23); + this.label13.TabIndex = 49; + this.label13.Text = "Greeting 2"; + // + // label14 + // + this.label14.Location = new System.Drawing.Point(6, 96); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(57, 23); + this.label14.TabIndex = 48; + this.label14.Text = "Greeting 1"; + // + // label15 + // + this.label15.Location = new System.Drawing.Point(222, 44); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(57, 23); + this.label15.TabIndex = 47; + this.label15.Text = "Country"; + // + // label16 + // + this.label16.Location = new System.Drawing.Point(6, 44); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(57, 23); + this.label16.TabIndex = 46; + this.label16.Text = "Name"; + // + // helper_country + // + this.helper_country.FormattingEnabled = true; + this.helper_country.Items.AddRange(new object[] { + "0 None", + "1 Afghanistan", + "2 Albania", + "3 Algeria", + "4 American Samoa", + "5 Andorra", + "6 Angola", + "7 Anguilla", + "8 Antigua and Barbuda", + "9 Argentina", + "10 Armenia", + "11 Aruba", + "12 Australia", + "13 Austria", + "14 Azerbaijan", + "15 Bahamas", + "16 Bahrain", + "17 Bangladesh", + "18 Barbados", + "19 Belarus", + "20 Belgium", + "21 Belize", + "22 Benin", + "23 Bermuda", + "24 Bhutan", + "25 Bolivia", + "26 Bosnia and Herzegovina", + "27 Botswana", + "28 Brazil", + "29 British Virgin Islands", + "30 Brunei Darussalam", + "31 Bulgaria", + "32 Burkina Faso", + "33 Burundi", + "34 Cambodia", + "35 Cameroon", + "36 Canada", + "37 Cape Verde", + "38 Cayman Islands", + "39 Central African Republic", + "40 Chad", + "41 Channel Islands", + "42 Chile", + "43 China", + "44 Christmas Island", + "45 Colombia", + "46 Comoros", + "47 Congo", + "48 Cook Islands", + "49 Costa Rica", + "50 Cote d\'Ivoire", + "51 Croatia", + "52 Cuba", + "53 Cyprus", + "54 Czech Republic", + "55 North Korea", + "56 Democratic Republic of the Congo", + "57 Timor-Leste", + "58 Denmark", + "59 Djibouti", + "60 Dominica", + "61 Dominican Republic", + "62 Ecuador", + "63 Egypt", + "64 El Salvador", + "65 Equatorial Guinea", + "66 Eritrea", + "67 Estonia", + "68 Ethiopia", + "69 Falkland Islands", + "70 Faroe Islands", + "71 Fiji", + "72 Finland", + "73 France", + "74 French Guiana", + "75 French Polynesia", + "76 Gabon", + "77 Gambia", + "78 Georgia", + "79 Germany", + "80 Ghana", + "81 Gibraltar", + "82 Greece", + "83 Greenland", + "84 Grenada", + "85 Guadeloupe", + "86 Guam", + "87 Guatemala", + "88 Guinea", + "89 Guinea-Bissau", + "90 Guyana", + "91 Haiti", + "92 Honduras", + "93 Hungary", + "94 Iceland", + "95 India", + "96 Indonesia", + "97 Iran", + "98 Iraq", + "99 Ireland", + "100 Isle of Man", + "101 Israel", + "102 Italy", + "103 Jamaica", + "104 Jan Mayen Island", + "105 Japan", + "106 Jordan", + "107 Kashmir", + "108 Kazakhstan", + "109 Kenya", + "110 Kiribati", + "111 Kuwait", + "112 Kyrgyzstan", + "113 Laos", + "114 Latvia", + "115 Lebanon", + "116 Lesotho", + "117 Liberia", + "118 Libya", + "119 Liechtenstein", + "120 Lithuania", + "121 Luxembourg", + "122 Macedonia (FYROM)", + "123 Madagascar", + "124 Malawi", + "125 Malaysia", + "126 Maldives", + "127 Mali", + "128 Malta", + "129 Marshall Islands", + "130 Martinique", + "131 Mauritania", + "132 Mauritius", + "133 Mayotte", + "134 Mexico", + "135 Micronesia", + "136 Monaco", + "137 Mongolia", + "138 Montenegro", + "139 Morocco", + "140 Mozambique", + "141 Myanmar", + "142 Namibia", + "143 Nauru", + "144 Nepal", + "145 Netherlands", + "146 Netherlands Antilles", + "147 New Caledonia", + "148 New Zealand", + "149 Nicaragua", + "150 Niger", + "151 Nigeria", + "152 Niue", + "153 Norfolk Island", + "154 Northern Mariana Islands", + "155 Norway", + "156 Oman", + "157 Pakistan", + "158 Palau", + "159 Palestine", + "160 Panama", + "161 Papua New Guinea", + "162 Paraguay", + "163 Peru", + "164 Philippines", + "165 Pitcairn Islands", + "166 Poland", + "167 Portugal", + "168 Puerto Rico", + "169 Qatar", + "170 South Korea", + "171 Moldova", + "172 Reunion", + "173 Romania", + "174 Russian Federation", + "175 Rwanda", + "176 Saint Helena", + "177 Saint Kitts and Nevis", + "178 Saint Lucia", + "179 Saint Vincent and the Grenadines", + "180 Saint Pierre and Miquelon", + "181 Samoa", + "182 San Marino", + "183 Sao Tome and Principe", + "184 Saudi Arabia", + "185 Senegal", + "186 Serbia", + "187 Seychelles", + "188 Sierra Leone", + "189 Singapore", + "190 Slovakia", + "191 Slovenia", + "192 Solomon Islands", + "193 Somalia", + "194 South Africa", + "195 Spain", + "196 Sri Lanka", + "197 Sudan", + "198 Suriname", + "199 Swaziland", + "200 Sweden", + "201 Switzerland", + "202 Syria", + "203 Taiwan", + "204 Tajikistan", + "205 Thailand", + "206 Togo", + "207 Tokelau", + "208 Tonga", + "209 Trinidad and Tobago", + "210 Tunisia", + "211 Turkey", + "212 Turkmenistan", + "213 Turks and Caicos Islands", + "214 Tuvalu", + "215 Uganda", + "216 Ukraine", + "217 United Arab Emirates", + "218 United Kingdom", + "219 Tanzania", + "220 United States of America", + "221 United States Virgin Islands", + "222 Uruguay", + "223 Uzbekistan", + "224 Vanuatu", + "225 Holy See (Vatican City State)", + "226 Venezuela", + "227 Vietnam", + "228 Wallis and Futuna", + "229 Western Sahara", + "230 Yemen", + "231 Zambia", + "232 Zimbabwe"}); + this.helper_country.Location = new System.Drawing.Point(293, 41); + this.helper_country.Name = "helper_country"; + this.helper_country.Size = new System.Drawing.Size(191, 21); + this.helper_country.TabIndex = 45; + this.helper_country.SelectedIndexChanged += new System.EventHandler(this.Helper_countrySelectedIndexChanged); + // + // helper_name + // + this.helper_name.Location = new System.Drawing.Point(77, 41); + this.helper_name.MaxLength = 14; + this.helper_name.Name = "helper_name"; + this.helper_name.Size = new System.Drawing.Size(135, 20); + this.helper_name.TabIndex = 44; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.label6); + this.groupBox1.Controls.Add(this.label5); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.title); + this.groupBox1.Controls.Add(this.name); + this.groupBox1.Controls.Add(this.Impressed); + this.groupBox1.Controls.Add(this.favorite); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.color); + this.groupBox1.Controls.Add(this.rank); + this.groupBox1.Location = new System.Drawing.Point(12, 74); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(277, 185); + this.groupBox1.TabIndex = 44; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Join Avenue"; + // + // Join_avenue + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(824, 358); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.Exit_but); + this.Controls.Add(this.Saveexit_but); + this.Name = "Join_avenue"; + this.Text = "Join Avenue Editor"; + ((System.ComponentModel.ISupportInitialize)(this.rank)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.npc)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.shop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.visitor)).EndInit(); + this.tabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.shop_exp)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.shop_recruit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.shop_sprite)).EndInit(); + this.tabPage2.ResumeLayout(false); + this.tabPage3.ResumeLayout(false); + this.tabPage3.PerformLayout(); + this.tabPage4.ResumeLayout(false); + this.tabPage4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.helper_sprite)).EndInit(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.ResumeLayout(false); + + } + } +} diff --git a/BW_tool/Editors/Join_avenue.cs b/BW_tool/Editors/Join_avenue.cs new file mode 100644 index 0000000..8fb3b26 --- /dev/null +++ b/BW_tool/Editors/Join_avenue.cs @@ -0,0 +1,1243 @@ +/* + * Created by SharpDevelop. + * User: LAURA + * Date: 16/06/2016 + * Time: 21:04 + * + * To change this template use Tools | Options | Coding | Edit Standard Headers. + */ +using System; +using System.Drawing; +using System.Windows.Forms; +using System.Linq; +using System.Text; + +using System.Collections.Generic; + +namespace BW_tool +{ + /// + /// Description of Join_avenue. + /// + public partial class Join_avenue : Form + { + AVENUE ja; + int avenue_block = 67; + public Join_avenue() + { + // + // The InitializeComponent() call is required for Windows Forms designer support. + // + + InitializeComponent(); + + ja = new AVENUE(MainForm.save.getBlock(avenue_block)); + load_data(); + + + // + // TODO: Add constructor code after the InitializeComponent() call. + // + } + + void load_npc() + { + npc_name.Text = ja.npc[(int)npc.Value].name; + npc_gender.SelectedIndex = ja.npc[(int)npc.Value].gender; + npc_text1.Text = ja.npc[(int)npc.Value].text1; + npc_text1.Text = ja.npc[(int)npc.Value].text2; + npc_spoken.Checked = ja.npc[(int)npc.Value].spoken; + } + void set_npc() + { + ja.npc[(int)npc.Value].name = npc_name.Text; + ja.npc[(int)npc.Value].gender = npc_gender.SelectedIndex; + ja.npc[(int)npc.Value].text1 = npc_text1.Text; + ja.npc[(int)npc.Value].text2 = npc_text1.Text; + ja.npc[(int)npc.Value].spoken = npc_spoken.Checked; + } + void Npc_applyClick(object sender, EventArgs e) + { + set_npc(); + } + void NpcValueChanged(object sender, EventArgs e) + { + load_npc(); + } + + void load_data() + { + rank.Value = ja.rank; + color.SelectedIndex = ja.color; + favorite.Text = ja.fav_phrase; + Impressed.Text = ja.imp_phrase; + title.Text = ja.title; + name.Text = ja.name; + + load_shop(); + load_npc(); + load_helper(); + + shop.Value = 0; + npc.Value = 0; + helper.SelectedIndex = 0; + } + void set_data() + { + ja.rank = (int)rank.Value; + ja.color = color.SelectedIndex; + ja.fav_phrase = favorite.Text; + ja.imp_phrase = Impressed.Text; + ja.title = title.Text; + ja.name = name.Text; + + ja.set_people(); + } + void Exit_butClick(object sender, EventArgs e) + { + this.Close(); + } + void Saveexit_butClick(object sender, EventArgs e) + { + MainForm.save.setBlock(ja.Data, avenue_block); + this.Close(); + } + void Helper_countrySelectedIndexChanged(object sender, EventArgs e) + { + + helper_subregion.SelectedIndex = 0; + helper_subregion.Items.Clear(); + object[] a; + switch (helper_country.SelectedIndex) + { + case 9: + a= new object[helper_subregion_argentina.Items.Count]; + helper_subregion_argentina.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 12: + a = new object[helper_subregion_australia.Items.Count]; + helper_subregion_australia.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 28: + a = new object[helper_subregion_brazil.Items.Count]; + helper_subregion_brazil.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 36: + a = new object[helper_subregion_canada.Items.Count]; + helper_subregion_canada.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 43: + a = new object[helper_subregion_china.Items.Count]; + helper_subregion_china.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 72: + a = new object[helper_subregion_finland.Items.Count]; + helper_subregion_finland.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 73: + a = new object[helper_subregion_france.Items.Count]; + helper_subregion_france.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 79: + a = new object[helper_subregion_germany.Items.Count]; + helper_subregion_germany.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 95: + a = new object[helper_subregion_india.Items.Count]; + helper_subregion_india.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 102: + a = new object[helper_subregion_italy.Items.Count]; + helper_subregion_italy.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 105: + a = new object[helper_subregion_japan.Items.Count]; + helper_subregion_japan.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 155: + a = new object[helper_subregion_norway.Items.Count]; + helper_subregion_norway.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 166: + a = new object[helper_subregion_poland.Items.Count]; + helper_subregion_poland.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 174: + a = new object[helper_subregion_russia.Items.Count]; + helper_subregion_russia.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 195: + a = new object[helper_subregion_spain.Items.Count]; + helper_subregion_spain.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 200: + a = new object[helper_subregion_sweeden.Items.Count]; + helper_subregion_sweeden.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 218: + a = new object[helper_subregion_england.Items.Count]; + helper_subregion_england.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + case 220: + a = new object[helper_subregion_USA.Items.Count]; + helper_subregion_USA.Items.CopyTo(a,0); + helper_subregion.Items.AddRange(a); + break; + default: + helper_subregion.Items.Add("0 None"); + break; + } + } + void load_helper() + { + + helper_name.Text = ja.helper[helper_value].name; + helper_met.Text = ja.helper[helper_value].text0; + helper_greet1.Text = ja.helper[helper_value].text1; + helper_greet2.Text = ja.helper[helper_value].text2; + helper_sprite.Value = ja.helper[helper_value].sprite; + helper_country.SelectedIndex = ja.helper[helper_value].country; + helper_subregion.SelectedIndex = ja.helper[helper_value].subregion; + helper_date.Value = ja.helper[helper_value].met; + } + void set_helper() + { + ja.helper[helper_value].name = helper_name.Text; + ja.helper[helper_value].text0 = helper_met.Text; + ja.helper[helper_value].text1 = helper_greet1.Text; + ja.helper[helper_value].text2 = helper_greet2.Text; + ja.helper[helper_value].sprite = (int)helper_sprite.Value; + ja.helper[helper_value].country = helper_country.SelectedIndex; + ja.helper[helper_value].subregion = helper_subregion.SelectedIndex; + ja.helper[helper_value].met = helper_date.Value; + } + void Helper_applyClick(object sender, EventArgs e) + { + set_helper(); + } + int helper_value = 0; + void HelperSelectedIndexChanged(object sender, EventArgs e) + { + helper_value = helper.SelectedIndex; + load_helper(); + } + + //SHOP + void Shop_countrySelectedIndexChanged(object sender, EventArgs e) + { + + shop_subregion.SelectedIndex = 0; + shop_subregion.Items.Clear(); + object[] a; + switch (shop_country.SelectedIndex) + { + case 9: + a= new object[helper_subregion_argentina.Items.Count]; + helper_subregion_argentina.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 12: + a = new object[helper_subregion_australia.Items.Count]; + helper_subregion_australia.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 28: + a = new object[helper_subregion_brazil.Items.Count]; + helper_subregion_brazil.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 36: + a = new object[helper_subregion_canada.Items.Count]; + helper_subregion_canada.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 43: + a = new object[helper_subregion_china.Items.Count]; + helper_subregion_china.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 72: + a = new object[helper_subregion_finland.Items.Count]; + helper_subregion_finland.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 73: + a = new object[helper_subregion_france.Items.Count]; + helper_subregion_france.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 79: + a = new object[helper_subregion_germany.Items.Count]; + helper_subregion_germany.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 95: + a = new object[helper_subregion_india.Items.Count]; + helper_subregion_india.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 102: + a = new object[helper_subregion_italy.Items.Count]; + helper_subregion_italy.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 105: + a = new object[helper_subregion_japan.Items.Count]; + helper_subregion_japan.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 155: + a = new object[helper_subregion_norway.Items.Count]; + helper_subregion_norway.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 166: + a = new object[helper_subregion_poland.Items.Count]; + helper_subregion_poland.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 174: + a = new object[helper_subregion_russia.Items.Count]; + helper_subregion_russia.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 195: + a = new object[helper_subregion_spain.Items.Count]; + helper_subregion_spain.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 200: + a = new object[helper_subregion_sweeden.Items.Count]; + helper_subregion_sweeden.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 218: + a = new object[helper_subregion_england.Items.Count]; + helper_subregion_england.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + case 220: + a = new object[helper_subregion_USA.Items.Count]; + helper_subregion_USA.Items.CopyTo(a,0); + shop_subregion.Items.AddRange(a); + break; + default: + shop_subregion.Items.Add("0 None"); + break; + } + } + void load_shop() + { + + shop_name.Text = ja.shop[(int)shop.Value].name; + shop_shout.Text = ja.shop[(int)shop.Value].shout; + shop_greeting.Text = ja.shop[(int)shop.Value].greeting; + shop_farewell.Text = ja.shop[(int)shop.Value].farewell; + shop_gender.SelectedIndex = ja.shop[(int)shop.Value].gender; + + shop_country.SelectedIndex = ja.shop[(int)shop.Value].country; + shop_subregion.SelectedIndex = ja.shop[(int)shop.Value].subregion; + shop_sprite.Value = ja.shop[(int)shop.Value].sprite; + shop_date.Value = ja.shop[(int)shop.Value].met; + shop_recruit.Value = ja.shop[(int)shop.Value].recruitlvl; + + shop_type.SelectedIndex = ja.shop[(int)shop.Value].shop_version; + shop_rank.SelectedIndex = ja.shop[(int)shop.Value].shop_level; + shop_store.SelectedIndex = ja.shop[(int)shop.Value].shop_type; + shop_exp.Value = ja.shop[(int)shop.Value].shop_exp; + shop_ishuman.Checked = ja.shop[(int)shop.Value].isplayer; + shop_inventory.Checked = ja.shop[(int)shop.Value].inventory; + + } + void set_shop() + { + ja.shop[(int)shop.Value].name = shop_name.Text; + ja.shop[(int)shop.Value].shout = shop_shout.Text; + ja.shop[(int)shop.Value].greeting = shop_greeting.Text; + ja.shop[(int)shop.Value].farewell = shop_farewell.Text; + ja.shop[(int)shop.Value].gender = shop_gender.SelectedIndex; + + + ja.shop[(int)shop.Value].country = shop_country.SelectedIndex; + ja.shop[(int)shop.Value].subregion = shop_subregion.SelectedIndex; + ja.shop[(int)shop.Value].sprite = (int)shop_sprite.Value; + ja.shop[(int)shop.Value].met = shop_date.Value; + ja.shop[(int)shop.Value].recruitlvl = (int)shop_recruit.Value; + + ja.shop[(int)shop.Value].shop_version = shop_type.SelectedIndex; + ja.shop[(int)shop.Value].shop_level = shop_rank.SelectedIndex; + ja.shop[(int)shop.Value].shop_type = shop_store.SelectedIndex; + ja.shop[(int)shop.Value].shop_exp = (int)shop_exp.Value; + ja.shop[(int)shop.Value].isplayer = shop_ishuman.Checked; + ja.shop[(int)shop.Value].inventory = shop_inventory.Checked; + } + void Shop_applyClick(object sender, EventArgs e) + { + set_shop(); + } + void ShopValueChanged(object sender, EventArgs e) + { + load_shop(); + } + + public class AVENUE + { + internal int Size = MainForm.save.getBlockLength(67);//Block 67 + + public byte[] Data; + public AVENUE(byte[] data = null) + { + Data = data ?? new byte[Size]; + + load_people(); + + } + public byte[] getData(int Offset, int Length) + { + return Data.Skip(Offset).Take(Length).ToArray(); + } + public void setData(byte[] input, int Offset) + { + input.CopyTo(Data, Offset); + } + + + //Variables + public AV_VISITOR[] visitor = new AV_VISITOR[8]; + public AV_OCCUPANT[] shop = new AV_OCCUPANT[8]; + public AV_NPC[] npc = new AV_NPC[12]; + public AV_HELPER[] helper = new AV_HELPER[4]; + + //Visitors + int VISITOR_SIZE = 0xC4; + int VISITOR_OFFSET = 0x08; + int VISITOR_TOTAL = 8-1; + public AV_VISITOR get_visitor (int index) + { + if (index > VISITOR_TOTAL) index = VISITOR_TOTAL; + return new AV_VISITOR(getData(VISITOR_OFFSET+(VISITOR_SIZE*index), VISITOR_SIZE)); + } + public void set_visitor(AV_VISITOR visitant, int index) + { + if (index > VISITOR_TOTAL) index = VISITOR_TOTAL; + setData(visitant.Data, VISITOR_OFFSET+(VISITOR_SIZE*index)); + } + + //NPC Fans + int NPC_SIZE = 0x60; + int NPC_OFFSET = 0x62C; + int NPC_TOTAL = 12-1; + public AV_NPC get_npc (int index) + { + if (index > NPC_TOTAL) index = NPC_TOTAL; + return new AV_NPC(getData(NPC_OFFSET+(NPC_SIZE*index), NPC_SIZE)); + } + public void set_npc(AV_NPC npc, int index) + { + if (index > NPC_TOTAL) index = NPC_TOTAL; + setData(npc.Data, NPC_OFFSET+(NPC_SIZE*index)); + } + + //Occupants + int OCCUPANT_SIZE = 0xC4; + int OCCUPANT_OFFSET = 0xAAC; + int OCCUPANT_TOTAL = 8-1; + public AV_OCCUPANT get_occupant(int index) + { + if (index > OCCUPANT_TOTAL) index = OCCUPANT_TOTAL; + return new AV_OCCUPANT(getData(OCCUPANT_OFFSET+(OCCUPANT_SIZE*index), OCCUPANT_SIZE)); + } + public void set_occupant(AV_OCCUPANT occupant, int index) + { + if (index > OCCUPANT_TOTAL) index = OCCUPANT_TOTAL; + setData(occupant.Data, OCCUPANT_OFFSET+(OCCUPANT_SIZE*index)); + } + + //Helpers + int HELPER_SIZE = 0x58; + int HELPER_OFFSET = 0x10CC; + int HELPER_TOTAL = 4-1; + public AV_HELPER get_helper(int index) + { + if (index > HELPER_TOTAL) index = HELPER_TOTAL; + return new AV_HELPER(getData(HELPER_OFFSET+(HELPER_SIZE*index), HELPER_SIZE)); + } + public void set_helper(AV_HELPER helper, int index) + { + if (index > HELPER_TOTAL) index = HELPER_TOTAL; + setData(helper.Data, HELPER_OFFSET+(HELPER_SIZE*index)); + } + + public void load_people() + { + int i=0; + for (i=0;i<8;i++) + { + visitor[i]=get_visitor(i); + shop[i]=get_occupant(i); + } + for (i=0;i<12;i++) + { + npc[i]=get_npc(i); + } + for (i=0;i<4;i++) + { + helper[i]=get_helper(i); + } + } + public void set_people() + { + + int i=0; + for (i=0;i<8;i++) + { + set_visitor(visitor[i], i); + set_occupant(shop[i], i); + } + for (i=0;i<12;i++) + { + set_npc(npc[i], i); + } + for (i=0;i<4;i++) + { + set_helper(helper[i], i); + } + } + + public int rank + { + get { return (int)BitConverter.ToUInt16(getData(0x13CC, 2), 0); } + set { setData(BitConverter.GetBytes((UInt16)value), 0x13CC); } + } + //00 Orange 01 Purple 02 Blue 03 Green + public int color + { + get { return (int)BitConverter.ToUInt16(getData(0x13CE, 2), 0); } + set { setData(BitConverter.GetBytes((UInt16)value), 0x13CE); } + } + + + //Helper functions from pkhex + internal static string TrimFromFFFF(string input) + { + int index = input.IndexOf((char)0xFFFF); + return index < 0 ? input : input.Substring(0, index); + } + public string fav_phrase + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x12AC, 0x10)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0x10/2) + value = value.Substring(0, 0x10/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x12AC); + } + } + public string imp_phrase + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x12BC, 0x10)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0x10/2) + value = value.Substring(0, 0x10/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x12BC); + } + } + public string name + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x12F4, 0x1A)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0x1A/2) + value = value.Substring(0, 0x1A/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x12F4); + } + } + public string title + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x131E, 0x10)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0x10/2) + value = value.Substring(0, 0x10/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x131E); + } + } +/*TO DO: +START OFFSET: 23C00 + +0x24E8C-0x24E9B - Player Trivia (set by avenue NPCs, see next post) +0x24E9C-0x24EA7 - Player Activities (recent happenings to player ^) +0x24EA8-0x24EAB - 00000000 (nothing, unused) +0x24EAC - Your Favorite Phrase (0x10) +0x24EBC - Your Impressed Phrase (0x10) +0x24EF4 - Join Avenue's Name (11 characters + terminator, 0x18) +0x24F1E - Your Title (0x10) +*/ + } + + public class AV_NPC + { + public byte[] Data; + public AV_NPC(byte[] data = null) + { + Data = data ?? new byte[0x60]; + } + public byte[] getData(int Offset, int Length) + { + return Data.Skip(Offset).Take(Length).ToArray(); + } + public void setData(byte[] input, int Offset) + { + input.CopyTo(Data, Offset); + } + public string name + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0); + } + } + public int gender + { + get + { + if (Data[0x22] == 0x10) + return 1; + else + return 0; + } + set + { + if (value == 1) + Data[0x22] = 0x10; + else + Data[0x22] = 0; + } + } + public string text1 + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x2C, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x2C); + } + } + public string text2 + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x3C, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x3C); + } + } + public bool spoken + { + get + { + if (Data[0x4F] == 1) + return true; + else + return false; + } + set + { + if (value == true) + Data[0x4F] = 1; + else + Data[0x4F] = 0; + } + } + //Helper functions from pkhex + internal static string TrimFromFFFF(string input) + { + int index = input.IndexOf((char)0xFFFF); + return index < 0 ? input : input.Substring(0, index); + } + } + public class AV_HELPER + { + public byte[] Data; + public AV_HELPER(byte[] data = null) + { + Data = data ?? new byte[0x58]; + } + public byte[] getData(int Offset, int Length) + { + return Data.Skip(Offset).Take(Length).ToArray(); + } + public void setData(byte[] input, int Offset) + { + input.CopyTo(Data, Offset); + } + + public string name + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0); + } + } + public string text0 + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x10, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x10); + } + } + public string text1 + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x34, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x34); + } + } + public string text2 + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x44, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x44); + } + } + public int sprite + { + get + { + return Data[0x2A]; + } + set + { + Data[0x2A] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public int country + { + get + { + return Data[0xE]; + } + set + { + Data[0xE] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public int subregion + { + get + { + return Data[0xF]; + } + set + { + Data[0xF] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public DateTime met + { + get + { + if (Data[0x30] != 0 && Data[0x31] != 0 && Data[0x32] != 0) + return new DateTime(2000+Data[0x30], Data[0x31], Data[0x32]); + else + return new DateTime(2000, 1, 1); + } + set + { + Data[0x30] = (byte) (value.Year-2000); + Data[0x31] = (byte) value.Month; + Data[0x32] = (byte) value.Day; + } + } + //Helper functions from pkhex + internal static string TrimFromFFFF(string input) + { + int index = input.IndexOf((char)0xFFFF); + return index < 0 ? input : input.Substring(0, index); + } + } + public class AV_OCCUPANT + { + public byte[] Data; + public AV_OCCUPANT(byte[] data = null) + { + Data = data ?? new byte[0xC4]; + } + public byte[] getData(int Offset, int Length) + { + return Data.Skip(Offset).Take(Length).ToArray(); + } + public void setData(byte[] input, int Offset) + { + input.CopyTo(Data, Offset); + } + + public string name + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0); + } + } + public int country + { + get + { + return Data[0xE]; + } + set + { + Data[0xE] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public int subregion + { + get + { + return Data[0xF]; + } + set + { + Data[0xF] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public string shout + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x10, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x10); + } + } + public int gender + { + get + { + if (Data[0x22] == 0x10) + return 1; + else + return 0; + } + set + { + if (value == 1) + Data[0x22] = 0x10; + else + Data[0x22] = 0; + } + } + public int sprite + { + get + { + return Data[0x2A]; + } + set + { + Data[0x2A] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public int recruitlvl + { + get + { + return Data[0x2C]; + } + set + { + Data[0x2C] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + public string greeting + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x80, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x80); + } + } + public string farewell + { + get + { + return TrimFromFFFF(Encoding.Unicode.GetString(Data, 0x90, 0xE)) + .Replace("\uE08F", "\u2640") // nidoran + .Replace("\uE08E", "\u2642") // nidoran + .Replace("\u2019", "\u0027"); // farfetch'd + } + set + { + if (value.Length > 0xE/2) + value = value.Substring(0, 0xE/2); // Hard cap + string TempNick = value // Replace Special Characters and add Terminator + .Replace("\u2640", "\uE08F") // nidoran + .Replace("\u2642", "\uE08E") // nidoran + .Replace("\u0027", "\u2019") // farfetch'd + .PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator + Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x90); + } + } + public bool isplayer + { + get + { + if (Data[0xA0] == 1) + return true; + else + return false; + } + set + { + if (value == true) + Data[0xA0] = (byte) 1; + else + Data[0xA0] = (byte) 0; + } + } + public DateTime met + { + get + { + if (Data[0xA3] != 0 && Data[0xA4] != 0 && Data[0xA5] != 0) + return new DateTime(2000+Data[0xA3], Data[0xA4], Data[0xA5]); + else + return new DateTime(2000, 1, 1); + } + set + { + Data[0xA3] = (byte) (value.Year-2000); + Data[0xA4] = (byte) value.Month; + Data[0xA5] = (byte) value.Day; + } + } + public int av_rank + { + get + { + return Data[0xAB]; + } + set + { + Data[0xAB] = ( value > 0xFF ? (byte)0xFF : (byte) value); + } + } + + public int shop_rank + { + get + { + return Data[0xAD]; + } + set + { + Data[0xAD] = ( value > 10 ? (byte) 10 : (byte) value); + } + } + + public int shop_exp + { + get + { + return BitConverter.ToUInt16(getData(0xAD, 2), 0); + } + set + { + UInt16 exp = 0; + if (value > 0xFFFF) + exp = (UInt16)0xFFFF; + else + exp = (UInt16) value; + setData(BitConverter.GetBytes(exp), 0xAD); + } + } + + public bool inventory + { + get + { + if (Data[0xB0] == 1) + return true; + else + return false; + } + set + { + if (value == true) + Data[0xB0] = (byte) 1; + else + Data[0xB0] = (byte) 0; + } + } + + public int shop_version //0 black, 1 white, 2 black2, 3 white3 + { + get + { + return Data[0xB4]/0x50; + } + set + { + if(value > 0x3) + Data[0xB4] = (byte)(3*0x50 + shop_type*0xA + shop_level); + else + Data[0xB4] = (byte)(value*0x50 + shop_type*0xA + shop_level); + } + } + public int shop_level // 0-9 (1-10) + { + get + { + MessageBox.Show(Data[0xB4].ToString("X")+"-"+(((Data[0xB4] % 0x50) -1) % 0xA).ToString()); + return ((Data[0xB4] % 0x50) -1) % 0xA; + } + set + { + if(value > 0x9) + Data[0xB4] = (byte)(shop_version*0x50 + shop_type*0xA + 0x9); + else + Data[0xB4] = (byte)(shop_version*0x50 + shop_type*0xA + value); + } + } + public int shop_type // 0=raffle, 1=salon, 2 = market, 3=florist, 4 = dojo, 5=nurse, 6=antique, 7=cafe + { + get + { + return (Data[0xB4] % 0x50) / 0xA; + } + set + { + if(value > 0x7) + Data[0xB4] = (byte)(shop_version*0x50 + 0x7*0xA + shop_level); + else + Data[0xB4] = (byte)(shop_version*0x50 + value*0xA + shop_level); + } + } + + //Helper functions from pkhex + internal static string TrimFromFFFF(string input) + { + int index = input.IndexOf((char)0xFFFF); + return index < 0 ? input : input.Substring(0, index); + } + } + + public class AV_VISITOR + { + public byte[] Data; + public AV_VISITOR(byte[] data = null) + { + Data = data ?? new byte[0xC4]; + } + public byte[] getData(int Offset, int Length) + { + return Data.Skip(Offset).Take(Length).ToArray(); + } + public void setData(byte[] input, int Offset) + { + input.CopyTo(Data, Offset); + } + //Helper functions from pkhex + internal static string TrimFromFFFF(string input) + { + int index = input.IndexOf((char)0xFFFF); + return index < 0 ? input : input.Substring(0, index); + } + } + } +} diff --git a/BW_tool/Editors/Join_avenue.resx b/BW_tool/Editors/Join_avenue.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/BW_tool/Editors/Join_avenue.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/BW_tool/Editors/KeySystem.cs b/BW_tool/Editors/KeySystem.cs index 5f2a677..43ef2ec 100644 --- a/BW_tool/Editors/KeySystem.cs +++ b/BW_tool/Editors/KeySystem.cs @@ -28,7 +28,7 @@ namespace BW_tool keys = new KEY(MainForm.save.getBlock(keyblock)); if (keys.KeysUnlocked() == false) - MessageBox.Show("\t\tWarning!\n\nThis savefile doesn't seem to have unlocked the key system yet.\nKey system is unlocked after beating the Elite Four.\n\nYou can still edit it though."); + MessageBox.Show(" Warning!\n\nThis savefile doesn't seem to have unlocked the key system yet.\nKey system is unlocked after beating the Elite Four.\n\nYou can still edit it though."); updatekeys(); diff --git a/BW_tool/MainForm.Designer.cs b/BW_tool/MainForm.Designer.cs index 7470839..e1c4535 100644 --- a/BW_tool/MainForm.Designer.cs +++ b/BW_tool/MainForm.Designer.cs @@ -26,6 +26,7 @@ namespace BW_tool private System.Windows.Forms.Button medal_but; private System.Windows.Forms.Button forest_but; private System.Windows.Forms.Button key_but; + private System.Windows.Forms.Button join_but; /// /// Disposes resources used by the form. @@ -60,6 +61,7 @@ namespace BW_tool this.medal_but = new System.Windows.Forms.Button(); this.forest_but = new System.Windows.Forms.Button(); this.key_but = new System.Windows.Forms.Button(); + this.join_but = new System.Windows.Forms.Button(); this.SuspendLayout(); // // loadsave_but @@ -186,11 +188,23 @@ namespace BW_tool this.key_but.UseVisualStyleBackColor = true; this.key_but.Click += new System.EventHandler(this.Key_butClick); // + // join_but + // + this.join_but.Enabled = false; + this.join_but.Location = new System.Drawing.Point(12, 136); + this.join_but.Name = "join_but"; + this.join_but.Size = new System.Drawing.Size(140, 23); + this.join_but.TabIndex = 12; + this.join_but.Text = "Join Avenue"; + this.join_but.UseVisualStyleBackColor = true; + this.join_but.Click += new System.EventHandler(this.Join_butClick); + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(503, 192); + this.Controls.Add(this.join_but); this.Controls.Add(this.key_but); this.Controls.Add(this.forest_but); this.Controls.Add(this.medal_but); diff --git a/BW_tool/MainForm.cs b/BW_tool/MainForm.cs index 0c853a7..50a7a38 100644 --- a/BW_tool/MainForm.cs +++ b/BW_tool/MainForm.cs @@ -66,6 +66,7 @@ namespace BW_tool medal_but.Enabled = true; forest_but.Enabled = true; key_but.Enabled = true; + join_but.Enabled = true; } else if (save.BW) { @@ -80,6 +81,7 @@ namespace BW_tool medal_but.Enabled = false; forest_but.Enabled = true; key_but.Enabled = false; + join_but.Enabled = false; } else versiontext.Text = "Invalid file"; @@ -96,6 +98,7 @@ namespace BW_tool medal_but.Enabled = false; forest_but.Enabled = false; key_but.Enabled = false; + join_but.Enabled = false; } } void Save_butClick(object sender, EventArgs e) @@ -146,5 +149,10 @@ namespace BW_tool Form keys = new KeySystem(); keys.ShowDialog(); } + void Join_butClick(object sender, EventArgs e) + { + Form join = new Join_avenue(); + join.ShowDialog(); + } } }