No offense, but why would you bother with a code like that? Wouldn't it take the fun away? I imagine it would be like playing a game of super mario where you automatically find the star. What's the point?
Again, no offense, but if you're going to input codes for beating pokemon (hacking/unlocking pokemon I could understand), why do you play?