From ee4b1c633434f0144758b3b9b58d1919a26b65f6 Mon Sep 17 00:00:00 2001 From: Kyle Coburn Date: Sun, 3 May 2015 16:53:47 -0700 Subject: [PATCH] Update wiki with support for Yellow --- wiki/NidoranStats.md | 34 ++++++---------------------------- wiki/Seeds.md | 36 ++++-------------------------------- wiki/red/Seeds.md | 33 +++++++++++++++++++++++++++++++++ wiki/red/Stats.md | 30 ++++++++++++++++++++++++++++++ wiki/yellow/Seeds.md | 4 ++++ wiki/yellow/Stats.md | 17 +++++++++++++++++ 6 files changed, 94 insertions(+), 60 deletions(-) create mode 100644 wiki/red/Seeds.md create mode 100644 wiki/red/Stats.md create mode 100644 wiki/yellow/Seeds.md create mode 100644 wiki/yellow/Stats.md diff --git a/wiki/NidoranStats.md b/wiki/NidoranStats.md index d3b7ea4..2510737 100644 --- a/wiki/NidoranStats.md +++ b/wiki/NidoranStats.md @@ -1,46 +1,24 @@ # Nidoran Stat Requirements -### Overview - -We catch Nidoran at level 3 or 4, west of Viridian City (level 2's are not acceptable for the route). Level 4 Nidorans have a bit more exp to start, allowing them to level up slightly earlier in a couple places - mostly helpful on Route 3. - -Upon defeating Brock, our Nidoran reaches level 8 via exp sharing, and we can check his stats definitively for the first time. While possible to see them earlier by pausing, we can't tell what kind of stats they will become until we have observed a few level ups. - ### Stats -Pokémon stats are described by HP, attack, defense, speed, and special. Special is used as both an attack and defense measurement for attacks designated as "special" internally. +In gen 1, Pokémon stats are described by HP, attack, defense, speed, and special. Special is used as both an attack and defense measurement for attacks designated as "special" internally. The minimum stats at level 8 are **25** HP, **14** attack, **11** defense, **12** speed, **11** special. The maximum stats at level 8 are **27** HP, **16** attack, **14** defense, **15** speed, **13** special. -HP and defense are almost irrelevant to the route. Having better than 11 defense is helpful for Shorts Kid's Rattata - as we are in the process of catching up Nidoran's level, and he has high attack, this fight is quite dangerous. - ### Requirements -We have stringent requirements for Nidoran's stats. High stats make the run significantly faster, and greatly increases our chances of survival. +#### [Pokémon Red](https://github.com/kylecoburn/PokeBot/blob/master/wiki/red/Stats.md) -The general requirements are **15-16** attack, **14-15** speed, **12-13** special. In addition, either attack must be 16 or speed must be 15. The reason for this is that if we reach Misty with a 15 attack, 14 speed Nidoran, our chances of survival are very bad. In this case, it is very likely that Starmie will both outspeed us, and require 3 hits from thrash. - -### Probability - -The following is the probability of a Nidoran stats being acceptable after defeating Brock. They are complicated slightly since we require 16 attack AND/OR 15 speed. - -Equations are written as: probability of each *Attack* x *Speed* x *Special* multiplied together. - -Chance of a **16 attack, 15 speed** Nidoran: 5/16 x 4/16 x 12/16 = 5.859375% - -Chance of a **16 attack, 14 speed** Nidoran: 5/16 x 6/16 x 12/16 = 8.7890625% - -Chance of a **15 attack, 15 speed** Nidoran: 6/16 x 4/16 x 12/16 = 7.03125% - -Summed together gives us our chances of an acceptable Nidoran: 21.6796875% ≈ **22%** +#### [Pokémon Yellow](https://github.com/kylecoburn/PokeBot/blob/master/wiki/yellow/Stats.md) ### DV Charts -The probability of the above stats is derived from the DV values, which describe the possible stats for Nidoran to have. +The probability of stats are derived from the DV values, which describe the possible stats for Nidoran to have. -**Level 8** (after Brock) +**Level 8** (learn Horn Attack) | Skill\DV | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | |----------|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----| @@ -58,4 +36,4 @@ The probability of the above stats is derived from the DV values, which describe | Speed | 46 | 47 | 47 | 48 | 48 | 48 | 49 | 49 | 50 | 50 | 51 | 51 | 52 | 52 | 53 | 53 | | Special | 41 | 42 | 42 | 42 | 43 | 43 | 44 | 44 | 45 | 45 | 46 | 46 | 47 | 47 | 48 | 48 | -If there's one thing to take away from these charts, it's that Nidoran's stats have differentiated much farther at level 23 than level 8. A Nidoran that appears perfect at level 8, may not be quite so promising at 23 after all. +If there's one thing to take away from these charts, it's that Nidoran's stats have differentiated much farther at level 23 than level 8. A Nidoran that appears perfect at level 8, may not be quite as promising by 23 after all. diff --git a/wiki/Seeds.md b/wiki/Seeds.md index 4657b72..14da460 100644 --- a/wiki/Seeds.md +++ b/wiki/Seeds.md @@ -2,38 +2,10 @@ 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 logs a number to the Lua console that is the seed for the run. This seed allows you to easily share the run with others. A screenshot is also saved to the `Gameboy\Screenshots` folder in the `Bizhawk` directory. -Have you found a seed that results in a run of 1:50:30 or better using the bot’s default settings, on the latest version? [Let us know](https://github.com/kylecoburn/PokeBot/issues/4), and we’ll add it to the list! +### [Pokémon Red](https://github.com/kylecoburn/PokeBot/blob/master/wiki/red/Seeds.md) -| Time | Frames | Seed | Nidoran name | Bot version | Found by | -|---------|---------|--------------|--------------|-------------|----------------------------------------------| -| 1:48:55 | 392,144 | `1428943783` | A | v1.4.2 | [KriPet](https://github.com/KriPet) | -| 1:49:09 | 392,902 | `1430549081` | K | v1.5.2 | ThePokéBot | -| 1:49:45 | 395,108 | `91780872` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:49:52 | 395,566 | `1429090390` | A | v1.4.2 | [Marcin1503](https://github.com/Marcin1503) | -| 1:49:57 | 395,877 | `366727` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | -| 1:50:14 | 396,858 | `1428898417` | , | v1.4.2 | ThePokéBot | -| 1:50:14 | 396,885 | `1429594740` | A | v1.4.4 | [Bumperpegasus](https://github.com/Bumperpegasus) | -| 1:50:16 | 396,991 | `1429576268` | A | v1.4.4 | [theroflcoptr](https://github.com/theroflcoptr) | -| 1:50:19 | 397,161 | `192969` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | -| 1:50:21 | 397,268 | `1429978298` | _ | v1.4.7 | ThePokéBot | -| 1:50:22 | 397,345 | `91852936` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:50:22 | 397,352 | `1428414915` | A | v1.4.2 | [Gofigga](http://www.twitch.tv/gofigga) | -| 1:50:28 | 397,687 | `1110064` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | -| 1:50:36 | 398,208 | `1428414915` | A | v1.4.0 | [Gofigga](http://www.twitch.tv/gofigga) | -| 1:50:37 | 398,226 | `1428414915` | A | v1.3.0 | [Gofigga](http://www.twitch.tv/gofigga) | -| 1:50:37 | 398,241 | `1022054` | A | v1.4.3 | [Mathias](https://mathiasbynens.be/) | -| 1:50:39 | 398,349 | `91764336` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:50:41 | 398,509 | `1428873163` | A | v1.4.1 | [Marcin1503](https://github.com/Marcin1503) | -| 1:50:51 | 399,073 | `316824` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | -| 1:50:51 | 399,076 | `1428414915` | A | v1.4.1 | [Gofigga](http://www.twitch.tv/gofigga) | -| 1:50:51 | 399,085 | `91806208` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:50:55 | 399,355 | `1428801658` | A | v1.4.0 | [Marcin1503](https://github.com/Marcin1503) | -| 1:51:01 | 399,694 | `91807360` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:51:02 | 399,749 | `312854` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | -| 1:51:05 | 399,917 | `207901` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | -| 1:51:07 | 400,057 | `91688624` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:51:10 | 400,252 | `1063732` | A | v1.4.3 | [Mathias](https://mathiasbynens.be/) | -| 1:51:23 | 400,988 | `91753768` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | -| 1:51:27 | 401,235 | `200075` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +### [Pokémon Yellow](https://github.com/kylecoburn/PokeBot/blob/master/wiki/yellow/Seeds.md) To reproduce any of these runs, set [`CUSTOM_SEED` in `main.lua`](https://github.com/kylecoburn/PokeBot/blob/27aa1dcd2cec1bbe25607fa346836f63b349ad5f/main.lua#L5) to the seed number, `NIDORAN_NAME` to the matching name, and run the bot. + +Have you found a seed with a great time, using the bot’s default settings, on the latest version? [Let us know](https://github.com/kylecoburn/PokeBot/issues/4), and we’ll add it to the list! diff --git a/wiki/red/Seeds.md b/wiki/red/Seeds.md new file mode 100644 index 0000000..862e112 --- /dev/null +++ b/wiki/red/Seeds.md @@ -0,0 +1,33 @@ +# Seeds for Pokémon Red + +| Time | Frames | Seed | Name | Bot version | Found by | +|---------|---------|--------------|------|-------------|---------------------------------------------------| +| 1:48:55 | 392,144 | `1428943783` | A | v1.4.2 | [KriPet](https://github.com/KriPet) | +| 1:49:09 | 392,902 | `1430549081` | K | v1.5.2 | ThePokéBot | +| 1:49:45 | 395,108 | `91780872` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:49:52 | 395,566 | `1429090390` | A | v1.4.2 | [Marcin1503](https://github.com/Marcin1503) | +| 1:49:57 | 395,877 | `366727` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +| 1:50:14 | 396,858 | `1428898417` | , | v1.4.2 | ThePokéBot | +| 1:50:14 | 396,885 | `1429594740` | A | v1.4.4 | [Bumperpegasus](https://github.com/Bumperpegasus) | +| 1:50:16 | 396,991 | `1429576268` | A | v1.4.4 | [theroflcoptr](https://github.com/theroflcoptr) | +| 1:50:19 | 397,161 | `192969` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +| 1:50:21 | 397,268 | `1429978298` | _ | v1.4.7 | ThePokéBot | +| 1:50:22 | 397,345 | `91852936` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:50:22 | 397,352 | `1428414915` | A | v1.4.2 | [Gofigga](http://www.twitch.tv/gofigga) | +| 1:50:28 | 397,687 | `1110064` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +| 1:50:36 | 398,208 | `1428414915` | A | v1.4.0 | [Gofigga](http://www.twitch.tv/gofigga) | +| 1:50:37 | 398,226 | `1428414915` | A | v1.3.0 | [Gofigga](http://www.twitch.tv/gofigga) | +| 1:50:37 | 398,241 | `1022054` | A | v1.4.3 | [Mathias](https://mathiasbynens.be/) | +| 1:50:39 | 398,349 | `91764336` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:50:41 | 398,509 | `1428873163` | A | v1.4.1 | [Marcin1503](https://github.com/Marcin1503) | +| 1:50:51 | 399,073 | `316824` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +| 1:50:51 | 399,076 | `1428414915` | A | v1.4.1 | [Gofigga](http://www.twitch.tv/gofigga) | +| 1:50:51 | 399,085 | `91806208` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:50:55 | 399,355 | `1428801658` | A | v1.4.0 | [Marcin1503](https://github.com/Marcin1503) | +| 1:51:01 | 399,694 | `91807360` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:51:02 | 399,749 | `312854` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +| 1:51:05 | 399,917 | `207901` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | +| 1:51:07 | 400,057 | `91688624` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:51:10 | 400,252 | `1063732` | A | v1.4.3 | [Mathias](https://mathiasbynens.be/) | +| 1:51:23 | 400,988 | `91753768` | A | v1.4.2 | [Mathias](https://mathiasbynens.be/) | +| 1:51:27 | 401,235 | `200075` | A | v1.4.4 | [Mathias](https://mathiasbynens.be/) | diff --git a/wiki/red/Stats.md b/wiki/red/Stats.md new file mode 100644 index 0000000..d045e82 --- /dev/null +++ b/wiki/red/Stats.md @@ -0,0 +1,30 @@ +# Nidoran Stat Requirements + +### Overview + +We catch Nidoran at level 3 or 4, west of Viridian City (level 2's are not acceptable for the route). Level 4 Nidorans have a bit more exp to start, allowing them to level up slightly earlier in a couple places - mostly helpful on Route 3. + +Upon defeating Brock, our Nidoran reaches level 8 via exp sharing, and we can check his stats definitively for the first time. While possible to see them earlier by pausing, we can't tell what kind of stats they will become until we have observed a few level ups. + +HP and defense are almost irrelevant to the route. Having better than 11 defense is helpful for Shorts Kid's Rattata - as we are in the process of catching up Nidoran's level, and he has high attack, this fight is quite dangerous - as well as on Nugget Bridge. + +### Requirements + +We have stringent requirements for Nidoran's stats. High stats make the run significantly faster, and greatly increases our chances of survival. + +The general requirements are **15-16** attack, **14-15** speed, **12-13** special. In addition, either attack must be 16 or speed must be 15. The reason for this is that if we reach Misty with a 15 attack, 14 speed Nidoran, our chances of survival are very bad. In this case, it is very likely that Starmie will both outspeed us, and require 3 hits from thrash. + +### Probability + +The following is the probability of a Nidoran stats being acceptable after defeating Brock. They are complicated slightly since we require 16 attack AND/OR 15 speed. Equations are written as: probability of each *Attack* x *Speed* x *Special* multiplied together. + +Chance of a **16 attack, 15 speed** Nidoran: 5/16 x 4/16 x 12/16 = 5.859375% + +Chance of a **16 attack, 14 speed** Nidoran: 5/16 x 6/16 x 12/16 = 8.7890625% + +Chance of a **15 attack, 15 speed** Nidoran: 6/16 x 4/16 x 12/16 = 7.03125% + +Summed together gives us our chances of an acceptable Nidoran: 21.6796875% ≈ **22%** + +Please refer to the [DV chart](https://github.com/kylecoburn/PokeBot/blob/master/wiki/NidoranStats.md) for probability derivations. + diff --git a/wiki/yellow/Seeds.md b/wiki/yellow/Seeds.md new file mode 100644 index 0000000..4dd9c7c --- /dev/null +++ b/wiki/yellow/Seeds.md @@ -0,0 +1,4 @@ +# Seeds for Pokémon Yellow + +| Time | Frames | Seed | Name | Bot version | Found by | +|---------|---------|--------------|------|-------------|----------------------------------------------| diff --git a/wiki/yellow/Stats.md b/wiki/yellow/Stats.md new file mode 100644 index 0000000..1dc725d --- /dev/null +++ b/wiki/yellow/Stats.md @@ -0,0 +1,17 @@ +# Nidoran Stat Requirements + +### Overview + +We catch Nidoran at level 6 on Route 2 before entering Viridian Forest (level 4's are not acceptable for the route). After defeating the first trainer, Nidoran reaches level 8, and we can check its stats definitively. + +### Requirements + +The current requirements are **15** attack, **14** speed, **12** special. + +### Probability + +The following is the probability of a Nidoran stats being acceptable at level 8. Equations are written as: probability of each *Attack* x *Speed* x *Special* multiplied together. + +Chance of a **15+ attack, 14+ speed, 12+ special** Nidoran: 10/16 x 9/16 x 11/16 = + +Please refer to the [DV chart](https://github.com/kylecoburn/PokeBot/blob/master/wiki/NidoranStats.md) for probability derivations.