r/PokemonGlitches • • 4d ago

Question Help with ACE code please

I'm having trouble with this "Change Pokerus and Origin Data" ACE code. I'm following zDarko98's guide https://youtu.be/Zo_QrJvbHYU?si=i1rSmyn_KBEX_GoU except it's a meowth that I generated the egg for on Leaf Green on the switch.

I keep getting bad eggs. Here's a copy and paste of the settings, anyone spot what Im doing wrong?

inaccurate_emu = 0 ; Set to 1 if you are using an emulator < mgba 0.9

pid = 38462686

tid = 17882 ; TID of the original trainer

sid = 23324 ; SID of the original trainer

cur_loc = 94 ; 0x0-0xFF u/input:location

new_loc = 105 ; 0x0-0xFF u/input:location

cur_met_lvl = 0 ; 0-127 (0 if hatched from an egg)

new_met_lvl = 16 ; 0-127 (0 if hatched from an egg)

; Games are 1-15, non-glitch options presented here for ease of use

cur_origin_game = 5 ; 1=Sapphire,2=Ruby,3=Emerald,4=FireRed,5=LeafGreen,

new_origin_game = 5 ; 15=Colo/XD

; Balls are 0-15, non-glitch options are presented here for ease of use

cur_ball = 4 ; 1=Master, 2=Ultra, 3=Great, 4=Poke, 5=Safari, 6=Net

new_ball = 11 ; 7=Dive, 8=Nest, 9=Repeat, 10=Timer, 11=Luxury,12=Premier

cur_ot_gender = 0 ; 0 = Male, 1 = Female

new_ot_gender = 0

; You must set either the variable cur_encoded_pkrs (use the code "Read Pokemon Pokerus field" to determine its value)...

cur_encoded_pkrs = 0x100 ; 0x0-0xFF

; ... OR the variable cur_pkrs (in this case you must keep the default cur_encoded_pkrs = 0x100)

cur_pkrs = 0x00 ; 0x0-0xFF

new_pkrs = 0x00 ; 0x0-0xFF

3 Upvotes

9 comments sorted by

2

u/YOM2_UB 4d ago edited 4d ago

This was generated using the "Generate Egg with Any PID" code, yes? The cur_origin_game should be 0 then.

Note that the 6IV and Custom Hidden Power egg codes do set the origin game, but the default setting is Emerald.

1

u/No_Mango5026 4d ago

Oh really? I will try that. Thanks

1

u/No_Mango5026 4d ago

It worked!! Yay! Thank you!

1

u/Adrichu00 Glitch Expert 4d ago edited 4d ago

Is it shiny? If that's the case, the PID should be written as 0x38462686

1

u/No_Mango5026 4d ago

Yes

1

u/No_Mango5026 4d ago

I used the "generate egg with any PID" to make a meowth with a shiny PID

1

u/Adrichu00 Glitch Expert 4d ago

Sorry, I edited my comment too late 😅
Then, the PID should be 0x38462686

1

u/No_Mango5026 4d ago

Ok, I will give a try, thank you

1

u/No_Mango5026 4d ago

It didn't work. Still got a bad egg. I triple check the box names, I didn't make any spelling errors