From 47f678bb5000ae29c6df78d8ec28107ddcbd294d Mon Sep 17 00:00:00 2001 From: Marty-D Date: Mon, 11 Feb 2013 17:22:53 -0500 Subject: [PATCH] Add messages for Suction Cups and Ingrain. --- data/abilities.js | 6 +++++- data/moves.js | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/data/abilities.js b/data/abilities.js index 204cfa7df9..d4fad0c7f4 100644 --- a/data/abilities.js +++ b/data/abilities.js @@ -2205,7 +2205,11 @@ exports.BattleAbilities = { "suctioncups": { desc: "This Pokemon cannot be forced out.", shortDesc: "This Pokemon cannot be forced to switch out by another Pokemon's attack or item.", - onDragOut: false, + onDragOutPriority: 1, + onDragOut: function(pokemon) { + this.add('-activate', pokemon, 'ability: Suction Cups'); + return false; + }, id: "suctioncups", name: "Suction Cups", rating: 2.5, diff --git a/data/moves.js b/data/moves.js index d401b8023d..fdb213ec5b 100644 --- a/data/moves.js +++ b/data/moves.js @@ -6203,7 +6203,10 @@ exports.BattleMovedex = { pokemon.negateImmunity['Ground'] = true; pokemon.trapped = true; }, - onDragOut: false + onDragOut: function(pokemon) { + this.add('-activate', pokemon, 'move: Ingrain'); + return false; + } }, secondary: false, target: "self",