diff --git a/calc.js b/calc.js index 3869f80..3265688 100644 --- a/calc.js +++ b/calc.js @@ -8,6 +8,8 @@ import calc, { import assert from "assert"; import chev, { Lexer } from "chevrotain"; +const gen = Generations.get(9); + /** * Creates a lexer. * @@ -266,7 +268,6 @@ function parseAndCalculate(line) { } } - const gen = Generations.get(8); return calculate( gen, new Pokemon(gen, attacker, attackerOpts),