How do move the rock in the way of getting a Dialga?

Moving rocks is typically the field of HM Strength, or perhaps HM Rock Smash.