mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 19:28:35 -05:00
16 lines
402 B
JavaScript
16 lines
402 B
JavaScript
exports.BattleFormats = {
|
|
standard: {
|
|
effectType: 'Banlist',
|
|
inherit: true,
|
|
onValidateSet: function (set) {
|
|
// limit one of each move in Standard
|
|
var template = this.getTemplate(set.species);
|
|
var item = this.getItem(set.item);
|
|
if (item && item.id === 'griseousorb' && template.num !== 487) {
|
|
return ['Griseous Orb can only be held by Giratina in Generation 4.'];
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|