In banjo kazooie how do you access the cheat area?

In Treasure Trove Cove, when on the upper area right in front of the World Entry, move towards the sand castle that is under water. You will find a bucket named Leaky. Use your Down C move to fart eggs out into the bucket. The water level will go down and you can go into the castle to use the cheats.