Skip to content

Pokémon Ruby & Sapphire

Pokémon Ruby and Sapphire Cheat Codes

Ruby and Sapphire share a codebase, and most of their cheat codes are identical. This page carries only the codes found on listings for both games, so nothing here depends on which cartridge you are playing.

That standard cost the page some famous codes. The Rare Candy code everyone copies appeared on only one source when checked, so it is not here — a missing code is a smaller problem than one that corrupts a save.

Several codes on this page need a master code enabled first, and Ruby and Sapphire use different master codes from each other for some cheats. Where a row needs one, the master code is listed as its own row directly above it.

Pokémon Ruby & Sapphire Cheat Finder

Every code here was found on listings for both versions, so it does not matter which cartridge you are playing. Pick your cheat device and the table swaps to the codes written for it.

Your cheat device

  1. 01Open your emulator’s cheat list. In VisualBoyAdvance that is the Cheats menu, in mGBA it is Tools → Cheats, and in My Boy! or Delta it is the Cheats entry in the in-game menu.
  2. 02Add a new cheat and set its type to GameShark or Action Replay. Picking the wrong type is the single most common reason a correct code does nothing.
  3. 03Paste every line of the code. Some cheats here are four or six lines long and all of them are part of one cheat.
  4. 04If a row says it needs a master code, add the master code as its own separate cheat and enable that first.
  5. 05Enable the cheat, then load your save. Disable it again when you are done — leaving encounter cheats on is what produces bad eggs.

Showing 19 of 19 · codes for GameShark v3 / Action Replay

  • Walk through walls

    Removes collision, so you can cross water, buildings and map edges on foot.

    Movement

    Leaving the intended map can freeze the game. Save before enabling, and disable before saving again.

  • Infinite money

    Sets your money to its maximum.

    Money & items

  • Master Ball master code

    The master code the Master Ball cheat below needs.

    Money & items

    Enter this as its own separate cheat and enable it first.

  • Unlimited Master Balls

    Fills your bag or PC with Master Balls.

    Money & items

    Needs the Master Ball master code in the row above.

  • All eight badges

    Awards every gym badge at once.

    Progress

  • No random battles

    Stops wild Pokémon appearing in grass and caves.

    Encounters

    Useful for crossing a route quickly; turn it off when you want to catch something.

  • Shiny Pokémon encounter

    Every wild Pokémon you meet is shiny.

    Encounters

    Disable the cheat before throwing the ball, or the caught Pokémon keeps a corrupted name.

  • Catch another trainer’s Pokémon

    Lets you throw a Poké Ball during a trainer battle.

    Encounters

    A common cause of bad eggs. Do not save while one is in your party.

  • Legendary encounter master code

    The master code used by the legendary encounter cheats.

    Encounters

    Published on both the Ruby and Sapphire lists, so it is safe on either version.

  • Gender modifier master code

    The master code the two gender cheats below need.

    Encounters

  • Wild Pokémon always female

    Forces every wild encounter to be female.

    Encounters

    Needs the gender modifier master code.

  • Wild Pokémon always male

    Forces every wild encounter to be male.

    Encounters

    Needs the gender modifier master code.

  • Max HP

    Sets the lead Pokémon’s HP stat to 999.

    Party

    No Ruby/Sapphire code for this device

  • Max Attack

    Sets the lead Pokémon’s Attack stat to 999.

    Party

    No Ruby/Sapphire code for this device

  • Max Defense

    Sets the lead Pokémon’s Defense stat to 999.

    Party

    No Ruby/Sapphire code for this device

  • Max Special Attack

    Sets the lead Pokémon’s Special Attack stat to 999.

    Party

    No Ruby/Sapphire code for this device

  • Max Special Defense

    Sets the lead Pokémon’s Special Defense stat to 999.

    Party

    No Ruby/Sapphire code for this device

  • Max Speed

    Sets the lead Pokémon’s Speed stat to 999.

    Party

    No Ruby/Sapphire code for this device

  • Max stat slot 8

    Sets the eighth value in the same stat block to 999.

    Party

    No Ruby/Sapphire code for this device

    Published as “invulnerability” on some lists. It writes to the same stat block as the rows above, so treat the label with suspicion and test it on a save you can lose.

Why This Page Covers Two Games

Ruby and Sapphire are the same game with a different legendary and a different set of version exclusives. The code that matters — the engine, the memory layout, the item table — is shared, which is why a cheat written for one usually runs on the other unchanged.

Usually is not always, and that is the reason this page is shorter than a single-version list. Every code here was checked against listings for both games; anything that appeared for only one was dropped rather than shipped with a caveat.

If you find a Ruby-only or Sapphire-only code elsewhere, it is not necessarily wrong. It simply did not meet the bar for a page that promises to work on either version.

Master Codes Come First

Generation III games need a master code before most cheats will do anything. The master code patches the game so the cheat device can write to memory; without it the emulator accepts your code and silently ignores it.

This page lists master codes as their own rows rather than hiding them in a note, because they are entered as separate cheats. Add the master code, enable it, then add the cheat that needs it. Leave both enabled while you use them.

The Master Ball cheat, the legendary encounter cheats and the gender modifier each have their own master code, and they are not interchangeable. The row directly above a cheat is the one it needs.

GameShark, Action Replay and Code Breaker

Two families, not three. GameShark v3 and Action Replay share a code format on Game Boy Advance and code databases list them together; Code Breaker, sold later as GameShark SP and as Xploder in Europe, is the different one.

The shapes give it away. GameShark and Action Replay lines run eight characters, a space, eight more. Code Breaker lines finish with a four-character group. The stat codes on this page are Code Breaker; most of the rest are GameShark and Action Replay.

Where a row shows a code in one column and “no code for this device” in the other, that cheat was only ever written for one family. Showing the gap is more useful than filling it with something that will not run.

Save First, Cheat Second

The shiny encounter cheat causes the same name glitch here as in the other Generation III games: catch a Pokémon while it is active and the name comes out corrupted. Switch the cheat off before you throw the ball and the Pokémon stays shiny with a normal name.

Catching a trainer’s Pokémon and the wild encounter cheats can produce a bad egg — a party entry that will not hatch and cannot be released. It is harmless until you save, and a serious nuisance afterwards.

The stat codes write directly into the party block. That is a blunt instrument, and one of the rows on this page is labelled “invulnerability” by some sources while writing to the same block as the stat codes. It is included with that uncertainty stated rather than dressed up.

Frequently Asked Questions

Do Pokémon Ruby cheats work on Sapphire?

Most do, because the two games share a codebase. Not all, though, which is why this page only carries codes confirmed on listings for both versions. A code found on a Ruby-only list may still work on Sapphire, but it has not been checked here.

What is the master code for Ruby and Sapphire?

There is more than one. Different cheats use different master codes, so this page lists each master code as its own row directly above the cheat that needs it. Enter it as a separate cheat and enable it first.

Why is the Rare Candy code not on this page?

It only appeared in one independent listing when checked. Every code here had to appear in at least two, and a code that fails that test is left out rather than published with a warning.

How do I avoid the shiny name glitch?

Turn the shiny cheat off before you throw the Poké Ball. The wild Pokémon is already shiny at that point, so the one you catch stays shiny and keeps a normal name.

Which cheat device should I choose in my emulator?

Match it to the code’s shape. Eight characters, a space and eight more is GameShark or Action Replay — either setting works. A line ending in four characters is Code Breaker. Choosing the wrong one is the most common reason a valid code does nothing.

Related Guides