>>52211945>>52212102>>52212903Scaling should be done on a 'sector' format.
Where once you enter a new 'sector' of the map the game scales up to match your level, but the previously explored 'sectors' will remain where they were.
If the player does something exploitative like where they run through the entire game not fighting anything at a low level to lock in the scaling and then exceed that level, you can artificially reset the scaling of 'sectors' that are more distant from spawn anyhow as a means of maintaining the level curve.
Gyms should always scale to your level.
It should be done in chunks, so that if you need to overlevel to beat a gym leader its possible, but if you go too far the leader scales up once again.