mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
add EventFlags resources DP
This resources include some flags, not all, that be changed when defeated/captured in game, but sufficient to repop.
This commit is contained in:
parent
28957da0d4
commit
d134abcd4a
6 changed files with 78 additions and 3 deletions
41
PKHeX.Core/Properties/Resources.Designer.cs
generated
41
PKHeX.Core/Properties/Resources.Designer.cs
generated
|
@ -61,6 +61,23 @@ namespace PKHeX.Core.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 0166 Dialga/Palkia 00:Event,01:Event,02:Event,03:Event,04:Disappeared,05:Battleable
|
||||
///0172 Heatran 00:Not appeared,01:Battleable,02:Disappeared
|
||||
///0068 Fullmoon Is. 0:Not appeared,520:On the Map
|
||||
///0069 Newmoon Is. 0:Not appeared,553:On the Map
|
||||
///0070 Spring Path 0:Not appeared,786:Appeared
|
||||
///0071 Seabreak Path 0:Not appeared,4136:Appeared
|
||||
///0081 Member Card 0:Not activated,4617:Activated
|
||||
///0082 Oak Letter 0:Not activated,4370:Activated
|
||||
///0083 Azure Flute 0:Not activated,4387:Activated.
|
||||
/// </summary>
|
||||
internal static string const_dp {
|
||||
get {
|
||||
return ResourceManager.GetString("const_dp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 60 Ash
|
||||
///21 Test1
|
||||
|
@ -103,6 +120,30 @@ namespace PKHeX.Core.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 0479 Uxie disappeared
|
||||
///0477 Mesprit(Verity Cavern) disappeared
|
||||
///0478 Azelf disappeared
|
||||
///0589 Cresselia(FullmoonIs.) disappeared
|
||||
///0256 Heatran disappeared
|
||||
///0577 Regigigas disappeared
|
||||
///0590 Giratina disappeared
|
||||
///0574 Darkrai disappeared
|
||||
///0591 Shaymin(FlowerParadise) disappeared
|
||||
///0588 Arceus disappeared
|
||||
///0254 Arceus(MapObj) disappeared
|
||||
///0275 Ferry FullmoonIs. accessable
|
||||
///0284 Ferry NewmoonIs. accessable
|
||||
///0269 Oak(R224) disappeared
|
||||
///0602 Shaymin?(R224 MapObj) disappeared
|
||||
///.
|
||||
/// </summary>
|
||||
internal static string flags_dp {
|
||||
get {
|
||||
return ResourceManager.GetString("flags_dp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 0648 (OR) Groudon Defeated
|
||||
///2839 (OR) Groudon Captured
|
||||
|
|
|
@ -1433,4 +1433,10 @@
|
|||
<data name="text_Char_zh2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\zh\text_Char_zh2.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="const_dp" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\other\const_dp.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;shift_jis</value>
|
||||
</data>
|
||||
<data name="flags_dp" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\other\flags_dp.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;shift_jis</value>
|
||||
</data>
|
||||
</root>
|
9
PKHeX.Core/Resources/text/other/const_dp.txt
Normal file
9
PKHeX.Core/Resources/text/other/const_dp.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
0166 Dialga/Palkia 00:Event,01:Event,02:Event,03:Event,04:Disappeared,05:Battleable
|
||||
0172 Heatran 00:Not appeared,01:Battleable,02:Disappeared
|
||||
0068 Fullmoon Is. 0:Not appeared,520:On the Map
|
||||
0069 Newmoon Is. 0:Not appeared,553:On the Map
|
||||
0070 Spring Path 0:Not appeared,786:Appeared
|
||||
0071 Seabreak Path 0:Not appeared,4136:Appeared
|
||||
0081 Member Card 0:Not activated,4617:Activated
|
||||
0082 Oak Letter 0:Not activated,4370:Activated
|
||||
0083 Azure Flute 0:Not activated,4387:Activated
|
15
PKHeX.Core/Resources/text/other/flags_dp.txt
Normal file
15
PKHeX.Core/Resources/text/other/flags_dp.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
0479 Uxie disappeared
|
||||
0477 Mesprit(Verity Cavern) disappeared
|
||||
0478 Azelf disappeared
|
||||
0589 Cresselia(FullmoonIs.) disappeared
|
||||
0256 Heatran disappeared
|
||||
0577 Regigigas disappeared
|
||||
0590 Giratina disappeared
|
||||
0574 Darkrai disappeared
|
||||
0591 Shaymin(FlowerParadise) disappeared
|
||||
0588 Arceus disappeared
|
||||
0254 Arceus(MapObj) disappeared
|
||||
0275 Ferry FullmoonIs. accessable
|
||||
0284 Ferry NewmoonIs. accessable
|
||||
0269 Oak(R224) disappeared
|
||||
0602 Shaymin(R224 MapObj) disappeared
|
|
@ -49,8 +49,8 @@ namespace PKHeX.Core
|
|||
public override int BoxCount => 18;
|
||||
public override int MaxEV => 255;
|
||||
public override int Generation => 4;
|
||||
protected override int EventFlagMax => int.MinValue;
|
||||
protected override int EventConstMax => int.MinValue;
|
||||
protected override int EventFlagMax => EventFlag > 0 ? 0x280 : int.MinValue;
|
||||
protected override int EventConstMax => EventConst > 0 ? (EventFlag - EventConst) >> 1 : int.MinValue;
|
||||
protected override int GiftCountMax => 11;
|
||||
public override int OTLength => 7;
|
||||
public override int NickLength => 10;
|
||||
|
@ -203,7 +203,8 @@ namespace PKHeX.Core
|
|||
LegalMailItems = Legal.Pouch_Mail_DP;
|
||||
|
||||
HeldItems = Legal.HeldItems_DP;
|
||||
|
||||
EventConst = 0xD80 + GBO;
|
||||
EventFlag = 0xFE0 + GBO;
|
||||
Daycare = 0x141C + GBO;
|
||||
Box = 0xC104 + SBO;
|
||||
break;
|
||||
|
|
|
@ -105,6 +105,9 @@ namespace PKHeX.WinForms
|
|||
case GameVersion.MN:
|
||||
gamePrefix = "sm";
|
||||
break;
|
||||
case GameVersion.DP:
|
||||
gamePrefix = "dp";
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue