Hello [mention]Matboksen[/mention]
To be able to use dig,you need to have the Thunder Badge,from Vermillon city. (The third one)
So I guess you need to have the third badge in Johto too.:/
Also,make sure that your Pokémon as enough happiness x)
Goodluck. :3