It's possible you might be thinking of a different location or a different game, or perhaps a fan-made story.
Here's what you do to deal with Team Rocket in Goldenrod City:
1. Go to the Radio Tower: This is where Team Rocket has set up their base.
2. Battle your way up: You'll encounter multiple Team Rocket Grunts on each floor.
3. Face the leader: At the top of the tower, you'll face off against the leader of the Team Rocket operation.
4. Save the Pokemon: After defeating the leader, you will save the Pokemon they were trying to steal.
Let me know if you have any other questions about the game!