From cff37c69db2bbed97eada6949d70ca7f169d6d4a Mon Sep 17 00:00:00 2001 From: Marty-D Date: Wed, 22 Jul 2015 21:32:50 -0400 Subject: [PATCH] Gen V: Actually fix Skill Swap messages --- mods/gen5/moves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/gen5/moves.js b/mods/gen5/moves.js index 6f98a1e084..89c2a7c8ac 100644 --- a/mods/gen5/moves.js +++ b/mods/gen5/moves.js @@ -757,7 +757,7 @@ exports.BattleMovedex = { if (targetAbility === sourceAbility) { return false; } - this.add('-activate', source, 'move: Skill Swap', this.getMove(targetAbility), this.getMove(sourceAbility), '[of] ' + target); + this.add('-activate', source, 'move: Skill Swap', this.getAbility(targetAbility), this.getAbility(sourceAbility), '[of] ' + target); source.setAbility(targetAbility); target.setAbility(sourceAbility); }