Non-repeatable - Route 111 (From a boy near a Secret Base tree) Repeatable - Slateport City (P 3000; after obtaining TM43 at Route 111)
TM043 - Bulbapedia
Go a little way up from Slateport past the desert. When you find someone standing in front of a tree, talk to him. He will give you secret power.