From 13bb703edd8624f412b09867eec6dd3787ef6cfa Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Fri, 1 May 2020 13:18:35 -0700 Subject: [PATCH] Fix Metronome --- data/moves.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/moves.ts b/data/moves.ts index e89e334f228e7..93114ae7bf1e2 100644 --- a/data/moves.ts +++ b/data/moves.ts @@ -11640,7 +11640,7 @@ export const BattleMovedex: {[moveid: string]: MoveData} = { const moves: MoveData[] = []; for (const id in exports.BattleMovedex) { const move = exports.BattleMovedex[id]; - if (id !== move.id) continue; + if (move.realMove) continue; if (move.isZ || move.isMax || move.isNonstandard) continue; if (effect.noMetronome!.includes(move.id)) continue; if (this.dex.getMove(id).gen > this.gen) continue;