mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -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:
parent
b89c4fb17f
commit
7256ff0a7f
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user