Cleanup
This commit is contained in:
parent
059c83a193
commit
8427a7cadc
|
@ -15,21 +15,21 @@ Running the PokéBot on your own machine is easy. You will need a Windows enviro
|
||||||
|
|
||||||
|
|
||||||
##About BizHawk##
|
##About BizHawk##
|
||||||
BizHawk 1.6.1 (Windows only) is the only version known to work. Later versions, like 1.7.2a do not seem to work, due to differences with reading bytes from memory.
|
BizHawk 1.6.1 (Windows only) is the only version known to work. Later versions, like 1.7.2a do not seem to work, due to differences with reading bytes from memory.
|
||||||
|
|
||||||
Run the [prereq installer](http://sourceforge.net/projects/bizhawk/files/Prerequisites/bizhawk_prereqs_v1.1.zip/download), which should update a C++ distributable needed by BizHawk
|
Run the [prereq installer](http://sourceforge.net/projects/bizhawk/files/Prerequisites/bizhawk_prereqs_v1.1.zip/download), which should update a C++ distributable needed by BizHawk
|
||||||
|
|
||||||
You can unextract BizHawk-1.6.1.zip anywhere.
|
You can unextract BizHawk-1.6.1.zip anywhere.
|
||||||
|
|
||||||
##Setting up and verifying the ROM##
|
##Setting up and verifying the ROM##
|
||||||
The ROM file should `Pokemon Red.gb`. The file name doesn't matter, but upload it to http://www.fileformat.info/tool/hash.htm to verify it's the US version. The linked website will spit out lots of hashes, make sure the two below match:
|
The ROM file should `Pokemon Red.gb`. The file name doesn't matter, but upload it to http://www.fileformat.info/tool/hash.htm to verify it's the US version. The linked website will spit out lots of hashes, make sure the two below match:
|
||||||
```
|
```
|
||||||
MD5: 3d45c1ee9abd5738df46d2bdda8b57dc
|
MD5: 3d45c1ee9abd5738df46d2bdda8b57dc
|
||||||
SHA-1: ea9bcae617fdf159b045185467ae58b2e4a48b9a
|
SHA-1: ea9bcae617fdf159b045185467ae58b2e4a48b9a
|
||||||
```
|
```
|
||||||
|
|
||||||
Open the ROM file with BizHawk (Drag the .gb file onto EmuHawk), and Pokémon Red should start up.
|
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 GB>Palette Editor, and then find the POKEMON RED.pal file which should be under Gameboy>Palettes in the directory where BizHawk was unextracted.
|
The colors may look weird. To fix this, go to GB>Palette Editor, and then find the POKEMON RED.pal file which should be under Gameboy>Palettes in the directory where BizHawk was unextracted.
|
||||||
|
|
||||||
|
|
||||||
##Running the bot##
|
##Running the bot##
|
||||||
|
|
|
@ -344,7 +344,7 @@ strategyFunctions.catchNidoran = function()
|
||||||
if Battle.isActive() then
|
if Battle.isActive() then
|
||||||
local isNidoran = Pokemon.isOpponent("nidoran")
|
local isNidoran = Pokemon.isOpponent("nidoran")
|
||||||
if isNidoran and Memory.value("battle", "opponent_level") > 2 then
|
if isNidoran and Memory.value("battle", "opponent_level") > 2 then
|
||||||
if Strategies.initialize() then
|
if not Bridge.polling then
|
||||||
Bridge.pollForName()
|
Bridge.pollForName()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue