From fef346823ac04bb06bc811cca9105ccd0583cf6d Mon Sep 17 00:00:00 2001 From: Kyle Coburn Date: Fri, 17 Apr 2015 13:42:53 -0700 Subject: [PATCH] Fix issue with teaching and learning Thrash conflicting --- ai/strategies.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/strategies.lua b/ai/strategies.lua index bde97ae..2063a3e 100644 --- a/ai/strategies.lua +++ b/ai/strategies.lua @@ -1139,7 +1139,7 @@ Strategies.functions = { learnThrash = function() if Strategies.initialize() then - if Pokemon.hasMove("thrash") then + if Pokemon.info("nidoking", "level") ~= 22 then return true end end