Uhm... maybe this helps you, but i'm not sure.
The only game i cheated with (actually, over-cheated) was Chrono Cross. I introduced so many codes, the game started to crash at a certain point, where wouldn't normally crash. I was playing CC with epsxe, so I continued playing it with psxeven, from an imported memory card file in wich i had saved my progress in the game. I continued playing CC with psxeven with no problems, but also with no more cheats.
Or you could just try disabling the cheats by switching to a normal video plugin.
Hope this helps.
EDIT: I assume your main problem is that, as you said, the game is "all messed up" and you can't continue playing it. Other than that, sorry, i don't know the codes you're looking for, but remmenber 2 things:
1) You can add your own cheats or edit the cheat database of emucheater.
2) Google is your friend A little search and you should get those codes.