This commit is contained in:
Kyle Coburn 2015-04-21 22:48:15 -07:00
parent 831d9d6844
commit e4fc109896
3 changed files with 10 additions and 15 deletions

View File

@ -179,12 +179,6 @@ function Control.canDie(enabled)
canDie = enabled
end
local function isNewFight()
if Memory.double("battle", "opponent_hp") == Memory.double("battle", "opponent_max_hp") then
return true
end
end
function Control.shouldFight()
if not shouldFight then
return false

View File

@ -30,11 +30,11 @@ Strategies.vaporeon = false
Strategies.timeRequirements = {
nidoran = function()
return 10
return 15
end,
mt_moon = function()
local timeLimit = 30
local timeLimit = 35
if stats.nidoran.attack > 15 and stats.nidoran.speed > 14 then
timeLimit = timeLimit + 0.25
end
@ -45,19 +45,19 @@ Strategies.timeRequirements = {
end,
trash = function()
return 55
return 60
end,
safari_carbos = function()
return 80
return 90
end,
victory_road = function() --PB
return 105
return 110
end,
champion = function() --PB
return 120
return 125
end,
}
@ -620,7 +620,8 @@ end
strategyFunctions.shopBuffs = function()
local xAccs = Strategies.vaporeon and 11 or 10
local xSpeeds = Strategies.vaporeon and 6 or 7
return Shop.transaction{
return Shop.transaction {
direction = "Right",
sell = {{name="nugget"}},
buy = {{name="x_accuracy", index=0, amount=xAccs}, {name="x_attack", index=3, amount=3}, {name="x_speed", index=5, amount=xSpeeds}, {name="x_special", index=6, amount=5}},
@ -879,7 +880,7 @@ strategyFunctions.centerSkip = function()
end
strategyFunctions.shopE4 = function()
return Shop.transaction{
return Shop.transaction {
buy = {{name="full_restore", index=2, amount=3}}
}
end

View File

@ -71,7 +71,7 @@ function Bridge.chat(message, extra, newLine)
else
p(message, newLine)
end
return send("msg", "/me "..message)
return send("msg", message)
end
function Bridge.time(message)