From 94f93d41c56f46aaf6c184b6a144477ff34145e7 Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 26 Apr 2024 08:35:54 -0500 Subject: [PATCH] Update EvolutionGroup4.cs Handles arceus-9 in future generations (reads as "not present in current game" via personal info if not stripped). --- .../Legality/Evolutions/EvolutionGroup/EvolutionGroup4.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKHeX.Core/Legality/Evolutions/EvolutionGroup/EvolutionGroup4.cs b/PKHeX.Core/Legality/Evolutions/EvolutionGroup/EvolutionGroup4.cs index 4acc4391f..9462ee90f 100644 --- a/PKHeX.Core/Legality/Evolutions/EvolutionGroup/EvolutionGroup4.cs +++ b/PKHeX.Core/Legality/Evolutions/EvolutionGroup/EvolutionGroup4.cs @@ -18,6 +18,8 @@ public sealed class EvolutionGroup4 : IEvolutionGroup { if (pk.Format > Generation && !enc.SkipChecks) { + if (enc.Species is (ushort)Species.Arceus) + result[0] = result[0] with { Form = 0 }; // Account for form-shift (9) for all forms, as plate is removed for transfer anyway. byte max = pk.MetLevel; EvolutionUtil.UpdateCeiling(result, max); enc = enc with { LevelMin = 1, LevelMax = max };