>>44654722You go to a town. It's pretty normal. You can talk to NPC's and some of them give you items and shit. There's a gym.
You enter the gym and battle the leader and win. Gym leader gives you the badge.
When you leave the town, you see your rival who asks what you're doing. Your options are "what do you mean?" and "getting a badge". Your rival points out that the town you just walked out of is abandoned.
If you go back in, there's no people. If you missed the NPC's who would've given you items, they're just in pokeballs on the floor. Check your trainer card and the badge is gone.