Go to the Pokemon village. then use waterfall in the west side in a small lake. then walk through the Purple flowers and then you can see the TM in a yellow pokeball source