Alright so I was thinking about this again, and I tried just making a new save file, which worked. I lost my old save file but it was fine apart from the 2-3 hours I played before the first gym. Anyway, for anyone else with this problem, just make a new save file and that should work. :)