Where do you get flash in pokemon ruby?

You will be able to get it in the Granite cave in Dewford, the hiker in there just gives it to you.