However, while there is a toggleable level scaling system built into boss trainers, it is very limited and could be more fleshed out to fully support this type of adventure map. My suggestion is an option for a trainer's team to be dependent on the number of badges inside a player's badge case.
This feature could be fully configurable with the ability to set eight different teams on a trainer, corresponding to the number of badges a player has. So, if for example, the player went up against one of these trainers with no badges in their case, the opposing team could only have a couple lower leveled Pokemon. But if you fought the trainer with seven badges in your case, the opposing team could consist of a full team of six with high levels. A fully customizable system like this, I believe, would be very helpful for mapmakers such as myself.