diff --git a/PKHeX/MainWindow/Main.cs b/PKHeX/MainWindow/Main.cs
index 7d95e9912..dcc451ee7 100644
--- a/PKHeX/MainWindow/Main.cs
+++ b/PKHeX/MainWindow/Main.cs
@@ -3851,6 +3851,8 @@ private void B_OpenTrainerInfo_Click(object sender, EventArgs e)
new SAV_SimpleTrainer().ShowDialog();
else if (SAV.Generation == 6)
new SAV_Trainer().ShowDialog();
+ else if (SAV.Generation == 7)
+ new SAV_Trainer7().ShowDialog();
// Refresh conversion info
PKMConverter.updateConfig(SAV.SubRegion, SAV.Country, SAV.ConsoleRegion, SAV.OT, SAV.Gender);
}
diff --git a/PKHeX/PKHeX.csproj b/PKHeX/PKHeX.csproj
index 19fc500af..945e76994 100644
--- a/PKHeX/PKHeX.csproj
+++ b/PKHeX/PKHeX.csproj
@@ -265,6 +265,12 @@
SAV_PokeBlockORAS.cs
+
+ Form
+
+
+ SAV_Trainer7.cs
+
Form
@@ -438,6 +444,9 @@
SAV_PokeBlockORAS.cs
+
+ SAV_Trainer7.cs
+
SAV_BoxViewer.cs
diff --git a/PKHeX/Resources/img/misc/trainingmedal.png b/PKHeX/Resources/img/misc/trainingmedal.png
deleted file mode 100644
index 52c8ede19..000000000
Binary files a/PKHeX/Resources/img/misc/trainingmedal.png and /dev/null differ
diff --git a/PKHeX/Saves/SAV7.cs b/PKHeX/Saves/SAV7.cs
index 5a4f0222e..613d3b566 100644
--- a/PKHeX/Saves/SAV7.cs
+++ b/PKHeX/Saves/SAV7.cs
@@ -169,7 +169,7 @@ private void getSAVOffsets()
if (SMDEMO)
{
/* 00 */ Item = 0x00000; // [DE0] MyItem
- /* 01 */ // = 0x00E00; // [07C] Situation
+ /* 01 */ Trainer1 = 0x00E00; // [07C] Situation
/* 02 */ // = 0x01000; // [014] RandomGroup
/* 03 */ TrainerCard = 0x01200; // [0C0] MyStatus
/* 04 */ Party = 0x01400; // [61C] PokePartySave
@@ -177,7 +177,7 @@ private void getSAVOffsets()
/* 06 */ PokeDex = 0x02A00; // [F78] ZukanData
/* 07 */ GTS = 0x03A00; // [228] GtsData
/* 08 */ Fused = 0x03E00; // [104] UnionPokemon
- /* 09 */ // = 0x04000; // [200] Misc
+ /* 09 */ Misc = 0x04000; // [200] Misc
/* 10 */ Trainer2 = 0x04200; // [020] FieldMenu
/* 11 */ // = 0x04400; // [004] ConfigSave
/* 12 */ AdventureInfo = 0x04600; // [058] GameTime
@@ -230,6 +230,7 @@ private void getSAVOffsets()
private int Item { get; set; } = int.MinValue;
private int AdventureInfo { get; set; } = int.MinValue;
private int Trainer2 { get; set; } = int.MinValue;
+ private int Misc { get; set; } = int.MinValue;
private int LastViewedBox { get; set; } = int.MinValue;
private int WondercardFlags { get; set; } = int.MinValue;
private int PlayTime { get; set; } = int.MinValue;
@@ -335,11 +336,32 @@ public override string OT
get { return Util.TrimFromZero(Encoding.Unicode.GetString(Data, TrainerCard + 0x38, 0x1A)); }
set { Encoding.Unicode.GetBytes(value.PadRight(13, '\0')).CopyTo(Data, TrainerCard + 0x38); }
}
-
+ public int M
+ {
+ get { return BitConverter.ToUInt16(Data, Trainer1 + 0x00); } // could be anywhere 0x0-0x7
+ set { BitConverter.GetBytes((ushort)value).CopyTo(Data, Trainer1 + 0x00); }
+ }
+ public float X
+ {
+ get { return BitConverter.ToSingle(Data, Trainer1 + 0x08); }
+ set { BitConverter.GetBytes(value).CopyTo(Data, Trainer1 + 0x08); }
+ }
+ // 0xC probably rotation
+ public float Z
+ {
+ get { return BitConverter.ToSingle(Data, Trainer1 + 0x10); }
+ set { BitConverter.GetBytes(value).CopyTo(Data, Trainer1 + 0x10); }
+ }
+ public float Y
+ {
+ get { return (int)BitConverter.ToSingle(Data, Trainer1 + 0x20); }
+ set { BitConverter.GetBytes(value).CopyTo(Data, Trainer1 + 0x20); }
+ }
+
public override uint Money
{
- get { return BitConverter.ToUInt32(Data, Trainer2 + 0x4); }
- set { BitConverter.GetBytes(value).CopyTo(Data, Trainer2 + 0x4); }
+ get { return BitConverter.ToUInt32(Data, Misc + 0x4); }
+ set { BitConverter.GetBytes(value).CopyTo(Data, Misc + 0x4); }
}
public override int PlayedHours
{
@@ -380,11 +402,11 @@ public override InventoryPouch[] Inventory
{
InventoryPouch[] pouch =
{
- new InventoryPouch(InventoryType.Items, Legal.Pouch_Items_SM, 999, OFS_PouchHeldItem),
- new InventoryPouch(InventoryType.KeyItems, Legal.Pouch_Key_SM, 1, OFS_PouchKeyItem),
- new InventoryPouch(InventoryType.TMHMs, Legal.Pouch_TMHM_SM, 1, OFS_PouchTMHM),
new InventoryPouch(InventoryType.Medicine, Legal.Pouch_Medicine_SM, 999, OFS_PouchMedicine),
+ new InventoryPouch(InventoryType.Items, Legal.Pouch_Items_SM, 999, OFS_PouchHeldItem),
+ new InventoryPouch(InventoryType.TMHMs, Legal.Pouch_TMHM_SM, 1, OFS_PouchTMHM),
new InventoryPouch(InventoryType.Berries, Legal.Pouch_Berries_SM, 999, OFS_PouchBerry),
+ new InventoryPouch(InventoryType.KeyItems, Legal.Pouch_Key_SM, 1, OFS_PouchKeyItem),
new InventoryPouch(InventoryType.ZCrystals, Legal.Pouch_ZCrystal_SM, 999, OFS_PouchZCrystals),
};
foreach (var p in pouch)
diff --git a/PKHeX/Subforms/Save Editors/Gen7/SAV_Trainer7.Designer.cs b/PKHeX/Subforms/Save Editors/Gen7/SAV_Trainer7.Designer.cs
new file mode 100644
index 000000000..04c573a6f
--- /dev/null
+++ b/PKHeX/Subforms/Save Editors/Gen7/SAV_Trainer7.Designer.cs
@@ -0,0 +1,1115 @@
+namespace PKHeX
+{
+ partial class SAV_Trainer7
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SAV_Trainer7));
+ this.B_Cancel = new System.Windows.Forms.Button();
+ this.B_Save = new System.Windows.Forms.Button();
+ this.TB_OTName = new System.Windows.Forms.TextBox();
+ this.L_TrainerName = new System.Windows.Forms.Label();
+ this.MT_Money = new System.Windows.Forms.MaskedTextBox();
+ this.L_Money = new System.Windows.Forms.Label();
+ this.L_TID = new System.Windows.Forms.Label();
+ this.L_SID = new System.Windows.Forms.Label();
+ this.MT_TID = new System.Windows.Forms.MaskedTextBox();
+ this.MT_SID = new System.Windows.Forms.MaskedTextBox();
+ this.L_Saying5 = new System.Windows.Forms.Label();
+ this.L_Saying4 = new System.Windows.Forms.Label();
+ this.L_Saying3 = new System.Windows.Forms.Label();
+ this.L_Saying2 = new System.Windows.Forms.Label();
+ this.L_Saying1 = new System.Windows.Forms.Label();
+ this.TB_Saying5 = new System.Windows.Forms.TextBox();
+ this.TB_Saying4 = new System.Windows.Forms.TextBox();
+ this.TB_Saying3 = new System.Windows.Forms.TextBox();
+ this.TB_Saying2 = new System.Windows.Forms.TextBox();
+ this.TB_Saying1 = new System.Windows.Forms.TextBox();
+ this.L_LastSaved = new System.Windows.Forms.Label();
+ this.CAL_LastSavedDate = new System.Windows.Forms.DateTimePicker();
+ this.L_Seconds = new System.Windows.Forms.Label();
+ this.L_Minutes = new System.Windows.Forms.Label();
+ this.MT_Seconds = new System.Windows.Forms.MaskedTextBox();
+ this.MT_Minutes = new System.Windows.Forms.MaskedTextBox();
+ this.L_Hours = new System.Windows.Forms.Label();
+ this.MT_Hours = new System.Windows.Forms.MaskedTextBox();
+ this.L_Language = new System.Windows.Forms.Label();
+ this.L_Region = new System.Windows.Forms.Label();
+ this.L_Country = new System.Windows.Forms.Label();
+ this.CB_Region = new System.Windows.Forms.ComboBox();
+ this.CB_Country = new System.Windows.Forms.ComboBox();
+ this.B_MaxCash = new System.Windows.Forms.Button();
+ this.CB_3DSReg = new System.Windows.Forms.ComboBox();
+ this.CB_Language = new System.Windows.Forms.ComboBox();
+ this.L_3DSReg = new System.Windows.Forms.Label();
+ this.CB_Game = new System.Windows.Forms.ComboBox();
+ this.CB_Gender = new System.Windows.Forms.ComboBox();
+ this.TB_MBMS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBMN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBRS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBRN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBTS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBTN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBDS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBDN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBSS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MBSN = new System.Windows.Forms.MaskedTextBox();
+ this.L_SuperB = new System.Windows.Forms.Label();
+ this.L_NormalB = new System.Windows.Forms.Label();
+ this.L_MultiB = new System.Windows.Forms.Label();
+ this.L_RotationB = new System.Windows.Forms.Label();
+ this.L_TriplesB = new System.Windows.Forms.Label();
+ this.L_DoublesB = new System.Windows.Forms.Label();
+ this.L_SinglesB = new System.Windows.Forms.Label();
+ this.TB_MCMS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCMN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCRS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCRN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCTS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCTN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCDS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCDN = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCSS = new System.Windows.Forms.MaskedTextBox();
+ this.TB_MCSN = new System.Windows.Forms.MaskedTextBox();
+ this.L_SuperC = new System.Windows.Forms.Label();
+ this.L_NormalC = new System.Windows.Forms.Label();
+ this.L_MultiC = new System.Windows.Forms.Label();
+ this.L_RotationC = new System.Windows.Forms.Label();
+ this.L_TriplesC = new System.Windows.Forms.Label();
+ this.L_DoublesC = new System.Windows.Forms.Label();
+ this.L_SinglesC = new System.Windows.Forms.Label();
+ this.TC_Editor = new System.Windows.Forms.TabControl();
+ this.Tab_Overview = new System.Windows.Forms.TabPage();
+ this.GB_Adventure = new System.Windows.Forms.GroupBox();
+ this.L_Fame = new System.Windows.Forms.Label();
+ this.CAL_HoFDate = new System.Windows.Forms.DateTimePicker();
+ this.CAL_HoFTime = new System.Windows.Forms.DateTimePicker();
+ this.L_Started = new System.Windows.Forms.Label();
+ this.CAL_AdventureStartDate = new System.Windows.Forms.DateTimePicker();
+ this.CAL_AdventureStartTime = new System.Windows.Forms.DateTimePicker();
+ this.CAL_LastSavedTime = new System.Windows.Forms.DateTimePicker();
+ this.Tab_BadgeMap = new System.Windows.Forms.TabPage();
+ this.GB_Map = new System.Windows.Forms.GroupBox();
+ this.NUD_Z = new System.Windows.Forms.NumericUpDown();
+ this.NUD_M = new System.Windows.Forms.NumericUpDown();
+ this.NUD_Y = new System.Windows.Forms.NumericUpDown();
+ this.NUD_X = new System.Windows.Forms.NumericUpDown();
+ this.L_Y = new System.Windows.Forms.Label();
+ this.L_CurrentMap = new System.Windows.Forms.Label();
+ this.L_Z = new System.Windows.Forms.Label();
+ this.L_X = new System.Windows.Forms.Label();
+ this.TC_Editor.SuspendLayout();
+ this.Tab_Overview.SuspendLayout();
+ this.GB_Adventure.SuspendLayout();
+ this.GB_Map.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_Z)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_M)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_Y)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_X)).BeginInit();
+ this.SuspendLayout();
+ //
+ // B_Cancel
+ //
+ this.B_Cancel.Location = new System.Drawing.Point(250, 296);
+ this.B_Cancel.Name = "B_Cancel";
+ this.B_Cancel.Size = new System.Drawing.Size(75, 23);
+ this.B_Cancel.TabIndex = 0;
+ this.B_Cancel.Text = "Cancel";
+ this.B_Cancel.UseVisualStyleBackColor = true;
+ this.B_Cancel.Click += new System.EventHandler(this.B_Cancel_Click);
+ //
+ // B_Save
+ //
+ this.B_Save.Location = new System.Drawing.Point(331, 296);
+ this.B_Save.Name = "B_Save";
+ this.B_Save.Size = new System.Drawing.Size(75, 23);
+ this.B_Save.TabIndex = 1;
+ this.B_Save.Text = "Save";
+ this.B_Save.UseVisualStyleBackColor = true;
+ this.B_Save.Click += new System.EventHandler(this.B_Save_Click);
+ //
+ // TB_OTName
+ //
+ this.TB_OTName.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.TB_OTName.Location = new System.Drawing.Point(99, 7);
+ this.TB_OTName.MaxLength = 12;
+ this.TB_OTName.Name = "TB_OTName";
+ this.TB_OTName.Size = new System.Drawing.Size(93, 20);
+ this.TB_OTName.TabIndex = 2;
+ this.TB_OTName.Text = "WWWWWWWWWWWW";
+ this.TB_OTName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.TB_OTName.MouseDown += new System.Windows.Forms.MouseEventHandler(this.clickOT);
+ //
+ // L_TrainerName
+ //
+ this.L_TrainerName.Location = new System.Drawing.Point(7, 9);
+ this.L_TrainerName.Name = "L_TrainerName";
+ this.L_TrainerName.Size = new System.Drawing.Size(87, 16);
+ this.L_TrainerName.TabIndex = 3;
+ this.L_TrainerName.Text = "Trainer Name:";
+ //
+ // MT_Money
+ //
+ this.MT_Money.Location = new System.Drawing.Point(119, 29);
+ this.MT_Money.Mask = "0000000";
+ this.MT_Money.Name = "MT_Money";
+ this.MT_Money.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.MT_Money.Size = new System.Drawing.Size(52, 20);
+ this.MT_Money.TabIndex = 4;
+ this.MT_Money.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // L_Money
+ //
+ this.L_Money.AutoSize = true;
+ this.L_Money.Location = new System.Drawing.Point(102, 32);
+ this.L_Money.Name = "L_Money";
+ this.L_Money.Size = new System.Drawing.Size(16, 13);
+ this.L_Money.TabIndex = 5;
+ this.L_Money.Text = "$:";
+ //
+ // L_TID
+ //
+ this.L_TID.Location = new System.Drawing.Point(9, 31);
+ this.L_TID.Name = "L_TID";
+ this.L_TID.Size = new System.Drawing.Size(38, 13);
+ this.L_TID.TabIndex = 6;
+ this.L_TID.Text = "TID:";
+ this.L_TID.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // L_SID
+ //
+ this.L_SID.Location = new System.Drawing.Point(9, 54);
+ this.L_SID.Name = "L_SID";
+ this.L_SID.Size = new System.Drawing.Size(38, 13);
+ this.L_SID.TabIndex = 7;
+ this.L_SID.Text = "SID:";
+ this.L_SID.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // MT_TID
+ //
+ this.MT_TID.Location = new System.Drawing.Point(53, 30);
+ this.MT_TID.Mask = "00000";
+ this.MT_TID.Name = "MT_TID";
+ this.MT_TID.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.MT_TID.Size = new System.Drawing.Size(39, 20);
+ this.MT_TID.TabIndex = 8;
+ this.MT_TID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.MT_TID.TextChanged += new System.EventHandler(this.changeFFFF);
+ this.MT_TID.MouseHover += new System.EventHandler(this.showTSV);
+ //
+ // MT_SID
+ //
+ this.MT_SID.Location = new System.Drawing.Point(53, 51);
+ this.MT_SID.Mask = "00000";
+ this.MT_SID.Name = "MT_SID";
+ this.MT_SID.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.MT_SID.Size = new System.Drawing.Size(39, 20);
+ this.MT_SID.TabIndex = 9;
+ this.MT_SID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.MT_SID.TextChanged += new System.EventHandler(this.changeFFFF);
+ this.MT_SID.MouseHover += new System.EventHandler(this.showTSV);
+ //
+ // L_Saying5
+ //
+ this.L_Saying5.Location = new System.Drawing.Point(0, 0);
+ this.L_Saying5.Name = "L_Saying5";
+ this.L_Saying5.Size = new System.Drawing.Size(100, 23);
+ this.L_Saying5.TabIndex = 0;
+ //
+ // L_Saying4
+ //
+ this.L_Saying4.Location = new System.Drawing.Point(0, 0);
+ this.L_Saying4.Name = "L_Saying4";
+ this.L_Saying4.Size = new System.Drawing.Size(100, 23);
+ this.L_Saying4.TabIndex = 0;
+ //
+ // L_Saying3
+ //
+ this.L_Saying3.Location = new System.Drawing.Point(0, 0);
+ this.L_Saying3.Name = "L_Saying3";
+ this.L_Saying3.Size = new System.Drawing.Size(100, 23);
+ this.L_Saying3.TabIndex = 0;
+ //
+ // L_Saying2
+ //
+ this.L_Saying2.Location = new System.Drawing.Point(0, 0);
+ this.L_Saying2.Name = "L_Saying2";
+ this.L_Saying2.Size = new System.Drawing.Size(100, 23);
+ this.L_Saying2.TabIndex = 0;
+ //
+ // L_Saying1
+ //
+ this.L_Saying1.Location = new System.Drawing.Point(0, 0);
+ this.L_Saying1.Name = "L_Saying1";
+ this.L_Saying1.Size = new System.Drawing.Size(100, 23);
+ this.L_Saying1.TabIndex = 0;
+ //
+ // TB_Saying5
+ //
+ this.TB_Saying5.Location = new System.Drawing.Point(0, 0);
+ this.TB_Saying5.Name = "TB_Saying5";
+ this.TB_Saying5.Size = new System.Drawing.Size(100, 20);
+ this.TB_Saying5.TabIndex = 0;
+ //
+ // TB_Saying4
+ //
+ this.TB_Saying4.Location = new System.Drawing.Point(0, 0);
+ this.TB_Saying4.Name = "TB_Saying4";
+ this.TB_Saying4.Size = new System.Drawing.Size(100, 20);
+ this.TB_Saying4.TabIndex = 0;
+ //
+ // TB_Saying3
+ //
+ this.TB_Saying3.Location = new System.Drawing.Point(0, 0);
+ this.TB_Saying3.Name = "TB_Saying3";
+ this.TB_Saying3.Size = new System.Drawing.Size(100, 20);
+ this.TB_Saying3.TabIndex = 0;
+ //
+ // TB_Saying2
+ //
+ this.TB_Saying2.Location = new System.Drawing.Point(0, 0);
+ this.TB_Saying2.Name = "TB_Saying2";
+ this.TB_Saying2.Size = new System.Drawing.Size(100, 20);
+ this.TB_Saying2.TabIndex = 0;
+ //
+ // TB_Saying1
+ //
+ this.TB_Saying1.Location = new System.Drawing.Point(0, 0);
+ this.TB_Saying1.Name = "TB_Saying1";
+ this.TB_Saying1.Size = new System.Drawing.Size(100, 20);
+ this.TB_Saying1.TabIndex = 0;
+ //
+ // L_LastSaved
+ //
+ this.L_LastSaved.Location = new System.Drawing.Point(3, 110);
+ this.L_LastSaved.Name = "L_LastSaved";
+ this.L_LastSaved.Size = new System.Drawing.Size(80, 20);
+ this.L_LastSaved.TabIndex = 32;
+ this.L_LastSaved.Text = "Last Saved:";
+ this.L_LastSaved.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // CAL_LastSavedDate
+ //
+ this.CAL_LastSavedDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+ this.CAL_LastSavedDate.Location = new System.Drawing.Point(89, 110);
+ this.CAL_LastSavedDate.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0);
+ this.CAL_LastSavedDate.Name = "CAL_LastSavedDate";
+ this.CAL_LastSavedDate.Size = new System.Drawing.Size(99, 20);
+ this.CAL_LastSavedDate.TabIndex = 31;
+ this.CAL_LastSavedDate.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ //
+ // L_Seconds
+ //
+ this.L_Seconds.AutoSize = true;
+ this.L_Seconds.Location = new System.Drawing.Point(136, 17);
+ this.L_Seconds.Name = "L_Seconds";
+ this.L_Seconds.Size = new System.Drawing.Size(29, 13);
+ this.L_Seconds.TabIndex = 30;
+ this.L_Seconds.Text = "Sec:";
+ //
+ // L_Minutes
+ //
+ this.L_Minutes.AutoSize = true;
+ this.L_Minutes.Location = new System.Drawing.Point(84, 17);
+ this.L_Minutes.Name = "L_Minutes";
+ this.L_Minutes.Size = new System.Drawing.Size(27, 13);
+ this.L_Minutes.TabIndex = 29;
+ this.L_Minutes.Text = "Min:";
+ //
+ // MT_Seconds
+ //
+ this.MT_Seconds.Location = new System.Drawing.Point(166, 14);
+ this.MT_Seconds.Mask = "00";
+ this.MT_Seconds.Name = "MT_Seconds";
+ this.MT_Seconds.Size = new System.Drawing.Size(22, 20);
+ this.MT_Seconds.TabIndex = 28;
+ this.MT_Seconds.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.MT_Seconds.TextChanged += new System.EventHandler(this.change255);
+ //
+ // MT_Minutes
+ //
+ this.MT_Minutes.Location = new System.Drawing.Point(111, 14);
+ this.MT_Minutes.Mask = "00";
+ this.MT_Minutes.Name = "MT_Minutes";
+ this.MT_Minutes.Size = new System.Drawing.Size(22, 20);
+ this.MT_Minutes.TabIndex = 27;
+ this.MT_Minutes.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.MT_Minutes.TextChanged += new System.EventHandler(this.change255);
+ //
+ // L_Hours
+ //
+ this.L_Hours.AutoSize = true;
+ this.L_Hours.Location = new System.Drawing.Point(12, 17);
+ this.L_Hours.Name = "L_Hours";
+ this.L_Hours.Size = new System.Drawing.Size(26, 13);
+ this.L_Hours.TabIndex = 26;
+ this.L_Hours.Text = "Hrs:";
+ //
+ // MT_Hours
+ //
+ this.MT_Hours.Location = new System.Drawing.Point(44, 14);
+ this.MT_Hours.Mask = "00000";
+ this.MT_Hours.Name = "MT_Hours";
+ this.MT_Hours.Size = new System.Drawing.Size(38, 20);
+ this.MT_Hours.TabIndex = 25;
+ this.MT_Hours.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // L_Language
+ //
+ this.L_Language.Location = new System.Drawing.Point(14, 77);
+ this.L_Language.Name = "L_Language";
+ this.L_Language.Size = new System.Drawing.Size(80, 13);
+ this.L_Language.TabIndex = 21;
+ this.L_Language.Text = "Language:";
+ this.L_Language.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // L_Region
+ //
+ this.L_Region.Location = new System.Drawing.Point(202, 32);
+ this.L_Region.Name = "L_Region";
+ this.L_Region.Size = new System.Drawing.Size(80, 13);
+ this.L_Region.TabIndex = 20;
+ this.L_Region.Text = "Sub Region:";
+ this.L_Region.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // L_Country
+ //
+ this.L_Country.Location = new System.Drawing.Point(202, 10);
+ this.L_Country.Name = "L_Country";
+ this.L_Country.Size = new System.Drawing.Size(80, 13);
+ this.L_Country.TabIndex = 19;
+ this.L_Country.Text = "Country:";
+ this.L_Country.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // CB_Region
+ //
+ this.CB_Region.DropDownWidth = 180;
+ this.CB_Region.FormattingEnabled = true;
+ this.CB_Region.Location = new System.Drawing.Point(287, 29);
+ this.CB_Region.Name = "CB_Region";
+ this.CB_Region.Size = new System.Drawing.Size(93, 21);
+ this.CB_Region.TabIndex = 18;
+ //
+ // CB_Country
+ //
+ this.CB_Country.DropDownWidth = 180;
+ this.CB_Country.FormattingEnabled = true;
+ this.CB_Country.Location = new System.Drawing.Point(287, 7);
+ this.CB_Country.Name = "CB_Country";
+ this.CB_Country.Size = new System.Drawing.Size(93, 21);
+ this.CB_Country.TabIndex = 17;
+ this.CB_Country.SelectedIndexChanged += new System.EventHandler(this.updateCountry);
+ //
+ // B_MaxCash
+ //
+ this.B_MaxCash.Location = new System.Drawing.Point(172, 29);
+ this.B_MaxCash.Name = "B_MaxCash";
+ this.B_MaxCash.Size = new System.Drawing.Size(20, 20);
+ this.B_MaxCash.TabIndex = 16;
+ this.B_MaxCash.Text = "+";
+ this.B_MaxCash.UseVisualStyleBackColor = true;
+ //
+ // CB_3DSReg
+ //
+ this.CB_3DSReg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.CB_3DSReg.FormattingEnabled = true;
+ this.CB_3DSReg.Location = new System.Drawing.Point(287, 51);
+ this.CB_3DSReg.Name = "CB_3DSReg";
+ this.CB_3DSReg.Size = new System.Drawing.Size(93, 21);
+ this.CB_3DSReg.TabIndex = 14;
+ //
+ // CB_Language
+ //
+ this.CB_Language.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.CB_Language.FormattingEnabled = true;
+ this.CB_Language.Location = new System.Drawing.Point(99, 73);
+ this.CB_Language.Name = "CB_Language";
+ this.CB_Language.Size = new System.Drawing.Size(93, 21);
+ this.CB_Language.TabIndex = 15;
+ //
+ // L_3DSReg
+ //
+ this.L_3DSReg.Location = new System.Drawing.Point(202, 54);
+ this.L_3DSReg.Name = "L_3DSReg";
+ this.L_3DSReg.Size = new System.Drawing.Size(80, 13);
+ this.L_3DSReg.TabIndex = 10;
+ this.L_3DSReg.Text = "3DS Region:";
+ this.L_3DSReg.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // CB_Game
+ //
+ this.CB_Game.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.CB_Game.Enabled = false;
+ this.CB_Game.FormattingEnabled = true;
+ this.CB_Game.Items.AddRange(new object[] {
+ "X",
+ "Y",
+ "AS",
+ "OR"});
+ this.CB_Game.Location = new System.Drawing.Point(141, 51);
+ this.CB_Game.Name = "CB_Game";
+ this.CB_Game.Size = new System.Drawing.Size(51, 21);
+ this.CB_Game.TabIndex = 24;
+ //
+ // CB_Gender
+ //
+ this.CB_Gender.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.CB_Gender.Enabled = false;
+ this.CB_Gender.FormattingEnabled = true;
+ this.CB_Gender.Items.AddRange(new object[] {
+ "♂",
+ "♀"});
+ this.CB_Gender.Location = new System.Drawing.Point(99, 51);
+ this.CB_Gender.Name = "CB_Gender";
+ this.CB_Gender.Size = new System.Drawing.Size(40, 21);
+ this.CB_Gender.TabIndex = 22;
+ //
+ // TB_MBMS
+ //
+ this.TB_MBMS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBMS.Name = "TB_MBMS";
+ this.TB_MBMS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBMS.TabIndex = 0;
+ //
+ // TB_MBMN
+ //
+ this.TB_MBMN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBMN.Name = "TB_MBMN";
+ this.TB_MBMN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBMN.TabIndex = 0;
+ //
+ // TB_MBRS
+ //
+ this.TB_MBRS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBRS.Name = "TB_MBRS";
+ this.TB_MBRS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBRS.TabIndex = 0;
+ //
+ // TB_MBRN
+ //
+ this.TB_MBRN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBRN.Name = "TB_MBRN";
+ this.TB_MBRN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBRN.TabIndex = 0;
+ //
+ // TB_MBTS
+ //
+ this.TB_MBTS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBTS.Name = "TB_MBTS";
+ this.TB_MBTS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBTS.TabIndex = 0;
+ //
+ // TB_MBTN
+ //
+ this.TB_MBTN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBTN.Name = "TB_MBTN";
+ this.TB_MBTN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBTN.TabIndex = 0;
+ //
+ // TB_MBDS
+ //
+ this.TB_MBDS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBDS.Name = "TB_MBDS";
+ this.TB_MBDS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBDS.TabIndex = 0;
+ //
+ // TB_MBDN
+ //
+ this.TB_MBDN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBDN.Name = "TB_MBDN";
+ this.TB_MBDN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBDN.TabIndex = 0;
+ //
+ // TB_MBSS
+ //
+ this.TB_MBSS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBSS.Name = "TB_MBSS";
+ this.TB_MBSS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBSS.TabIndex = 0;
+ //
+ // TB_MBSN
+ //
+ this.TB_MBSN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MBSN.Name = "TB_MBSN";
+ this.TB_MBSN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MBSN.TabIndex = 0;
+ //
+ // L_SuperB
+ //
+ this.L_SuperB.Location = new System.Drawing.Point(0, 0);
+ this.L_SuperB.Name = "L_SuperB";
+ this.L_SuperB.Size = new System.Drawing.Size(100, 23);
+ this.L_SuperB.TabIndex = 0;
+ //
+ // L_NormalB
+ //
+ this.L_NormalB.Location = new System.Drawing.Point(0, 0);
+ this.L_NormalB.Name = "L_NormalB";
+ this.L_NormalB.Size = new System.Drawing.Size(100, 23);
+ this.L_NormalB.TabIndex = 0;
+ //
+ // L_MultiB
+ //
+ this.L_MultiB.Location = new System.Drawing.Point(0, 0);
+ this.L_MultiB.Name = "L_MultiB";
+ this.L_MultiB.Size = new System.Drawing.Size(100, 23);
+ this.L_MultiB.TabIndex = 0;
+ //
+ // L_RotationB
+ //
+ this.L_RotationB.Location = new System.Drawing.Point(0, 0);
+ this.L_RotationB.Name = "L_RotationB";
+ this.L_RotationB.Size = new System.Drawing.Size(100, 23);
+ this.L_RotationB.TabIndex = 0;
+ //
+ // L_TriplesB
+ //
+ this.L_TriplesB.Location = new System.Drawing.Point(0, 0);
+ this.L_TriplesB.Name = "L_TriplesB";
+ this.L_TriplesB.Size = new System.Drawing.Size(100, 23);
+ this.L_TriplesB.TabIndex = 0;
+ //
+ // L_DoublesB
+ //
+ this.L_DoublesB.Location = new System.Drawing.Point(0, 0);
+ this.L_DoublesB.Name = "L_DoublesB";
+ this.L_DoublesB.Size = new System.Drawing.Size(100, 23);
+ this.L_DoublesB.TabIndex = 0;
+ //
+ // L_SinglesB
+ //
+ this.L_SinglesB.Location = new System.Drawing.Point(0, 0);
+ this.L_SinglesB.Name = "L_SinglesB";
+ this.L_SinglesB.Size = new System.Drawing.Size(100, 23);
+ this.L_SinglesB.TabIndex = 0;
+ //
+ // TB_MCMS
+ //
+ this.TB_MCMS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCMS.Name = "TB_MCMS";
+ this.TB_MCMS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCMS.TabIndex = 0;
+ //
+ // TB_MCMN
+ //
+ this.TB_MCMN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCMN.Name = "TB_MCMN";
+ this.TB_MCMN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCMN.TabIndex = 0;
+ //
+ // TB_MCRS
+ //
+ this.TB_MCRS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCRS.Name = "TB_MCRS";
+ this.TB_MCRS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCRS.TabIndex = 0;
+ //
+ // TB_MCRN
+ //
+ this.TB_MCRN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCRN.Name = "TB_MCRN";
+ this.TB_MCRN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCRN.TabIndex = 0;
+ //
+ // TB_MCTS
+ //
+ this.TB_MCTS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCTS.Name = "TB_MCTS";
+ this.TB_MCTS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCTS.TabIndex = 0;
+ //
+ // TB_MCTN
+ //
+ this.TB_MCTN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCTN.Name = "TB_MCTN";
+ this.TB_MCTN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCTN.TabIndex = 0;
+ //
+ // TB_MCDS
+ //
+ this.TB_MCDS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCDS.Name = "TB_MCDS";
+ this.TB_MCDS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCDS.TabIndex = 0;
+ //
+ // TB_MCDN
+ //
+ this.TB_MCDN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCDN.Name = "TB_MCDN";
+ this.TB_MCDN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCDN.TabIndex = 0;
+ //
+ // TB_MCSS
+ //
+ this.TB_MCSS.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCSS.Name = "TB_MCSS";
+ this.TB_MCSS.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCSS.TabIndex = 0;
+ //
+ // TB_MCSN
+ //
+ this.TB_MCSN.Location = new System.Drawing.Point(0, 0);
+ this.TB_MCSN.Name = "TB_MCSN";
+ this.TB_MCSN.Size = new System.Drawing.Size(100, 20);
+ this.TB_MCSN.TabIndex = 0;
+ //
+ // L_SuperC
+ //
+ this.L_SuperC.Location = new System.Drawing.Point(0, 0);
+ this.L_SuperC.Name = "L_SuperC";
+ this.L_SuperC.Size = new System.Drawing.Size(100, 23);
+ this.L_SuperC.TabIndex = 0;
+ //
+ // L_NormalC
+ //
+ this.L_NormalC.Location = new System.Drawing.Point(0, 0);
+ this.L_NormalC.Name = "L_NormalC";
+ this.L_NormalC.Size = new System.Drawing.Size(100, 23);
+ this.L_NormalC.TabIndex = 0;
+ //
+ // L_MultiC
+ //
+ this.L_MultiC.Location = new System.Drawing.Point(0, 0);
+ this.L_MultiC.Name = "L_MultiC";
+ this.L_MultiC.Size = new System.Drawing.Size(100, 23);
+ this.L_MultiC.TabIndex = 0;
+ //
+ // L_RotationC
+ //
+ this.L_RotationC.Location = new System.Drawing.Point(0, 0);
+ this.L_RotationC.Name = "L_RotationC";
+ this.L_RotationC.Size = new System.Drawing.Size(100, 23);
+ this.L_RotationC.TabIndex = 0;
+ //
+ // L_TriplesC
+ //
+ this.L_TriplesC.Location = new System.Drawing.Point(0, 0);
+ this.L_TriplesC.Name = "L_TriplesC";
+ this.L_TriplesC.Size = new System.Drawing.Size(100, 23);
+ this.L_TriplesC.TabIndex = 0;
+ //
+ // L_DoublesC
+ //
+ this.L_DoublesC.Location = new System.Drawing.Point(0, 0);
+ this.L_DoublesC.Name = "L_DoublesC";
+ this.L_DoublesC.Size = new System.Drawing.Size(100, 23);
+ this.L_DoublesC.TabIndex = 0;
+ //
+ // L_SinglesC
+ //
+ this.L_SinglesC.Location = new System.Drawing.Point(0, 0);
+ this.L_SinglesC.Name = "L_SinglesC";
+ this.L_SinglesC.Size = new System.Drawing.Size(100, 23);
+ this.L_SinglesC.TabIndex = 0;
+ //
+ // TC_Editor
+ //
+ this.TC_Editor.Controls.Add(this.Tab_Overview);
+ this.TC_Editor.Controls.Add(this.Tab_BadgeMap);
+ this.TC_Editor.Location = new System.Drawing.Point(12, 12);
+ this.TC_Editor.Name = "TC_Editor";
+ this.TC_Editor.SelectedIndex = 0;
+ this.TC_Editor.Size = new System.Drawing.Size(394, 279);
+ this.TC_Editor.TabIndex = 54;
+ //
+ // Tab_Overview
+ //
+ this.Tab_Overview.Controls.Add(this.GB_Map);
+ this.Tab_Overview.Controls.Add(this.GB_Adventure);
+ this.Tab_Overview.Controls.Add(this.TB_OTName);
+ this.Tab_Overview.Controls.Add(this.CB_Gender);
+ this.Tab_Overview.Controls.Add(this.CB_Game);
+ this.Tab_Overview.Controls.Add(this.L_TrainerName);
+ this.Tab_Overview.Controls.Add(this.L_TID);
+ this.Tab_Overview.Controls.Add(this.MT_Money);
+ this.Tab_Overview.Controls.Add(this.L_SID);
+ this.Tab_Overview.Controls.Add(this.L_Money);
+ this.Tab_Overview.Controls.Add(this.L_Language);
+ this.Tab_Overview.Controls.Add(this.MT_TID);
+ this.Tab_Overview.Controls.Add(this.MT_SID);
+ this.Tab_Overview.Controls.Add(this.L_3DSReg);
+ this.Tab_Overview.Controls.Add(this.CB_Language);
+ this.Tab_Overview.Controls.Add(this.L_Region);
+ this.Tab_Overview.Controls.Add(this.CB_3DSReg);
+ this.Tab_Overview.Controls.Add(this.B_MaxCash);
+ this.Tab_Overview.Controls.Add(this.L_Country);
+ this.Tab_Overview.Controls.Add(this.CB_Country);
+ this.Tab_Overview.Controls.Add(this.CB_Region);
+ this.Tab_Overview.Location = new System.Drawing.Point(4, 22);
+ this.Tab_Overview.Name = "Tab_Overview";
+ this.Tab_Overview.Padding = new System.Windows.Forms.Padding(3);
+ this.Tab_Overview.Size = new System.Drawing.Size(386, 253);
+ this.Tab_Overview.TabIndex = 0;
+ this.Tab_Overview.Text = "Overview";
+ this.Tab_Overview.UseVisualStyleBackColor = true;
+ //
+ // GB_Adventure
+ //
+ this.GB_Adventure.Controls.Add(this.L_Fame);
+ this.GB_Adventure.Controls.Add(this.CAL_HoFDate);
+ this.GB_Adventure.Controls.Add(this.CAL_HoFTime);
+ this.GB_Adventure.Controls.Add(this.L_Started);
+ this.GB_Adventure.Controls.Add(this.CAL_AdventureStartDate);
+ this.GB_Adventure.Controls.Add(this.CAL_LastSavedDate);
+ this.GB_Adventure.Controls.Add(this.L_LastSaved);
+ this.GB_Adventure.Controls.Add(this.MT_Seconds);
+ this.GB_Adventure.Controls.Add(this.MT_Hours);
+ this.GB_Adventure.Controls.Add(this.L_Seconds);
+ this.GB_Adventure.Controls.Add(this.L_Hours);
+ this.GB_Adventure.Controls.Add(this.MT_Minutes);
+ this.GB_Adventure.Controls.Add(this.L_Minutes);
+ this.GB_Adventure.Controls.Add(this.CAL_AdventureStartTime);
+ this.GB_Adventure.Controls.Add(this.CAL_LastSavedTime);
+ this.GB_Adventure.Location = new System.Drawing.Point(3, 99);
+ this.GB_Adventure.Name = "GB_Adventure";
+ this.GB_Adventure.Size = new System.Drawing.Size(200, 151);
+ this.GB_Adventure.TabIndex = 56;
+ this.GB_Adventure.TabStop = false;
+ this.GB_Adventure.Text = "Adventure Info";
+ //
+ // L_Fame
+ //
+ this.L_Fame.Location = new System.Drawing.Point(3, 72);
+ this.L_Fame.Name = "L_Fame";
+ this.L_Fame.Size = new System.Drawing.Size(80, 20);
+ this.L_Fame.TabIndex = 40;
+ this.L_Fame.Text = "HoF Entered:";
+ this.L_Fame.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // CAL_HoFDate
+ //
+ this.CAL_HoFDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+ this.CAL_HoFDate.Location = new System.Drawing.Point(89, 72);
+ this.CAL_HoFDate.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
+ this.CAL_HoFDate.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ this.CAL_HoFDate.Name = "CAL_HoFDate";
+ this.CAL_HoFDate.Size = new System.Drawing.Size(99, 20);
+ this.CAL_HoFDate.TabIndex = 39;
+ this.CAL_HoFDate.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ //
+ // CAL_HoFTime
+ //
+ this.CAL_HoFTime.CustomFormat = "hh:mm tt";
+ this.CAL_HoFTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+ this.CAL_HoFTime.Location = new System.Drawing.Point(115, 91);
+ this.CAL_HoFTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
+ this.CAL_HoFTime.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ this.CAL_HoFTime.Name = "CAL_HoFTime";
+ this.CAL_HoFTime.ShowUpDown = true;
+ this.CAL_HoFTime.Size = new System.Drawing.Size(73, 20);
+ this.CAL_HoFTime.TabIndex = 38;
+ this.CAL_HoFTime.Value = new System.DateTime(2001, 1, 1, 0, 0, 0, 0);
+ //
+ // L_Started
+ //
+ this.L_Started.Location = new System.Drawing.Point(3, 35);
+ this.L_Started.Name = "L_Started";
+ this.L_Started.Size = new System.Drawing.Size(80, 20);
+ this.L_Started.TabIndex = 36;
+ this.L_Started.Text = "Game Started:";
+ this.L_Started.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // CAL_AdventureStartDate
+ //
+ this.CAL_AdventureStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+ this.CAL_AdventureStartDate.Location = new System.Drawing.Point(89, 35);
+ this.CAL_AdventureStartDate.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
+ this.CAL_AdventureStartDate.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ this.CAL_AdventureStartDate.Name = "CAL_AdventureStartDate";
+ this.CAL_AdventureStartDate.Size = new System.Drawing.Size(99, 20);
+ this.CAL_AdventureStartDate.TabIndex = 35;
+ this.CAL_AdventureStartDate.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ //
+ // CAL_AdventureStartTime
+ //
+ this.CAL_AdventureStartTime.CustomFormat = "hh:mm tt";
+ this.CAL_AdventureStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+ this.CAL_AdventureStartTime.Location = new System.Drawing.Point(115, 54);
+ this.CAL_AdventureStartTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
+ this.CAL_AdventureStartTime.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ this.CAL_AdventureStartTime.Name = "CAL_AdventureStartTime";
+ this.CAL_AdventureStartTime.ShowUpDown = true;
+ this.CAL_AdventureStartTime.Size = new System.Drawing.Size(73, 20);
+ this.CAL_AdventureStartTime.TabIndex = 34;
+ this.CAL_AdventureStartTime.Value = new System.DateTime(2001, 1, 1, 0, 0, 0, 0);
+ //
+ // CAL_LastSavedTime
+ //
+ this.CAL_LastSavedTime.CustomFormat = "hh:mm tt";
+ this.CAL_LastSavedTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+ this.CAL_LastSavedTime.Location = new System.Drawing.Point(115, 129);
+ this.CAL_LastSavedTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
+ this.CAL_LastSavedTime.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
+ this.CAL_LastSavedTime.Name = "CAL_LastSavedTime";
+ this.CAL_LastSavedTime.ShowUpDown = true;
+ this.CAL_LastSavedTime.Size = new System.Drawing.Size(73, 20);
+ this.CAL_LastSavedTime.TabIndex = 37;
+ this.CAL_LastSavedTime.Value = new System.DateTime(2001, 1, 1, 0, 0, 0, 0);
+ //
+ // Tab_BadgeMap
+ //
+ this.Tab_BadgeMap.Location = new System.Drawing.Point(4, 22);
+ this.Tab_BadgeMap.Name = "Tab_BadgeMap";
+ this.Tab_BadgeMap.Size = new System.Drawing.Size(386, 253);
+ this.Tab_BadgeMap.TabIndex = 3;
+ this.Tab_BadgeMap.Text = "Badges/Map";
+ this.Tab_BadgeMap.UseVisualStyleBackColor = true;
+ //
+ // GB_Map
+ //
+ this.GB_Map.Controls.Add(this.NUD_Z);
+ this.GB_Map.Controls.Add(this.NUD_M);
+ this.GB_Map.Controls.Add(this.NUD_Y);
+ this.GB_Map.Controls.Add(this.NUD_X);
+ this.GB_Map.Controls.Add(this.L_Y);
+ this.GB_Map.Controls.Add(this.L_CurrentMap);
+ this.GB_Map.Controls.Add(this.L_Z);
+ this.GB_Map.Controls.Add(this.L_X);
+ this.GB_Map.Location = new System.Drawing.Point(223, 122);
+ this.GB_Map.Name = "GB_Map";
+ this.GB_Map.Size = new System.Drawing.Size(157, 125);
+ this.GB_Map.TabIndex = 57;
+ this.GB_Map.TabStop = false;
+ this.GB_Map.Text = "Map Position";
+ //
+ // NUD_Z
+ //
+ this.NUD_Z.Location = new System.Drawing.Point(93, 68);
+ this.NUD_Z.Maximum = new decimal(new int[] {
+ 65535,
+ 0,
+ 0,
+ 0});
+ this.NUD_Z.Minimum = new decimal(new int[] {
+ 65535,
+ 0,
+ 0,
+ -2147483648});
+ this.NUD_Z.Name = "NUD_Z";
+ this.NUD_Z.Size = new System.Drawing.Size(50, 20);
+ this.NUD_Z.TabIndex = 53;
+ //
+ // NUD_M
+ //
+ this.NUD_M.Location = new System.Drawing.Point(93, 16);
+ this.NUD_M.Maximum = new decimal(new int[] {
+ 1000,
+ 0,
+ 0,
+ 0});
+ this.NUD_M.Name = "NUD_M";
+ this.NUD_M.Size = new System.Drawing.Size(50, 20);
+ this.NUD_M.TabIndex = 52;
+ //
+ // NUD_Y
+ //
+ this.NUD_Y.DecimalPlaces = 1;
+ this.NUD_Y.Location = new System.Drawing.Point(93, 94);
+ this.NUD_Y.Maximum = new decimal(new int[] {
+ 65535,
+ 0,
+ 0,
+ 0});
+ this.NUD_Y.Name = "NUD_Y";
+ this.NUD_Y.Size = new System.Drawing.Size(50, 20);
+ this.NUD_Y.TabIndex = 51;
+ //
+ // NUD_X
+ //
+ this.NUD_X.DecimalPlaces = 1;
+ this.NUD_X.Location = new System.Drawing.Point(93, 42);
+ this.NUD_X.Maximum = new decimal(new int[] {
+ 65535,
+ 0,
+ 0,
+ 0});
+ this.NUD_X.Name = "NUD_X";
+ this.NUD_X.Size = new System.Drawing.Size(50, 20);
+ this.NUD_X.TabIndex = 50;
+ //
+ // L_Y
+ //
+ this.L_Y.Location = new System.Drawing.Point(6, 94);
+ this.L_Y.Name = "L_Y";
+ this.L_Y.Size = new System.Drawing.Size(80, 20);
+ this.L_Y.TabIndex = 49;
+ this.L_Y.Text = "Y Coordinate:";
+ this.L_Y.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // L_CurrentMap
+ //
+ this.L_CurrentMap.Location = new System.Drawing.Point(6, 16);
+ this.L_CurrentMap.Name = "L_CurrentMap";
+ this.L_CurrentMap.Size = new System.Drawing.Size(80, 20);
+ this.L_CurrentMap.TabIndex = 46;
+ this.L_CurrentMap.Text = "Current Map:";
+ this.L_CurrentMap.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // L_Z
+ //
+ this.L_Z.Location = new System.Drawing.Point(6, 68);
+ this.L_Z.Name = "L_Z";
+ this.L_Z.Size = new System.Drawing.Size(80, 20);
+ this.L_Z.TabIndex = 48;
+ this.L_Z.Text = "Z Coordinate:";
+ this.L_Z.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // L_X
+ //
+ this.L_X.Location = new System.Drawing.Point(6, 42);
+ this.L_X.Name = "L_X";
+ this.L_X.Size = new System.Drawing.Size(80, 20);
+ this.L_X.TabIndex = 47;
+ this.L_X.Text = "X Coordinate:";
+ this.L_X.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // SAV_Trainer7
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(414, 326);
+ this.Controls.Add(this.TC_Editor);
+ this.Controls.Add(this.B_Save);
+ this.Controls.Add(this.B_Cancel);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "SAV_Trainer7";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "Trainer Data Editor";
+ this.TC_Editor.ResumeLayout(false);
+ this.Tab_Overview.ResumeLayout(false);
+ this.Tab_Overview.PerformLayout();
+ this.GB_Adventure.ResumeLayout(false);
+ this.GB_Adventure.PerformLayout();
+ this.GB_Map.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_Z)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_M)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_Y)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.NUD_X)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button B_Cancel;
+ private System.Windows.Forms.Button B_Save;
+ private System.Windows.Forms.TextBox TB_OTName;
+ private System.Windows.Forms.Label L_TrainerName;
+ private System.Windows.Forms.MaskedTextBox MT_Money;
+ private System.Windows.Forms.Label L_Money;
+ private System.Windows.Forms.Label L_TID;
+ private System.Windows.Forms.Label L_SID;
+ private System.Windows.Forms.MaskedTextBox MT_TID;
+ private System.Windows.Forms.MaskedTextBox MT_SID;
+ private System.Windows.Forms.Label L_Saying5;
+ private System.Windows.Forms.Label L_Saying4;
+ private System.Windows.Forms.Label L_Saying3;
+ private System.Windows.Forms.Label L_Saying2;
+ private System.Windows.Forms.Label L_Saying1;
+ private System.Windows.Forms.TextBox TB_Saying5;
+ private System.Windows.Forms.TextBox TB_Saying4;
+ private System.Windows.Forms.TextBox TB_Saying3;
+ private System.Windows.Forms.TextBox TB_Saying2;
+ private System.Windows.Forms.TextBox TB_Saying1;
+ private System.Windows.Forms.ComboBox CB_Language;
+ private System.Windows.Forms.ComboBox CB_3DSReg;
+ private System.Windows.Forms.Label L_3DSReg;
+ private System.Windows.Forms.Button B_MaxCash;
+ private System.Windows.Forms.ComboBox CB_Region;
+ private System.Windows.Forms.ComboBox CB_Country;
+ private System.Windows.Forms.Label L_Region;
+ private System.Windows.Forms.Label L_Country;
+ private System.Windows.Forms.Label L_SuperB;
+ private System.Windows.Forms.Label L_NormalB;
+ private System.Windows.Forms.Label L_MultiB;
+ private System.Windows.Forms.Label L_RotationB;
+ private System.Windows.Forms.Label L_TriplesB;
+ private System.Windows.Forms.Label L_DoublesB;
+ private System.Windows.Forms.Label L_SinglesB;
+ private System.Windows.Forms.Label L_SuperC;
+ private System.Windows.Forms.Label L_NormalC;
+ private System.Windows.Forms.Label L_MultiC;
+ private System.Windows.Forms.Label L_RotationC;
+ private System.Windows.Forms.Label L_TriplesC;
+ private System.Windows.Forms.Label L_DoublesC;
+ private System.Windows.Forms.Label L_SinglesC;
+ private System.Windows.Forms.Label L_Language;
+ private System.Windows.Forms.ComboBox CB_Game;
+ private System.Windows.Forms.ComboBox CB_Gender;
+ private System.Windows.Forms.MaskedTextBox TB_MBMS;
+ private System.Windows.Forms.MaskedTextBox TB_MBMN;
+ private System.Windows.Forms.MaskedTextBox TB_MBRS;
+ private System.Windows.Forms.MaskedTextBox TB_MBRN;
+ private System.Windows.Forms.MaskedTextBox TB_MBTS;
+ private System.Windows.Forms.MaskedTextBox TB_MBTN;
+ private System.Windows.Forms.MaskedTextBox TB_MBDS;
+ private System.Windows.Forms.MaskedTextBox TB_MBDN;
+ private System.Windows.Forms.MaskedTextBox TB_MBSS;
+ private System.Windows.Forms.MaskedTextBox TB_MBSN;
+ private System.Windows.Forms.MaskedTextBox TB_MCMS;
+ private System.Windows.Forms.MaskedTextBox TB_MCMN;
+ private System.Windows.Forms.MaskedTextBox TB_MCRS;
+ private System.Windows.Forms.MaskedTextBox TB_MCRN;
+ private System.Windows.Forms.MaskedTextBox TB_MCTS;
+ private System.Windows.Forms.MaskedTextBox TB_MCTN;
+ private System.Windows.Forms.MaskedTextBox TB_MCDS;
+ private System.Windows.Forms.MaskedTextBox TB_MCDN;
+ private System.Windows.Forms.MaskedTextBox TB_MCSS;
+ private System.Windows.Forms.MaskedTextBox TB_MCSN;
+ private System.Windows.Forms.Label L_Seconds;
+ private System.Windows.Forms.Label L_Minutes;
+ private System.Windows.Forms.MaskedTextBox MT_Seconds;
+ private System.Windows.Forms.MaskedTextBox MT_Minutes;
+ private System.Windows.Forms.Label L_Hours;
+ private System.Windows.Forms.MaskedTextBox MT_Hours;
+ private System.Windows.Forms.Label L_LastSaved;
+ private System.Windows.Forms.DateTimePicker CAL_LastSavedDate;
+ private System.Windows.Forms.TabControl TC_Editor;
+ private System.Windows.Forms.TabPage Tab_Overview;
+ private System.Windows.Forms.TabPage Tab_BadgeMap;
+ private System.Windows.Forms.GroupBox GB_Adventure;
+ private System.Windows.Forms.DateTimePicker CAL_AdventureStartDate;
+ private System.Windows.Forms.DateTimePicker CAL_AdventureStartTime;
+ private System.Windows.Forms.Label L_Started;
+ private System.Windows.Forms.DateTimePicker CAL_LastSavedTime;
+ private System.Windows.Forms.Label L_Fame;
+ private System.Windows.Forms.DateTimePicker CAL_HoFDate;
+ private System.Windows.Forms.DateTimePicker CAL_HoFTime;
+ private System.Windows.Forms.Label L_X;
+ private System.Windows.Forms.Label L_Z;
+ private System.Windows.Forms.Label L_CurrentMap;
+ private System.Windows.Forms.Label L_Y;
+ private System.Windows.Forms.NumericUpDown NUD_X;
+ private System.Windows.Forms.NumericUpDown NUD_Y;
+ private System.Windows.Forms.NumericUpDown NUD_M;
+ private System.Windows.Forms.NumericUpDown NUD_Z;
+ private System.Windows.Forms.GroupBox GB_Map;
+ }
+}
diff --git a/PKHeX/Subforms/Save Editors/Gen7/SAV_Trainer7.cs b/PKHeX/Subforms/Save Editors/Gen7/SAV_Trainer7.cs
new file mode 100644
index 000000000..9c79299de
--- /dev/null
+++ b/PKHeX/Subforms/Save Editors/Gen7/SAV_Trainer7.cs
@@ -0,0 +1,201 @@
+using System;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace PKHeX
+{
+ public partial class SAV_Trainer7 : Form
+ {
+ private readonly SAV7 SAV = new SAV7(Main.SAV.Data);
+ public SAV_Trainer7()
+ {
+ InitializeComponent();
+ if (!Main.unicode)
+ try { TB_OTName.Font = PKX.getPKXFont(11); }
+ catch (Exception e) { Util.Alert("Font loading failed...", e.ToString()); }
+
+ Util.TranslateInterface(this, Main.curlanguage);
+ B_MaxCash.Click += (sender, e) => MT_Money.Text = "9,999,999";
+
+ CB_Gender.Items.Clear();
+ CB_Gender.Items.AddRange(Main.gendersymbols.Take(2).ToArray()); // m/f depending on unicode selection
+
+ getComboBoxes();
+ getTextBoxes();
+ }
+ private readonly ToolTip Tip1 = new ToolTip(), Tip2 = new ToolTip();
+
+ private void getComboBoxes()
+ {
+ var dsregion_list = new[] {
+ new { Text = "NA/SA", Value = 1 },
+ new { Text = "EUR", Value = 2 },
+ new { Text = "JPN", Value = 0 },
+ new { Text = "CN", Value = 4 },
+ new { Text = "KOR", Value = 5 },
+ new { Text = "TW", Value = 6 }
+ };
+
+ var language_list = new[] {
+ new { Text = "ENG", Value = 2 },
+ new { Text = "JPN", Value = 1 },
+ new { Text = "FRE", Value = 3 },
+ new { Text = "ITA", Value = 4 },
+ new { Text = "GER", Value = 5 },
+ new { Text = "SPA", Value = 7 },
+ new { Text = "KOR", Value = 8 }
+ };
+
+ CB_3DSReg.DisplayMember = "Text";
+ CB_3DSReg.ValueMember = "Value";
+ CB_3DSReg.DataSource = dsregion_list;
+ CB_Language.DisplayMember = "Text";
+ CB_Language.ValueMember = "Value";
+ CB_Language.DataSource = language_list;
+
+ CB_Country.DisplayMember = "Text";
+ CB_Country.ValueMember = "Value";
+ CB_Region.DisplayMember = "Text";
+ CB_Region.ValueMember = "Value";
+ Main.setCountrySubRegion(CB_Country, "countries");
+ }
+ private void getTextBoxes()
+ {
+ // Get Data
+ string OT_NAME = SAV.OT;
+
+ CB_Game.SelectedIndex = SAV.Game - 30;
+ CB_Gender.SelectedIndex = SAV.Gender;
+
+ // Display Data
+ TB_OTName.Text = OT_NAME;
+
+ MT_TID.Text = SAV.TID.ToString("00000");
+ MT_SID.Text = SAV.SID.ToString("00000");
+ MT_Money.Text = SAV.Money.ToString();
+
+ CB_Country.SelectedValue = SAV.Country;
+ CB_Region.SelectedValue = SAV.SubRegion;
+ CB_3DSReg.SelectedValue = SAV.ConsoleRegion;
+ CB_Language.SelectedValue = SAV.Language;
+
+ NUD_M.Value = SAV.M;
+ // Sanity Check Map Coordinates
+ try
+ {
+ NUD_X.Value = (decimal)SAV.X;
+ NUD_Z.Value = (decimal)SAV.Z;
+ NUD_Y.Value = (decimal)SAV.Y;
+ }
+ catch { GB_Map.Enabled = false; }
+
+ // Load Play Time
+ MT_Hours.Text = SAV.PlayedHours.ToString();
+ MT_Minutes.Text = SAV.PlayedMinutes.ToString();
+ MT_Seconds.Text = SAV.PlayedSeconds.ToString();
+
+ CAL_LastSavedDate.Value = new DateTime(SAV.LastSavedYear, SAV.LastSavedMonth, SAV.LastSavedDay);
+ CAL_LastSavedTime.Value = new DateTime(2000, 1, 1, SAV.LastSavedHour, SAV.LastSavedMinute, 0);
+ CAL_AdventureStartDate.Value = new DateTime(2000, 1, 1).AddSeconds(SAV.SecondsToStart);
+ CAL_AdventureStartTime.Value = new DateTime(2000, 1, 1).AddSeconds(SAV.SecondsToStart % 86400);
+ CAL_HoFDate.Value = new DateTime(2000, 1, 1).AddSeconds(SAV.SecondsToFame);
+ CAL_HoFTime.Value = new DateTime(2000, 1, 1).AddSeconds(SAV.SecondsToFame % 86400);
+ }
+ private void save()
+ {
+ SAV.Game = (byte)(CB_Game.SelectedIndex + 30);
+ SAV.Gender = (byte)CB_Gender.SelectedIndex;
+
+ SAV.TID = (ushort)Util.ToUInt32(MT_TID.Text);
+ SAV.SID = (ushort)Util.ToUInt32(MT_SID.Text);
+ SAV.Money = Util.ToUInt32(MT_Money.Text);
+ SAV.SubRegion = Util.getIndex(CB_Region);
+ SAV.Country = Util.getIndex(CB_Country);
+ SAV.ConsoleRegion = Util.getIndex(CB_3DSReg);
+ SAV.Language = Util.getIndex(CB_Language);
+
+ SAV.OT = TB_OTName.Text;
+
+ // Copy Position
+ if (GB_Map.Enabled)
+ {
+ SAV.M = (int)NUD_M.Value;
+ SAV.X = (float)NUD_X.Value;
+ SAV.Z = (float)NUD_Z.Value;
+ SAV.Y = (float)NUD_Y.Value;
+ }
+
+ // Save PlayTime
+ SAV.PlayedHours = ushort.Parse(MT_Hours.Text);
+ SAV.PlayedMinutes = ushort.Parse(MT_Minutes.Text)%60;
+ SAV.PlayedSeconds = ushort.Parse(MT_Seconds.Text)%60;
+
+ int seconds = (int)(CAL_AdventureStartDate.Value - new DateTime(2000, 1, 1)).TotalSeconds;
+ seconds -= seconds%86400;
+ seconds += (int)(CAL_AdventureStartTime.Value - new DateTime(2000, 1, 1)).TotalSeconds;
+ SAV.SecondsToStart = seconds;
+
+ int fame = (int)(CAL_HoFDate.Value - new DateTime(2000, 1, 1)).TotalSeconds;
+ fame -= fame % 86400;
+ fame += (int)(CAL_HoFTime.Value - new DateTime(2000, 1, 1)).TotalSeconds;
+ SAV.SecondsToFame = fame;
+
+ SAV.LastSavedYear = CAL_LastSavedDate.Value.Year;
+ SAV.LastSavedMonth = CAL_LastSavedDate.Value.Month;
+ SAV.LastSavedDay = CAL_LastSavedDate.Value.Day;
+ SAV.LastSavedHour = CAL_LastSavedTime.Value.Hour;
+ SAV.LastSavedMinute = CAL_LastSavedTime.Value.Minute;
+ }
+
+ private void clickOT(object sender, MouseEventArgs e)
+ {
+ TextBox tb = sender as TextBox ?? TB_OTName;
+ // Special Character Form
+ if (ModifierKeys != Keys.Control)
+ return;
+
+ var z = Application.OpenForms.Cast