Someone tell me the name of this game!

OK, I played this game on Snes when I was little. It was an RPG ofcourse and I can’t remember what it was called. You had a flute as a weapon but as you progressed you could go into these shrines where you could choose a different embodiment such as this guy with a sword & this Fire ball guy. If anyone can tell me the name of this game I’d be ever so grateful!

WAIT, never mind. Remove this post, I just found out the Game was Illusion of Gaia.