Screenshot of completed Seed
This adds an automated screenshot once a run is completed including version, seed, frames and if reset for time. This has been added for easier sharing of seeds.
This commit is contained in:
parent
f5c35116e2
commit
a7f792233f
|
@ -2284,6 +2284,17 @@ strategyFunctions.champion = function()
|
||||||
return Strategies.hardReset("Back to the grind - you can follow on Twitter for updates on our next good run! https://twitter.com/thepokebot")
|
return Strategies.hardReset("Back to the grind - you can follow on Twitter for updates on our next good run! https://twitter.com/thepokebot")
|
||||||
end
|
end
|
||||||
if status.tries == 0 then
|
if status.tries == 0 then
|
||||||
|
if STREAMING_MODE and CUSTOM_SEED ~= nil then
|
||||||
|
gui.text(0, 0, "PokeBot v"..VERSION)
|
||||||
|
gui.text(0, 7, "Seed: "..Strategies.seed)
|
||||||
|
gui.text(0, 14, "Reset for time: "..tostring(RESET_FOR_TIME))
|
||||||
|
gui.text(0, 21, "Time: "..Utils.elapsedTime())
|
||||||
|
gui.text(0, 28, "Frames: "..Utils.frames())
|
||||||
|
client.setscreenshotosd(true)
|
||||||
|
client.screenshot()
|
||||||
|
client.setscreenshotosd(false)
|
||||||
|
gui.cleartext()
|
||||||
|
end
|
||||||
Strategies.tweetProgress("Beat Pokemon Red in "..status.canProgress.."!")
|
Strategies.tweetProgress("Beat Pokemon Red in "..status.canProgress.."!")
|
||||||
if Strategies.seed then
|
if Strategies.seed then
|
||||||
print("v"..VERSION..": "..Utils.frames().." frames, with seed "..Strategies.seed)
|
print("v"..VERSION..": "..Utils.frames().." frames, with seed "..Strategies.seed)
|
||||||
|
|
Loading…
Reference in New Issue