You get the flute in the Pokemon tower after you get the silph scope.
You cannot get the Yellow Flute in Pokemon Platinum. The only Flutes that are obtainable in Pokemon Platinum are the White and Black Flutes.
Blue Flute- Awakens Pokemon Red Flute- Gets rid of infatuation Yellow Flute- Clears confusion Black Flute- Repels wild Pokemon White Flute- Attracts wild Pokemon And that's it.
you need 1600 coins and exchange your coins on prize exchange
using it in battle heals your pokemon from confusion.
Get the flute
use the poke-flute to move them
You can find the Poke Flute in the Pokemon Tower. After you free Mr. Fuji, he will give you the Poke Flute.
Ah, the Yellow Flute in Pokemon FireRed is a wonderful item that can be used to cure a Pokemon of the confusion status condition. Just like a gentle brushstroke on a canvas, the Yellow Flute helps your Pokemon feel better and more focused during battles. Remember, caring for your Pokemon's well-being is just as important as their training and battles.
game corner
hollow cave
It cures confusion while in battle but you have to use it first to do that *Note* The yellow flute can be used infinite times.