Just beat the third gym. But just as luck would have it, I forgot to heal afterward, and I proceeded to head north. Now I'm close to losing a battle with my female rival
WHEW. That was too close. I would've been massacred if it weren't for Chaobuu and Rollout.