From 9daa67489a36a2f9adb03e95016ffa9cdb911dc6 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Thu, 24 Oct 2013 20:06:53 -0500 Subject: [PATCH] Sync gen 6 data --- data/abilities.js | 8 +- data/formats-data.js | 291 +++++++++---- data/learnsets-g6.js | 214 +++++----- data/learnsets.js | 984 +++++++++++++++++++++---------------------- data/pokedex.js | 8 +- data/typechart.js | 47 ++- 6 files changed, 866 insertions(+), 686 deletions(-) diff --git a/data/abilities.js b/data/abilities.js index fbb66fffc..072fd1c4b 100644 --- a/data/abilities.js +++ b/data/abilities.js @@ -848,9 +848,11 @@ exports.BattleAbilities = { desc: "When this Pokemon enters the field, it identifies the opponent's held item; in double battles, the held item of an unrevealed, randomly selected opponent is identified.", shortDesc: "On switch-in, this Pokemon identifies a random foe's held item.", onStart: function(pokemon) { - var target = pokemon.side.foe.randomActive(); - if (target && target.item) { - this.add('-item', target, target.getItem().name, '[from] ability: Frisk', '[of] '+pokemon); + var foeactive = pokemon.side.foe.active; + for (var i=0; i