I saw your post about being stuck in the 7th gym, it's a known problem that no one's fixed yet. Sorry. The only way to get out of it is to load a previous save or use the walk through walls code (CE2CCCB25D8D815D). If you do use the code, save once you're free and reload the game without it because it will mess up game events if you keep using it. Good luck!