Pokemon Emerald Cheats

The codes every Emerald list prints, run on my own cartridge, with what each one really changes.

By GardenFlouerCovers Emerald (US), run on my cartridgeChecked

The Pokemon Emerald Rare Candy code: paste these three lines in as one Action Replay code, go to any PC and withdraw. Slot 1 of Item Storage holds 99 Rare Candies and tops itself back up while the code is on.

A86CDBA5 19BA49B3
D6BEA91D 252D3110
AD9CA52F 09F43F9B

I ran it on my own Emerald cartridge. The first line names the game; the other two write through the game's own pointer to your save, which Emerald moves around in memory. That is why it needs no master code, and why the Rare Candy code most lists print, BFF956FA 2F9EC50D, lands somewhere different almost every time.

Master Ball

99 Master Balls in PC slot 1:

A86CDBA5 19BA49B3
3577EEB0 0E15AAF3
AD9CA52F 09F43F9B

Or buy them: with 82005274 0001 on, the first item in any Mart's list is a Master Ball for 0. It still shows the old name in the list, POTION in Oldale Town, but the picture, the description and what you get are a Master Ball.

Walk through walls

7881A409 E2026E0C
8E883EFF 92E9660D

The code the lists print, and it works: on my cartridge I walked through the wall at the back of the moving truck, where the game stops you without it.

Wild Pokemon modifier

A wild Rayquaza at level 70, every time (any Pokemon and level in the builder):

A86CDBA5 19BA49B3
B749822B CE9BFAC1
7B42B012 AE524E18
92CEFA5B 8F95C77D

Shiny Pokemon

F3A9A86D 4E2629B4
18452A7D DDE55BCC

Every wild Pokemon I met with it on was shiny, and every one had the nature Jolly. A Pokemon's nature and its shininess both come from one hidden number, and this code fixes part of it.

Emerald code builder

For your version

Your code
...
What it does
On my cartridge
Switched off

What the Emerald master code really is

Nearly every Emerald list prints D8BAE4D9 4864DCE5 and A86CDBA5 19BA49B3 and calls it the master code, must be on. Decrypted, the first line says: run the codes each time the game reaches address 080005EC. That address is an instruction in ReadKeys, the routine that reads the buttons, once a frame. The second line is not a cheat at all: it spells BPEE, Emerald's game code, so the device can check it is in the right game.

On my cartridge, codes entered with it ran every frame, exactly as codes entered without it do in mGBA. For a code that writes memory, it changes nothing. It matters for codes that have to run at one exact moment, and for those the lists use a different master code, B749822B CE9BFAC1: its hook is inside CreateBoxMon, where the game builds every new Pokemon. The wild Pokemon codes write the species and level into that routine's own working memory, so they only work while it runs.

One cheat or two: why the wild Pokemon code fails in mGBA

Several lists say to add the master code as its own cheat, then the Pokemon code as another. In mGBA I tried it both ways with the CodeBreaker Regirock code the lists print:

  • As one cheat (master code and Pokemon line together): every wild Pokemon on Route 102 was a Regirock.
  • As two cheats: nothing changed. mGBA gives each cheat its own master code, so the Pokemon line had none and ran at the end of the frame, long after the game had built the Pokemon. The Regirock code's own list says to enter it this way.

The level code needs the same: in one cheat with its master code, every wild Pokemon was level 100. VBA-M and Delta keep one master code for every cheat (their source code says so), so there it should not matter how you split them; I did not run those two.

Emerald moves your save on purpose

Every time a map loads and every time a battle starts, Emerald copies your save to a new place in memory up to 124 bytes from its home, and changes the key it uses to scramble your money and your bag's item counts. On my cartridge the save started 116 bytes from home, then went to 108, 28 and 72 as I opened and closed the bag.

