Lab · Boss Battles

Agatha's Team and AI

By GardenFlouer · Updated November 10, 2026

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
Move choice
Rule 1 only in all three games (explained below)
Game:

Agatha's Team

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

Agatha's Room

Prize 5,940
  1. Gengar Lv 56 Ghost / Poison
    Confuse Ray, Night Shade, Hypnosis, Dream Eater
    HP 142, Atk 87, Def 81, Spd 137, Spc 159
  2. Golbat Lv 56 Poison / Flying
    Supersonic, Confuse Ray, Wing Attack, Haze
    HP 158, Atk 104, Def 92, Spd 114, Spc 97
  3. Haunter Lv 55 Ghost / Poison
    Confuse Ray, Night Shade, Hypnosis, Dream Eater
    HP 123, Atk 69, Def 63, Spd 118, Spc 140
  4. Arbok Lv 58 Poison
    Bite, Glare, Screech, Acid
    HP 146, Atk 114, Def 94, Spd 107, Spc 89
  5. Gengar Lv 60 Ghost / Poison
    Confuse Ray, Night Shade, Toxic, Dream Eater
    HP 151, Atk 93, Def 86, Spd 146, Spc 170
Fight this team (Red and Blue)

Yellow

Agatha's Room

Prize 5,940
  1. Gengar Lv 56 Ghost / Poison
    Confuse Ray, Substitute, Lick, Mega Drain
    HP 142, Atk 87, Def 81, Spd 137, Spc 159
  2. Golbat Lv 56 Poison / Flying
    Supersonic, Toxic, Wing Attack, Leech Life
    HP 158, Atk 104, Def 92, Spd 114, Spc 97
  3. Haunter Lv 55 Ghost / Poison
    Confuse Ray, Lick, Hypnosis, Dream Eater
    HP 123, Atk 69, Def 63, Spd 118, Spc 140
  4. Arbok Lv 58 Poison
    Wrap, Glare, Screech, Acid
    HP 146, Atk 114, Def 94, Spd 107, Spc 89
  5. Gengar Lv 60 Ghost / Poison
    Confuse Ray, Psychic, Hypnosis, Dream Eater
    HP 151, Atk 93, Def 86, Spd 146, Spc 170
Fight this team (Yellow)

How the Game's AI Plays Agatha

Red and Blue

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):

PokemonMax HPCan heal at
Gengar Lv 5614234 or less
Golbat Lv 5615838 or less
Haunter Lv 5512329 or less
Arbok Lv 5814635 or less
Gengar Lv 6015136 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):

PokemonMax HPCan heal at
Gengar Lv 5614234 or less
Golbat Lv 5615838 or less
Haunter Lv 5512329 or less
Arbok Lv 5814635 or less
Gengar Lv 6015136 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.

Gengar Lv 56 Ghost / Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Confuse Ray GhostStatus1024.6%
Night Shade GhostStatus1025%
Hypnosis PsychicStatus1024.6%
Dream Eater Psychic1x1025.8%
Golbat Lv 56 Poison / Flying

Your types against it: Electric 2x.

Its moveOn youAI scoreChance
Supersonic NormalStatus1024.6%
Confuse Ray GhostStatus1025%
Wing Attack Flying0.5x1024.6%
Haze IceStatus1025.8%
Haunter Lv 55 Ghost / Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Confuse Ray GhostStatus1024.6%
Night Shade GhostStatus1025%
Hypnosis PsychicStatus1024.6%
Dream Eater Psychic1x1025.8%
Arbok Lv 58 Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Bite Normal1x1024.6%
Glare NormalStatus1025%
Screech NormalStatus1024.6%
Acid Poison1x1025.8%
Gengar Lv 60 Ghost / Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Confuse Ray GhostStatus1024.6%
Night Shade GhostStatus1025%
Toxic PoisonStatus1024.6%
Dream Eater Psychic1x1025.8%

Your Pikachu (Electric) against Agatha's team in Yellow: no status on your Pokemon, its Pokemon's first turn.

Gengar Lv 56 Ghost / Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Confuse Ray GhostStatus1024.6%
Substitute NormalStatus1025%
Lick Ghost1x1024.6%
Mega Drain Grass1x1025.8%
Golbat Lv 56 Poison / Flying

Your types against it: Electric 2x.

Its moveOn youAI scoreChance
Supersonic NormalStatus1024.6%
Toxic PoisonStatus1025%
Wing Attack Flying0.5x1024.6%
Leech Life Bug1x1025.8%
Haunter Lv 55 Ghost / Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Confuse Ray GhostStatus1024.6%
Lick Ghost1x1025%
Hypnosis PsychicStatus1024.6%
Dream Eater Psychic1x1025.8%
Arbok Lv 58 Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Wrap Normal1x1024.6%
Glare NormalStatus1025%
Screech NormalStatus1024.6%
Acid Poison1x1025.8%
Gengar Lv 60 Ghost / Poison

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Confuse Ray GhostStatus1024.6%
Psychic Psychic1x1025%
Hypnosis PsychicStatus1024.6%
Dream Eater Psychic1x1025.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.

Questions

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.