Gotcha. Ok, then it should be good now. However, the "getDataPageInfo" section of your code is broken. Although, thats only really important if you have the Pokedex Data Page plugin installed.
You can apply as many unique battle rules as you want to a single battle. They will just overwrite each other if they affect the same thing.
Like, applying both the "canRun" and "cannotRun" battle rules will overwrite each other. Applying the "weather" rule to Sun and then applying it again to...
Why do you have two different midbattle script rules set? They will always overwrite each other if that's the case. A battle can only have ONE midbattle script.
Sure. I mean, Necrozma already technically has two different Ultra Burst forms, since Dusk Mane (form 1) and Dawn Wings (form 2) Necrozma each Ultra Burst into their own forms (3 and 4, respectively). The only difference is that forms 3 and 4 are identical, in this case (Ultra Necrozma).
This has nothing to do with DBK. The error doesn't point to any of the plugin scripts. It seems more like an error with some custom edits in your Essentials scripts.
The same way you edit any Pokemon in an event script. Just put that Pokemon object into the temp party array instead of entering a species ID and level.
Oh, I forgot you're trying to jam all of the mechanics in a single fight. Either way, it still seems to work fine for me. This was my test setup:
Trainer: Cool Trainer
Skill Level: 60
Items: Z-Ring, Dynamax Band, Tera Orb
Party:
Ivysaur
Item: Grassium Z
NoDynamax = true
NoTera = true...
The point of implementing Dynamax through midbattle scripting is that you can force Dynamax to occur at any point in battle; outside of the normal gameplay rules of Dynamax.
If you want Dynamax to function like it normally does, except that it is only ever used by a specific Pokemon in the...
The triggers just tell the game when the entered commands should happen. They designate the timing. The command triggers designate the actions to perform.
Trigger keys are basically saying "at this time, perform these actions:", while the command keys are the actions.
What you wrote is...