Add egg held item check

no hold pls
#1257
This commit is contained in:
Kurt 2017-06-20 22:55:05 -07:00
parent f15333ea6c
commit 966792713c
5 changed files with 6 additions and 0 deletions

View file

@ -47,6 +47,8 @@ namespace PKHeX.Core
AddLine(Severity.Invalid, V204, CheckIdentifier.Form);
if (pkm.Format == 3 && pkm.HeldItem == 175)
VerifyEReaderBerry();
if (pkm.IsEgg)
AddLine(Severity.Invalid, V419, CheckIdentifier.Egg);
}
private void VerifyEReaderBerry()
{

View file

@ -400,6 +400,7 @@ namespace PKHeX.Core
public static string V416 {get; set;} = "Mystery Gift cannot be received by this version."; // Invalid
public static string V417 {get; set;} = "Suspicious Original Trainer details.";
public static string V418 {get; set;} = "Individual EV without changing EXP cannot be greater than {0}.";
public static string V419 {get; set;} = "Eggs cannot hold items.";
public static string V600 { get; set; } = "Invalid Ribbons: {0}";
public static string V601 { get; set; } = "Missing Ribbons: {0}";

View file

@ -338,6 +338,7 @@ V415 = Eggs cannot have Pokéathlon stats.
V416 = Mystery Gift cannot be received by this version.
V417 = Suspicious Original Trainer details.
V418 = Individual EV without changing EXP cannot be greater than {0}.
V419 = Eggs cannot hold items.
V602 = All ribbons accounted for.
V600 = Missing Ribbons: {0}
V601 = Invalid Ribbons: {0}

View file

@ -338,6 +338,7 @@ V415 = Eggs cannot have Pokéathlon stats.
V416 = Mystery Gift cannot be received by this version.
V417 = Suspicious Original Trainer details.
V418 = Individual EV without changing EXP cannot be greater than {0}.
V419 = Eggs cannot hold items.
V602 = 모든 리본이 채워졌습니다.
V600 = 없는 리본: {0}
V601 = 사용할 수 없는 리본: {0}

View file

@ -338,6 +338,7 @@ V415 = Eggs cannot have Pokéathlon stats.
V416 = Mystery Gift cannot be received by this version.
V417 = Suspicious Original Trainer details.
V418 = Individual EV without changing EXP cannot be greater than {0}.
V419 = Eggs cannot hold items.
V602 = 所有奖章合法。
V600 = 缺失奖章: {0}
V601 = 不合法奖章: {0}