Expose CanNotDynamax flag in Pokémon Editor

Only set for Zacian/Zamazenta/Eternatus; could be fun for ROM hacks.
Regional Variant flag is set for species whose offspring will produce a regional variant depending on the parent's current form + if holding an Everstone.
Thanks Anubis!
This commit is contained in:
sora10pls 2020-07-27 18:39:23 -04:00
parent 31d83ea910
commit 0c716e25b4
5 changed files with 361 additions and 233 deletions

View File

@ -199,7 +199,6 @@ private void AddEvolutions(List<string> lines, int entry)
var msg = evo2.Select(z => $"Evolves into {Species[z.Species]}-{z.Form} @ {z.Level} ({z.Method}) [{z.Argument}]");
lines.AddRange(msg);
lines.Add("");
}
private void AddPersonalLines(List<string> lines, PersonalInfo pi, int entry, string name, string specCode)
@ -218,6 +217,9 @@ private void AddPersonalLines(List<string> lines, PersonalInfo pi, int entry, st
lines.Add($"Crown Dex: #{s.DexIDCrown:000}");
if (s.DexID == 0 && s.DexIDArmor == 0 && s.DexIDCrown == 0)
lines.Add("Galar Dex: Foreign");
if (s.CanNotDynamax)
lines.Add("Can Not Dynamax!");
}
lines.Add($"Base Stats: {pi.HP}.{pi.ATK}.{pi.DEF}.{pi.SPA}.{pi.SPD}.{pi.SPE} (BST: {pi.BST})");
lines.Add($"EV Yield: {pi.EV_HP}.{pi.EV_ATK}.{pi.EV_DEF}.{pi.EV_SPA}.{pi.EV_SPD}.{pi.EV_SPE}");

View File

@ -115,6 +115,8 @@ public override int[] Abilities
}
public int SpriteIndex { get => BitConverter.ToUInt16(Data, 0x4C); set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x4C); }
public bool RegionalVariant { get => ((Data[0x5A] >> 0) & 1) == 1; set => Data[0x5A] = (byte)((Data[0x5A] & ~1) | (value ? 1 : 0)); }
public bool CanNotDynamax { get => ((Data[0x5A] >> 2) & 1) == 1; set => Data[0x5A] = (byte)((Data[0x5A] & ~4) | (value ? 4 : 0)); }
public int DexID { get => BitConverter.ToUInt16(Data, 0x5C); set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x5C); }
public int DexIDArmor { get => BitConverter.ToUInt16(Data, 0xAC); set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0xAC); }
public int DexIDCrown { get => BitConverter.ToUInt16(Data, 0xAE); set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0xAE); }

View File

