mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-11 10:45:38 -05:00
Additional fix for NatDex validation (#6529)
This fix re-introduces Arceus plates.
This commit is contained in:
@@ -85,7 +85,7 @@ let BattleFormats = {
|
||||
// Items other than Z-Crystals and Pokémon-specific items should be illegal
|
||||
if (!set.item) return;
|
||||
let item = this.dex.getItem(set.item);
|
||||
if ((item.isNonstandard === 'Unobtainable' || item.isNonstandard === 'Past') && !item.zMove && !item.itemUser) {
|
||||
if ((item.isNonstandard === 'Unobtainable' || item.isNonstandard === 'Past') && !item.zMove && !item.itemUser && !item.forcedForme) {
|
||||
return [`${set.name}'s item ${item.name} does not exist in Gen ${this.dex.gen}.`];
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user