Report version number with completion message

This commit is contained in:
Kyle Coburn 2015-04-04 19:02:46 -07:00
parent 726cf290bb
commit 84568fd43f
2 changed files with 4 additions and 5 deletions

View File

@ -1766,7 +1766,7 @@ strategyFunctions = {
sellArray = {{name="antidote"}, {name="tm34"}, {name="nugget"}} sellArray = {{name="antidote"}, {name="tm34"}, {name="nugget"}}
buyArray = {{name="super_potion",index=1,amount=3}, {name="repel",index=5,amount=3}} buyArray = {{name="super_potion",index=1,amount=3}, {name="repel",index=5,amount=3}}
end end
return shop.transaction{ return shop.transaction {
sell = sellArray, sell = sellArray,
buy = buyArray buy = buyArray
} }
@ -2990,7 +2990,7 @@ strategyFunctions = {
if tries == 0 then if tries == 0 then
bridge.tweet("Beat Pokemon Red in "..canProgress.."!") bridge.tweet("Beat Pokemon Red in "..canProgress.."!")
if strategies.seed then if strategies.seed then
print(utils.frames().." frames, with seed "..strategies.seed) print("v"..VERSION..": "..utils.frames().." frames, with seed "..strategies.seed)
print("Please save this seed number to share, if you would like proof of your run!") print("Please save this seed number to share, if you would like proof of your run!")
end end
end end

View File

@ -7,13 +7,12 @@ local PAINT_ON = true -- Display contextual information while the bot runs
-- START CODE (hard hats on) -- START CODE (hard hats on)
local START_WAIT = 99
local VERSION = "1.2"
GAME_NAME = "red" GAME_NAME = "red"
YELLOW = GAME_NAME == "yellow" YELLOW = GAME_NAME == "yellow"
INTERNAL = false INTERNAL = false
local START_WAIT = 99
local battle = require "action.battle" local battle = require "action.battle"
local textbox = require "action.textbox" local textbox = require "action.textbox"
local walk = require "action.walk" local walk = require "action.walk"