mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-20 22:42:02 -05:00
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:
@@ -147,7 +147,7 @@ private void VerifyShedinjaAffixed(LegalityAnalysis data, sbyte affix, PK8 pk8)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user