@ -102,20 +102,20 @@ private void InitializeComponent()
this.TC_trdata = new System.Windows.Forms.TabControl();
this.Tab_Trainer = new System.Windows.Forms.TabPage();
this.GB_Additional_AI = new System.Windows.Forms.GroupBox();
this.CHK_AI_Raid = new System.Windows.Forms.CheckBox();
this.CHK_AI_Unused1 = new System.Windows.Forms.CheckBox();
this.CHK_AI_Unused2 = new System.Windows.Forms.CheckBox();
this.CHK_AI_FireGym1 = new System.Windows.Forms.CheckBox();
this.CHK_AI_FireGym2 = new System.Windows.Forms.CheckBox();
this.CHK_AI_FireGym3 = new System.Windows.Forms.CheckBox();
this.CHK_AI_FireGym2 = new System.Windows.Forms.CheckBox();
this.CHK_AI_FireGym1 = new System.Windows.Forms.CheckBox();
this.CHK_AI_Unused2 = new System.Windows.Forms.CheckBox();
this.CHK_AI_Unused1 = new System.Windows.Forms.CheckBox();
this.CHK_AI_Raid = new System.Windows.Forms.CheckBox();
this.GB_AI = new System.Windows.Forms.GroupBox();
this.CHK_AI_Basic = new System.Windows.Forms.CheckBox();
this.CHK_AI_Strong = new System.Windows.Forms.CheckBox();
this.CHK_AI_Expert = new System.Windows.Forms.CheckBox();
this.CHK_AI_Double = new System.Windows.Forms.CheckBox();
this.CHK_AI_Allowance = new System.Windows.Forms.CheckBox();
this.CHK_AI_Item = new System.Windows.Forms.CheckBox();
this.CHK_AI_PokeChange = new System.Windows.Forms.CheckBox();
this.CHK_AI_Item = new System.Windows.Forms.CheckBox();
this.CHK_AI_Allowance = new System.Windows.Forms.CheckBox();
this.CHK_AI_Double = new System.Windows.Forms.CheckBox();
this.CHK_AI_Expert = new System.Windows.Forms.CheckBox();
this.CHK_AI_Strong = new System.Windows.Forms.CheckBox();
this.CHK_AI_Basic = new System.Windows.Forms.CheckBox();
this.L_Mode = new System.Windows.Forms.Label();
this.CB_Mode = new System.Windows.Forms.ComboBox();
this.GB_Items = new System.Windows.Forms.GroupBox();
@ -788,17 +788,19 @@ private void InitializeComponent()
this.Tab_Stats.Location = new System.Drawing.Point(4, 22);
this.Tab_Stats.Name = "Tab_Stats";
this.Tab_Stats.Padding = new System.Windows.Forms.Padding(3);
this.Tab_Stats.Size = new System.Drawing.Size(224, 300);
this.Tab_Stats.Size = new System.Drawing.Size(224, 277);
this.Tab_Stats.TabIndex = 2;
this.Tab_Stats.Text = "Stats";
this.Tab_Stats.UseVisualStyleBackColor = true;
//
// Stats
//
this.Stats.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.Stats.Location = new System.Drawing.Point(0, 1);
this.Stats.Name = "Stats";
this.Stats.PKM = null;
this.Stats.Size = new System.Drawing.Size(224, 218);
this.Stats.Size = new System.Drawing.Size(224, 276);
this.Stats.TabIndex = 0;
//
// Tab_Moves
@ -810,7 +812,7 @@ private void InitializeComponent()
this.Tab_Moves.Location = new System.Drawing.Point(4, 22);
this.Tab_Moves.Name = "Tab_Moves";
this.Tab_Moves.Padding = new System.Windows.Forms.Padding(3);
this.Tab_Moves.Size = new System.Drawing.Size(224, 300);
this.Tab_Moves.Size = new System.Drawing.Size(224, 277);
this.Tab_Moves.TabIndex = 1;
this.Tab_Moves.Text = "Moves";
this.Tab_Moves.UseVisualStyleBackColor = true;
@ -973,28 +975,38 @@ private void InitializeComponent()
this.GB_Additional_AI.TabStop = false;
this.GB_Additional_AI.Text = "Additional AI Bits";
//
// CHK_AI_Raid
// CHK_AI_FireGym3
//
this.CHK_AI_Raid.AutoSize = true;
this.CHK_AI_Raid.Location = new System.Drawing.Point(6, 17);
this.CHK_AI_Raid.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Raid.Name = "CHK_AI_Raid";
this.CHK_AI_Raid.Size = new System.Drawing.Size(48, 17);
this.CHK_AI_Raid.TabIndex = 463;
this.CHK_AI_Raid.Text = "Raid";
this.CHK_AI_Raid.UseVisualStyleBackColor = true;
this.CHK_AI_FireGym3.AutoSize = true;
this.CHK_AI_FireGym3.Location = new System.Drawing.Point(69, 45);
this.CHK_AI_FireGym3.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_FireGym3.Name = "CHK_AI_FireGym3";
this.CHK_AI_FireGym3.Size = new System.Drawing.Size(82, 17);
this.CHK_AI_FireGym3.TabIndex = 470;
this.CHK_AI_FireGym3.Text = "Fire Gym (3)";
this.CHK_AI_FireGym3.UseVisualStyleBackColor = true;
//
// CHK_AI_Unused1
// CHK_AI_FireGym2
//
this.CHK_AI_Unused1.AutoSize = true;
this.CHK_AI_Unused1.Enabled = false;
this.CHK_AI_Unused1.Location = new System.Drawing.Point(6, 31);
this.CHK_AI_Unused1.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Unused1.Name = "CHK_AI_Unused1";
this.CHK_AI_Unused1.Size = new System.Drawing.Size(63, 17);
this.CHK_AI_Unused1.TabIndex = 465;
this.CHK_AI_Unused1.Text = "Unused";
this.CHK_AI_Unused1.UseVisualStyleBackColor = true;
this.CHK_AI_FireGym2.AutoSize = true;
this.CHK_AI_FireGym2.Location = new System.Drawing.Point(69, 31);
this.CHK_AI_FireGym2.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_FireGym2.Name = "CHK_AI_FireGym2";
this.CHK_AI_FireGym2.Size = new System.Drawing.Size(82, 17);
this.CHK_AI_FireGym2.TabIndex = 467;
this.CHK_AI_FireGym2.Text = "Fire Gym (2)";
this.CHK_AI_FireGym2.UseVisualStyleBackColor = true;
//
// CHK_AI_FireGym1
//
this.CHK_AI_FireGym1.AutoSize = true;
this.CHK_AI_FireGym1.Location = new System.Drawing.Point(69, 17);
this.CHK_AI_FireGym1.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_FireGym1.Name = "CHK_AI_FireGym1";
this.CHK_AI_FireGym1.Size = new System.Drawing.Size(82, 17);
this.CHK_AI_FireGym1.TabIndex = 466;
this.CHK_AI_FireGym1.Text = "Fire Gym (1)";
this.CHK_AI_FireGym1.UseVisualStyleBackColor = true;
//
// CHK_AI_Unused2
//
@ -1008,38 +1020,28 @@ private void InitializeComponent()
this.CHK_AI_Unused2.Text = "Unused";
this.CHK_AI_Unused2.UseVisualStyleBackColor = true;
//
// CHK_AI_FireGym1
// CHK_AI_Unused1
//
this.CHK_AI_FireGym1.AutoSize = true;
this.CHK_AI_FireGym1.Location = new System.Drawing.Point(69, 17);
this.CHK_AI_FireGym1.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_FireGym1.Name = "CHK_AI_FireGym1";
this.CHK_AI_FireGym1.Size = new System.Drawing.Size(82, 17);
this.CHK_AI_FireGym1.TabIndex = 466;
this.CHK_AI_FireGym1.Text = "Fire Gym (1)";
this.CHK_AI_FireGym1.UseVisualStyleBackColor = true;
this.CHK_AI_Unused1.AutoSize = true;
this.CHK_AI_Unused1.Enabled = false;
this.CHK_AI_Unused1.Location = new System.Drawing.Point(6, 31);
this.CHK_AI_Unused1.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Unused1.Name = "CHK_AI_Unused1";
this.CHK_AI_Unused1.Size = new System.Drawing.Size(63, 17);
this.CHK_AI_Unused1.TabIndex = 465;
this.CHK_AI_Unused1.Text = "Unused";
this.CHK_AI_Unused1.UseVisualStyleBackColor = true;
//
// CHK_AI_FireGym2
// CHK_AI_Raid
//
this.CHK_AI_FireGym2.AutoSize = true;
this.CHK_AI_FireGym2.Location = new System.Drawing.Point(69, 31);
this.CHK_AI_FireGym2.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_FireGym2.Name = "CHK_AI_FireGym2";
this.CHK_AI_FireGym2.Size = new System.Drawing.Size(82, 17);
this.CHK_AI_FireGym2.TabIndex = 467;
this.CHK_AI_FireGym2.Text = "Fire Gym (2)";
this.CHK_AI_FireGym2.UseVisualStyleBackColor = true;
//
// CHK_AI_FireGym3
//
this.CHK_AI_FireGym3.AutoSize = true;
this.CHK_AI_FireGym3.Location = new System.Drawing.Point(69, 45);
this.CHK_AI_FireGym3.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_FireGym3.Name = "CHK_AI_FireGym3";
this.CHK_AI_FireGym3.Size = new System.Drawing.Size(82, 17);
this.CHK_AI_FireGym3.TabIndex = 470;
this.CHK_AI_FireGym3.Text = "Fire Gym (3)";
this.CHK_AI_FireGym3.UseVisualStyleBackColor = true;
this.CHK_AI_Raid.AutoSize = true;
this.CHK_AI_Raid.Location = new System.Drawing.Point(6, 17);
this.CHK_AI_Raid.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Raid.Name = "CHK_AI_Raid";
this.CHK_AI_Raid.Size = new System.Drawing.Size(48, 17);
this.CHK_AI_Raid.TabIndex = 463;
this.CHK_AI_Raid.Text = "Raid";
this.CHK_AI_Raid.UseVisualStyleBackColor = true;
//
// GB_AI
//
@ -1057,60 +1059,16 @@ private void InitializeComponent()
this.GB_AI.TabStop = false;
this.GB_AI.Text = "AI Bits";
//
// CHK_AI_Basic
// CHK_AI_PokeChange
//
this.CHK_AI_Basic.AutoSize = true;
this.CHK_AI_Basic.Location = new System.Drawing.Point(7, 16);
this.CHK_AI_Basic.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Basic.Name = "CHK_AI_Basic";
this.CHK_AI_Basic.Size = new System.Drawing.Size(52, 17);
this.CHK_AI_Basic.TabIndex = 460;
this.CHK_AI_Basic.Text = "Basic";
this.CHK_AI_Basic.UseVisualStyleBackColor = true;
//
// CHK_AI_Strong
//
this.CHK_AI_Strong.AutoSize = true;
this.CHK_AI_Strong.Location = new System.Drawing.Point(7, 30);
this.CHK_AI_Strong.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Strong.Name = "CHK_AI_Strong";
this.CHK_AI_Strong.Size = new System.Drawing.Size(57, 17);
this.CHK_AI_Strong.TabIndex = 460;
this.CHK_AI_Strong.Text = "Strong";
this.CHK_AI_Strong.UseVisualStyleBackColor = true;
//
// CHK_AI_Expert
//
this.CHK_AI_Expert.AutoSize = true;
this.CHK_AI_Expert.Location = new System.Drawing.Point(7, 44);
this.CHK_AI_Expert.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Expert.Name = "CHK_AI_Expert";
this.CHK_AI_Expert.Size = new System.Drawing.Size(56, 17);
this.CHK_AI_Expert.TabIndex = 461;
this.CHK_AI_Expert.Text = "Expert";
this.CHK_AI_Expert.UseVisualStyleBackColor = true;
//
// CHK_AI_Double
//
this.CHK_AI_Double.AutoSize = true;
this.CHK_AI_Double.Location = new System.Drawing.Point(7, 58);
this.CHK_AI_Double.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Double.Name = "CHK_AI_Double";
this.CHK_AI_Double.Size = new System.Drawing.Size(60, 17);
this.CHK_AI_Double.TabIndex = 462;
this.CHK_AI_Double.Text = "Double";
this.CHK_AI_Double.UseVisualStyleBackColor = true;
//
// CHK_AI_Allowance
//
this.CHK_AI_Allowance.AutoSize = true;
this.CHK_AI_Allowance.Location = new System.Drawing.Point(7, 72);
this.CHK_AI_Allowance.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Allowance.Name = "CHK_AI_Allowance";
this.CHK_AI_Allowance.Size = new System.Drawing.Size(75, 17);
this.CHK_AI_Allowance.TabIndex = 464;
this.CHK_AI_Allowance.Text = "Allowance";
this.CHK_AI_Allowance.UseVisualStyleBackColor = true;
this.CHK_AI_PokeChange.AutoSize = true;
this.CHK_AI_PokeChange.Location = new System.Drawing.Point(7, 100);
this.CHK_AI_PokeChange.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_PokeChange.Name = "CHK_AI_PokeChange";
this.CHK_AI_PokeChange.Size = new System.Drawing.Size(88, 17);
this.CHK_AI_PokeChange.TabIndex = 468;
this.CHK_AI_PokeChange.Text = "PokeChange";
this.CHK_AI_PokeChange.UseVisualStyleBackColor = true;
//
// CHK_AI_Item
//
@ -1123,16 +1081,60 @@ private void InitializeComponent()
this.CHK_AI_Item.Text = "Item";
this.CHK_AI_Item.UseVisualStyleBackColor = true;
//
// CHK_AI_PokeChange
// CHK_AI_Allowance
//
this.CHK_AI_PokeChange.AutoSize = true;
this.CHK_AI_PokeChange.Location = new System.Drawing.Point(7, 100);
this.CHK_AI_PokeChange.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_PokeChange.Name = "CHK_AI_PokeChange";
this.CHK_AI_PokeChange.Size = new System.Drawing.Size(88, 17);
this.CHK_AI_PokeChange.TabIndex = 468;
this.CHK_AI_PokeChange.Text = "PokeChange";
this.CHK_AI_PokeChange.UseVisualStyleBackColor = true;
this.CHK_AI_Allowance.AutoSize = true;
this.CHK_AI_Allowance.Location = new System.Drawing.Point(7, 72);
this.CHK_AI_Allowance.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Allowance.Name = "CHK_AI_Allowance";
this.CHK_AI_Allowance.Size = new System.Drawing.Size(75, 17);
this.CHK_AI_Allowance.TabIndex = 464;
this.CHK_AI_Allowance.Text = "Allowance";
this.CHK_AI_Allowance.UseVisualStyleBackColor = true;
//
// CHK_AI_Double
//
this.CHK_AI_Double.AutoSize = true;
this.CHK_AI_Double.Location = new System.Drawing.Point(7, 58);
this.CHK_AI_Double.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Double.Name = "CHK_AI_Double";
this.CHK_AI_Double.Size = new System.Drawing.Size(60, 17);
this.CHK_AI_Double.TabIndex = 462;
this.CHK_AI_Double.Text = "Double";
this.CHK_AI_Double.UseVisualStyleBackColor = true;
//
// CHK_AI_Expert
//
this.CHK_AI_Expert.AutoSize = true;
this.CHK_AI_Expert.Location = new System.Drawing.Point(7, 44);
this.CHK_AI_Expert.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Expert.Name = "CHK_AI_Expert";
this.CHK_AI_Expert.Size = new System.Drawing.Size(56, 17);
this.CHK_AI_Expert.TabIndex = 461;
this.CHK_AI_Expert.Text = "Expert";
this.CHK_AI_Expert.UseVisualStyleBackColor = true;
//
// CHK_AI_Strong
//
this.CHK_AI_Strong.AutoSize = true;
this.CHK_AI_Strong.Location = new System.Drawing.Point(7, 30);
this.CHK_AI_Strong.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Strong.Name = "CHK_AI_Strong";
this.CHK_AI_Strong.Size = new System.Drawing.Size(57, 17);
this.CHK_AI_Strong.TabIndex = 460;
this.CHK_AI_Strong.Text = "Strong";
this.CHK_AI_Strong.UseVisualStyleBackColor = true;
//
// CHK_AI_Basic
//
this.CHK_AI_Basic.AutoSize = true;
this.CHK_AI_Basic.Location = new System.Drawing.Point(7, 16);
this.CHK_AI_Basic.Margin = new System.Windows.Forms.Padding(0);
this.CHK_AI_Basic.Name = "CHK_AI_Basic";
this.CHK_AI_Basic.Size = new System.Drawing.Size(52, 17);
this.CHK_AI_Basic.TabIndex = 460;
this.CHK_AI_Basic.Text = "Basic";
this.CHK_AI_Basic.UseVisualStyleBackColor = true;
//
// L_Mode
//
@ -1215,7 +1217,7 @@ private void InitializeComponent()
this.Tab_Rand.Controls.Add(this.TC_RandSettings);
this.Tab_Rand.Location = new System.Drawing.Point(4, 22);
this.Tab_Rand.Name = "Tab_Rand";
this.Tab_Rand.Size = new System.Drawing.Size(314, 300);
this.Tab_Rand.Size = new System.Drawing.Size(314, 277);
this.Tab_Rand.TabIndex = 2;
this.Tab_Rand.Text = "Randomizer Options";
this.Tab_Rand.UseVisualStyleBackColor = true;
@ -1240,7 +1242,7 @@ private void InitializeComponent()
this.TC_RandSettings.Location = new System.Drawing.Point(0, 0);
this.TC_RandSettings.Name = "TC_RandSettings";
this.TC_RandSettings.SelectedIndex = 0;
this.TC_RandSettings.Size = new System.Drawing.Size(314, 300);
this.TC_RandSettings.Size = new System.Drawing.Size(314, 277);
this.TC_RandSettings.TabIndex = 447;
//
// Tab_RTrainer
@ -1248,7 +1250,7 @@ private void InitializeComponent()
this.Tab_RTrainer.Controls.Add(this.PG_RTrainer);
this.Tab_RTrainer.Location = new System.Drawing.Point(4, 22);
this.Tab_RTrainer.Name = "Tab_RTrainer";
this.Tab_RTrainer.Size = new System.Drawing.Size(306, 274);
this.Tab_RTrainer.Size = new System.Drawing.Size(306, 251);
this.Tab_RTrainer.TabIndex = 3;
this.Tab_RTrainer.Text = "Trainer";
this.Tab_RTrainer.UseVisualStyleBackColor = true;
@ -1258,7 +1260,7 @@ private void InitializeComponent()
this.PG_RTrainer.Dock = System.Windows.Forms.DockStyle.Fill;
this.PG_RTrainer.Location = new System.Drawing.Point(0, 0);
this.PG_RTrainer.Name = "PG_RTrainer";
this.PG_RTrainer.Size = new System.Drawing.Size(306, 274);
this.PG_RTrainer.Size = new System.Drawing.Size(306, 251);
this.PG_RTrainer.TabIndex = 0;
this.PG_RTrainer.ToolbarVisible = false;
//

