Add transporter or crown location text error

This commit is contained in:
javierhimura 2017-03-27 01:18:26 +02:00
parent 8729ddf17a
commit bff867ce31
2 changed files with 4 additions and 3 deletions

View file

@ -729,7 +729,7 @@ namespace PKHeX.Core
if (pkm.Gen4 && !pkm.HasOriginalMetLocation)
{
return verifyEncounterG3Transfer();
return verifyEncounterG4Transfer();
}
bool wasEvent = pkm.WasEvent || pkm.WasEventEgg;
@ -839,7 +839,7 @@ namespace PKHeX.Core
CrownLocation = pkm.Species == 251 ? 30010 : 30012; // Celebi : Beast
if (pkm.Met_Location != 30001 && (!AllowCrownLocation || pkm.Met_Location != CrownLocation))
InvalidTransferResult = new CheckResult(Severity.Invalid, V61, CheckIdentifier.Encounter);
InvalidTransferResult = new CheckResult(Severity.Invalid, AllowCrownLocation ? V351 : V61, CheckIdentifier.Encounter);
bool wasEvent = pkm.WasEvent || pkm.WasEventEgg;
if (wasEvent)

View file

@ -336,7 +336,8 @@ namespace PKHeX.Core
public static string V347 {get; set;} = "Inherited move learned by Level-up.Not expected in an event egg.";
public static string V348 {get; set;} = "Inherited tutor move. Not expected in an event egg.";
public static string V350 {get; set;} = "Inherited TM/HM move. Not expected in an event egg.";
public static string V351 {get; set;} = "Invalid Met Location, expected Transporter or Crown."; // Invalid
#endregion
}
}
}