pbBalancedLevel exists for balancing Pokémon, but what I'm looking for is a way to balance them based on the player's top level Pokémon. Does a way to do this already exist in the scripts? I tried looking into the Battle Frontier/Tower stuff, but the lack of documentation put me off.