View File

@ -31,6 +31,15 @@ private void InitializeComponent()
this.B_Save = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.Tab_Personal = new System.Windows.Forms.TabPage();
this.GB_ZMove = new System.Windows.Forms.GroupBox();
this.L_ZCrystal = new System.Windows.Forms.Label();
this.L_BaseMove = new System.Windows.Forms.Label();
this.L_ZMove = new System.Windows.Forms.Label();
this.CB_ZItem = new System.Windows.Forms.ComboBox();
this.CB_ZBaseMove = new System.Windows.Forms.ComboBox();
this.CB_ZMove = new System.Windows.Forms.ComboBox();
this.CHK_IsPresentInGame = new System.Windows.Forms.CheckBox();
this.CHK_CanNotDynamax = new System.Windows.Forms.CheckBox();
this.PB_MonSprite = new System.Windows.Forms.PictureBox();
this.B_PDumpTable = new System.Windows.Forms.Button();
this.L_GoID = new System.Windows.Forms.Label();
@ -45,9 +54,6 @@ private void InitializeComponent()
this.TB_Height = new System.Windows.Forms.MaskedTextBox();
this.L_Weight = new System.Windows.Forms.Label();
this.L_Height = new System.Windows.Forms.Label();
this.CB_ZMove = new System.Windows.Forms.ComboBox();
this.CB_ZBaseMove = new System.Windows.Forms.ComboBox();
this.CB_ZItem = new System.Windows.Forms.ComboBox();
this.TB_CallRate = new System.Windows.Forms.MaskedTextBox();
this.L_CallRate = new System.Windows.Forms.Label();
this.CHK_Variant = new System.Windows.Forms.CheckBox();
@ -110,9 +116,6 @@ private void InitializeComponent()
this.Label_SPE = new System.Windows.Forms.Label();
this.L_EVYield = new System.Windows.Forms.Label();
this.L_BaseStats = new System.Windows.Forms.Label();
this.L_ZMove = new System.Windows.Forms.Label();
this.L_BaseMove = new System.Windows.Forms.Label();
this.L_ZCrystal = new System.Windows.Forms.Label();
this.Tab_Learn = new System.Windows.Forms.TabPage();
this.L_TM = new System.Windows.Forms.Label();
this.CLB_TM = new System.Windows.Forms.CheckedListBox();
@ -141,9 +144,15 @@ private void InitializeComponent()
this.B_RandEvo = new System.Windows.Forms.Button();
this.PG_Evolution = new System.Windows.Forms.PropertyGrid();
this.CB_Species = new System.Windows.Forms.ComboBox();
this.CHK_IsPresentInGame = new System.Windows.Forms.CheckBox();
this.L_ArmorDex = new System.Windows.Forms.Label();
this.L_RegionalDex = new System.Windows.Forms.Label();
this.TB_RegionalDex = new System.Windows.Forms.TextBox();
this.TB_ArmorDex = new System.Windows.Forms.TextBox();
this.TB_CrownDex = new System.Windows.Forms.TextBox();
this.L_CrownDex = new System.Windows.Forms.Label();
this.tabControl1.SuspendLayout();
this.Tab_Personal.SuspendLayout();
this.GB_ZMove.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PB_MonSprite)).BeginInit();
this.Tab_Learn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
@ -185,7 +194,15 @@ private void InitializeComponent()
//
// Tab_Personal
//
this.Tab_Personal.Controls.Add(this.TB_CrownDex);
this.Tab_Personal.Controls.Add(this.L_CrownDex);
this.Tab_Personal.Controls.Add(this.TB_RegionalDex);
this.Tab_Personal.Controls.Add(this.TB_ArmorDex);
this.Tab_Personal.Controls.Add(this.L_ArmorDex);
this.Tab_Personal.Controls.Add(this.L_RegionalDex);
this.Tab_Personal.Controls.Add(this.GB_ZMove);
this.Tab_Personal.Controls.Add(this.CHK_IsPresentInGame);
this.Tab_Personal.Controls.Add(this.CHK_CanNotDynamax);
this.Tab_Personal.Controls.Add(this.PB_MonSprite);
this.Tab_Personal.Controls.Add(this.B_PDumpTable);
this.Tab_Personal.Controls.Add(this.L_GoID);
@ -200,9 +217,6 @@ private void InitializeComponent()
this.Tab_Personal.Controls.Add(this.TB_Height);
this.Tab_Personal.Controls.Add(this.L_Weight);
this.Tab_Personal.Controls.Add(this.L_Height);
this.Tab_Personal.Controls.Add(this.CB_ZMove);
this.Tab_Personal.Controls.Add(this.CB_ZBaseMove);
this.Tab_Personal.Controls.Add(this.CB_ZItem);
this.Tab_Personal.Controls.Add(this.TB_CallRate);
this.Tab_Personal.Controls.Add(this.L_CallRate);
this.Tab_Personal.Controls.Add(this.CHK_Variant);
@ -265,9 +279,6 @@ private void InitializeComponent()
this.Tab_Personal.Controls.Add(this.Label_SPE);
this.Tab_Personal.Controls.Add(this.L_EVYield);
this.Tab_Personal.Controls.Add(this.L_BaseStats);
this.Tab_Personal.Controls.Add(this.L_ZMove);
this.Tab_Personal.Controls.Add(this.L_BaseMove);
this.Tab_Personal.Controls.Add(this.L_ZCrystal);
this.Tab_Personal.Location = new System.Drawing.Point(4, 22);
this.Tab_Personal.Name = "Tab_Personal";
this.Tab_Personal.Padding = new System.Windows.Forms.Padding(3);
@ -276,6 +287,95 @@ private void InitializeComponent()
this.Tab_Personal.Text = "Personal";
this.Tab_Personal.UseVisualStyleBackColor = true;
//
// GB_ZMove
//
this.GB_ZMove.Controls.Add(this.L_ZCrystal);
this.GB_ZMove.Controls.Add(this.L_BaseMove);
this.GB_ZMove.Controls.Add(this.L_ZMove);
this.GB_ZMove.Controls.Add(this.CB_ZItem);
this.GB_ZMove.Controls.Add(this.CB_ZBaseMove);
this.GB_ZMove.Controls.Add(this.CB_ZMove);
this.GB_ZMove.Location = new System.Drawing.Point(238, 586);
this.GB_ZMove.Name = "GB_ZMove";
this.GB_ZMove.Size = new System.Drawing.Size(264, 107);
this.GB_ZMove.TabIndex = 505;
this.GB_ZMove.TabStop = false;
this.GB_ZMove.Text = "Z-Move Data";
//
// L_ZCrystal
//
this.L_ZCrystal.AutoSize = true;
this.L_ZCrystal.Location = new System.Drawing.Point(22, 31);
this.L_ZCrystal.Name = "L_ZCrystal";
this.L_ZCrystal.Size = new System.Drawing.Size(51, 13);
this.L_ZCrystal.TabIndex = 486;
this.L_ZCrystal.Text = "Z-Crystal:";
//
// L_BaseMove
//
this.L_BaseMove.AutoSize = true;
this.L_BaseMove.Location = new System.Drawing.Point(9, 53);
this.L_BaseMove.Name = "L_BaseMove";
this.L_BaseMove.Size = new System.Drawing.Size(64, 13);
this.L_BaseMove.TabIndex = 487;
this.L_BaseMove.Text = "Base Move:";
//
// L_ZMove
//
this.L_ZMove.AutoSize = true;
this.L_ZMove.Location = new System.Drawing.Point(26, 74);
this.L_ZMove.Name = "L_ZMove";
this.L_ZMove.Size = new System.Drawing.Size(47, 13);
this.L_ZMove.TabIndex = 489;
this.L_ZMove.Text = "Z-Move:";
//
// CB_ZItem
//
this.CB_ZItem.FormattingEnabled = true;
this.CB_ZItem.Location = new System.Drawing.Point(73, 27);
this.CB_ZItem.Name = "CB_ZItem";
this.CB_ZItem.Size = new System.Drawing.Size(125, 21);
this.CB_ZItem.TabIndex = 484;
//
// CB_ZBaseMove
//
this.CB_ZBaseMove.FormattingEnabled = true;
this.CB_ZBaseMove.Location = new System.Drawing.Point(73, 49);
this.CB_ZBaseMove.Name = "CB_ZBaseMove";
this.CB_ZBaseMove.Size = new System.Drawing.Size(125, 21);
this.CB_ZBaseMove.TabIndex = 485;
//
// CB_ZMove
//
this.CB_ZMove.FormattingEnabled = true;
this.CB_ZMove.Location = new System.Drawing.Point(73, 71);
this.CB_ZMove.Name = "CB_ZMove";
this.CB_ZMove.Size = new System.Drawing.Size(175, 21);
this.CB_ZMove.TabIndex = 488;
//
// CHK_IsPresentInGame
//
this.CHK_IsPresentInGame.AutoSize = true;
this.CHK_IsPresentInGame.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_IsPresentInGame.Enabled = false;
this.CHK_IsPresentInGame.Location = new System.Drawing.Point(84, 615);
this.CHK_IsPresentInGame.Name = "CHK_IsPresentInGame";
this.CHK_IsPresentInGame.Size = new System.Drawing.Size(104, 17);
this.CHK_IsPresentInGame.TabIndex = 503;
this.CHK_IsPresentInGame.Text = "Present in Game";
this.CHK_IsPresentInGame.UseVisualStyleBackColor = true;
//
// CHK_CanNotDynamax
//
this.CHK_CanNotDynamax.AutoSize = true;
this.CHK_CanNotDynamax.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_CanNotDynamax.Location = new System.Drawing.Point(91, 595);
this.CHK_CanNotDynamax.Name = "CHK_CanNotDynamax";
this.CHK_CanNotDynamax.Size = new System.Drawing.Size(97, 17);
this.CHK_CanNotDynamax.TabIndex = 504;
this.CHK_CanNotDynamax.Text = "Can\'t Dynamax";
this.CHK_CanNotDynamax.UseVisualStyleBackColor = true;
//
// PB_MonSprite
//
this.PB_MonSprite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@ -299,7 +399,7 @@ private void InitializeComponent()
// L_GoID
//
this.L_GoID.AutoSize = true;
this.L_GoID.Location = new System.Drawing.Point(116, 564);
this.L_GoID.Location = new System.Drawing.Point(116, 518);
this.L_GoID.Name = "L_GoID";
this.L_GoID.Size = new System.Drawing.Size(40, 13);
this.L_GoID.TabIndex = 501;
@ -308,7 +408,7 @@ private void InitializeComponent()
// MT_GoID
//
this.MT_GoID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.MT_GoID.Location = new System.Drawing.Point(157, 560);
this.MT_GoID.Location = new System.Drawing.Point(157, 514);
this.MT_GoID.Mask = "000";
this.MT_GoID.Name = "MT_GoID";
this.MT_GoID.Size = new System.Drawing.Size(31, 20);
@ -337,7 +437,7 @@ private void InitializeComponent()
// L_WeightKG
//
this.L_WeightKG.AutoSize = true;
this.L_WeightKG.Location = new System.Drawing.Point(437, 518);
this.L_WeightKG.Location = new System.Drawing.Point(437, 493);
this.L_WeightKG.Name = "L_WeightKG";
this.L_WeightKG.Size = new System.Drawing.Size(19, 13);
this.L_WeightKG.TabIndex = 495;
@ -355,7 +455,7 @@ private void InitializeComponent()
// L_HeightM
//
this.L_HeightM.AutoSize = true;
this.L_HeightM.Location = new System.Drawing.Point(437, 497);
this.L_HeightM.Location = new System.Drawing.Point(437, 472);
this.L_HeightM.Name = "L_HeightM";
this.L_HeightM.Size = new System.Drawing.Size(15, 13);
this.L_HeightM.TabIndex = 494;
@ -373,7 +473,7 @@ private void InitializeComponent()
// TB_Weight
//
this.TB_Weight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_Weight.Location = new System.Drawing.Point(405, 514);
this.TB_Weight.Location = new System.Drawing.Point(405, 489);
this.TB_Weight.Mask = "000.0";
this.TB_Weight.Name = "TB_Weight";
this.TB_Weight.Size = new System.Drawing.Size(32, 20);
@ -383,7 +483,7 @@ private void InitializeComponent()
// TB_Height
//
this.TB_Height.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_Height.Location = new System.Drawing.Point(405, 493);
this.TB_Height.Location = new System.Drawing.Point(405, 468);
this.TB_Height.Mask = "00.0";
this.TB_Height.Name = "TB_Height";
this.TB_Height.Size = new System.Drawing.Size(32, 20);
@ -393,7 +493,7 @@ private void InitializeComponent()
// L_Weight
//
this.L_Weight.AutoSize = true;
this.L_Weight.Location = new System.Drawing.Point(361, 517);
this.L_Weight.Location = new System.Drawing.Point(361, 492);
this.L_Weight.Name = "L_Weight";
this.L_Weight.Size = new System.Drawing.Size(44, 13);
this.L_Weight.TabIndex = 491;
@ -403,41 +503,17 @@ private void InitializeComponent()
// L_Height
//
this.L_Height.AutoSize = true;
this.L_Height.Location = new System.Drawing.Point(364, 496);
this.L_Height.Location = new System.Drawing.Point(364, 471);
this.L_Height.Name = "L_Height";
this.L_Height.Size = new System.Drawing.Size(41, 13);
this.L_Height.TabIndex = 490;
this.L_Height.Text = "Height:";
this.L_Height.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// CB_ZMove
//
this.CB_ZMove.FormattingEnabled = true;
this.CB_ZMove.Location = new System.Drawing.Point(316, 605);
this.CB_ZMove.Name = "CB_ZMove";
this.CB_ZMove.Size = new System.Drawing.Size(175, 21);
this.CB_ZMove.TabIndex = 488;
//
// CB_ZBaseMove
//
this.CB_ZBaseMove.FormattingEnabled = true;
this.CB_ZBaseMove.Location = new System.Drawing.Point(316, 583);
this.CB_ZBaseMove.Name = "CB_ZBaseMove";
this.CB_ZBaseMove.Size = new System.Drawing.Size(125, 21);
this.CB_ZBaseMove.TabIndex = 485;
//
// CB_ZItem
//
this.CB_ZItem.FormattingEnabled = true;
this.CB_ZItem.Location = new System.Drawing.Point(316, 561);
this.CB_ZItem.Name = "CB_ZItem";
this.CB_ZItem.Size = new System.Drawing.Size(125, 21);
this.CB_ZItem.TabIndex = 484;
//
// TB_CallRate
//
this.TB_CallRate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_CallRate.Location = new System.Drawing.Point(157, 539);
this.TB_CallRate.Location = new System.Drawing.Point(157, 535);
this.TB_CallRate.Mask = "000";
this.TB_CallRate.Name = "TB_CallRate";
this.TB_CallRate.Size = new System.Drawing.Size(31, 20);
@ -447,7 +523,7 @@ private void InitializeComponent()
// L_CallRate
//
this.L_CallRate.AutoSize = true;
this.L_CallRate.Location = new System.Drawing.Point(103, 543);
this.L_CallRate.Location = new System.Drawing.Point(103, 539);
this.L_CallRate.Name = "L_CallRate";
this.L_CallRate.Size = new System.Drawing.Size(53, 13);
this.L_CallRate.TabIndex = 482;
@ -458,7 +534,7 @@ private void InitializeComponent()
//
this.CHK_Variant.AutoSize = true;
this.CHK_Variant.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_Variant.Location = new System.Drawing.Point(84, 588);
this.CHK_Variant.Location = new System.Drawing.Point(84, 575);
this.CHK_Variant.Name = "CHK_Variant";
this.CHK_Variant.Size = new System.Drawing.Size(104, 17);
this.CHK_Variant.TabIndex = 481;
@ -488,7 +564,7 @@ private void InitializeComponent()
// TB_CatchRate
//
this.TB_CatchRate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_CatchRate.Location = new System.Drawing.Point(157, 518);
this.TB_CatchRate.Location = new System.Drawing.Point(157, 493);
this.TB_CatchRate.Mask = "000";
this.TB_CatchRate.Name = "TB_CatchRate";
this.TB_CatchRate.Size = new System.Drawing.Size(31, 20);
@ -497,7 +573,7 @@ private void InitializeComponent()
//
// TB_Stage
//
this.TB_Stage.Location = new System.Drawing.Point(405, 430);
this.TB_Stage.Location = new System.Drawing.Point(405, 405);
this.TB_Stage.Name = "TB_Stage";
this.TB_Stage.ReadOnly = true;
this.TB_Stage.Size = new System.Drawing.Size(32, 20);
@ -507,7 +583,7 @@ private void InitializeComponent()
// L_Stage
//
this.L_Stage.AutoSize = true;
this.L_Stage.Location = new System.Drawing.Point(320, 432);
this.L_Stage.Location = new System.Drawing.Point(320, 407);
this.L_Stage.Name = "L_Stage";
this.L_Stage.Size = new System.Drawing.Size(85, 13);
this.L_Stage.TabIndex = 476;
@ -516,7 +592,7 @@ private void InitializeComponent()
//
// TB_FormeCount
//
this.TB_FormeCount.Location = new System.Drawing.Point(405, 472);
this.TB_FormeCount.Location = new System.Drawing.Point(405, 447);
this.TB_FormeCount.Name = "TB_FormeCount";
this.TB_FormeCount.ReadOnly = true;
this.TB_FormeCount.Size = new System.Drawing.Size(32, 20);
@ -526,7 +602,7 @@ private void InitializeComponent()
// L_FormesCount
//
this.L_FormesCount.AutoSize = true;
this.L_FormesCount.Location = new System.Drawing.Point(330, 475);
this.L_FormesCount.Location = new System.Drawing.Point(330, 450);
this.L_FormesCount.Name = "L_FormesCount";
this.L_FormesCount.Size = new System.Drawing.Size(75, 13);
this.L_FormesCount.TabIndex = 474;
@ -535,7 +611,7 @@ private void InitializeComponent()
//
// TB_FormeSprite
//
this.TB_FormeSprite.Location = new System.Drawing.Point(405, 451);
this.TB_FormeSprite.Location = new System.Drawing.Point(405, 426);
this.TB_FormeSprite.Name = "TB_FormeSprite";
this.TB_FormeSprite.ReadOnly = true;
this.TB_FormeSprite.Size = new System.Drawing.Size(32, 20);
@ -545,7 +621,7 @@ private void InitializeComponent()
// L_FormeSprite
//
this.L_FormeSprite.AutoSize = true;
this.L_FormeSprite.Location = new System.Drawing.Point(336, 454);
this.L_FormeSprite.Location = new System.Drawing.Point(336, 429);
this.L_FormeSprite.Name = "L_FormeSprite";
this.L_FormeSprite.Size = new System.Drawing.Size(69, 13);
this.L_FormeSprite.TabIndex = 472;
@ -555,7 +631,7 @@ private void InitializeComponent()
// L_CatchRate
//
this.L_CatchRate.AutoSize = true;
this.L_CatchRate.Location = new System.Drawing.Point(92, 522);
this.L_CatchRate.Location = new System.Drawing.Point(92, 497);
this.L_CatchRate.Name = "L_CatchRate";
this.L_CatchRate.Size = new System.Drawing.Size(64, 13);
this.L_CatchRate.TabIndex = 471;
@ -670,7 +746,7 @@ private void InitializeComponent()
// TB_BaseExp
//
this.TB_BaseExp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_BaseExp.Location = new System.Drawing.Point(157, 476);
this.TB_BaseExp.Location = new System.Drawing.Point(157, 451);
this.TB_BaseExp.Mask = "000";
this.TB_BaseExp.Name = "TB_BaseExp";
this.TB_BaseExp.Size = new System.Drawing.Size(31, 20);
@ -680,7 +756,7 @@ private void InitializeComponent()
// L_BaseEXP
//
this.L_BaseEXP.AutoSize = true;
this.L_BaseEXP.Location = new System.Drawing.Point(98, 480);
this.L_BaseEXP.Location = new System.Drawing.Point(98, 455);
this.L_BaseEXP.Name = "L_BaseEXP";
this.L_BaseEXP.Size = new System.Drawing.Size(58, 13);
this.L_BaseEXP.TabIndex = 458;
@ -690,7 +766,7 @@ private void InitializeComponent()
// TB_HatchCycles
//
this.TB_HatchCycles.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_HatchCycles.Location = new System.Drawing.Point(157, 497);
this.TB_HatchCycles.Location = new System.Drawing.Point(157, 472);
this.TB_HatchCycles.Mask = "000";
this.TB_HatchCycles.Name = "TB_HatchCycles";
this.TB_HatchCycles.Size = new System.Drawing.Size(31, 20);
@ -700,7 +776,7 @@ private void InitializeComponent()
// L_HatchCycles
//
this.L_HatchCycles.AutoSize = true;
this.L_HatchCycles.Location = new System.Drawing.Point(83, 500);
this.L_HatchCycles.Location = new System.Drawing.Point(83, 475);
this.L_HatchCycles.Name = "L_HatchCycles";
this.L_HatchCycles.Size = new System.Drawing.Size(73, 13);
this.L_HatchCycles.TabIndex = 456;
@ -710,7 +786,7 @@ private void InitializeComponent()
// TB_Friendship
//
this.TB_Friendship.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_Friendship.Location = new System.Drawing.Point(157, 455);
this.TB_Friendship.Location = new System.Drawing.Point(157, 430);
this.TB_Friendship.Mask = "000";
this.TB_Friendship.Name = "TB_Friendship";
this.TB_Friendship.Size = new System.Drawing.Size(31, 20);
@ -720,7 +796,7 @@ private void InitializeComponent()
// TB_Gender
//
this.TB_Gender.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TB_Gender.Location = new System.Drawing.Point(157, 434);
this.TB_Gender.Location = new System.Drawing.Point(157, 409);
this.TB_Gender.Mask = "000";
this.TB_Gender.Name = "TB_Gender";
this.TB_Gender.Size = new System.Drawing.Size(31, 20);
@ -730,7 +806,7 @@ private void InitializeComponent()
// L_Friendship
//
this.L_Friendship.AutoSize = true;
this.L_Friendship.Location = new System.Drawing.Point(98, 459);
this.L_Friendship.Location = new System.Drawing.Point(98, 434);
this.L_Friendship.Name = "L_Friendship";
this.L_Friendship.Size = new System.Drawing.Size(58, 13);
this.L_Friendship.TabIndex = 453;
@ -740,7 +816,7 @@ private void InitializeComponent()
// L_Gender
//
this.L_Gender.AutoSize = true;
this.L_Gender.Location = new System.Drawing.Point(111, 437);
this.L_Gender.Location = new System.Drawing.Point(111, 412);
this.L_Gender.Name = "L_Gender";
this.L_Gender.Size = new System.Drawing.Size(45, 13);
this.L_Gender.TabIndex = 452;
@ -1034,33 +1110,6 @@ private void InitializeComponent()
this.L_BaseStats.TabIndex = 422;
this.L_BaseStats.Text = "Base Stats:";
//
// L_ZMove
//
this.L_ZMove.AutoSize = true;
this.L_ZMove.Location = new System.Drawing.Point(269, 608);
this.L_ZMove.Name = "L_ZMove";
this.L_ZMove.Size = new System.Drawing.Size(47, 13);
this.L_ZMove.TabIndex = 489;
this.L_ZMove.Text = "Z-Move:";
//
// L_BaseMove
//
this.L_BaseMove.AutoSize = true;
this.L_BaseMove.Location = new System.Drawing.Point(252, 587);
this.L_BaseMove.Name = "L_BaseMove";
this.L_BaseMove.Size = new System.Drawing.Size(64, 13);
this.L_BaseMove.TabIndex = 487;
this.L_BaseMove.Text = "Base Move:";
//
// L_ZCrystal
//
this.L_ZCrystal.AutoSize = true;
this.L_ZCrystal.Location = new System.Drawing.Point(265, 565);
this.L_ZCrystal.Name = "L_ZCrystal";
this.L_ZCrystal.Size = new System.Drawing.Size(51, 13);
this.L_ZCrystal.TabIndex = 486;
this.L_ZCrystal.Text = "Z-Crystal:";
//
// Tab_Learn
//
this.Tab_Learn.Controls.Add(this.L_TM);
@ -1379,17 +1428,62 @@ private void InitializeComponent()
this.CB_Species.TabIndex = 2;
this.CB_Species.SelectedIndexChanged += new System.EventHandler(this.UpdateIndex);
//
// CHK_IsPresentInGame
// L_ArmorDex
//
this.CHK_IsPresentInGame.AutoSize = true;
this.CHK_IsPresentInGame.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.CHK_IsPresentInGame.Enabled = false;
this.CHK_IsPresentInGame.Location = new System.Drawing.Point(84, 607);
this.CHK_IsPresentInGame.Name = "CHK_IsPresentInGame";
this.CHK_IsPresentInGame.Size = new System.Drawing.Size(104, 17);
this.CHK_IsPresentInGame.TabIndex = 503;
this.CHK_IsPresentInGame.Text = "Present in Game";
this.CHK_IsPresentInGame.UseVisualStyleBackColor = true;
this.L_ArmorDex.AutoSize = true;
this.L_ArmorDex.Location = new System.Drawing.Point(346, 535);
this.L_ArmorDex.Name = "L_ArmorDex";
this.L_ArmorDex.Size = new System.Drawing.Size(59, 13);
this.L_ArmorDex.TabIndex = 507;
this.L_ArmorDex.Text = "Armor Dex:";
this.L_ArmorDex.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L_RegionalDex
//
this.L_RegionalDex.AutoSize = true;
this.L_RegionalDex.Location = new System.Drawing.Point(331, 513);
this.L_RegionalDex.Name = "L_RegionalDex";
this.L_RegionalDex.Size = new System.Drawing.Size(74, 13);
this.L_RegionalDex.TabIndex = 506;
this.L_RegionalDex.Text = "Regional Dex:";
this.L_RegionalDex.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// TB_RegionalDex
//
this.TB_RegionalDex.Location = new System.Drawing.Point(405, 510);
this.TB_RegionalDex.Name = "TB_RegionalDex";
this.TB_RegionalDex.ReadOnly = true;
this.TB_RegionalDex.Size = new System.Drawing.Size(32, 20);
this.TB_RegionalDex.TabIndex = 509;
this.TB_RegionalDex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// TB_ArmorDex
//
this.TB_ArmorDex.Location = new System.Drawing.Point(405, 531);
this.TB_ArmorDex.Name = "TB_ArmorDex";
this.TB_ArmorDex.ReadOnly = true;
this.TB_ArmorDex.Size = new System.Drawing.Size(32, 20);
this.TB_ArmorDex.TabIndex = 508;
this.TB_ArmorDex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// TB_CrownDex
//
this.TB_CrownDex.Location = new System.Drawing.Point(405, 552);
this.TB_CrownDex.Name = "TB_CrownDex";
this.TB_CrownDex.ReadOnly = true;
this.TB_CrownDex.Size = new System.Drawing.Size(32, 20);
this.TB_CrownDex.TabIndex = 511;
this.TB_CrownDex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// L_CrownDex
//
this.L_CrownDex.AutoSize = true;
this.L_CrownDex.Location = new System.Drawing.Point(343, 556);
this.L_CrownDex.Name = "L_CrownDex";
this.L_CrownDex.Size = new System.Drawing.Size(62, 13);
this.L_CrownDex.TabIndex = 510;
this.L_CrownDex.Text = "Crown Dex:";
this.L_CrownDex.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// PokeDataUI
//
@ -1407,6 +1501,8 @@ private void InitializeComponent()
this.tabControl1.ResumeLayout(false);
this.Tab_Personal.ResumeLayout(false);
this.Tab_Personal.PerformLayout();
this.GB_ZMove.ResumeLayout(false);
this.GB_ZMove.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.PB_MonSprite)).EndInit();
this.Tab_Learn.ResumeLayout(false);
this.Tab_Learn.PerformLayout();
@ -1541,5 +1637,13 @@ private void InitializeComponent()
private System.Windows.Forms.TabPage Tab_Moveset;
private System.Windows.Forms.PropertyGrid PG_Move;
private System.Windows.Forms.CheckBox CHK_IsPresentInGame;
private System.Windows.Forms.CheckBox CHK_CanNotDynamax;
private System.Windows.Forms.GroupBox GB_ZMove;
private System.Windows.Forms.Label L_ArmorDex;
private System.Windows.Forms.Label L_RegionalDex;
private System.Windows.Forms.TextBox TB_RegionalDex;
private System.Windows.Forms.TextBox TB_ArmorDex;
private System.Windows.Forms.TextBox TB_CrownDex;
private System.Windows.Forms.Label L_CrownDex;
}
}

