Agatha is the third member of the Elite Four in Pokemon Red, Blue and Yellow, fought in Agatha's Room. In all three games she uses Gengar (Lv 56), Golbat (Lv 56), Haunter (Lv 55), Arbok (Lv 58) and Gengar (Lv 60), and Yellow changes some of their moves. She pays 5,940 in prize money in all three games.
Agatha's AI, in short: she switches out on 7.8% of turns and uses a Super Potion on 42.2% of turns when her Pokemon is below 1/4 of its HP (at most 2 per Pokemon) in all three games. She picks moves by Rule 1 only in all three games. 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.
Where
Agatha's Room
Team
5 Pokemon, Lv 55 to 60 in Red and Blue; 5 Pokemon, Lv 55 to 60 in Yellow
Prize
5,940 in Red and Blue, 5,940 in Yellow
Items
Switches out on 7.8% of turns and uses a Super Potion on 42.2% of turns when her Pokemon is below 1/4 of its HP (at most 2 per Pokemon) in all three games
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.
On 7.8% of her turns (20 in 256), she switches out instead of attacking, but only if at least two of her Pokemon can still fight (the one out counts). The Pokemon that comes in is simply her first healthy one in team order.
On 42.2% of her turns (108 in 256, the rolls the switch did not take), when the Pokemon she has out is below 1/4 of its max HP, she uses a Super Potion instead of attacking (it heals 50 HP).
At most 2 items per Pokemon. The count starts over every time one of her Pokemon comes out, including after a switch.
With only one Pokemon left, a switch roll does nothing: she attacks, and that roll cannot heal either.
Once a Pokemon has used up its items, the game stops rolling for it, so that Pokemon never switches out either.
The game rolls when her Pokemon's turn comes in the Speed order, after both of you picked a move. When she uses an item or switches, her Pokemon does not attack that turn. Once that Pokemon's items are used up, the game does not roll for it at all.
When her Pokemon can use the Super Potion (HP below 1/4 of max, in whole numbers):
Pokemon
Max HP
Can heal at
Gengar Lv 56
142
34 or less
Golbat Lv 56
158
38 or less
Haunter Lv 55
123
29 or less
Arbok Lv 58
146
35 or less
Gengar Lv 60
151
36 or less
How she 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 she will not pick it while another move scores lower. On her team that means Hypnosis, Glare and Toxic.
No Rule 3. She ignores type matchups when she picks a move. Against Gastly (Ghost and Poison), Arbok's Bite cannot do any damage, yet it keeps its full share of the picks.
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 her team: Screech. For a side effect (Acid), 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
Items and switching
On 7.8% of her turns (20 in 256), she switches out instead of attacking, but only if at least two of her Pokemon can still fight (the one out counts). The Pokemon that comes in is simply her first healthy one in team order.
On 42.2% of her turns (108 in 256, the rolls the switch did not take), when the Pokemon she has out is below 1/4 of its max HP, she uses a Super Potion instead of attacking (it heals 50 HP).
At most 2 items per Pokemon. The count starts over every time one of her Pokemon comes out, including after a switch.
With only one Pokemon left, a switch roll does nothing: she attacks, and that roll cannot heal either.
Once a Pokemon has used up its items, the game stops rolling for it, so that Pokemon never switches out either.
The game rolls when her Pokemon's turn comes in the Speed order, after both of you picked a move. When she uses an item or switches, her Pokemon does not attack that turn. Once that Pokemon's items are used up, the game does not roll for it at all.
When her Pokemon can use the Super Potion (HP below 1/4 of max, in whole numbers):
Pokemon
Max HP
Can heal at
Gengar Lv 56
142
34 or less
Golbat Lv 56
158
38 or less
Haunter Lv 55
123
29 or less
Arbok Lv 58
146
35 or less
Gengar Lv 60
151
36 or less
How she 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 she will not pick it while another move scores lower. On her team that means Toxic, Hypnosis and Glare.
No Rule 3. She ignores type matchups when she picks a move. Against Pidgey (Normal and Flying), Gengar's Lick cannot do any damage, yet it keeps its full share of the picks.
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 her team: Screech. For a side effect (Acid 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 Agatha: What Will the AI Pick?
Pick your Pokemon and see, for each of her 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 Agatha's team in Red and Blue: no status on your Pokemon, its Pokemon's first turn.
GengarLv 56Ghost / Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Confuse Ray Ghost
Status
10
24.6%
Night Shade Ghost
Status
10
25%
Hypnosis Psychic
Status
10
24.6%
Dream Eater Psychic
1x
10
25.8%
GolbatLv 56Poison / Flying
Your types against it: Electric 2x.
Its move
On you
AI score
Chance
Supersonic Normal
Status
10
24.6%
Confuse Ray Ghost
Status
10
25%
Wing Attack Flying
0.5x
10
24.6%
Haze Ice
Status
10
25.8%
HaunterLv 55Ghost / Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Confuse Ray Ghost
Status
10
24.6%
Night Shade Ghost
Status
10
25%
Hypnosis Psychic
Status
10
24.6%
Dream Eater Psychic
1x
10
25.8%
ArbokLv 58Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Bite Normal
1x
10
24.6%
Glare Normal
Status
10
25%
Screech Normal
Status
10
24.6%
Acid Poison
1x
10
25.8%
GengarLv 60Ghost / Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Confuse Ray Ghost
Status
10
24.6%
Night Shade Ghost
Status
10
25%
Toxic Poison
Status
10
24.6%
Dream Eater Psychic
1x
10
25.8%
Your Pikachu (Electric) against Agatha's team in Yellow: no status on your Pokemon, its Pokemon's first turn.
GengarLv 56Ghost / Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Confuse Ray Ghost
Status
10
24.6%
Substitute Normal
Status
10
25%
Lick Ghost
1x
10
24.6%
Mega Drain Grass
1x
10
25.8%
GolbatLv 56Poison / Flying
Your types against it: Electric 2x.
Its move
On you
AI score
Chance
Supersonic Normal
Status
10
24.6%
Toxic Poison
Status
10
25%
Wing Attack Flying
0.5x
10
24.6%
Leech Life Bug
1x
10
25.8%
HaunterLv 55Ghost / Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Confuse Ray Ghost
Status
10
24.6%
Lick Ghost
1x
10
25%
Hypnosis Psychic
Status
10
24.6%
Dream Eater Psychic
1x
10
25.8%
ArbokLv 58Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Wrap Normal
1x
10
24.6%
Glare Normal
Status
10
25%
Screech Normal
Status
10
24.6%
Acid Poison
1x
10
25.8%
GengarLv 60Ghost / Poison
Your types against it: Electric 1x.
Its move
On you
AI score
Chance
Confuse Ray Ghost
Status
10
24.6%
Psychic Psychic
1x
10
25%
Hypnosis Psychic
Status
10
24.6%
Dream Eater Psychic
1x
10
25.8%
Fight Agatha 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.
What Pokemon does Agatha use in Pokemon Red, Blue and Yellow?
In Red and Blue: Gengar (Lv 56: Confuse Ray, Night Shade, Hypnosis, Dream Eater), Golbat (Lv 56: Supersonic, Confuse Ray, Wing Attack, Haze), Haunter (Lv 55: Confuse Ray, Night Shade, Hypnosis, Dream Eater), Arbok (Lv 58: Bite, Glare, Screech, Acid) and Gengar (Lv 60: Confuse Ray, Night Shade, Toxic, Dream Eater). In Yellow: Gengar (Lv 56: Confuse Ray, Substitute, Lick, Mega Drain), Golbat (Lv 56: Supersonic, Toxic, Wing Attack, Leech Life), Haunter (Lv 55: Confuse Ray, Lick, Hypnosis, Dream Eater), Arbok (Lv 58: Wrap, Glare, Screech, Acid) and Gengar (Lv 60: Confuse Ray, Psychic, Hypnosis, Dream Eater).
Does Agatha use items?
She switches out on 7.8% of turns and uses a Super Potion on 42.2% of turns when her Pokemon is below 1/4 of its HP (at most 2 per Pokemon).
How does Agatha'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). Agatha uses Rule 1 only in Red and Blue and Rule 1 only in Yellow. The odds calculator on this page shows the exact chance of each move against your Pokemon.
Can I battle Agatha online?
Yes, in GardenFlouer's Gen 1 battler, free in your browser. The Fight buttons on this page load her 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 her 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.