How do you find Azure Flute in Pokemon Pearl with the action replay?

You can only get it in mystery events wich is hard trust me I did it. I think the only way to get the Azure flute is by doing mystery events I did it it's very very hard without cheating or Hacking