diff --git a/ai/strategies.lua b/ai/strategies.lua index 86e95d5..62f3c60 100644 --- a/ai/strategies.lua +++ b/ai/strategies.lua @@ -1527,6 +1527,15 @@ strategyFunctions = { end end, + potionForMankey = function() + if initialize() then + if pokemon.info("nidoking", "level") > 20 then + return true + end + end + return strategyFunctions.potion({hp=18, yolo=8}) + end, + redbarMankey = function() if not setYolo("mankey") then return true diff --git a/data/paths.lua b/data/paths.lua index bcb239b..65ecb25 100644 --- a/data/paths.lua +++ b/data/paths.lua @@ -106,7 +106,7 @@ local paths = { {3, {9,12}, {s="a",a="Cerulean Rival"}, {21,12}, {21,6}, {s="rivalSandAttack"}, {21,-1}}, -- Nugget bridge --TODO RC early strat - {35, {11,35}, {s="a",a="Nugget Bridge"}, {11,32}, {s="interact",dir="Up"}, {10,32}, {10,29}, {s="interact",dir="Up"}, {11,29}, {11,26}, {s="interact",dir="Up"}, {10,26}, {10,24}, {s="teachThrash"}, {10,23}, {s="interact",dir="Up"}, {11,23}, {11,21}, {s="teachThrash"}, {11,20}, {s="interact",dir="Up"}, {s="redbarMankey"}, {10,20}, {10,19}, {s="teachThrash"}, {10,15}, {s="waitToFight"}, {s="teachThrash"}, {s="split"}, {10,8}, {20,8}}, + {35, {11,35}, {s="a",a="Nugget Bridge"}, {11,32}, {s="interact",dir="Up"}, {10,32}, {10,29}, {s="interact",dir="Up"}, {11,29}, {11,26}, {s="interact",dir="Up"}, {10,26}, {10,24}, {s="teachThrash"}, {10,23}, {s="interact",dir="Up"}, {11,23}, {11,21}, {s="teachThrash"}, {s="potionForMankey"}, {11,20}, {s="interact",dir="Up"}, {s="redbarMankey"}, {10,20}, {10,19}, {s="teachThrash"}, {10,15}, {s="waitToFight"}, {s="teachThrash"}, {s="split"}, {10,8}, {20,8}}, -- 6: NUGGET BRIDGE @@ -207,7 +207,7 @@ local paths = { -- F1: Department store {122, {16,7}, {c="potion",b=true,yolo=true}, {c="pp",on=true}, {16,3}, {12,3}, {12,1}}, -- F2 - {123, {12,2}, {8,2}, {8,5}, {6,5}, {s="shopTM07"}, {5,5}, {s="shopRepels"}, {15,5}, {15,2}, {16,2}, {16,1}}, + {123, {12,2}, {8,2}, {8,5}, {6,5}, {s="shopTM07"}, {5,5}, {s="shopRepels"}, {9,5}, {9,2}, {16,2}, {16,1}}, -- F3 {124, {16,2}, {12,2}, {12,1}}, -- F4: Poke Doll