pokemon-showdown/mods/gennext/scripts.js
2012-09-03 21:17:56 -07:00

45 lines
1.6 KiB
JavaScript

exports.BattleScripts = {
init: function() {
// Give Hurricane to all the Bug/Flying Quiver-dancers
// Precedent: Volcarona
this.data.Learnsets.masquerain.learnset.hurricane = ['5L100'];
this.data.Learnsets.butterfree.learnset.hurricane = ['5L100'];
this.data.Learnsets.beautifly.learnset.hurricane = ['5L100'];
this.data.Learnsets.mothim.learnset.hurricane = ['5L100'];
// Masquerain also gets Surf because we want it to be viable
this.data.Learnsets.masquerain.learnset.surf = ['5M'];
// Aerodactyl gets Brave Bird
this.data.Learnsets.aerodactyl.learnset.bravebird = ['5L100'];
// Shuckle gets Leech Seed
this.data.Learnsets.shuckle.learnset.leechseed = ['5L100'];
// Roserade gets Sludge
this.data.Learnsets.roserade.learnset.sludge = ['5L100'];
// Meloetta: Fiery Dance
this.data.Learnsets.meloetta.learnset.fierydance = ['5L100'];
// Scolipede, Milotic: Coil
this.data.Learnsets.milotic.learnset.coil = ['5L100'];
this.data.Learnsets.scolipede.learnset.coil = ['5L100'];
// Rotoms: lots of moves
this.data.Learnsets.rotomwash.learnset.bubblebeam = ['5L100'];
this.data.Learnsets.rotomfan.learnset.hurricane = ['5L100'];
this.data.Learnsets.rotomfan.learnset.twister = ['5L100'];
this.data.Learnsets.rotomfrost.learnset.frostbreath = ['5L100'];
this.data.Learnsets.rotomheat.learnset.heatwave = ['5L100'];
this.data.Learnsets.rotommow.learnset.magicalleaf = ['5L100'];
// Every DW ability that isn't Shadow Tag becomes released
for (var i in this.data.FormatsData) {
if (i !== 'chandelure' && i !== 'gothitelle') {
this.data.FormatsData[i].dreamWorldRelease = true;
}
}
}
};