Defeat Ripto then press LEFT and RIGHT until you hear a click. When Sparkster is near a gem he will point to it.
Go to the start screen and press LEFT, RIGHT, LEFT, RIGHT, RIGHT, RIGHT, UP, DOWN, B. A chime will indicate correct code entry.
You all know how annoying it is that you can't get past those two gates without the right type of breath, but I accidently found out how to get past them without the right type of breath, all you have to do is hold down the B button while on one part of the gate (If you bounce back that's a good sign that you're in the wrong spot). I hope you enjoy this cheat, the only benefit it gives you is more treasure. Or if you don't want to do this spend time finding the correct breath.