I have an enemy sprite that clashes with the battleback I'm currently using, but it doesn't appear until halfway through the battle. I tried to change the Battleback via battle event (I want to keep the old battleback for the first half of the battle), but it doesn't change the battleback of the battle already in progress.
Is there a way around this, or do I have to script it?
It has to be scripted.
You would need to make @back1_sprite and @back2_sprite attr_accessors of Spriteset_Battle, and @spriteset an attr_reader of Scene_Battle (or maybe an attr_accessor).
Then via a Call Script event, you'd do this:
$scene.spriteset.back1_sprite.bitmap = Cache.battleback1(newname)
$scene.spriteset.back2_sprite.bitmap = Cache.battleback2(newname)
I haven't tested this, so it might need a bit of tweaking.
you can take a look at yanfly's field states at how it manages changing battleback mid-battle
I cant get that dropbox script to load for some reason today. Could you post that script please.