Check if the Shedinja's encounter can have marks

Not all gen8 encounters can have marks (nest, go), so use the regular method.
This commit is contained in:
Kurt 2021-04-21 18:52:24 -07:00
parent b89c4fb17f
commit 7256ff0a7f

View file

@ -147,7 +147,7 @@ namespace PKHeX.Core
if ((byte) affix >= (int) RibbonIndex.MarkLunchtime)
{
if (data.EncounterOriginal.Generation != 8)
if (!IsMarkAllowedAny(data.EncounterOriginal))
data.AddLine(GetInvalid(string.Format(LRibbonMarkingAffixedF_0, (RibbonIndex) affix)));
return;
}