From 19e0a5ad5b4851f62895a87582b9e46d536f18c8 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Thu, 14 Feb 2013 12:31:58 -0700 Subject: [PATCH] Fix ReferenceError in gen3 Bide The gen3 moves.js was throwing an exception on load because it calls a function which does not exist. This commit does not properly fix Bide, but it does fix the ReferenceError exception. --- mods/gen3/moves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/gen3/moves.js b/mods/gen3/moves.js index 320d091828..421d477c7f 100644 --- a/mods/gen3/moves.js +++ b/mods/gen3/moves.js @@ -111,7 +111,7 @@ exports.BattleMovedex = { shortDesc: "Waits 2-3 turns; deals double the damage taken.", priority: 0, effect: { - duration: 2+random(), + duration: 2, // TODO: Use correct duration. onLockMove: 'bide', onStart: function(pokemon) { this.effectData.totalDamage = 0;