So a code with a fixed address writes into whatever is there that moment. On my cartridge:

  • the PC Rare Candy code BFF956FA 2F9EC50D turned the Potion in PC slot 1 into a Rare Candy (count 1), wrote into PC slot 12, and wrote into the save's spare copy of the sixth Pokemon;
  • the money code C051CCF6 975E8DA1 never touched the money, and after I saved and loaded, my sixth Pokemon was a Bad Egg;
  • the all TMs code wrote TM numbers into the Key Items pocket.

The builder writes through Emerald's pointer to the save (Action Replay codes can follow a pointer), so its codes land in the right slot wherever the save is. Its money code also pins the save and turns the key off the way the game itself would, then writes the amount; it saved and loaded as 999999.

The Mart codes

82005274 followed by an item number changes the first item in a Mart's buy list. The address is in the game's heap, the scratch memory the shop screen fills when it opens, so it only matters while a buy list is open. In Oldale Town's Mart I bought:

  • with 82005274 0044, a Rare Candy for 4800, under the name POTION;
  • with 82005274 0001, a Master Ball for 0;
  • with the two line Master Ball code most lists print, 958D8046 A7151D70 and 8BB602F7 8CEB681A, a Master Ball for 0 as well. It patches the routine that builds the list.

The name in the list stays the Mart's own; check the picture and the description at the bottom of the screen.

Every code the Emerald lists print, run

As printed, what the lists say, and what each did on my cartridge.

