mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 13:40:50 -05:00
Add more succinct go park IV check string
This commit is contained in:
parent
43a9d4eb99
commit
93ff395875
|
|
@ -257,6 +257,7 @@ public static class LegalityCheckStrings
|
|||
public static string LItemUnreleased { get; set; } = "Held item is unreleased.";
|
||||
|
||||
public static string LIVAllEqual { get; set; } = "All IVs are equal.";
|
||||
public static string LIVNotCorrect { get; set; } = "IVs do not match encounter requirements.";
|
||||
public static string LIVF_COUNT0_31 { get; set; } = "Should have at least {0} IVs = 31.";
|
||||
|
||||
public static string LLevelEXPThreshold { get; set; } = "Current experience matches level threshold.";
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ private void VerifyIVsSlot(LegalityAnalysis data, EncounterSlot w)
|
|||
|
||||
private void VerifyIVsGen7(LegalityAnalysis data)
|
||||
{
|
||||
|
||||
var pkm = data.pkm;
|
||||
if (pkm.GG)
|
||||
{
|
||||
|
|
@ -125,7 +124,7 @@ private void VerifyIVsStatic(LegalityAnalysis data, EncounterStatic s)
|
|||
private void VerifyIVsGoTransfer(LegalityAnalysis data)
|
||||
{
|
||||
if (!IsGoIVSetValid(data.pkm))
|
||||
data.AddLine(GetInvalid(LEncGiftIVMismatch));
|
||||
data.AddLine(GetInvalid(LIVNotCorrect));
|
||||
}
|
||||
|
||||
private static bool IsGoIVSetValid(PKM pkm)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user