Merge pull request #35 from mathiasbynens/reset-for-time

Update `RESET_FOR_TIME` documentation
This commit is contained in:
kyle 2015-04-22 19:58:54 -07:00
commit 3d15bf0a8c
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ Running the PokéBot on your own machine is easy. You will need a Windows enviro
5. Open BizHawk.exe, then drag your ROM file onto the window, and Pokémon Red should start up.
6. If you want to test the full run, set [`RESET_FOR_TIME` in `main.lua`](https://github.com/kylecoburn/PokeBot/blob/0fd1258ca17f7d74edbac72fa0afc2b5c6d58bb3/main.lua#L3) to `false` instead of `true`.
6. By default, the bot completes every run it can, without resetting if it gets too far behind its best run time. Set [`RESET_FOR_TIME` in `main.lua`](https://github.com/kylecoburn/PokeBot/blob/v1.4.4/main.lua#L3) to `true` instead of `false` to reset more aggressively, i.e. if youre trying to get a new record.
7. Under the _Tools_ menu, select _Lua Console_. Press the “open folder” button, and navigate to the PokéBot folder you downloaded. Select `main.lua` and press “open”. The bot should start running!

View File

@ -1,6 +1,6 @@
-- OPTIONS
RESET_FOR_TIME = false -- Set to false if you just want to see the bot finish a run
RESET_FOR_TIME = false -- Set to true if you're trying to break the record, not just finish a run
local CUSTOM_SEED = nil -- Set to a known seed to replay it, or leave nil for random runs
local NIDORAN_NAME = "A" -- Set this to the single character to name Nidoran (note, to replay a seed, it MUST match!)