I just interacted with the machine and the game froze.All the other times it was working okay,but after I flew to Celadon City and bought Max Elixirs,I came back for the Training Sim and the game froze right there.
Yeah, that's bizarre. I'm sorry to say this but I've got no explanation for this. I hope you didn't lose too much of your progress...