From 8463845494747cf79ca28c4f2745d03d7f07cf57 Mon Sep 17 00:00:00 2001 From: Kyle Coburn Date: Tue, 7 Apr 2015 19:07:08 -0700 Subject: [PATCH] Add potion opportunities on Nugget Bridge, optimize Bubblebeam teach --- ai/strategies.lua | 4 ++-- data/red/paths.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ai/strategies.lua b/ai/strategies.lua index 7001631..4566169 100644 --- a/ai/strategies.lua +++ b/ai/strategies.lua @@ -487,10 +487,10 @@ Strategies.functions = { if data.chain then return true end - elseif main < 3 then + Input.press("B") + elseif Menu.close() then return true end - Input.press("B") else if Strategies.initialize() then if not Inventory.contains(itemName) then diff --git a/data/red/paths.lua b/data/red/paths.lua index c1e83fa..0acd53f 100644 --- a/data/red/paths.lua +++ b/data/red/paths.lua @@ -107,7 +107,7 @@ local Paths = { {3, {9,12}, {c="a",a="Cerulean Rival"}, {21,12}, {21,6}, {s="rivalSandAttack"}, {21,-1}}, -- Nugget bridge --TODO RC early strat - {35, {11,35}, {c="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}}, + {35, {11,35}, {c="a",a="Nugget Bridge"}, {11,32}, {s="interact",dir="Up"}, {10,32}, {10,29}, {s="interact",dir="Up"}, {11,29}, {11,27}, {s="potion",hp=4}, {11,26}, {s="interact",dir="Up"}, {10,26}, {10,24}, {s="teachThrash"}, {s="potion",hp=4}, {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 @@ -149,7 +149,7 @@ local Paths = { -- First deck {95, {27,0}, {27,1}, {26,1}, {26,7}, {2,7}, {2,6}}, -- Rival 3 - {96, {2,4}, {2,11}, {3,11}, {3,12}, {37,12}, {37,9}, {s="teach",move="bubblebeam",replace="tackle",chain=true}, {s="potion",hp=23,yolo=16,close=true}, {37,8}, {s="rivalSandAttack"}, {37,5}, {36,5}, {36,4}}, + {96, {2,4}, {2,11}, {3,11}, {3,12}, {37,12}, {37,9}, {s="potion",hp=23,yolo=16,chain=true}, {s="teach",move="bubblebeam",replace="tackle",close=true}, {37,8}, {s="rivalSandAttack"}, {37,5}, {36,5}, {36,4}}, -- Old man Cut {101, {0,7}, {0,4}, {4,4}, {4,3}, {s="interact",dir="Up"}, {4,5}, {0,5}, {0,7}}, -- Second deck out