Go to file
Mathias Bynens bcd5f7f104 seed(1428414915): Add v1.4.1 stats
Full log below:

1. Pallet Rival: 0:02:06 (02:06)

2. Nidoran grass: 0:05:46 (03:40)

15 7 14 14

beat Brock with a perfect Nidoran! Att: 16, Def: 12, Speed: 15, Special: 13, caught at level 4.

3. Brock's Gym: 0:10:23 (04:37)

4. Route 3: 0:17:46 (07:23)

12 Moon encounters, but we caught a Paras!

5. Mt. Moon: 0:25:58 (08:12)

RCE 5413

15 7 14 14

56 45 53 48

6. Nugget Bridge: 0:33:22 (07:24)

7. Misty's Gym: 0:38:59 (05:37)

gen 1 missed :( (1 in 256 chance)

 PERFECT, 1 try Trashcans! || 0:47:39

8. Surge's Gym: 0:48:40 (09:41)

is using Thunderbolt to attempt to redbar off Cubone

Giovanni skip strats!

9. HM02 Fly: 0:59:04 (10:24)

10. Pokemon Tower: 1:06:45 (07:41)

11. Silph Giovanni: 1:17:18 (10:33)

EQ Elixer: Koga's Gym

12. Koga's Gym: 1:21:00 (03:42)

13. Erika's Gym: 1:26:16 (05:16)

14. Blaine's Gym: 1:29:19 (03:03)

15. Sabrina's Gym: 1:31:11 (01:52)

EQ Elixer: Sabrina's Gym

gen 1 missed :( (1 in 256 chance)

16. Giovanni's Gym: 1:34:52 (03:41)

is skipping the Center and attempting to red-bar the Elite 4!

17. Lorelei: 1:43:01 (08:09)

18. Bruno: 1:44:27 (01:26)

19. Agatha: 1:46:08 (01:41)

20. Lance: 1:47:56 (01:48)

21. Blue: 1:50:51 (02:55)

v1.4.1: 399076 frames, with seed 1428414915

Please save this seed number to share, if you would like proof of your run!

beat the game in 1:50:51!
2015-04-12 13:41:59 +02:00
action Fix swapping out to Squirtle in Misty fight 2015-04-11 10:30:38 -07:00
ai Cleanup 2015-04-11 14:05:43 -07:00
data Abstract interact function for Yellow 2015-04-11 14:03:44 -07:00
storage Add Yellow Charmander and Vermillion shopping 2015-04-10 22:04:30 -07:00
util Abstract interact function for Yellow 2015-04-11 14:03:44 -07:00
.gitignore Make Git ignore any ROM files 2015-04-10 17:04:11 +02:00
Changelog.md Update Changelog.md 2015-04-05 13:33:43 -07:00
LICENSE Initial public commit 2014-07-12 18:47:39 -07:00
NidoranStats.md Create NidoranStats.md 2015-04-03 09:40:23 -07:00
Readme.md Clean up Readme.md 2015-04-12 09:05:19 +02:00
Seeds.md seed(1428414915): Add v1.4.1 stats 2015-04-12 13:41:59 +02:00
main.lua 1.4.1 2015-04-11 14:13:35 -07:00

Readme.md

PokéBot

An automated computer program that speedruns Pokémon Red, Blue, or Yellow.

Pokémon Red Any%: 1:51:11 (23 June 2014)

Watch live

twitch.tv/thepokebot

PokéBots official streaming channel on Twitch. Consider following there to find out when were streaming, or follow the Twitter feed for announcements when we get personal best pace runs going.

Run the bot locally

Running the PokéBot on your own machine is easy. You will need a Windows environment (it runs great in VMs on Mac/Linux too).

  1. First, clone this repository (or download and unzip it) to your computer.

  2. Download the BizHawk 1.6.1 emulator and extract the ZIP file anywhere you like to “install” it.

    Note: BizHawk v1.6.1 (Windows only) is the only version known to work. Later versions like v1.7.2a do not seem to work, due to differences with reading bytes from memory.

  3. Run the BizHawk prerequisites installer, which should update a C++ distributable needed by BizHawk.

  4. Procure a ROM file of Pokémon Red (you should personally own the game).

    The ROM file has a name like Pokemon Red (UE) [S][!].gb, but the file name doesnt matter. Upload it to fileformat.info/tool/hash.htm to verify its the correct version. The linked website will spit out lots of hashes; make sure the two below match:

    MD5: 3d45c1ee9abd5738df46d2bdda8b57dc
    SHA-1: ea9bcae617fdf159b045185467ae58b2e4a48b9a
    

    Open the ROM file with BizHawk (drag the .gb file onto EmuHawk), and Pokémon Red should start up.

    The colors may look weird. To fix this, go to GBPalette Editor, and then find the POKEMON RED.pal file which should be under GameboyPalettes in the directory where BizHawk was extracted.

  5. If you want to test the full run, set RESET_FOR_TIME in main.lua to false instead of true.

  6. Then, under the Tools menu, select Lua Console. Click the “open folder” button, and navigate to the PokéBot folder you downloaded. Select main.lua and press “open”. The bot should start running!

Seeds

PokéBot comes with a built-in run recording feature that takes advantage of random number seeding to reproduce runs in their entirety. Any time the bot resets or beats the game, it will log a number to the Lua console that is the seed for the run. If you set CUSTOM_SEED in main.lua to that number, the bot will reproduce your run, allowing you to share your times with others. Note that making any other modifications will prevent this from working. So if you want to make changes to the bot and share your time, be sure to fork the repo and push your changes.

Credits

Developers

Kyle Coburn: Original concept, Red routing

Michael Jondahl: Combat algorithm, Java bridge for connecting the bot to Twitch chat, LiveSplit, Twitter, etc.

Special thanks

To LiveSplit for providing custom component for integrating in-game time splits.

To the Pokémon speedrunning community members who inspired the idea, and shared ways to improve the bot.