TylerD007 Posted May 5, 2023 Posted May 5, 2023 (edited) ***EDIT (June 12th, 2023)***: the following codes are outdated!!! Please, check my GitHub repository for updated content. Hi, guys. I've been reverse engineering SoulSilver for the past few days, and I developed a code to force shiny Pokémon battles. Basically, the code advances the RNG until a shiny frame is found. Hence, any Pokémon caught using this method is 100% legit legal* (encounter, nature, pid, ivs and met info match perfectly). TECHNICAL INFORMATION: the code intercepts the normal execution flow right before the first rng call (usually the one that defines the encounter slot) and sends it to address 027c0200, where the main function is stored. The main function advances the rng in a loop, until a shiny pid is found. Then, it extracts the nature from the rng pair that forms the pid. After that, it starts a reverse rng loop, to find the last rng whose extracted nature matches the shiny rng nature. When such rng is found, the code retrieves the normal execution flow. The code does not affect any other data besides the current rng. Because of that, the resulting shiny Pokémon are all 100% legit legal*. For each type of encounter, there is a different set of codes, because the functions that trigger each event are located at different memory addresses and because the algorith used to calculate the PID is different in each case. WARNING: natures that affect the wild pokémon structure, such as Cute Charm, Synchronize and Pressure, require adittional RNG calls, thus, messing with the RNG allignment the codes establish and making them NOT to work. WARNING 2: do not use more than one of the following codes at the same time in any circunstance. As explained, the codes write different instruction routines to the same memory block. Using more than one code may cause crashes and other unexpected behaviours. Grass/dungeon encounters: #ALWAYS SHINY - METHOD K (HG/SS) - GRASS/DUNGEON POKEMON 52247688 0000bd10 0224768c 4801b508 02247690 46c04687 02247694 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 0405f8dd 027c0258 f8daf000 027c025c 21194328 027c0260 e8eef000 027c0264 0e000608 027c0268 f0001c04 027c026c 0405f8d1 027c0270 f0002119 027c0274 0608e8ee 027c0278 42a00e00 027c027c f000d00a 027c0280 4328f8c7 027c0284 f0002119 027c0288 0608e8dc 027c028c 42a00e00 027c0290 e7ead0cb 027c0294 f8bcf000 027c0298 f0002164 027c029c 0608e8da 027c02a0 b0080e00 027c02a4 4a01bcf0 027c02a8 46c04697 027c02ac 0224769c 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Stationary pokémon: Stationary pokemon are all pokemon whose battles are triggered by interaction (Sudowoodo, Electrode in Rocket Hideout, Lugia, Ho-oh, Snorlax, Suicune, the legendary birds, Mewtwo, Groudon, Kyogre, Rayquaza). ALWAYS SHINY - METHOD K (HG/SS) - STATIONARY POKEMON 5224788c bd100e00 02247890 46874800 02247894 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 0405f8dd 027c0258 f8daf000 027c025c 21194328 027c0260 e8eef000 027c0264 0e000608 027c0268 f0001c04 027c026c 0405f8d1 027c0270 f0002119 027c0274 0608e8ee 027c0278 42a00e00 027c027c f000d00a 027c0280 4328f8c7 027c0284 f0002119 027c0288 0608e8dc 027c028c 42a00e00 027c0290 e7ead0cb 027c0294 f8bcf000 027c0298 f8b2f000 027c029c f0002119 027c02a0 0608e8d8 027c02a4 b0080e00 027c02a8 4a01bcf0 027c02ac 46c04697 027c02b0 0224789e 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Method 1 pokémon: Pokémon created after special events (Johto starters, Raikou and Entei in Burned Tower, Latios, Latias, Kanto starters in Oak Lab). ALWAYS SHINY - METHOD 1 (HG/SS) 5206dee4 2800980c 0206dee8 4801d107 0206deec 46c04687 0206def0 027c0200 027c0200 b088b4e0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 682e9d00 027c024c 04009603 027c0250 b0084320 027c0254 4a01bce0 027c0258 46c04697 027c025c 0206def8 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Surfing: #ALWAYS SHINY - METHOD K (HG/SS) - SURFING 5224771c 0000bd08 02247720 4801b508 02247724 46c04687 02247728 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 0405f8dd 027c0258 f8daf000 027c025c 21194328 027c0260 e8eef000 027c0264 0e000608 027c0268 f0001c04 027c026c 0405f8d1 027c0270 f0002119 027c0274 0608e8ee 027c0278 42a00e00 027c027c f000d00a 027c0280 4328f8c7 027c0284 f0002119 027c0288 0608e8dc 027c028c 42a00e00 027c0290 e7ead0cb 027c0294 f8bcf000 027c0298 f8baf000 027c029c f0002164 027c02a0 b008e8d8 027c02a4 4a01bcf0 027c02a8 46c04697 027c02ac 0224772c 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Fishing (Super Rod, Good Rod or Old Rod): #ALWAYS SHINY - METHOD K (HG/SS) - FISHING 52246fbc f8e8f001 02246fc0 48011c04 02246fc4 46c04687 02246fc8 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 0405f8dd 027c0258 f8daf000 027c025c 21194328 027c0260 e8eef000 027c0264 0e000608 027c0268 f0001c04 027c026c 0405f8d1 027c0270 f0002119 027c0274 0608e8ee 027c0278 42a00e00 027c027c f000d00a 027c0280 4328f8c7 027c0284 f0002119 027c0288 0608e8dc 027c028c 42a00e00 027c0290 e7ead0cb 027c0294 f8bcf000 027c0298 f8baf000 027c029c f8b8f000 027c02a0 f0002164 027c02a4 b008e8d6 027c02a8 4a01bcf0 027c02ac 00004697 027c02b0 02246fcc 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Tree pokémon (headbutt): #ALWAYS SHINY - METHOD K (HG/SS) - HEADBUTT 522477bc bd080e00 022477c0 4801b508 022477c4 46c04687 022477c8 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 0405f8dd 027c0258 f8daf000 027c025c 21194328 027c0260 e8eef000 027c0264 0e000608 027c0268 f0001c04 027c026c 0405f8d1 027c0270 f0002119 027c0274 0608e8ee 027c0278 42a00e00 027c027c f000d00a 027c0280 4328f8c7 027c0284 f0002119 027c0288 0608e8dc 027c028c 42a00e00 027c0290 e7ead0cb 027c0294 f8bcf000 027c0298 f8baf000 027c029c f0002164 027c02a0 b008e8d8 027c02a4 4a01bcf0 027c02a8 46c04697 027c02ac 022477cc 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Rock smash: #ALWAYS SHINY - METHOD K (HG/SS) - ROCK SMASH 52247798 bd082004 0224779c 4801b508 022477a0 46c04687 022477a4 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 0405f8dd 027c0258 f8daf000 027c025c 21194328 027c0260 e8eef000 027c0264 0e000608 027c0268 f0001c04 027c026c 0405f8d1 027c0270 f0002119 027c0274 0608e8ee 027c0278 42a00e00 027c027c f000d00a 027c0280 4328f8c7 027c0284 f0002119 027c0288 0608e8dc 027c028c 42a00e00 027c0290 e7ead0cb 027c0294 f8bcf000 027c0298 f8baf000 027c029c f0002164 027c02a0 b008e8d8 027c02a4 4a01bcf0 027c02a8 46c04697 027c02ac 022477a8 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Bug-catching contest: #ALWAYS SHINY - BUG-CATCHING (HG/SS) 52247ee0 fe22f625 02247ee4 468f4900 02247ee8 027c0200 027c0200 b088b4ff 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 f000f8d5 027c0258 2600f8d3 027c025c f0002500 027c0260 291ff8ff 027c0264 3501d100 027c0268 d1002a1f 027c026c 2b1f3501 027c0270 3501d100 027c0274 f8f4f000 027c0278 d100291f 027c027c 2a1f3501 027c0280 3501d100 027c0284 d1002b1f 027c0288 95043501 027c028c f8c0f000 027c0290 f0000405 027c0294 4328f8bd 027c0298 f0002119 027c029c 0608e8d2 027c02a0 1c040e00 027c02a4 f8b4f000 027c02a8 21190405 027c02ac e8d0f000 027c02b0 0e000608 027c02b4 d00a42a0 027c02b8 f8aaf000 027c02bc 21194328 027c02c0 e8bef000 027c02c4 0e000608 027c02c8 d0ae42a0 027c02cc 3601e7ea 027c02d0 2e049d04 027c02d4 2d00da02 027c02d8 e7bfd100 027c02dc d0022e01 027c02e0 d0002d00 027c02e4 f000e7a1 027c02e8 f000f893 027c02ec f000f891 027c02f0 b008f88f 027c02f4 2104bcff 027c02f8 f806f000 027c02fc 48011c04 027c0300 46c04687 027c0304 02247eec 027c0308 46974a00 027c030c 02259b50 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 Safari Zone (grass, surfing and fishing): #ALWAYS SHINY -SAFARI ZONE - GRASS, SURFING AND FISHING (HG/SS) 52247e50 d1062800 02247e54 46874800 02247e58 027c0200 027c0200 b088b4f0 027c0204 90004801 027c0208 e0034801 027c020c 021d15a8 027c0210 02111880 027c0214 30846800 027c0218 04016800 027c021c 0c000c09 027c0220 91029001 027c0224 68019800 027c0228 9d019103 027c022c 98009e02 027c0230 60019903 027c0234 1c040c08 027c0238 f8e2f000 027c023c 40611c01 027c0240 40714069 027c0244 daf62908 027c0248 68019800 027c024c f0009103 027c0250 f000f8d7 027c0254 f000f8d5 027c0258 2600f8d3 027c025c f0002500 027c0260 291ff8ff 027c0264 3501d100 027c0268 d1002a1f 027c026c 2b1f3501 027c0270 3501d100 027c0274 f8f4f000 027c0278 d100291f 027c027c 2a1f3501 027c0280 3501d100 027c0284 d1002b1f 027c0288 95043501 027c028c f8c0f000 027c0290 f0000405 027c0294 4328f8bd 027c0298 f0002119 027c029c 0608e8d2 027c02a0 1c040e00 027c02a4 f8b4f000 027c02a8 21190405 027c02ac e8d0f000 027c02b0 0e000608 027c02b4 d00a42a0 027c02b8 f8aaf000 027c02bc 21194328 027c02c0 e8bef000 027c02c4 0e000608 027c02c8 d0ae42a0 027c02cc 3601e7ea 027c02d0 2e049d04 027c02d4 2d00da02 027c02d8 e7bfd100 027c02dc d0022e01 027c02e0 d0002d00 027c02e4 f000e7a1 027c02e8 46c0f893 027c02ec 210a46c0 027c02f0 e8aef000 027c02f4 bcf0b008 027c02f8 46974a00 027c02fc 02247e5e 027c0400 46bf4f00 027c0404 0201fd44 027c0410 48064905 027c0414 1c13684a 027c0418 48054343 027c041c 604818c0 027c0420 04000c00 027c0424 47700c00 027c0428 021d15a4 027c042c eeb9eb65 027c0430 0a3561a1 027c0440 e59f7000 027c0444 e1a0f007 027c0448 020f2ba4 027c0450 e59f7000 027c0454 e1a0f007 027c0458 020f2998 027c0460 f7ffb500 027c0464 211fffd5 027c0468 223e4001 027c046c 40020112 027c0470 231f0952 027c0474 4003029b 027c0478 bd000a9b d0000000 00000000 *Mod Edit: Pokémon obtained using cheat codes are legal at best, not legitimate. See the terminology used by the community here: https://bulbapedia.bulbagarden.net/wiki/Appendix:Fan_terminology#Legitimate - Atrius Edited June 12, 2023 by TylerD007
theSLAYER Posted May 5, 2023 Posted May 5, 2023 Cool, so your code creates legal shinies, that is fun! given it’s before the encounter slot, wonder if it affects encounter rates.
ch_finfin Posted October 23, 2023 Posted October 23, 2023 Hi my game freeze when using the updated codes, do I need to activate the codes after inserting them? If so what buttons should I press?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now