Lab · Boss Battles

Giovanni's Team and AI

By GardenFlouer · Updated November 10, 2026

Giovanni is the boss of Team Rocket and the Viridian City Gym Leader, the eighth and last Gym Leader in Pokemon Red, Blue and Yellow. You fight him three times: in Rocket Hideout B4F, in Silph Co. 11F and in Viridian Gym. At the gym his Red and Blue team is Rhyhorn (Lv 45), Dugtrio (Lv 42), Nidoqueen (Lv 44), Nidoking (Lv 45) and Rhydon (Lv 50); in Yellow it is Dugtrio (Lv 50), Persian (Lv 53), Nidoqueen (Lv 53), Nidoking (Lv 55) and Rhydon (Lv 55). Beating him at the gym earns the Earth Badge, TM27 (Fissure) and 4,950 in prize money (5,445 in Yellow).

Giovanni's AI, in short: he uses a Guard Spec. on 25% of turns (at most 1 per Pokemon) in all three games. He picks moves by Rules 1 and 3 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
Rocket Hideout B4F, Silph Co. 11F and Viridian Gym
Team
5 Pokemon, Lv 42 to 50 in Red and Blue; 5 Pokemon, Lv 50 to 55 in Yellow
Reward
Earth Badge, TM27 Fissure, prize 4,950 in Red and Blue, 5,445 in Yellow
Badge effect
Every traded Pokemon obeys you
Items
Uses a Guard Spec. on 25% of turns (at most 1 per Pokemon) in all three games
Move choice
Rules 1 and 3 in all three games (explained below)
Game:

Giovanni's Teams

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

Rocket Hideout B4F

Prize 2,871
  1. Onix Lv 25 Rock / Ground
    Screech, Bind, Rock Throw, Rage
    HP 56, Atk 32, Def 89, Spd 44, Spc 24
  2. Rhyhorn Lv 24 Ground / Rock
    Horn Attack
    HP 76, Atk 50, Def 54, Spd 20, Spc 23
  3. Kangaskhan Lv 29 Normal
    Comet Punch, Rage, Bite
    HP 104, Atk 65, Def 56, Spd 61, Spc 32
Fight this team (Red and Blue)

Silph Co. 11F

Prize 4,059
  1. Nidorino Lv 37 Poison
    Horn Attack, Poison Sting, Focus Energy, Fury Attack
    HP 98, Atk 64, Def 53, Spd 59, Spc 51
  2. Kangaskhan Lv 35 Normal
    Comet Punch, Rage, Bite, Tail Whip
    HP 124, Atk 77, Def 66, Spd 73, Spc 38
  3. Rhyhorn Lv 37 Ground / Rock
    Horn Attack, Stomp, Tail Whip
    HP 112, Atk 74, Def 81, Spd 29, Spc 33
  4. Nidoqueen Lv 41 Poison / Ground
    Scratch, Tail Whip, Body Slam, Poison Sting
    HP 131, Atk 79, Def 82, Spd 73, Spc 73
Fight this team (Red and Blue)

Viridian Gym

Prize 4,950
  1. Rhyhorn Lv 45 Ground / Rock
    Stomp, Tail Whip, Fury Attack, Horn Drill
    HP 134, Atk 89, Def 97, Spd 34, Spc 39
  2. Dugtrio Lv 42 Ground
    Growl, Dig, Sand-Attack, Slash
    HP 88, Atk 79, Def 53, Spd 112, Spc 70
  3. Nidoqueen Lv 44 Poison / Ground
    Scratch, Tail Whip, Body Slam, Poison Sting
    HP 140, Atk 85, Def 88, Spd 78, Spc 78
  4. Nidoking Lv 45 Poison / Ground
    Tackle, Horn Attack, Poison Sting, Thrash
    HP 135, Atk 95, Def 81, Spd 88, Spc 79
  5. Rhydon Lv 50 Ground / Rock
    Stomp, Tail Whip, Fissure, Horn Drill
    HP 173, Atk 144, Def 133, Spd 53, Spc 58
Fight this team (Red and Blue)

Yellow

Rocket Hideout B4F

Prize 2,871
  1. Onix Lv 25 Rock / Ground
    Screech, Bind, Rock Throw, Rage
    HP 56, Atk 32, Def 89, Spd 44, Spc 24
  2. Rhyhorn Lv 24 Ground / Rock
    Horn Attack
    HP 76, Atk 50, Def 54, Spd 20, Spc 23
  3. Persian Lv 29 Normal
    Growl, Bite, Screech, Pay Day
    HP 81, Atk 50, Def 44, Spd 76, Spc 47
Fight this team (Yellow)

Silph Co. 11F

Prize 4,059
  1. Nidorino Lv 37 Poison
    Double Kick, Poison Sting, Focus Energy, Fury Attack
    HP 98, Atk 64, Def 53, Spd 59, Spc 51
  2. Persian Lv 35 Normal
    Growl, Bite, Screech, Pay Day
    HP 96, Atk 60, Def 52, Spd 91, Spc 56
  3. Rhyhorn Lv 37 Ground / Rock
    Horn Attack, Stomp, Tail Whip
    HP 112, Atk 74, Def 81, Spd 29, Spc 33
  4. Nidoqueen Lv 41 Poison / Ground
    Scratch, Tail Whip, Body Slam, Double Kick
    HP 131, Atk 79, Def 82, Spd 73, Spc 73
Fight this team (Yellow)

Viridian Gym

