mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-08 09:16:16 -05:00
@@ -132,7 +132,6 @@ public static class LegalityCheckStrings
|
||||
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 @@ private void VerifyShiny(LegalityAnalysis data)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user