Boss Strengths determined by Level

So, I and my friends are currently working on a game which, while it has a definite storyline, also allows the player access to pretty much the whole world right off the bat...there will be lots of optional areas to explore, and thus lots of optional bosses to fight. Which brings me to my problem. In order for the game to stay challenging for players, regardless of when they are going through an area, I would like to implement level-based boss strengths.

Basically, I made several "versions" of each boss / special monster, and the goal is for the game to have an event where, before beginning the <battle processing>, the game checks the levels of your current party members, and selects the appropriate boss based on the highest level character present. Please tell me this something that can be done, or that there is already a script out that can help me do this!
if you just want to do it by conditional branch, you can use multiple branches with the condition something like:

$game_party.battle_members.sort {|actor| actor.level }[0].level > 32and keep changing the > number. Just be sure you have the highest level branch on top, or else it'll do the first branch that returns true.
Would I need to do this as a script edit? or can it be done from the monster processing menu?
If I'm not mistaken you use that little snippet in a Conditional Branch's Script Call area.

It's on the last tab in the Conditional Branch event command.
Yea, it goes in the Script... condition on the last page (page 4) of a conditional branch's options. It should be the last one, just put that into the text box and it should work.
Okay, that did it...thanks guys!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/boss-strengths-determined-by-level.15223/