- Pokémon Essentials Version:
- v17.2 ✅
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
Those are the same as in pbTrainerBattle without the double battle one.Code:pbRotationBattle(trainerid,trainername,endspeech,trainerparty,canlose,variable)
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 I needed it for Battle Island). The script command is:
trainer is the trainer array the rest is as above.Code:pbRotationBattleTrainer(trainer,endspeech,canlose,variable)
If you don't like the placement of opponents the Pokémon you'll need to alter the constants at the top of the RotationBattle_Scene script.
There are 2 different downloads. One is for Essentials Version 16.2 and the other one is for Essentials Version 17.2.
Each one contains the following contents:
Graphics folder with rotateRight,rotateLeft,enemybaseRotation
You'll need to manually copy these scripts into your game beneath Compiler and above Main. Not installing all of these may cause errors or bugs. The order doesn't matter.
You also need to put the Graphics folder into your game. If you just copy the whole folder to your main folder and merge the two Graphics folders everything will be in place.
The enemy base right now looks pretty crappy ... I would be glad if anyone would submit a better one. You're gonna be credited of course.
If you find any bugs please let me know down in the discussion thread. Also if you have any questions or suggestions I'd be glad to hear them.