The codes the Emerald lists print, run on my cartridge
CodeLists call itOn my cartridgeWhat it really does
BFF956FA 2F9EC50DAction Replay or GameShark v3Unlimited Rare Candy in PCprinted on 6 sitesWorks, with a catchOne fixed address in a save that moves, so you get a Rare Candy only by luck: it turned the Potion in PC slot 1 into a Rare Candy (count 1), wrote into PC slot 12, and wrote into the save's spare copy of the sixth party Pokemon. When I saved and loaded, all six Pokemon were fine.
128898B6 EDA43037Action Replay or GameShark v3Unlimited Master ball in PCprinted on 3 sitesWorks, with a catchThe same fixed address as the PC Rare Candy code: the Potion in PC slot 1 became a Master Ball, and it wrote into PC slot 12 and the save's spare copy of the sixth Pokemon.
38EBB91D 36FE8458
BCF15887 85F2256A
D643372F 730803DF
72A5B669 1F3DDB04
Action Replay or GameShark v3
x99 Rare Candy in Bag ... The cheat overwrites bag slot 1printed on 1 siteDamages your saveIt follows the game's pointer, so bag slot 1 does get Rare Candies, but it also forces the key to 0 every frame: my money read 4090744526 and then other wrong amounts, and every other bag count was scrambled.
82005274 0044CodeBreakerRare Candy in PokeMart ... You have to purchase the Rare Candy at 4800printed on 4 sitesWorksIn Oldale Town's Mart the first line, still named POTION, sold me a Rare Candy for 4800.
82005274 0001CodeBreakerpurchase the first item in the buy list for only $0, the purchased item is a master ballprinted on 3 sitesWorksThe first line of the Mart's list sold me a Master Ball for 0.
958D8046 A7151D70
8BB602F7 8CEB681A
Action Replay or GameShark v3
Unlimited Master Ball in Pokemartprinted on 6 sitesWorksIt patches the routine that builds the Mart's list: the first line sold me a Master Ball for 0.
7881A409 E2026E0C
8E883EFF 92E9660D
Action Replay or GameShark v3
Walk Through Wallsprinted on 6 sitesWorksI walked through the wall of the moving truck.
B505DB41 6E39EA4EAction Replay or GameShark v3No Random Battlesprinted on 6 sitesWorksIt holds the game's count of steps since the last battle at 0, and no wild Pokemon came in 150 steps of grass.
F3A9A86D 4E2629B4
18452A7D DDE55BCC
Action Replay or GameShark v3
Alternative (Old cheat code)printed on 6 sitesWorks, with a catchEvery wild Pokemon was shiny, every one with the nature Jolly.
A2A4317B 9817FF81
093ECE84 CE99DAF5
9045E027 05EA1143
A6A74710 82BD7E29
Action Replay or GameShark v3
New shiny cheatprinted on 2 sitesWorks, with a catchEvery wild Pokemon was shiny and, whatever its list says about natures, every one was Jolly.
D8BAE4D9 4864DCE5
A86CDBA5 19BA49B3
Action Replay or GameShark v3
Master code (Getting All Starter Pokemon)printed on 7 sitesWorksIts hook is in the routine that reads the buttons: codes entered with it ran every frame, just as they do without it.
B749822B CE9BFAC1
A86CDBA5 19BA49B3
Action Replay or GameShark v3
Mastercode (Add this first) (Wild Pokemon Level Modifier)printed on 5 sitesWorksIts hook is in CreateBoxMon, the routine that builds a new Pokemon, so codes entered with it only run while a Pokemon is being made: standing in a room, they never ran. That is what the wild Pokemon codes need.
83007CF6 0191CodeBreakerRegirockprinted on 2 sitesWorksEntered as one cheat with its CodeBreaker master code: every wild Pokemon was a Regirock, at the grass's level.
B749822B CE9BFAC1
A86CDBA5 19BA49B3
A72AB10A 7F70076E
Action Replay or GameShark v3
For example, if you wanted to encounter Charizard, you'd enterprinted on 1 siteWorksWith its master code in one cheat: every wild Pokemon was a Charizard.
25214170 0AB256A2
95CCF842 A51B89F8
Action Replay or GameShark v3
Wild Pokemon modifier codes for mGBA ... BULBASAURprinted on 1 siteDoes nothingIt is sold as a Bulbasaur code for mGBA. It patches the routine that picks the wild Pokemon, and every wild Pokemon I met with it was a Houndoom.
68770050 678B8139Action Replay or GameShark v368770050 678B8139 = Level 100printed on 4 sitesWorksIn one cheat with its master code: every wild Pokemon was level 100.
D8BAE4D9 4864DCE5
A86CDBA5 19BA49B3
A57E2EDE A5AFF3E4
1C7B3231 B494738C
C051CCF6 975E8DA1
Action Replay or GameShark v3
Infinite Moneyprinted on 4 sitesDamages your saveIts anti-DMA part pins the save, but the key keeps changing, so the 999999 it writes reads as a different wrong number each time: 2239654307, 1813267477, 2742499108. I saved, and the game kept 1813267477.
C051CCF6 975E8DA1Action Replay or GameShark v3With this, you will have infinite moneyprinted on 2 sitesDamages your saveOn its own it never reached the money: it wrote over the save's copies of the fifth and sixth party Pokemon. After I saved and loaded, my sixth Pokemon was a Bad Egg.
C6511EC5 0F15C8E0
4689920D 5CFF6FFE
8631B929 014933DF
10257B84 3365249C
AEA23F29 64EDD481
166577A1 EB80A832
Action Replay or GameShark v3
Here's a code you can use to get any TM or HM in the gameprinted on 3 sitesDamages your saveIt writes a run of TMs to one fixed address. With the save moved, they went into the Key Items pocket, with scrambled counts.
3EF8A5F0 07A0EFBC
AA7C07D3 0D67D1F8
CD080EFC B9010916
65DA389A 09D8882C
Action Replay or GameShark v3
capture any Pokemon even those higher level using any Pokeball without failprinted on 1 siteWorks6 Poke Balls thrown at full health wild Pokemon, 6 caught; without it, 2 in 6. It makes the shake check always pass, the way the game treats a Master Ball.
35A039FD B90C0C5BAction Replay or GameShark v31st Pokemon Max Stats: Max HPprinted on 6 sitesWorks, with a catchOnly one stat: your first Pokemon's maximum HP reads 999, while its HP stays at 230 of 999.

Codes and the Battle Frontier

