Before he becomes the Champion, your rival fights you up to 7 times in Pokemon Red, Blue and Yellow: in Oak's Lab, Route 22 (first time), Cerulean City, S.S. Anne 2F, Pokemon Tower 2F, Silph Co. 7F and Route 22 (second time). The first Route 22 fight happens only if you walk there before you beat Brock, since beating Brock calls it off. In Red and Blue he takes the starter that beats yours, and every team after that is built around it. In Yellow he starts with Eevee, and the first two fights decide what it evolves into. The rival's Eevee line is set in Oak's Lab and on Route 22: beat him in the lab, then beat him on Route 22, and it becomes Jolteon. Beat him in the lab and skip or lose Route 22: Flareon. Lose in the lab: Vaporeon.
Everything on this page is read from the game's code, and GardenFlouer's battler runs the same routines, tested in the game's own code in an emulator. Tap a Fight button to battle any of his teams.
Fights
7 places in each game: 21 teams in Red and Blue (three per place, by your starter), 13 in Yellow (his Eevee's evolution splits the later ones)
Moves in red are set by the game's own code on top of the normal moveset (a gym leader's move in their own gym, the Elite Four's team move, the Champion's moves, or Yellow's special trainer moves). Stats use the trainer DVs every Gen 1 trainer gets (9, 8, 8, 8) and no stat experience.
Red and Blue
Oak's Lab, if you chose Charmander (he has Squirtle)
In his first three fights (Oak's Lab, Route 22 the first time and Cerulean City) he uses the early rival class: he never uses items and never switches. Then, from the S.S. Anne on, the middle rival class:
Items
On 12.5% of his turns (32 in 256), when the Pokemon he has out is below 1/5 of its max HP, he uses a Potion instead of attacking (it heals 20 HP).
At most 1 item per Pokemon. The count starts over every time one of his Pokemon comes out.
The game rolls when his Pokemon's turn comes in the Speed order, after both of you picked a move. When he uses an item, his Pokemon does not attack that turn. Once that Pokemon's items are used up, the game does not roll for it at all.
Red and Blue make this roll even while his Pokemon is locked into a move, as with Rage, Skull Bash and SolarBeam (Yellow skips it then).
When his Pokemon can use the Potion (HP below 1/5 of max, in whole numbers): open the table
Pokemon
Max HP
Can heal at
S.S. Anne 2F, if you chose Charmander (he has Squirtle)
Pidgeotto Lv 19
55
10 or less
Raticate Lv 16
46
8 or less
Kadabra Lv 18
45
8 or less
Wartortle Lv 20
56
10 or less
S.S. Anne 2F, if you chose Squirtle (he has Bulbasaur)
Pidgeotto Lv 19
55
10 or less
Raticate Lv 16
46
8 or less
Kadabra Lv 18
45
8 or less
Ivysaur Lv 20
57
10 or less
S.S. Anne 2F, if you chose Bulbasaur (he has Charmander)
Pidgeotto Lv 19
55
10 or less
Raticate Lv 16
46
8 or less
Kadabra Lv 18
45
8 or less
Charmeleon Lv 20
56
10 or less
Pokemon Tower 2F, if you chose Charmander (he has Squirtle)
Pidgeotto Lv 25
70
13 or less
Growlithe Lv 23
61
11 or less
Exeggcute Lv 22
61
11 or less
Kadabra Lv 20
49
8 or less
Wartortle Lv 25
68
12 or less
Pokemon Tower 2F, if you chose Squirtle (he has Bulbasaur)
Pidgeotto Lv 25
70
13 or less
Gyarados Lv 23
80
15 or less
Growlithe Lv 22
59
10 or less
Kadabra Lv 20
49
8 or less
Ivysaur Lv 25
69
12 or less
Pokemon Tower 2F, if you chose Bulbasaur (he has Charmander)
Pidgeotto Lv 25
70
13 or less
Exeggcute Lv 23
64
11 or less
Gyarados Lv 22
77
14 or less
Kadabra Lv 20
49
8 or less
Charmeleon Lv 25
68
12 or less
Silph Co. 7F, if you chose Charmander (he has Squirtle)
Pidgeot Lv 37
114
21 or less
Growlithe Lv 38
95
18 or less
Exeggcute Lv 35
92
17 or less
Alakazam Lv 35
89
16 or less
Blastoise Lv 40
119
22 or less
Silph Co. 7F, if you chose Squirtle (he has Bulbasaur)
Pidgeot Lv 37
114
21 or less
Gyarados Lv 38
126
24 or less
Growlithe Lv 35
89
16 or less
Alakazam Lv 35
89
16 or less
Venusaur Lv 40
120
23 or less
Silph Co. 7F, if you chose Bulbasaur (he has Charmander)
Pidgeot Lv 37
114
21 or less
Exeggcute Lv 38
99
18 or less
Gyarados Lv 35
117
22 or less
Alakazam Lv 35
89
16 or less
Charizard Lv 40
118
22 or less
Route 22 (second time), if you chose Charmander (he has Squirtle)
Pidgeot Lv 47
142
27 or less
Rhyhorn Lv 45
134
25 or less
Growlithe Lv 45
111
21 or less
Exeggcute Lv 47
120
23 or less
Alakazam Lv 50
123
23 or less
Blastoise Lv 53
155
30 or less
Route 22 (second time), if you chose Squirtle (he has Bulbasaur)
Pidgeot Lv 47
142
27 or less
Rhyhorn Lv 45
134
25 or less
Gyarados Lv 45
147
28 or less
Growlithe Lv 47
116
22 or less
Alakazam Lv 50
123
23 or less
Venusaur Lv 53
156
30 or less
Route 22 (second time), if you chose Bulbasaur (he has Charmander)
Pidgeot Lv 47
142
27 or less
Rhyhorn Lv 45
134
25 or less
Exeggcute Lv 45
116
22 or less
Gyarados Lv 47
153
29 or less
Alakazam Lv 50
123
23 or less
Charizard Lv 53
154
29 or less
How he picks a move
Every move starts at 10 points. The rules below add or take away points, and only the moves with the lowest score can be picked. Then the game rolls for a move slot until it lands on one of them: slot 1 takes 63 rolls of 256, slot 2 takes 64, slot 3 takes 63 and slot 4 takes 66, so among tied moves the fourth is a little more likely (25.8%, against 24.6%, 25% and 24.6% when all four tie).
Rule 1, no double status. If your Pokemon already has a status condition, each move that only puts you to sleep, poisons or paralyzes gets +5, so he will not pick it while another move scores lower. On his team that means Hypnosis, PoisonPowder and Stun Spore.
Rule 3, type matchups. A move whose type is super effective against your Pokemon gets -1, even one that does no damage. A move whose type is not very effective or has no effect gets +1, but only if the same Pokemon also has a damaging move of another type (or Super Fang, a fixed damage move such as Seismic Toss, or Fly). The check reads only the first line of the type chart that matches either of your types, so against a two-type Pokemon it can see one type and miss the other.
Against Ekans (Poison type), Kadabra's Teleport gets the -1 push even though it does no damage, because the check looks only at the move's type (Psychic).
Against Charmander (Fire type), Ivysaur's Leech Seed gets +1 and is held back: its Grass type is not very effective against Fire, and his Pokemon has a better move to use.
Against Omanyte (Rock and Water), Wartortle's Bubble is read as super effective, so it gets -1, but it really does 1x damage: the check stopped at the first line of the type chart that matched one of the two types.
The computer's stat-lowering moves can fail on their own. When the computer uses a move that lowers your stats, the game first rolls 0 to 255 and the effect fails on anything under 64: a 1 in 4 chance, before accuracy is even checked. Your own moves never get this roll, and link battles do not have it. On his team: Tail Whip, Growl, Sand-Attack and Leer. For a side effect (Bubble and Psychic), that roll comes before the usual 85 in 256, so when the move hits the stat drop happens 24.9% of the time instead of 33.2%.
Yellow
In his first three fights (Oak's Lab, Route 22 the first time and Cerulean City) he uses the early rival class: he never uses items and never switches. Then, from the S.S. Anne on, the middle rival class:
Items
On 12.5% of his turns (32 in 256), when the Pokemon he has out is below 1/5 of its max HP, he uses a Potion instead of attacking (it heals 20 HP).
At most 1 item per Pokemon. The count starts over every time one of his Pokemon comes out.
The game rolls when his Pokemon's turn comes in the Speed order, after both of you picked a move. When he uses an item, his Pokemon does not attack that turn. Once that Pokemon's items are used up, the game does not roll for it at all.
Yellow skips this roll while his Pokemon is locked into a move, as with SolarBeam. Red and Blue roll even then.
When his Pokemon can use the Potion (HP below 1/5 of max, in whole numbers): open the table
Pokemon
Max HP
Can heal at
S.S. Anne 2F
Spearow Lv 19
47
8 or less
Rattata Lv 16
38
6 or less
Sandshrew Lv 18
48
8 or less
Eevee Lv 20
55
10 or less
Pokemon Tower 2F, if his Eevee became Jolteon
Fearow Lv 25
71
13 or less
Shellder Lv 23
50
9 or less
Vulpix Lv 22
52
9 or less
Sandshrew Lv 20
53
9 or less
Eevee Lv 25
66
12 or less
Pokemon Tower 2F, if his Eevee became Flareon
Fearow Lv 25
71
13 or less
Magnemite Lv 23
48
8 or less
Shellder Lv 22
48
8 or less
Sandshrew Lv 20
53
9 or less
Eevee Lv 25
66
12 or less
Pokemon Tower 2F, if his Eevee became Vaporeon
Fearow Lv 25
71
13 or less
Vulpix Lv 23
54
9 or less
Magnemite Lv 22
46
8 or less
Sandshrew Lv 20
53
9 or less
Eevee Lv 25
66
12 or less
Silph Co. 7F, if his Eevee became Jolteon
Sandslash Lv 38
111
21 or less
Ninetales Lv 35
101
19 or less
Cloyster Lv 37
89
16 or less
Kadabra Lv 35
78
14 or less
Jolteon Lv 40
108
20 or less
Silph Co. 7F, if his Eevee became Flareon
Sandslash Lv 38
111
21 or less
Cloyster Lv 35
85
16 or less
Magneton Lv 37
89
16 or less
Kadabra Lv 35
78
14 or less
Flareon Lv 40
108
20 or less
Silph Co. 7F, if his Eevee became Vaporeon
Sandslash Lv 38
111
21 or less
Magneton Lv 35
85
16 or less
Ninetales Lv 37
106
20 or less
Kadabra Lv 35
78
14 or less
Vaporeon Lv 40
160
31 or less
Route 22 (second time), if his Eevee became Jolteon
Sandslash Lv 47
135
26 or less
Exeggcute Lv 45
116
22 or less
Ninetales Lv 45
127
24 or less
Cloyster Lv 47
111
21 or less
Kadabra Lv 50
108
20 or less
Jolteon Lv 53
140
27 or less
Route 22 (second time), if his Eevee became Flareon
Sandslash Lv 47
135
26 or less
Exeggcute Lv 45
116
22 or less
Cloyster Lv 45
107
20 or less
Magneton Lv 47
111
21 or less
Kadabra Lv 50
108
20 or less
Flareon Lv 53
140
27 or less
Route 22 (second time), if his Eevee became Vaporeon
Sandslash Lv 47
135
26 or less
Exeggcute Lv 45
116
22 or less
Magneton Lv 45
107
20 or less
Ninetales Lv 47
133
25 or less
Kadabra Lv 50
108
20 or less
Vaporeon Lv 53
209
40 or less
How he picks a move
Every move starts at 10 points. The rules below add or take away points, and only the moves with the lowest score can be picked. Then the game rolls for a move slot until it lands on one of them: slot 1 takes 63 rolls of 256, slot 2 takes 64, slot 3 takes 63 and slot 4 takes 66, so among tied moves the fourth is a little more likely (25.8%, against 24.6%, 25% and 24.6% when all four tie).
Rule 1, no double status. If your Pokemon already has a status condition, each move that only puts you to sleep, poisons or paralyzes gets +5, so he will not pick it while another move scores lower. On his team that means Stun Spore, PoisonPowder and Thunder Wave.
Rule 3, type matchups. A move whose type is super effective against your Pokemon gets -1, even one that does no damage. A move whose type is not very effective or has no effect gets +1, but only if the same Pokemon also has a damaging move of another type (or Super Fang, a fixed damage move such as Seismic Toss, or Fly). The check reads only the first line of the type chart that matches either of your types, so against a two-type Pokemon it can see one type and miss the other.
Against Caterpie (Bug type), Fearow's Mirror Move gets the -1 push even though it does no damage, because the check looks only at the move's type (Flying).
Against Squirtle (Water type), Shellder's Withdraw gets +1 and is held back: its Water type is not very effective against Water, and his Pokemon has a better move to use.
Against Omanyte (Rock and Water), Shellder's Clamp is read as super effective, so it gets -1, but it really does 1x damage: the check stopped at the first line of the type chart that matched one of the two types.
The computer's stat-lowering moves can fail on their own. When the computer uses a move that lowers your stats, the game first rolls 0 to 255 and the effect fails on anything under 64: a 1 in 4 chance, before accuracy is even checked. Your own moves never get this roll, and link battles do not have it. On his team: Tail Whip, Growl, Leer and Sand-Attack. For a side effect (Aurora Beam and Psychic), that roll comes before the usual 85 in 256, so when the move hits the stat drop happens 24.9% of the time instead of 33.2%.
Your Pokemon vs Your Rival: What Will the AI Pick?
Pick your Pokemon and see, for each of his Pokemon, what its moves do to yours, how the AI scores each one, and the exact chance it picks each move this turn. Rows in color are the moves that can be picked. It runs the game's own rules, checked against the battler's engine.
Your Pikachu (Electric) against your rival's team (Oak's Lab, if you chose Charmander (he has Squirtle)) in Red and Blue: no status on your Pokemon, its Pokemon's first turn.
SquirtleLv 5Water
Your types against it: Electric 2x.
Its move
On you
AI score
Chance
Tackle Normal
1x
10
49.6%
Tail Whip Normal
Status
10
50.4%
Your Pikachu (Electric) against your rival's team (Oak's Lab) in Yellow: no status on your Pokemon, its Pokemon's first turn.
EeveeLv 5Normal
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Tackle Normal
1x
10
49.6%
Tail Whip Normal
Status
10
50.4%
Fight Your Rival in the Battler
Each Fight this team button above opens GardenFlouer's Gen 1 battler with that exact team: the real levels and moves, and the class AI with its items and switching, run by the same rules as the cartridge. Pick your team or tap Random 6, then Battle. Your team fights at level 100 unless you tick Use a matching level there.
How many times do you fight your rival in Pokemon Red and Blue?
Up to 7 times before the Champion's Room, then once more as the Champion. The first Route 22 fight happens only if you walk there before you beat Brock. Each fight has three versions, one for each starter he can take.
What does the rival's Eevee evolve into in Pokemon Yellow?
The rival's Eevee line is set in Oak's Lab and on Route 22: beat him in the lab, then beat him on Route 22, and it becomes Jolteon. Beat him in the lab and skip or lose Route 22: Flareon. Lose in the lab: Vaporeon.
How does your rival's AI pick moves?
Every move starts at 10 points, the class's rules add or take away points, and only the lowest scores can be picked; then a slot roll breaks the tie, a little in favour of slot 4 (66 in 256). Your rival uses Rule 1 early and Rules 1 and 3 from the S.S. Anne on in Red and Blue and the same in Yellow. The odds calculator on this page shows the exact chance of each move against your Pokemon.
Can I battle your rival online?
Yes, in GardenFlouer's Gen 1 battler, free in your browser. The Fight buttons on this page load each of his exact team, with the class's AI, items and switching, run by the same rules as the cartridge.
Where This Comes From
Every team, level, move and prize here is read from the pret disassemblies of Pokemon Red, Blue and Yellow, the community projects that turned the cartridges back into readable code, through the same trainer data as the trainer database. The AI is the game's own trainer AI routine for his class. The odds calculator runs the game's move choice rules, and a test replays every one of its answers in the battler's engine, which matched the real game in an emulator in all 352 Red and 343 Yellow trainer fights it was run on.