So, just for fun, I decide to use the Universal Pokemon Randomizer on a ROM of Pokemon Emerald. Everything's going fine until Wally tries to catch a Ralts, it KOs his Pokemon and makes the game bug out. I can't flee, I can't send in a new Pokemon (it comes out as a BAD EGG), so I'm stuck.
I don't want to risk messing up the game's progression with the Walk Through Walls cheat, so I'm considering one of two options:
-Edit Ralts' movelist to not have Earthquake. I have no idea how to do this, so I'll need assistance or a tutorial on move editing.
-Using an AR code to give Zigzagoon Infinite HP. I tried checking GameFAQs, Supercheats and similar sites, but haven't found such a code.
If anyone can help me solve this problem, I'd really appreciate it.