mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
parent
b1ad10d8ad
commit
feb36f58b5
2 changed files with 2 additions and 6 deletions
|
@ -132,7 +132,6 @@ namespace PKHeX.Core
|
|||
public static string LEncGiftNotFound { get; set; } = "Unable to match to a Mystery Gift in the database.";
|
||||
public static string LEncGiftPIDMismatch { get; set; } = "Mystery Gift fixed PID mismatch.";
|
||||
public static string LEncGiftShinyMismatch { get; set; } = "Mystery Gift shiny mismatch.";
|
||||
public static string LEncGiftShinyAshGreninja { get; set; } = "Ash-Greninja cannot be shiny";
|
||||
public static string LEncGiftVersionNotDistributed { get; set; } = "Mystery Gift cannot be received by this version.";
|
||||
|
||||
public static string LEncInvalid { get; set; } = "Unable to match an encounter from origin game.";
|
||||
|
|
|
@ -66,11 +66,8 @@ namespace PKHeX.Core
|
|||
if (d.Gift.PK.PID != 1 && pkm.EncryptionConstant != d.Gift.PK.PID)
|
||||
data.AddLine(GetInvalid(LEncGiftPIDMismatch, CheckIdentifier.Shiny));
|
||||
break;
|
||||
case WC7 seventhGenerationMysteryGift:
|
||||
if (seventhGenerationMysteryGift.IsAshGreninjaWC7(pkm) && pkm.IsShiny)
|
||||
{
|
||||
data.AddLine(GetInvalid(LEncGiftShinyAshGreninja, CheckIdentifier.Shiny));
|
||||
}
|
||||
case WC7 wc7 when wc7.IsAshGreninjaWC7(pkm) && pkm.IsShiny:
|
||||
data.AddLine(GetInvalid(LEncGiftShinyMismatch, CheckIdentifier.Shiny));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue