mGBA Forums
Working code not working - Printable Version

+- mGBA Forums (https://forums.mgba.io)
+-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1)
+--- Forum: General (https://forums.mgba.io/forumdisplay.php?fid=3)
+--- Thread: Working code not working (/showthread.php?tid=5857)



Working code not working - vel0city - 04-16-2026

I've modified existing codes for Pokemon Yellow & Crystal to work with 2 romhacks: Yellow Legacy & Crystal Legacy.

These codes allow you to rebattle most trainers by talking to them. But while the code for Yellow Legacy works with mGBA-0.10.5-win64, the code for Crystal Legacy does not.

Maybe the issue is that they are both Game Genie codes where the one for Yellow Legacy is just one line: AF1-5BC-7F4

While the code for Crystal Legacy is multiple lines:
000-0BF
007-131-E62
087-141-C4E

And yes, these both work. I've confirmed this by getting them to work with another emulator (bgb)

So, am I making a mistake in how I'm adding the second code? Seems rather straightforward.

I've added the cheat file as an attachment.

As for the romhack itself, obviously I can't provide a link for the patched rom, so here's where you can get the patches: https://github.com/cRz-Shadows/Pokemon_Crystal_Legacy/releases/tag/V1.3.1


RE: Working code not working - herstomach - 05-14-2026

You’re probably not entering it incorrectly. Since the same codes work in bgb, the issue is more likely tied to how mGBA parses or applies chained codes rather than the code itself. You could try adding each line as a separate cheat entry instead of one grouped entry and see if that changes anything.