diff --git a/PKHeX.Core/Legality/Analysis.cs b/PKHeX.Core/Legality/Analysis.cs index 0c3a71e88..3ddc42e7f 100644 --- a/PKHeX.Core/Legality/Analysis.cs +++ b/PKHeX.Core/Legality/Analysis.cs @@ -91,7 +91,9 @@ namespace PKHeX.Core get { var enc = EncounterOriginal; - return $"{enc.LongName} ({SpeciesStrings[enc.Species]})"; + var str = SpeciesStrings; + var name = (uint) enc.Species < str.Count ? str[enc.Species] : enc.Species.ToString(); + return $"{enc.LongName} ({name})"; } }