Rotation Battle
This script makes it possible to do rotation battle in Pokémon Essentials.
This script is not compatible with EBS!
To start a battle call the script command
pbRotationBattle(trainerid,trainername,endspeech,trainerparty,canlose,variable)
Those are the same as in pbTrainerBattle without the double battle one.
trainerparty,canlose and variable are optional
You can also start a battle by giving the trainer as attribute(this is probably not that often used but...