Where do you get hypnosis in emerald?

Hypnosis is not a TM or and HM. It can only be learnt by levelling up.