Prize 5,445
  1. Dugtrio Lv 50 Ground
    Dig, Sand-Attack, Fissure, Earthquake
    HP 103, Atk 94, Def 63, Spd 133, Spc 83
  2. Persian Lv 53 Normal
    Screech, Double Team, Fury Swipes, Slash
    HP 140, Atk 88, Def 77, Spd 135, Spc 82
  3. Nidoqueen Lv 53 Poison / Ground
    Earthquake, Tail Whip, Thunder, Double Kick
    HP 166, Atk 101, Def 105, Spd 94, Spc 92
  4. Nidoking Lv 55 Poison / Ground
    Earthquake, Leer, Thunder, Double Kick
    HP 162, Atk 116, Def 98, Spd 107, Spc 96
  5. Rhydon Lv 55 Ground / Rock
    Rock Slide, Fury Attack, Horn Drill, Earthquake
    HP 189, Atk 157, Def 145, Spd 57, Spc 63
Fight this team (Yellow)

How the Game's AI Plays Giovanni

Red and Blue

Items

  • On 25% of his turns (64 in 256), he uses a Guard Spec. instead of attacking. In Gen 1 it works like Mist: while that Pokemon stays in, your moves that only lower its stats (Growl, Leer, Tail Whip, Sand-Attack, Screech and the like) miss it.
  • 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 Dig, Rage and Thrash (Yellow skips it then).

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. None of his Pokemon know such a move, so this rule never changes anything for him.
  • 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 Bulbasaur (Grass and Poison), Nidorino's Poison Sting 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: Screech, Tail Whip, Growl and Sand-Attack.

Yellow

Items

  • On 25% of his turns (64 in 256), he uses a Guard Spec. instead of attacking. In Gen 1 it works like Mist: while that Pokemon stays in, your moves that only lower its stats (Growl, Leer, Tail Whip, Sand-Attack, Screech and the like) miss it.
  • 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 Dig and Rage. Red and Blue roll even then.

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. None of his Pokemon know such a move, so this rule never changes anything for him.
  • 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 Sandshrew (Ground type), Nidoqueen's Thunder gets +1 and is held back: its Electric type has no effect on Ground, and his Pokemon has a better move to use.
    • Against Pidgey (Normal and Flying), Nidorino's Double Kick 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: Screech, Growl, Tail Whip, Sand-Attack and Leer.

Your Pokemon vs Giovanni: 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 Giovanni's team (Rocket Hideout B4F) in Red and Blue: no status on your Pokemon, its Pokemon's first turn.

Onix Lv 25 Rock / Ground

Your types against it: Electric 0x (no effect).

Its moveOn youAI scoreChance
Screech NormalStatus1024.6%
Bind Normal1x1025%
Rock Throw Rock1x1024.6%
Rage Normal1x1025.8%
Rhyhorn Lv 24 Ground / Rock

Your types against it: Electric 0x (no effect).

Its moveOn youAI scoreChance
Horn Attack Normal1x10100%

One move only, so it always uses it.

Kangaskhan Lv 29 Normal

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Comet Punch Normal1x1033.2%
Rage Normal1x1033.7%
Bite Normal1x1033.2%

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

Onix Lv 25 Rock / Ground

Your types against it: Electric 0x (no effect).

Its moveOn youAI scoreChance
Screech NormalStatus1024.6%
Bind Normal1x1025%
Rock Throw Rock1x1024.6%
Rage Normal1x1025.8%
Rhyhorn Lv 24 Ground / Rock

Your types against it: Electric 0x (no effect).

Its moveOn youAI scoreChance
Horn Attack Normal1x10100%

One move only, so it always uses it.

Persian Lv 29 Normal

Your types against it: Electric 1x.

Its moveOn youAI scoreChance
Growl NormalStatus1024.6%
Bite Normal1x1025%
Screech NormalStatus1024.6%
Pay Day Normal1x1025.8%

Fight Giovanni 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 Giovanni use in Pokemon Red, Blue and Yellow?

In Red and Blue: Rhyhorn (Lv 45: Stomp, Tail Whip, Fury Attack, Horn Drill), Dugtrio (Lv 42: Growl, Dig, Sand-Attack, Slash), Nidoqueen (Lv 44: Scratch, Tail Whip, Body Slam, Poison Sting), Nidoking (Lv 45: Tackle, Horn Attack, Poison Sting, Thrash) and Rhydon (Lv 50: Stomp, Tail Whip, Fissure, Horn Drill). In Yellow: Dugtrio (Lv 50: Dig, Sand-Attack, Fissure, Earthquake), Persian (Lv 53: Screech, Double Team, Fury Swipes, Slash), Nidoqueen (Lv 53: Earthquake, Tail Whip, Thunder, Double Kick), Nidoking (Lv 55: Earthquake, Leer, Thunder, Double Kick) and Rhydon (Lv 55: Rock Slide, Fury Attack, Horn Drill, Earthquake).

What do you get for beating Giovanni?

The Earth Badge, TM27 (Fissure) and 4,950 in prize money in Red and Blue (5,445 in Yellow). The badge: every traded Pokemon obeys you.

Does Giovanni use items?

He uses a Guard Spec. on 25% of turns (at most 1 per Pokemon).

How does Giovanni'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). Giovanni uses Rules 1 and 3 in Red and Blue and Rules 1 and 3 in Yellow. The odds calculator on this page shows the exact chance of each move against your Pokemon.

Can I battle Giovanni 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.