I did not take codes into the Battle Frontier, so this part is read from the game's code, not run. The Battle Tower's trainers and the Battle Factory's rental Pokemon are made by the same CreateBoxMon routine as wild Pokemon (through CreateMon), so a wild Pokemon or shiny code that is on would change them too. Switch your codes off before you walk into the Frontier.

Is my file Emerald (US)? The builder's codes are for the English Emerald, game code BPEE, version 0, the one I have. Other languages are separate builds with their own addresses.

Is my game file the one these codes are for?

On your device

The page reads 192 bytes from the start of the file, on your phone or computer. Nothing is uploaded or kept.

Your file
Pick a file to see its game and version.

Putting a code in

Every code from the builder is an Action Replay code (the same thing as GameShark v3): lines of two eight character groups with a space between, all of them entered as one cheat. These steps come from each emulator's own documentation or source; the runs on this page were all in mGBA.

mGBA
Tools menu, Cheats. Paste the lines, keep Autodetect, press Add New Code. A wild Pokemon code and its master code have to be in that one cheat (see One cheat or two).
VBA-M
Tools, Cheats, List cheats, Add new cheat, then paste into Codes, with the space in the middle of each line left in.
RetroArch
Quick Menu, Cheats, Add New Cheat to Top, set the Code, switch Enabled on, Apply Changes. Use the mGBA core: gpSP takes plain CodeBreaker codes only.
Delta
Pause, Cheat Codes, +, choose Action Replay, paste. Its core is VBA-M.
My Boy!
The store listing promises GameShark, Action Replay and CodeBreaker codes of several lines; there is no manual, so I could not check the rest.

These codes are for the Emerald you own, on its cartridge or a copy you made of it.

Questions

What is the Rare Candy code for Pokemon Emerald?

The builder's item code: three lines that keep 99 Rare Candies in PC slot 1 wherever the game moves your save. The one the lists print most, BFF956FA 2F9EC50D, writes one fixed address, so it changes whatever item or data sits there.

What does the Emerald master code do?

D8BAE4D9 4864DCE5 and A86CDBA5 19BA49B3 are two things: a hook on the routine that reads the buttons, and a line that names the game. A code that only writes memory works without it. The master code that matters is B749822B CE9BFAC1, which hooks the routine that builds a new Pokemon: the wild Pokemon and level codes need it.

Why does the Emerald wild Pokemon modifier not work?

In mGBA, because the master code went in as its own cheat. mGBA gives every cheat its own master code, so the Pokemon line runs at the wrong moment. Enter the master code and the Pokemon line as one cheat: that way my cartridge met a Regirock in the first patch of grass.

Is there a Master Ball cheat for Emerald?

Yes, several. The builder puts 99 in your PC. In the Mart, 82005274 0001 and the two line code most lists print both made the first item a Master Ball for 0 on my cartridge.

Can Emerald cheats corrupt my save?

Yes. The money code C051CCF6 975E8DA1 on its own turned my sixth Pokemon into a Bad Egg after I saved, and the TM code wrote TMs over my Key Items. Copy your save before you try a list code.

How I checked

Emerald has one English version, and I ran every code marked as run on my own cartridge of it, which matches the fingerprint of the decompiled Emerald exactly. The lab is mGBA 0.10.5 and its cheat engine, driven by a program of mine that loads a save the game made itself, turns the code on, plays (walks in grass, talks to the Mart clerk, saves and loads again) and reads the game's memory. Each run has a twin with no code and the same buttons, so a change is the code's doing.

Where a code points into the game, I looked the address up in the map published with the decompiled Emerald, which names every routine and every variable. That is how this page can say that a master code is a button routine, or that a money code wrote into the save's copy of your sixth Pokemon. No real cheat device was used.

The list codes are as printed on the pages I read on December 2, 2026. Pokemon belongs to Nintendo and Game Freak; Action Replay, GameShark and CodeBreaker to their owners. GardenFlouer is a fan site with no tie to any of them.