mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 14:00:21 +00:00
Events and Stats
This commit is contained in:
parent
6df4aee5fb
commit
b6b38cf285
5 changed files with 627 additions and 163 deletions
|
@ -6202,9 +6202,6 @@ namespace PKHeX
|
|||
byte[] data = Converter.ConvertPKM(input,savefile, savindex);
|
||||
Array.Copy(data, buff, 232);
|
||||
populatefields(buff);
|
||||
// string message = "Loaded previous generation PKM. Conversion attempted.";
|
||||
// string caption = "Alert";
|
||||
// MessageBox.Show(message, caption);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
@ -7998,7 +7995,7 @@ namespace PKHeX
|
|||
if (species != 0 && isegg == 1)
|
||||
{
|
||||
file = "_0"; // Start with a partially transparent species
|
||||
baseImage = PKHeX.Util.layerImage((Image)Properties.Resources.ResourceManager.GetObject(file), baseImage, 0, 0, 0.2);
|
||||
baseImage = PKHeX.Util.layerImage((Image)Properties.Resources.ResourceManager.GetObject(file), baseImage, 0, 0, 0.33);
|
||||
file = "egg"; // Add the egg layer over-top.
|
||||
baseImage = PKHeX.Util.layerImage(baseImage, (Image)Properties.Resources.ResourceManager.GetObject(file), 0, 0, 1);
|
||||
}
|
||||
|
|
177
SAV/SAV_EventFlags.Designer.cs
generated
177
SAV/SAV_EventFlags.Designer.cs
generated
|
@ -57,10 +57,23 @@
|
|||
this.GB_Rebattle = new System.Windows.Forms.GroupBox();
|
||||
this.flag_0114 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0790 = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.flag_0285 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0286 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0675 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0290 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0291 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0292 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0293 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0294 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0287 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0288 = new System.Windows.Forms.CheckBox();
|
||||
this.flag_0289 = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nud)).BeginInit();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.GB_Rebattle.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// CHK_CustomFlag
|
||||
|
@ -78,7 +91,7 @@
|
|||
//
|
||||
// B_Cancel
|
||||
//
|
||||
this.B_Cancel.Location = new System.Drawing.Point(128, 180);
|
||||
this.B_Cancel.Location = new System.Drawing.Point(287, 307);
|
||||
this.B_Cancel.Name = "B_Cancel";
|
||||
this.B_Cancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.B_Cancel.TabIndex = 2;
|
||||
|
@ -188,7 +201,7 @@
|
|||
//
|
||||
// B_Save
|
||||
//
|
||||
this.B_Save.Location = new System.Drawing.Point(207, 179);
|
||||
this.B_Save.Location = new System.Drawing.Point(366, 306);
|
||||
this.B_Save.Name = "B_Save";
|
||||
this.B_Save.Size = new System.Drawing.Size(75, 23);
|
||||
this.B_Save.TabIndex = 9;
|
||||
|
@ -350,7 +363,7 @@
|
|||
this.GB_Rebattle.Controls.Add(this.flag_0963);
|
||||
this.GB_Rebattle.Location = new System.Drawing.Point(129, 12);
|
||||
this.GB_Rebattle.Name = "GB_Rebattle";
|
||||
this.GB_Rebattle.Size = new System.Drawing.Size(152, 156);
|
||||
this.GB_Rebattle.Size = new System.Drawing.Size(152, 191);
|
||||
this.GB_Rebattle.TabIndex = 16;
|
||||
this.GB_Rebattle.TabStop = false;
|
||||
this.GB_Rebattle.Text = "Rebattle";
|
||||
|
@ -379,11 +392,153 @@
|
|||
this.flag_0790.UseVisualStyleBackColor = true;
|
||||
this.flag_0790.Click += new System.EventHandler(this.toggleFlag);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.flag_0289);
|
||||
this.groupBox3.Controls.Add(this.flag_0288);
|
||||
this.groupBox3.Controls.Add(this.flag_0287);
|
||||
this.groupBox3.Controls.Add(this.flag_0294);
|
||||
this.groupBox3.Controls.Add(this.flag_0293);
|
||||
this.groupBox3.Controls.Add(this.flag_0292);
|
||||
this.groupBox3.Controls.Add(this.flag_0291);
|
||||
this.groupBox3.Controls.Add(this.flag_0290);
|
||||
this.groupBox3.Controls.Add(this.flag_0675);
|
||||
this.groupBox3.Controls.Add(this.flag_0286);
|
||||
this.groupBox3.Controls.Add(this.flag_0285);
|
||||
this.groupBox3.Location = new System.Drawing.Point(287, 12);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(154, 288);
|
||||
this.groupBox3.TabIndex = 17;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Misc";
|
||||
//
|
||||
// flag_0285
|
||||
//
|
||||
this.flag_0285.AutoSize = true;
|
||||
this.flag_0285.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0285.Location = new System.Drawing.Point(6, 19);
|
||||
this.flag_0285.Name = "flag_0285";
|
||||
this.flag_0285.Size = new System.Drawing.Size(106, 17);
|
||||
this.flag_0285.TabIndex = 15;
|
||||
this.flag_0285.Text = "Singles Statuette";
|
||||
this.flag_0285.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0286
|
||||
//
|
||||
this.flag_0286.AutoSize = true;
|
||||
this.flag_0286.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0286.Location = new System.Drawing.Point(6, 34);
|
||||
this.flag_0286.Name = "flag_0286";
|
||||
this.flag_0286.Size = new System.Drawing.Size(111, 17);
|
||||
this.flag_0286.TabIndex = 16;
|
||||
this.flag_0286.Text = "Doubles Statuette";
|
||||
this.flag_0286.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0675
|
||||
//
|
||||
this.flag_0675.AutoSize = true;
|
||||
this.flag_0675.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0675.Location = new System.Drawing.Point(15, 243);
|
||||
this.flag_0675.Name = "flag_0675";
|
||||
this.flag_0675.Size = new System.Drawing.Size(119, 17);
|
||||
this.flag_0675.TabIndex = 17;
|
||||
this.flag_0675.Text = "50: Beat Chatelaine";
|
||||
this.flag_0675.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0290
|
||||
//
|
||||
this.flag_0290.AutoSize = true;
|
||||
this.flag_0290.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0290.Location = new System.Drawing.Point(6, 99);
|
||||
this.flag_0290.Name = "flag_0290";
|
||||
this.flag_0290.Size = new System.Drawing.Size(140, 17);
|
||||
this.flag_0290.TabIndex = 18;
|
||||
this.flag_0290.Text = "Super Singles Unlocked";
|
||||
this.flag_0290.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0291
|
||||
//
|
||||
this.flag_0291.AutoSize = true;
|
||||
this.flag_0291.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0291.Location = new System.Drawing.Point(6, 114);
|
||||
this.flag_0291.Name = "flag_0291";
|
||||
this.flag_0291.Size = new System.Drawing.Size(145, 17);
|
||||
this.flag_0291.TabIndex = 19;
|
||||
this.flag_0291.Text = "Super Doubles Unlocked";
|
||||
this.flag_0291.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0292
|
||||
//
|
||||
this.flag_0292.AutoSize = true;
|
||||
this.flag_0292.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0292.Location = new System.Drawing.Point(6, 129);
|
||||
this.flag_0292.Name = "flag_0292";
|
||||
this.flag_0292.Size = new System.Drawing.Size(137, 17);
|
||||
this.flag_0292.TabIndex = 20;
|
||||
this.flag_0292.Text = "Super Triples Unlocked";
|
||||
this.flag_0292.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0293
|
||||
//
|
||||
this.flag_0293.AutoSize = true;
|
||||
this.flag_0293.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0293.Location = new System.Drawing.Point(6, 144);
|
||||
this.flag_0293.Name = "flag_0293";
|
||||
this.flag_0293.Size = new System.Drawing.Size(146, 17);
|
||||
this.flag_0293.TabIndex = 21;
|
||||
this.flag_0293.Text = "Super Rotation Unlocked";
|
||||
this.flag_0293.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0294
|
||||
//
|
||||
this.flag_0294.AutoSize = true;
|
||||
this.flag_0294.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0294.Location = new System.Drawing.Point(6, 159);
|
||||
this.flag_0294.Name = "flag_0294";
|
||||
this.flag_0294.Size = new System.Drawing.Size(128, 17);
|
||||
this.flag_0294.TabIndex = 22;
|
||||
this.flag_0294.Text = "Super Multi Unlocked";
|
||||
this.flag_0294.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0287
|
||||
//
|
||||
this.flag_0287.AutoSize = true;
|
||||
this.flag_0287.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0287.Location = new System.Drawing.Point(6, 49);
|
||||
this.flag_0287.Name = "flag_0287";
|
||||
this.flag_0287.Size = new System.Drawing.Size(103, 17);
|
||||
this.flag_0287.TabIndex = 23;
|
||||
this.flag_0287.Text = "Triples Statuette";
|
||||
this.flag_0287.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0288
|
||||
//
|
||||
this.flag_0288.AutoSize = true;
|
||||
this.flag_0288.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0288.Location = new System.Drawing.Point(6, 64);
|
||||
this.flag_0288.Name = "flag_0288";
|
||||
this.flag_0288.Size = new System.Drawing.Size(112, 17);
|
||||
this.flag_0288.TabIndex = 24;
|
||||
this.flag_0288.Text = "Rotation Statuette";
|
||||
this.flag_0288.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// flag_0289
|
||||
//
|
||||
this.flag_0289.AutoSize = true;
|
||||
this.flag_0289.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.flag_0289.Location = new System.Drawing.Point(6, 79);
|
||||
this.flag_0289.Name = "flag_0289";
|
||||
this.flag_0289.Size = new System.Drawing.Size(94, 17);
|
||||
this.flag_0289.TabIndex = 25;
|
||||
this.flag_0289.Text = "Multi Statuette";
|
||||
this.flag_0289.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// SAV_EventFlags
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(294, 342);
|
||||
this.ClientSize = new System.Drawing.Size(449, 342);
|
||||
this.Controls.Add(this.groupBox3);
|
||||
this.Controls.Add(this.GB_Rebattle);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.flag_2239);
|
||||
|
@ -411,6 +566,8 @@
|
|||
this.groupBox2.PerformLayout();
|
||||
this.GB_Rebattle.ResumeLayout(false);
|
||||
this.GB_Rebattle.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
@ -446,5 +603,17 @@
|
|||
private System.Windows.Forms.GroupBox GB_Rebattle;
|
||||
private System.Windows.Forms.CheckBox flag_0114;
|
||||
private System.Windows.Forms.CheckBox flag_0790;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.CheckBox flag_0289;
|
||||
private System.Windows.Forms.CheckBox flag_0288;
|
||||
private System.Windows.Forms.CheckBox flag_0287;
|
||||
private System.Windows.Forms.CheckBox flag_0294;
|
||||
private System.Windows.Forms.CheckBox flag_0293;
|
||||
private System.Windows.Forms.CheckBox flag_0292;
|
||||
private System.Windows.Forms.CheckBox flag_0291;
|
||||
private System.Windows.Forms.CheckBox flag_0290;
|
||||
private System.Windows.Forms.CheckBox flag_0675;
|
||||
private System.Windows.Forms.CheckBox flag_0286;
|
||||
private System.Windows.Forms.CheckBox flag_0285;
|
||||
}
|
||||
}
|
|
@ -57,6 +57,8 @@ namespace PKHeX
|
|||
flag_2237,flag_2238,flag_2239,
|
||||
flag_0115,flag_0963, // Mewtwo
|
||||
flag_0114,flag_0790, // Zygarde
|
||||
flag_0285,flag_0286,flag_0287,flag_0288,flag_0289, // Statuettes
|
||||
flag_0290,flag_0291,flag_0292,flag_0293,flag_0294, // Super Unlocks
|
||||
};
|
||||
int offset = 0x1A0FC + savshift;
|
||||
byte[] data = new Byte[0x180];
|
||||
|
|
414
SAV/SAV_Trainer.Designer.cs
generated
414
SAV/SAV_Trainer.Designer.cs
generated
|
@ -127,33 +127,41 @@
|
|||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.GB_Appear = new System.Windows.Forms.GroupBox();
|
||||
this.label32 = new System.Windows.Forms.Label();
|
||||
this.comboBox11 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox10 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox9 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox8 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox7 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox6 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox5 = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Dress = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Bag = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Socks = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Pants = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Shirt = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Accessory = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Hat = new System.Windows.Forms.ComboBox();
|
||||
this.label31 = new System.Windows.Forms.Label();
|
||||
this.label30 = new System.Windows.Forms.Label();
|
||||
this.label29 = new System.Windows.Forms.Label();
|
||||
this.label28 = new System.Windows.Forms.Label();
|
||||
this.label27 = new System.Windows.Forms.Label();
|
||||
this.comboBox4 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox3 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.CB_FaceHair = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Hair = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Eye = new System.Windows.Forms.ComboBox();
|
||||
this.CB_Skin = new System.Windows.Forms.ComboBox();
|
||||
this.label26 = new System.Windows.Forms.Label();
|
||||
this.label25 = new System.Windows.Forms.Label();
|
||||
this.label24 = new System.Windows.Forms.Label();
|
||||
this.label23 = new System.Windows.Forms.Label();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.GB_Map = new System.Windows.Forms.GroupBox();
|
||||
this.GB_Reserved = new System.Windows.Forms.GroupBox();
|
||||
this.TB_CoordM = new System.Windows.Forms.MaskedTextBox();
|
||||
this.TB_CoordX = new System.Windows.Forms.MaskedTextBox();
|
||||
this.TB_CoordZ = new System.Windows.Forms.MaskedTextBox();
|
||||
this.TB_CoordY = new System.Windows.Forms.MaskedTextBox();
|
||||
this.TB_CoordZ = new System.Windows.Forms.MaskedTextBox();
|
||||
this.TB_CoordX = new System.Windows.Forms.MaskedTextBox();
|
||||
this.TB_CoordM = new System.Windows.Forms.MaskedTextBox();
|
||||
this.GB_Misc = new System.Windows.Forms.GroupBox();
|
||||
this.L_Offset = new System.Windows.Forms.Label();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.PB_Sprite = new System.Windows.Forms.PictureBox();
|
||||
this.CB_Multi = new System.Windows.Forms.ComboBox();
|
||||
this.label33 = new System.Windows.Forms.Label();
|
||||
this.CB_Stats = new System.Windows.Forms.ComboBox();
|
||||
this.label39 = new System.Windows.Forms.Label();
|
||||
this.MT_Stat = new System.Windows.Forms.MaskedTextBox();
|
||||
this.GB_Badges.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pb8)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pb6)).BeginInit();
|
||||
|
@ -169,11 +177,14 @@
|
|||
this.GB_MaisonCurrent.SuspendLayout();
|
||||
this.GB_Appear.SuspendLayout();
|
||||
this.GB_Map.SuspendLayout();
|
||||
this.GB_Misc.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PB_Sprite)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// B_Cancel
|
||||
//
|
||||
this.B_Cancel.Location = new System.Drawing.Point(416, 474);
|
||||
this.B_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.B_Cancel.Location = new System.Drawing.Point(416, 477);
|
||||
this.B_Cancel.Name = "B_Cancel";
|
||||
this.B_Cancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.B_Cancel.TabIndex = 0;
|
||||
|
@ -183,7 +194,8 @@
|
|||
//
|
||||
// B_Save
|
||||
//
|
||||
this.B_Save.Location = new System.Drawing.Point(496, 474);
|
||||
this.B_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.B_Save.Location = new System.Drawing.Point(497, 477);
|
||||
this.B_Save.Name = "B_Save";
|
||||
this.B_Save.Size = new System.Drawing.Size(75, 23);
|
||||
this.B_Save.TabIndex = 1;
|
||||
|
@ -1169,22 +1181,22 @@
|
|||
// GB_Appear
|
||||
//
|
||||
this.GB_Appear.Controls.Add(this.label32);
|
||||
this.GB_Appear.Controls.Add(this.comboBox11);
|
||||
this.GB_Appear.Controls.Add(this.comboBox10);
|
||||
this.GB_Appear.Controls.Add(this.comboBox9);
|
||||
this.GB_Appear.Controls.Add(this.comboBox8);
|
||||
this.GB_Appear.Controls.Add(this.comboBox7);
|
||||
this.GB_Appear.Controls.Add(this.comboBox6);
|
||||
this.GB_Appear.Controls.Add(this.comboBox5);
|
||||
this.GB_Appear.Controls.Add(this.CB_Dress);
|
||||
this.GB_Appear.Controls.Add(this.CB_Bag);
|
||||
this.GB_Appear.Controls.Add(this.CB_Socks);
|
||||
this.GB_Appear.Controls.Add(this.CB_Pants);
|
||||
this.GB_Appear.Controls.Add(this.CB_Shirt);
|
||||
this.GB_Appear.Controls.Add(this.CB_Accessory);
|
||||
this.GB_Appear.Controls.Add(this.CB_Hat);
|
||||
this.GB_Appear.Controls.Add(this.label31);
|
||||
this.GB_Appear.Controls.Add(this.label30);
|
||||
this.GB_Appear.Controls.Add(this.label29);
|
||||
this.GB_Appear.Controls.Add(this.label28);
|
||||
this.GB_Appear.Controls.Add(this.label27);
|
||||
this.GB_Appear.Controls.Add(this.comboBox4);
|
||||
this.GB_Appear.Controls.Add(this.comboBox3);
|
||||
this.GB_Appear.Controls.Add(this.comboBox2);
|
||||
this.GB_Appear.Controls.Add(this.comboBox1);
|
||||
this.GB_Appear.Controls.Add(this.CB_FaceHair);
|
||||
this.GB_Appear.Controls.Add(this.CB_Hair);
|
||||
this.GB_Appear.Controls.Add(this.CB_Eye);
|
||||
this.GB_Appear.Controls.Add(this.CB_Skin);
|
||||
this.GB_Appear.Controls.Add(this.label26);
|
||||
this.GB_Appear.Controls.Add(this.label25);
|
||||
this.GB_Appear.Controls.Add(this.label24);
|
||||
|
@ -1207,68 +1219,68 @@
|
|||
this.label32.Text = "Dress:";
|
||||
this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// comboBox11
|
||||
// CB_Dress
|
||||
//
|
||||
this.comboBox11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox11.FormattingEnabled = true;
|
||||
this.comboBox11.Location = new System.Drawing.Point(78, 191);
|
||||
this.comboBox11.Name = "comboBox11";
|
||||
this.comboBox11.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox11.TabIndex = 20;
|
||||
this.CB_Dress.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Dress.FormattingEnabled = true;
|
||||
this.CB_Dress.Location = new System.Drawing.Point(78, 191);
|
||||
this.CB_Dress.Name = "CB_Dress";
|
||||
this.CB_Dress.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Dress.TabIndex = 20;
|
||||
//
|
||||
// comboBox10
|
||||
// CB_Bag
|
||||
//
|
||||
this.comboBox10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox10.FormattingEnabled = true;
|
||||
this.comboBox10.Location = new System.Drawing.Point(78, 233);
|
||||
this.comboBox10.Name = "comboBox10";
|
||||
this.comboBox10.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox10.TabIndex = 19;
|
||||
this.CB_Bag.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Bag.FormattingEnabled = true;
|
||||
this.CB_Bag.Location = new System.Drawing.Point(78, 233);
|
||||
this.CB_Bag.Name = "CB_Bag";
|
||||
this.CB_Bag.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Bag.TabIndex = 19;
|
||||
//
|
||||
// comboBox9
|
||||
// CB_Socks
|
||||
//
|
||||
this.comboBox9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox9.FormattingEnabled = true;
|
||||
this.comboBox9.Location = new System.Drawing.Point(78, 212);
|
||||
this.comboBox9.Name = "comboBox9";
|
||||
this.comboBox9.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox9.TabIndex = 18;
|
||||
this.CB_Socks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Socks.FormattingEnabled = true;
|
||||
this.CB_Socks.Location = new System.Drawing.Point(78, 212);
|
||||
this.CB_Socks.Name = "CB_Socks";
|
||||
this.CB_Socks.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Socks.TabIndex = 18;
|
||||
//
|
||||
// comboBox8
|
||||
// CB_Pants
|
||||
//
|
||||
this.comboBox8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox8.FormattingEnabled = true;
|
||||
this.comboBox8.Location = new System.Drawing.Point(78, 170);
|
||||
this.comboBox8.Name = "comboBox8";
|
||||
this.comboBox8.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox8.TabIndex = 17;
|
||||
this.CB_Pants.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Pants.FormattingEnabled = true;
|
||||
this.CB_Pants.Location = new System.Drawing.Point(78, 170);
|
||||
this.CB_Pants.Name = "CB_Pants";
|
||||
this.CB_Pants.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Pants.TabIndex = 17;
|
||||
//
|
||||
// comboBox7
|
||||
// CB_Shirt
|
||||
//
|
||||
this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox7.FormattingEnabled = true;
|
||||
this.comboBox7.Location = new System.Drawing.Point(78, 149);
|
||||
this.comboBox7.Name = "comboBox7";
|
||||
this.comboBox7.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox7.TabIndex = 16;
|
||||
this.CB_Shirt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Shirt.FormattingEnabled = true;
|
||||
this.CB_Shirt.Location = new System.Drawing.Point(78, 149);
|
||||
this.CB_Shirt.Name = "CB_Shirt";
|
||||
this.CB_Shirt.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Shirt.TabIndex = 16;
|
||||
//
|
||||
// comboBox6
|
||||
// CB_Accessory
|
||||
//
|
||||
this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox6.FormattingEnabled = true;
|
||||
this.comboBox6.Location = new System.Drawing.Point(78, 128);
|
||||
this.comboBox6.Name = "comboBox6";
|
||||
this.comboBox6.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox6.TabIndex = 15;
|
||||
this.CB_Accessory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Accessory.FormattingEnabled = true;
|
||||
this.CB_Accessory.Location = new System.Drawing.Point(78, 128);
|
||||
this.CB_Accessory.Name = "CB_Accessory";
|
||||
this.CB_Accessory.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Accessory.TabIndex = 15;
|
||||
//
|
||||
// comboBox5
|
||||
// CB_Hat
|
||||
//
|
||||
this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox5.FormattingEnabled = true;
|
||||
this.comboBox5.Location = new System.Drawing.Point(78, 107);
|
||||
this.comboBox5.Name = "comboBox5";
|
||||
this.comboBox5.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox5.TabIndex = 14;
|
||||
this.CB_Hat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Hat.FormattingEnabled = true;
|
||||
this.CB_Hat.Location = new System.Drawing.Point(78, 107);
|
||||
this.CB_Hat.Name = "CB_Hat";
|
||||
this.CB_Hat.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Hat.TabIndex = 14;
|
||||
//
|
||||
// label31
|
||||
//
|
||||
|
@ -1315,41 +1327,41 @@
|
|||
this.label27.Text = "Shirt:";
|
||||
this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// comboBox4
|
||||
// CB_FaceHair
|
||||
//
|
||||
this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox4.FormattingEnabled = true;
|
||||
this.comboBox4.Location = new System.Drawing.Point(78, 86);
|
||||
this.comboBox4.Name = "comboBox4";
|
||||
this.comboBox4.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox4.TabIndex = 8;
|
||||
this.CB_FaceHair.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_FaceHair.FormattingEnabled = true;
|
||||
this.CB_FaceHair.Location = new System.Drawing.Point(78, 86);
|
||||
this.CB_FaceHair.Name = "CB_FaceHair";
|
||||
this.CB_FaceHair.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_FaceHair.TabIndex = 8;
|
||||
//
|
||||
// comboBox3
|
||||
// CB_Hair
|
||||
//
|
||||
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox3.FormattingEnabled = true;
|
||||
this.comboBox3.Location = new System.Drawing.Point(78, 65);
|
||||
this.comboBox3.Name = "comboBox3";
|
||||
this.comboBox3.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox3.TabIndex = 7;
|
||||
this.CB_Hair.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Hair.FormattingEnabled = true;
|
||||
this.CB_Hair.Location = new System.Drawing.Point(78, 65);
|
||||
this.CB_Hair.Name = "CB_Hair";
|
||||
this.CB_Hair.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Hair.TabIndex = 7;
|
||||
//
|
||||
// comboBox2
|
||||
// CB_Eye
|
||||
//
|
||||
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox2.FormattingEnabled = true;
|
||||
this.comboBox2.Location = new System.Drawing.Point(78, 44);
|
||||
this.comboBox2.Name = "comboBox2";
|
||||
this.comboBox2.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox2.TabIndex = 6;
|
||||
this.CB_Eye.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Eye.FormattingEnabled = true;
|
||||
this.CB_Eye.Location = new System.Drawing.Point(78, 44);
|
||||
this.CB_Eye.Name = "CB_Eye";
|
||||
this.CB_Eye.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Eye.TabIndex = 6;
|
||||
//
|
||||
// comboBox1
|
||||
// CB_Skin
|
||||
//
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(78, 23);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(88, 21);
|
||||
this.comboBox1.TabIndex = 5;
|
||||
this.CB_Skin.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Skin.FormattingEnabled = true;
|
||||
this.CB_Skin.Location = new System.Drawing.Point(78, 23);
|
||||
this.CB_Skin.Name = "CB_Skin";
|
||||
this.CB_Skin.Size = new System.Drawing.Size(88, 21);
|
||||
this.CB_Skin.TabIndex = 5;
|
||||
//
|
||||
// label26
|
||||
//
|
||||
|
@ -1413,33 +1425,14 @@
|
|||
this.GB_Map.TabStop = false;
|
||||
this.GB_Map.Text = "Map Position";
|
||||
//
|
||||
// GB_Reserved
|
||||
// TB_CoordY
|
||||
//
|
||||
this.GB_Reserved.Enabled = false;
|
||||
this.GB_Reserved.Location = new System.Drawing.Point(416, 288);
|
||||
this.GB_Reserved.Name = "GB_Reserved";
|
||||
this.GB_Reserved.Size = new System.Drawing.Size(155, 177);
|
||||
this.GB_Reserved.TabIndex = 52;
|
||||
this.GB_Reserved.TabStop = false;
|
||||
this.GB_Reserved.Text = "Multiplayer";
|
||||
//
|
||||
// TB_CoordM
|
||||
//
|
||||
this.TB_CoordM.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_CoordM.Location = new System.Drawing.Point(44, 25);
|
||||
this.TB_CoordM.Mask = "0000";
|
||||
this.TB_CoordM.Name = "TB_CoordM";
|
||||
this.TB_CoordM.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordM.TabIndex = 0;
|
||||
//
|
||||
// TB_CoordX
|
||||
//
|
||||
this.TB_CoordX.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_CoordX.Location = new System.Drawing.Point(43, 49);
|
||||
this.TB_CoordX.Mask = "0000";
|
||||
this.TB_CoordX.Name = "TB_CoordX";
|
||||
this.TB_CoordX.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordX.TabIndex = 1;
|
||||
this.TB_CoordY.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_CoordY.Location = new System.Drawing.Point(110, 49);
|
||||
this.TB_CoordY.Mask = "0000";
|
||||
this.TB_CoordY.Name = "TB_CoordY";
|
||||
this.TB_CoordY.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordY.TabIndex = 3;
|
||||
//
|
||||
// TB_CoordZ
|
||||
//
|
||||
|
@ -1450,21 +1443,129 @@
|
|||
this.TB_CoordZ.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordZ.TabIndex = 2;
|
||||
//
|
||||
// TB_CoordY
|
||||
// TB_CoordX
|
||||
//
|
||||
this.TB_CoordY.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_CoordY.Location = new System.Drawing.Point(110, 49);
|
||||
this.TB_CoordY.Mask = "0000";
|
||||
this.TB_CoordY.Name = "TB_CoordY";
|
||||
this.TB_CoordY.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordY.TabIndex = 3;
|
||||
this.TB_CoordX.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_CoordX.Location = new System.Drawing.Point(43, 49);
|
||||
this.TB_CoordX.Mask = "0000";
|
||||
this.TB_CoordX.Name = "TB_CoordX";
|
||||
this.TB_CoordX.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordX.TabIndex = 1;
|
||||
//
|
||||
// TB_CoordM
|
||||
//
|
||||
this.TB_CoordM.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.TB_CoordM.Location = new System.Drawing.Point(44, 25);
|
||||
this.TB_CoordM.Mask = "0000";
|
||||
this.TB_CoordM.Name = "TB_CoordM";
|
||||
this.TB_CoordM.Size = new System.Drawing.Size(35, 20);
|
||||
this.TB_CoordM.TabIndex = 0;
|
||||
//
|
||||
// GB_Misc
|
||||
//
|
||||
this.GB_Misc.Controls.Add(this.L_Offset);
|
||||
this.GB_Misc.Controls.Add(this.label34);
|
||||
this.GB_Misc.Controls.Add(this.PB_Sprite);
|
||||
this.GB_Misc.Controls.Add(this.CB_Multi);
|
||||
this.GB_Misc.Controls.Add(this.label33);
|
||||
this.GB_Misc.Controls.Add(this.CB_Stats);
|
||||
this.GB_Misc.Controls.Add(this.label39);
|
||||
this.GB_Misc.Controls.Add(this.MT_Stat);
|
||||
this.GB_Misc.Location = new System.Drawing.Point(416, 288);
|
||||
this.GB_Misc.Name = "GB_Misc";
|
||||
this.GB_Misc.Size = new System.Drawing.Size(155, 177);
|
||||
this.GB_Misc.TabIndex = 53;
|
||||
this.GB_Misc.TabStop = false;
|
||||
this.GB_Misc.Text = "Misc";
|
||||
//
|
||||
// L_Offset
|
||||
//
|
||||
this.L_Offset.AutoSize = true;
|
||||
this.L_Offset.Location = new System.Drawing.Point(14, 159);
|
||||
this.L_Offset.Name = "L_Offset";
|
||||
this.L_Offset.Size = new System.Drawing.Size(39, 13);
|
||||
this.L_Offset.TabIndex = 28;
|
||||
this.L_Offset.Text = "(offset)";
|
||||
//
|
||||
// label34
|
||||
//
|
||||
this.label34.AutoSize = true;
|
||||
this.label34.Enabled = false;
|
||||
this.label34.Location = new System.Drawing.Point(14, 22);
|
||||
this.label34.Name = "label34";
|
||||
this.label34.Size = new System.Drawing.Size(87, 13);
|
||||
this.label34.TabIndex = 27;
|
||||
this.label34.Text = "Multiplayer Sprite";
|
||||
//
|
||||
// PB_Sprite
|
||||
//
|
||||
this.PB_Sprite.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.PB_Sprite.Enabled = false;
|
||||
this.PB_Sprite.Location = new System.Drawing.Point(96, 59);
|
||||
this.PB_Sprite.Name = "PB_Sprite";
|
||||
this.PB_Sprite.Size = new System.Drawing.Size(42, 42);
|
||||
this.PB_Sprite.TabIndex = 26;
|
||||
this.PB_Sprite.TabStop = false;
|
||||
//
|
||||
// CB_Multi
|
||||
//
|
||||
this.CB_Multi.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Multi.Enabled = false;
|
||||
this.CB_Multi.FormattingEnabled = true;
|
||||
this.CB_Multi.Location = new System.Drawing.Point(17, 38);
|
||||
this.CB_Multi.Name = "CB_Multi";
|
||||
this.CB_Multi.Size = new System.Drawing.Size(121, 21);
|
||||
this.CB_Multi.TabIndex = 25;
|
||||
//
|
||||
// label33
|
||||
//
|
||||
this.label33.AutoSize = true;
|
||||
this.label33.Location = new System.Drawing.Point(14, 103);
|
||||
this.label33.Name = "label33";
|
||||
this.label33.Size = new System.Drawing.Size(31, 13);
|
||||
this.label33.TabIndex = 24;
|
||||
this.label33.Text = "Stats";
|
||||
//
|
||||
// CB_Stats
|
||||
//
|
||||
this.CB_Stats.DropDownHeight = 156;
|
||||
this.CB_Stats.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Stats.DropDownWidth = 180;
|
||||
this.CB_Stats.FormattingEnabled = true;
|
||||
this.CB_Stats.IntegralHeight = false;
|
||||
this.CB_Stats.Location = new System.Drawing.Point(17, 119);
|
||||
this.CB_Stats.Name = "CB_Stats";
|
||||
this.CB_Stats.Size = new System.Drawing.Size(121, 21);
|
||||
this.CB_Stats.TabIndex = 23;
|
||||
this.CB_Stats.SelectedIndexChanged += new System.EventHandler(this.changeStat);
|
||||
//
|
||||
// label39
|
||||
//
|
||||
this.label39.AutoSize = true;
|
||||
this.label39.Location = new System.Drawing.Point(14, 143);
|
||||
this.label39.Name = "label39";
|
||||
this.label39.Size = new System.Drawing.Size(34, 13);
|
||||
this.label39.TabIndex = 22;
|
||||
this.label39.Text = "Value";
|
||||
//
|
||||
// MT_Stat
|
||||
//
|
||||
this.MT_Stat.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.MT_Stat.Location = new System.Drawing.Point(61, 140);
|
||||
this.MT_Stat.Mask = "0000000000";
|
||||
this.MT_Stat.Name = "MT_Stat";
|
||||
this.MT_Stat.Size = new System.Drawing.Size(77, 20);
|
||||
this.MT_Stat.TabIndex = 21;
|
||||
this.MT_Stat.Text = "1231231234";
|
||||
this.MT_Stat.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
this.MT_Stat.TextChanged += new System.EventHandler(this.changeStatVal);
|
||||
//
|
||||
// SAV_Trainer
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(584, 512);
|
||||
this.Controls.Add(this.GB_Reserved);
|
||||
this.Controls.Add(this.GB_Misc);
|
||||
this.Controls.Add(this.GB_Map);
|
||||
this.Controls.Add(this.GB_Appear);
|
||||
this.Controls.Add(this.GB_MaisonCurrent);
|
||||
|
@ -1502,6 +1603,9 @@
|
|||
this.GB_Appear.ResumeLayout(false);
|
||||
this.GB_Map.ResumeLayout(false);
|
||||
this.GB_Map.PerformLayout();
|
||||
this.GB_Misc.ResumeLayout(false);
|
||||
this.GB_Misc.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PB_Sprite)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
@ -1606,32 +1710,40 @@
|
|||
private System.Windows.Forms.MaskedTextBox TB_MCSN;
|
||||
private System.Windows.Forms.GroupBox GB_Appear;
|
||||
private System.Windows.Forms.Label label32;
|
||||
private System.Windows.Forms.ComboBox comboBox11;
|
||||
private System.Windows.Forms.ComboBox comboBox10;
|
||||
private System.Windows.Forms.ComboBox comboBox9;
|
||||
private System.Windows.Forms.ComboBox comboBox8;
|
||||
private System.Windows.Forms.ComboBox comboBox7;
|
||||
private System.Windows.Forms.ComboBox comboBox6;
|
||||
private System.Windows.Forms.ComboBox comboBox5;
|
||||
private System.Windows.Forms.ComboBox CB_Dress;
|
||||
private System.Windows.Forms.ComboBox CB_Bag;
|
||||
private System.Windows.Forms.ComboBox CB_Socks;
|
||||
private System.Windows.Forms.ComboBox CB_Pants;
|
||||
private System.Windows.Forms.ComboBox CB_Shirt;
|
||||
private System.Windows.Forms.ComboBox CB_Accessory;
|
||||
private System.Windows.Forms.ComboBox CB_Hat;
|
||||
private System.Windows.Forms.Label label31;
|
||||
private System.Windows.Forms.Label label30;
|
||||
private System.Windows.Forms.Label label29;
|
||||
private System.Windows.Forms.Label label28;
|
||||
private System.Windows.Forms.Label label27;
|
||||
private System.Windows.Forms.ComboBox comboBox4;
|
||||
private System.Windows.Forms.ComboBox comboBox3;
|
||||
private System.Windows.Forms.ComboBox comboBox2;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.ComboBox CB_FaceHair;
|
||||
private System.Windows.Forms.ComboBox CB_Hair;
|
||||
private System.Windows.Forms.ComboBox CB_Eye;
|
||||
private System.Windows.Forms.ComboBox CB_Skin;
|
||||
private System.Windows.Forms.Label label26;
|
||||
private System.Windows.Forms.Label label25;
|
||||
private System.Windows.Forms.Label label24;
|
||||
private System.Windows.Forms.Label label23;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.GroupBox GB_Map;
|
||||
private System.Windows.Forms.GroupBox GB_Reserved;
|
||||
private System.Windows.Forms.MaskedTextBox TB_CoordY;
|
||||
private System.Windows.Forms.MaskedTextBox TB_CoordZ;
|
||||
private System.Windows.Forms.MaskedTextBox TB_CoordX;
|
||||
private System.Windows.Forms.MaskedTextBox TB_CoordM;
|
||||
private System.Windows.Forms.GroupBox GB_Misc;
|
||||
private System.Windows.Forms.Label label34;
|
||||
private System.Windows.Forms.PictureBox PB_Sprite;
|
||||
private System.Windows.Forms.ComboBox CB_Multi;
|
||||
private System.Windows.Forms.Label label33;
|
||||
private System.Windows.Forms.ComboBox CB_Stats;
|
||||
private System.Windows.Forms.Label label39;
|
||||
private System.Windows.Forms.MaskedTextBox MT_Stat;
|
||||
private System.Windows.Forms.Label L_Offset;
|
||||
}
|
||||
}
|
|
@ -19,10 +19,171 @@ namespace PKHeX
|
|||
m_parent = frm1;
|
||||
Array.Copy(m_parent.savefile, sav, 0x100000);
|
||||
savindex = m_parent.savindex;
|
||||
editing = true;
|
||||
getComboBoxes();
|
||||
getTextBoxes();
|
||||
getBadges();
|
||||
|
||||
statdata = new string[] {
|
||||
"0x000", "0x000", // Steps taken?
|
||||
"0x004", "0x004", // Minutes Played / Pokemon Encountered?
|
||||
"0x008", "0x008",
|
||||
"0x00C", "0x00C",
|
||||
"0x010", "0x010",
|
||||
"0x014", "0x014",
|
||||
"0x018", "0x018",
|
||||
"0x01C", "0x01C",
|
||||
"0x020", "0x020",
|
||||
"0x024", "Eggs Hatched",
|
||||
"0x028", "Nice! Received",
|
||||
"0x02C", "0x02C",
|
||||
"0x030", "0x030",
|
||||
"0x034", "0x034",
|
||||
"0x038", "0x038",
|
||||
"0x03C", "0x03C",
|
||||
"0x040", "0x040",
|
||||
"0x044", "0x044",
|
||||
"0x048", "0x048",
|
||||
"0x04C", "0x04C",
|
||||
"0x050", "0x050",
|
||||
"0x054", "0x054",
|
||||
"0x058", "0x058",
|
||||
"0x05C", "0x05C",
|
||||
"0x060", "0x060",
|
||||
"0x064", "0x064",
|
||||
"0x068", "0x068",
|
||||
"0x06C", "0x06C",
|
||||
"0x070", "0x070",
|
||||
"0x074", "0x074",
|
||||
"0x078", "0x078",
|
||||
"0x07C", "0x07C",
|
||||
"0x080", "0x080",
|
||||
"0x084", "0x084",
|
||||
"0x088", "0x088",
|
||||
"0x08C", "0x08C",
|
||||
"0x090", "0x090",
|
||||
"0x094", "0x094",
|
||||
"0x098", "0x098",
|
||||
"0x09C", "0x09C",
|
||||
"0x0A0", "0x0A0",
|
||||
"0x0A4", "0x0A4",
|
||||
"0x0A8", "0x0A8",
|
||||
"0x0AC", "0x0AC",
|
||||
"0x0B0", "0x0B0",
|
||||
"0x0B4", "0x0B4",
|
||||
"0x0B8", "0x0B8",
|
||||
"0x0BC", "0x0BC",
|
||||
"0x0C0", "0x0C0",
|
||||
"0x0C4", "0x0C4",
|
||||
"0x0C8", "0x0C8",
|
||||
"0x0CC", "0x0CC",
|
||||
"0x0D0", "0x0D0",
|
||||
"0x0D4", "0x0D4",
|
||||
"0x0D8", "0x0D8",
|
||||
"0x0DC", "0x0DC",
|
||||
"0x0E0", "0x0E0",
|
||||
"0x0E4", "0x0E4",
|
||||
"0x0E8", "0x0E8",
|
||||
"0x0EC", "0x0EC",
|
||||
"0x0F0", "0x0F0",
|
||||
"0x0F4", "0x0F4",
|
||||
"0x0F8", "0x0F8",
|
||||
"0x0FC", "Current Pokemiles",
|
||||
"0x100", "Obtained Pokemiles",
|
||||
"0x104", "0x104",
|
||||
"0x108", "0x108",
|
||||
"0x10C", "0x10C",
|
||||
"0x110", "0x110",
|
||||
"0x114", "0x114",
|
||||
"0x118", "0x118", // Link Trades?
|
||||
"0x11C", "Link Battle", // Wins", // ?
|
||||
"0x120", "0x120", // Link Battle Losses?
|
||||
"0x124", "0x124",
|
||||
"0x128", "0x128",
|
||||
"0x12C", "0x12C",
|
||||
"0x130", "0x130",
|
||||
"0x134", "0x134",
|
||||
"0x138", "0x138",
|
||||
"0x13C", "0x13C",
|
||||
"0x140", "0x140",
|
||||
"0x144", "0x144",
|
||||
"0x148", "0x148",
|
||||
"0x14C", "0x14C",
|
||||
"0x150", "0x150",
|
||||
"0x154", "0x154",
|
||||
"0x158", "0x158",
|
||||
"0x15C", "0x15C",
|
||||
"0x160", "0x160",
|
||||
"0x164", "0x164",
|
||||
"0x168", "0x168",
|
||||
"0x16C", "0x16C",
|
||||
"0x170", "0x170",
|
||||
"0x174", "0x174",
|
||||
"0x178", "0x178",
|
||||
"0x17C", "0x17C",
|
||||
"0x180", "0x180",
|
||||
"0x184", "0x184",
|
||||
"0x188", "0x188",
|
||||
"0x18C", "0x18C",
|
||||
"0x190", "0x190",
|
||||
"0x194", "0x194",
|
||||
"0x198", "0x198",
|
||||
"0x19C", "0x19C",
|
||||
"0x1A0", "0x1A0",
|
||||
"0x1A4", "0x1A4",
|
||||
"0x1A8", "0x1A8",
|
||||
"0x1AC", "0x1AC",
|
||||
"0x1B0", "0x1B0",
|
||||
"0x1B4", "0x1B4",
|
||||
"0x1B8", "0x1B8",
|
||||
"0x1BC", "0x1BC",
|
||||
"0x1C0", "0x1C0",
|
||||
"0x1C4", "0x1C4",
|
||||
"0x1C8", "0x1C8",
|
||||
"0x1CC", "0x1CC",
|
||||
"0x1D0", "0x1D0",
|
||||
"0x1D4", "0x1D4",
|
||||
"0x1D8", "0x1D8",
|
||||
"0x1DC", "0x1DC",
|
||||
"0x1E0", "0x1E0",
|
||||
"0x1E4", "0x1E4",
|
||||
"0x1E8", "0x1E8",
|
||||
"0x1EC", "0x1EC",
|
||||
"0x1F0", "0x1F0",
|
||||
"0x1F4", "0x1F4",
|
||||
"0x1F8", "0x1F8",
|
||||
"0x1FC", "0x1FC",
|
||||
"0x200", "0x200",
|
||||
"0x204", "0x204",
|
||||
"0x208", "0x208",
|
||||
"0x20C", "0x20C",
|
||||
"0x210", "0x210",
|
||||
"0x214", "0x214",
|
||||
"0x218", "0x218",
|
||||
"0x21C", "0x21C",
|
||||
"0x220", "0x220",
|
||||
"0x224", "0x224",
|
||||
"0x228", "0x228",
|
||||
"0x22C", "0x22C",
|
||||
"0x230", "0x230",
|
||||
"0x234", "0x234",
|
||||
"0x238", "0x238",
|
||||
"0x23C", "0x23C",
|
||||
"0x240", "0x240",
|
||||
"0x244", "0x244",
|
||||
"0x248", "0x248",
|
||||
"0x24C", "0x24C",
|
||||
"0x250", "0x250",
|
||||
"0x254", "0x254",
|
||||
"0x258", "0x258",
|
||||
}; // Offset, Title. Horrible implementation, but works.
|
||||
|
||||
CB_Stats.Items.Clear();
|
||||
for (int i = 0; i < statdata.Length / 2; i++)
|
||||
CB_Stats.Items.Add(statdata[2 * i + 1]);
|
||||
CB_Stats.SelectedIndex = 0;
|
||||
}
|
||||
private string[] statdata = new string[] { };
|
||||
string Game;
|
||||
Form1 m_parent;
|
||||
public byte[] sav = new Byte[0x100000];
|
||||
|
@ -411,19 +572,42 @@ namespace PKHeX
|
|||
{
|
||||
MT_Money.Text = "9,999,999";
|
||||
}
|
||||
|
||||
private void changeBadge(object sender, EventArgs e)
|
||||
{
|
||||
getBadges();
|
||||
}
|
||||
|
||||
private void changeStyle(object sender, EventArgs e)
|
||||
{
|
||||
if (TB_Style.Text == "") TB_Style.Text = "0";
|
||||
if (int.Parse(TB_Style.Text) > 255) TB_Style.Text = "255";
|
||||
}
|
||||
|
||||
}
|
||||
private void changeStat(object sender, EventArgs e)
|
||||
{
|
||||
editing = true;
|
||||
{
|
||||
int pssoff = 0x23800 + savindex * 0x7F000;
|
||||
string offsetstr = statdata[CB_Stats.SelectedIndex * 2];
|
||||
int offset = (int)new System.ComponentModel.Int32Converter().ConvertFromString(offsetstr);
|
||||
|
||||
|
||||
MT_Stat.Text = BitConverter.ToUInt32(sav, pssoff + offset).ToString();
|
||||
L_Offset.Text = "0x" + offset.ToString("X3");
|
||||
}
|
||||
editing = false;
|
||||
}
|
||||
private void changeStatVal(object sender, EventArgs e)
|
||||
{
|
||||
if (!editing)
|
||||
{
|
||||
int pssoff = 0x23800 + savindex * 0x7F000;
|
||||
string offsetstr = statdata[CB_Stats.SelectedIndex * 2];
|
||||
int offset = (int)new System.ComponentModel.Int32Converter().ConvertFromString(offsetstr);
|
||||
|
||||
uint val = UInt32.Parse(MT_Stat.Text);
|
||||
byte[] data = BitConverter.GetBytes(val);
|
||||
Array.Resize(ref data, 4);
|
||||
Array.Copy(data, 0, sav, pssoff + offset, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue