Report Horn Attack Disable vs Grimer

This commit is contained in:
Kyle Coburn 2015-04-30 12:55:38 -07:00
parent b673fafbde
commit c61ca4433d
2 changed files with 17 additions and 1 deletions

View File

@ -1187,6 +1187,22 @@ Strategies.functions = {
end end
end, end,
fightGrimer = function()
if Strategies.trainerBattle() then
if Combat.isDisabled("horn_attack") and Strategies.initialize("disabled") then
local message = Utils.random {
"Last for 0 turns pretty please?",
"I guess it's time to tackle everything.",
"How could this... happen to me?",
}
Bridge.chat("WutFace Grimer just disabled Horn Attack. " + message)
end
Battle.automate()
elseif status.foughtTrainer then
return true
end
end,
helix = function() helix = function()
if Battle.handleWild() then if Battle.handleWild() then
if Inventory.contains("helix_fossil") then if Inventory.contains("helix_fossil") then

View File

@ -83,7 +83,7 @@ local Paths = {
-- Mt. Moon B2 -- Mt. Moon B2
{60, {5,5}, {5,17}, {21,17}}, {60, {5,5}, {5,17}, {21,17}},
-- Mt. Moon B3 -- Mt. Moon B3
{61, {21,17}, {22,17}, {s="evolveNidoking",early=true,poke="paras"}, {23,17}, {23,14}, {27,14}, {27,16}, {33,16}, {33,14}, {36,14}, {36,24}, {32, 24}, {32,31}, {10,31}, {10,18}, {s="potion",hp=11,yolo=6,chain=true}, {s="evolveNidoking",close=true}, {10,17}, {12,17}, {c="moon2Exp"}, {12,9}, {s="potion",hp=7}, {s="talk",dir="Up"}, {13,9}, {c="moon3Exp"}, {13,7}, {s="confirm",dir="Up"}, {13,5}, {12,5}, {12,4}, {3,4}, {3,7}, {5,7}}, {61, {21,17}, {22,17}, {s="evolveNidoking",early=true,poke="paras"}, {23,17}, {23,14}, {27,14}, {27,16}, {33,16}, {33,14}, {36,14}, {36,24}, {32, 24}, {32,31}, {10,31}, {10,18}, {s="potion",hp=11,yolo=6,chain=true}, {s="evolveNidoking",close=true}, {10,17}, {12,17}, {c="moon2Exp"}, {12,9}, {s="potion",hp=7}, {s="talk",dir="Up"}, {s="fightGrimer"}, {13,9}, {c="moon3Exp"}, {13,7}, {s="confirm",dir="Up"}, {13,5}, {12,5}, {12,4}, {3,4}, {3,7}, {5,7}},
-- Mt. Moon escape -- Mt. Moon escape
{60, {23,3}, {27,3}}, {60, {23,3}, {27,3}},