View File

@ -286,21 +286,30 @@ public void LoadPersonal(PersonalInfo pkm)
CB_ZBaseMove.SelectedIndex = sm.SpecialZ_BaseMove;
CB_ZMove.SelectedIndex = sm.SpecialZ_ZMove;
CHK_Variant.Checked = sm.LocalVariant;
CHK_IsPresentInGame.Visible = false;
CHK_IsPresentInGame.Visible = CHK_CanNotDynamax.Visible =
L_RegionalDex.Visible = L_ArmorDex.Visible = L_CrownDex.Visible = TB_RegionalDex.Visible = TB_ArmorDex.Visible = TB_CrownDex.Visible = false;
}
if (pkm is PersonalInfoGG gg)
{
MT_GoID.Text = gg.GoSpecies.ToString("000");
CHK_Variant.Checked = gg.LocalVariant;
CHK_IsPresentInGame.Visible = false;
GB_ZMove.Visible = CHK_IsPresentInGame.Visible = CHK_CanNotDynamax.Visible =
L_RegionalDex.Visible = L_ArmorDex.Visible = L_CrownDex.Visible = TB_RegionalDex.Visible = TB_ArmorDex.Visible = TB_CrownDex.Visible = false;
}
if (pkm is PersonalInfoSWSH swsh)
{
MT_GoID.Text = swsh.SpriteIndex.ToString("000");
TB_RegionalDex.Text = swsh.DexID.ToString("000");
TB_ArmorDex.Text = swsh.DexIDArmor.ToString("000");
TB_CrownDex.Text = swsh.DexIDCrown.ToString("000");
CHK_IsPresentInGame.Checked = swsh.IsPresentInGame;
CHK_Variant.Visible = false;
CHK_Variant.Checked = swsh.RegionalVariant;
CHK_CanNotDynamax.Checked = swsh.CanNotDynamax;
L_CallRate.Visible = TB_CallRate.Visible = GB_ZMove.Visible = false;
}
L_CrownDex.Visible = TB_CrownDex.Visible = false; // todo: remove when DLC 2 is released
for (int i = 0; i < CLB_TM.Items.Count; i++)
CLB_TM.SetItemChecked(i, pkm.TMHM[i]); // Bitflags for TM
}
@ -358,6 +367,15 @@ public void SavePersonal()
{
gg.GoSpecies = Convert.ToUInt16(MT_GoID.Text);
}
if (pkm is PersonalInfoSWSH swsh)
{
swsh.DexID = Convert.ToUInt16(TB_RegionalDex.Text);
swsh.DexIDArmor = Convert.ToUInt16(TB_ArmorDex.Text);
swsh.DexIDCrown = Convert.ToUInt16(TB_CrownDex.Text);
swsh.IsPresentInGame = CHK_IsPresentInGame.Checked;
swsh.RegionalVariant = CHK_Variant.Checked;
swsh.CanNotDynamax = CHK_CanNotDynamax.Checked;
}
for (int i = 0; i < CLB_TM.Items.Count; i++)
pkm.TMHM[i] = CLB_TM.GetItemChecked(i);