mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-22 20:13:06 +00:00
Pokerus saving, new mega selection
This commit is contained in:
parent
3b7aec7f2e
commit
9927da275f
8 changed files with 54 additions and 3 deletions
|
@ -254,6 +254,10 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="icon.ico" />
|
<Content Include="icon.ico" />
|
||||||
|
<None Include="Resources\img\Pokemon Sprites\719-1.png" />
|
||||||
|
<None Include="Resources\img\Pokemon Sprites\376-1.png" />
|
||||||
|
<None Include="Resources\img\Pokemon Sprites\260-1.png" />
|
||||||
|
<None Include="Resources\img\Pokemon Sprites\254-1.png" />
|
||||||
<None Include="Resources\text\de\lang_de.txt" />
|
<None Include="Resources\text\de\lang_de.txt" />
|
||||||
<None Include="Resources\text\fr\lang_fr.txt" />
|
<None Include="Resources\text\fr\lang_fr.txt" />
|
||||||
<None Include="Resources\img\misc\rare_icon.png" />
|
<None Include="Resources\img\misc\rare_icon.png" />
|
||||||
|
|
28
Properties/Resources.Designer.cs
generated
28
Properties/Resources.Designer.cs
generated
|
@ -1544,6 +1544,13 @@ namespace PKHeX.Properties {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static System.Drawing.Bitmap _254_1 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("_254_1", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal static System.Drawing.Bitmap _255 {
|
internal static System.Drawing.Bitmap _255 {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("_255", resourceCulture);
|
object obj = ResourceManager.GetObject("_255", resourceCulture);
|
||||||
|
@ -1600,6 +1607,13 @@ namespace PKHeX.Properties {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static System.Drawing.Bitmap _260_1 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("_260_1", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal static System.Drawing.Bitmap _261 {
|
internal static System.Drawing.Bitmap _261 {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("_261", resourceCulture);
|
object obj = ResourceManager.GetObject("_261", resourceCulture);
|
||||||
|
@ -2573,6 +2587,13 @@ namespace PKHeX.Properties {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static System.Drawing.Bitmap _376_1 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("_376_1", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal static System.Drawing.Bitmap _377 {
|
internal static System.Drawing.Bitmap _377 {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("_377", resourceCulture);
|
object obj = ResourceManager.GetObject("_377", resourceCulture);
|
||||||
|
@ -6353,6 +6374,13 @@ namespace PKHeX.Properties {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static System.Drawing.Bitmap _719_1 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("_719_1", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal static System.Drawing.Bitmap _72 {
|
internal static System.Drawing.Bitmap _72 {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("_72", resourceCulture);
|
object obj = ResourceManager.GetObject("_72", resourceCulture);
|
||||||
|
|
|
@ -3577,4 +3577,16 @@
|
||||||
<data name="lang_fr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="lang_fr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\text\fr\lang_fr.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>..\Resources\text\fr\lang_fr.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="_254_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\img\Pokemon Sprites\254-1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="_260_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\img\Pokemon Sprites\260-1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="_376_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\img\Pokemon Sprites\376-1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="_719_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\img\Pokemon Sprites\719-1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
BIN
Resources/img/Pokemon Sprites/254-1.png
Normal file
BIN
Resources/img/Pokemon Sprites/254-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 442 B |
BIN
Resources/img/Pokemon Sprites/260-1.png
Normal file
BIN
Resources/img/Pokemon Sprites/260-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 442 B |
BIN
Resources/img/Pokemon Sprites/376-1.png
Normal file
BIN
Resources/img/Pokemon Sprites/376-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 442 B |
BIN
Resources/img/Pokemon Sprites/719-1.png
Normal file
BIN
Resources/img/Pokemon Sprites/719-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 442 B |
13
f1-Main.cs
13
f1-Main.cs
|
@ -4087,7 +4087,10 @@ namespace PKHeX
|
||||||
{
|
{
|
||||||
int val = 0;
|
int val = 0;
|
||||||
try { val = ToInt32(cb.SelectedValue.ToString()); }
|
try { val = ToInt32(cb.SelectedValue.ToString()); }
|
||||||
catch { };
|
catch {
|
||||||
|
val = cb.SelectedIndex;
|
||||||
|
if (val < 0) val = 0;
|
||||||
|
};
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
private void getIsShiny()
|
private void getIsShiny()
|
||||||
|
@ -4328,7 +4331,11 @@ namespace PKHeX
|
||||||
CB_Form.ValueMember = "Value";
|
CB_Form.ValueMember = "Value";
|
||||||
|
|
||||||
// Mega List
|
// Mega List
|
||||||
int[] mspec = { 3, 9, 65, 94, 115, 127, 130, 142, 154, 181, 212, 214, 229, 248, 257, 282, 303, 306, 308, 310, 354, 359, 380, 381, 445, 448, 460, 469 };
|
int[] mspec = { // XY
|
||||||
|
3, 9, 65, 94, 115, 127, 130, 142, 154, 181, 212, 214, 229, 248, 257, 282, 303, 306, 308, 310, 354, 359, 380, 381, 445, 448, 460, 469,
|
||||||
|
// ORAS
|
||||||
|
254, 260, 376, 719,
|
||||||
|
};
|
||||||
for (int i = 0; i < mspec.Length; i++)
|
for (int i = 0; i < mspec.Length; i++)
|
||||||
{
|
{
|
||||||
if (mspec[i] == species)
|
if (mspec[i] == species)
|
||||||
|
@ -6708,7 +6715,7 @@ namespace PKHeX
|
||||||
markings += Convert.ToInt32(CHK_Star.Checked) * 16;
|
markings += Convert.ToInt32(CHK_Star.Checked) * 16;
|
||||||
markings += Convert.ToInt32(CHK_Diamond.Checked) * 32;
|
markings += Convert.ToInt32(CHK_Diamond.Checked) * 32;
|
||||||
pkx[0x2A] = (byte)markings;
|
pkx[0x2A] = (byte)markings;
|
||||||
pkx[0x2B] = (byte)(getIndex(CB_PKRSDays) + getIndex(CB_PKRSStrain) * 0x10);
|
pkx[0x2B] = (byte)(CB_PKRSDays.SelectedIndex + CB_PKRSStrain.SelectedIndex * 0x10);
|
||||||
|
|
||||||
// Already in buff (then transferred to new pkx)
|
// Already in buff (then transferred to new pkx)
|
||||||
// 0x2C, 0x2D, 0x2E, 0x2F
|
// 0x2C, 0x2D, 0x2E, 0x2F
|
||||||
|
|
Loading…
Reference in a new issue