mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-30 05:11:10 -05:00
Gen 4: Fix Griseous Orb Validation (#8568)
This commit is contained in:
@@ -524,6 +524,9 @@ export class TeamValidator {
|
||||
problem = this.checkItem(set, item, setHas);
|
||||
if (problem) problems.push(problem);
|
||||
if (ruleTable.has('obtainablemisc')) {
|
||||
if (dex.gen === 4 && item.id === 'griseousorb' && species.num !== 487) {
|
||||
problems.push(`${set.name} cannot hold the Griseous Orb.`, `(In Gen 4, only Giratina could hold the Griseous Orb).`);
|
||||
}
|
||||
if (dex.gen <= 1) {
|
||||
if (item.id) {
|
||||
// no items allowed
|
||||
|
||||
Reference in New Issue
Block a user