You don't need any ruby knowledge here. You just chose a number in the first line of the script (it's 34 by default) then you can change the corresponding variable in the rpgmaker editor.
So for example if you want the move tutor to upgrade after gym 3, you change the value of variable 34 after...
It requires to make an exception for those moves in the mbd version of pbSwitchInBetween. If someone has a clean solution, I would be happy to hear it, else, I will find a crappy one
Bumping the thread! In addition to the post, if someone is interested in making their own boss level, I'm open to the idea. There is plenty of room for alternate/optional boss battles.
The problem is that some species have 1 million cosmetic or specific forms so it could become weird. But nothing prevents you from editing the generated pokemon. I'm personaly using a pbrandomform function that I call after generating the pokemon. It's not perfect but at least they can appear...