mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue