• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Rotation Battle

Rotation Battle 1.3

Pokémon Essentials Version
v17.2 ➖
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
Code:
Expand Collapse Copy
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 I needed it for Battle Island). The script command is:
Code:
Expand Collapse Copy
pbRotationBattleTrainer(trainer,endspeech,canlose,variable)
trainer is the trainer array the rest is as above.

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:
RotationBattle_AI.txt
RotationBattle_Battle.txt
RotationBattle_Battler.txt
RotationBattle_Move.txt
RotationBattle_Scene.txt
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.




V 1.1:
changed sripts: RotationBattle_Battle, RotationBattle_Scene
-fixed an issue, when reporting that a trainer is either not defined or the wrong arguments where given.
-support calling Pokémon
-support normal enemy base naming unsing emenybaseRotation instead of enemybase

V 1.2:
changed scripts: RotationBattle_Move
-fixed an issue that occurs when heal bell or aromatherapy are used outside of rotation battles

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.
Credits
A lot if this code is copied and altered from Pokémon Essentials.

I started to code this script based on the gen 6 project.

Credit for franchise goes to Nintendo, Game Freak and The Pokémon Company.

Special thanks to @Marin for helping me out several times on the #help chat on Relic Discord server.
  • Like
Reactions: PurpleAladdin
Author
aiyinsi
Downloads
1,502
Views
3,142
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from aiyinsi

Latest updates

  1. V1.3

    17.2: Changed Scripts: RotationBattle_Battle, RotationBattle_Scene -fixed an issue with old...
  2. V1.2

    changed scripts: RotationBattle_Move -fixed an issue that occurs when heal bell or aromatherapy...
  3. bugfixes; calling Pokemon; enemy Base

    V 1.1: changed sripts: RotationBattle_Battle, RotationBattle_Scene -fixed an issue, when...
Back
Top