Implement Genesect's Drives.

This commit is contained in:
Bill Meltsner 2012-01-04 04:37:03 -06:00
parent 6e713d05f0
commit 9ca7ba2c32
2 changed files with 8 additions and 1 deletions

View File

@ -264,6 +264,7 @@ exports.BattleItems = {
id: "BurnDrive",
name: "Burn Drive",
spritenum: 54,
onDrive: 'Fire',
desc: "Changes the type of Techno Blast to Fire."
},
"CellBattery": {
@ -381,6 +382,7 @@ exports.BattleItems = {
id: "ChillDrive",
name: "Chill Drive",
spritenum: 67,
onDrive: 'Ice',
desc: "Changes the type of Techno Blast to Ice."
},
"ChoiceBand": {
@ -650,6 +652,7 @@ exports.BattleItems = {
id: "DouseDrive",
name: "Douse Drive",
spritenum: 103,
onDrive: 'Water',
desc: "Changes the type of Techno Blast to Water."
},
"DracoPlate": {
@ -2243,6 +2246,7 @@ exports.BattleItems = {
id: "ShockDrive",
name: "Shock Drive",
spritenum: 442,
onDrive: 'Electric',
desc: "Changes the type of Techno Blast to Electric."
},
"ShucaBerry": {

View File

@ -10322,7 +10322,10 @@ exports.BattleMovedex = {
priority: 0,
secondary: false,
target: "normal",
type: "Normal"
type: "Normal",
typeCallback: function(pokemon) {
return this.runEvent('Drive', pokemon, null, 'TechnoBlast', 'Normal');
}
},
"TeeterDance": {
num: 298,