mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Add transporter or crown location text error
This commit is contained in:
parent
8729ddf17a
commit
bff867ce31
2 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue