Skip to content

Commit

Permalink
Remove Pikachu Cup
Browse files Browse the repository at this point in the history
The competition ended.
  • Loading branch information
TheImmortal committed Aug 27, 2015
1 parent 6fc79a1 commit 455d97f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions config/formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,29 +292,6 @@ exports.Formats = [
this.p2.pokemonLeft = this.p2.pokemon.length;
}
},
{
name: "Pikachu Cup",
section: "ORAS Doubles",

gameType: 'doubles',
maxForcedLevel: 50,
ruleset: ['Pokemon', 'Standard GBU', 'Team Preview VGC'],
banlist: ['Arceus', 'Raikou', 'Thundurus', 'Thundurus-Therian', 'Zapdos', 'Zekrom'],
onValidateTeam: function (team, format) {
if (team.length < 4) return ['You must bring at least four Pok\u00e9mon.'];
for (var i = 0; i < team.length; i++) {
var template = this.getTemplate(team[i].species);
if (!template.types || template.types.indexOf('Electric') < 0) return ["Only Electric-type Pok\u00e9mon are allowed."];
}
},
onBegin: function () {
this.debug('cutting down to 4');
this.p1.pokemon = this.p1.pokemon.slice(0, 4);
this.p1.pokemonLeft = this.p1.pokemon.length;
this.p2.pokemon = this.p2.pokemon.slice(0, 4);
this.p2.pokemonLeft = this.p2.pokemon.length;
}
},
{
name: "Doubles Hackmons Cup",
section: "ORAS Doubles",
Expand Down

0 comments on commit 455d97f

Please sign in to comment.