The magic flute is a flute obtained by using Apollo's helmet on a specific Goebie as part of the Mod Deg trading sequence. Which Goebie the helmet must be used on varies between players, and different named Goebies appear on every world. A player can find out the name of the Goebie who has the flute by using the helmet on any random Goebie.