A Gym is a structure that spawns near towns. Gyms have an assortment of NPC Trainers inside of them, each specializing in a certain type that the Gym corresponds to. At the end of each Gym is a Gym Leader, an NPC Trainer who is more difficult to defeat than the other NPC Trainers.
The NPC Trainers inside a Gym vary in level. For the first four Gyms to spawn in a world, they will follow the level progression below.
From the fifth Gym onwards, NPC Trainers will be set to "Equal" level, and will use Pokémon that are the same level as the highest-level Pokémon in the player's party.
- "spawnGyms": Whether Gyms will spawn naturally.