They went from all over Japan, and if they had spoken their local dialects, communication would have been nearly impossible. Standard Japanese became a requirement, and I have heard it said that people in Hokkaido speak it better than those in Tokyo.