diff --git a/PKHeX.Core/Editing/Applicators/HiddenPowerApplicator.cs b/PKHeX.Core/Editing/Applicators/HiddenPowerApplicator.cs index 427376918..34237697d 100644 --- a/PKHeX.Core/Editing/Applicators/HiddenPowerApplicator.cs +++ b/PKHeX.Core/Editing/Applicators/HiddenPowerApplicator.cs @@ -6,7 +6,7 @@ public static class HiddenPowerApplicator /// Sets the to match a provided . /// /// Pokémon to modify. - /// Desired Hidden Power typing. + /// Desired Hidden Power typing. public static void SetHiddenPower(this PKM pk, int hiddenPowerType) { var IVs = pk.IVs; diff --git a/PKHeX.Core/Legality/Encounters/Verifiers/VerifyCurrentMoves.cs b/PKHeX.Core/Legality/Encounters/Verifiers/VerifyCurrentMoves.cs index 3ac3e189e..6c7b1d2c8 100644 --- a/PKHeX.Core/Legality/Encounters/Verifiers/VerifyCurrentMoves.cs +++ b/PKHeX.Core/Legality/Encounters/Verifiers/VerifyCurrentMoves.cs @@ -294,7 +294,8 @@ private static CheckMoveResult[] ParseMoves(PKM pkm, MoveParseSource source, Leg for (int m = 0; m < 4; m++) { - res[m] ??= new CheckMoveResult(Unknown, info.Generation, Invalid, LMoveSourceInvalid, Move); + if (res[m] == null) + res[m] = new CheckMoveResult(Unknown, info.Generation, Invalid, LMoveSourceInvalid, Move); } return res; }