Changing default attack mid-game

So here is the run down of what I want to do here.


I use a handful of plugins that involve changing battle systems.


When I change battle system to side view I want the attack to move the camera when the player (Or encounter) attacks.


Problem with this is it carries over to the Front view battles and it ends up looking weird and awkward.


This happens because there is a code in the default attack skill that moves the camera.


This can be fixed pretty quickly with a plugin that changes the default attack mid-game! (I would have a SV one with the code and a FV without it)


(Even a plugin that can bind a default attack to it would be helpful as I could make a dupe class for SV battles)


I would be very grateful for any help or advise on what to do.
If you find some way to make the default attack forgettable please tell me too.
Using Yanfly's Weapon Unleash, put this in the notebox of your actors or classes:

Code:
<Custom Replace Attack>
if ($gameSystem.isSideView()) {
id = 21; // assuming skill #21 is your SV attack, otherwise change that number to the one you use
} else {
id = 0; // assuming skill #0 is your FV attack
}
</Custom Replace Attack>
Using Yanfly's Weapon Unleash, put this in the notebox of your actors or classes:



<Custom Replace Attack>
if ($gameSystem.isSideView()) {
id = 21; // assuming skill #21 is your SV attack, otherwise change that number to the one you use
} else {
id = 0; // assuming skill #0 is your FV attack
}
</Custom Replace Attack>

Cheers!


You helped me out of quite the loophole!

Original thread: https://forums.rpgmakerweb.com/threads/changing-default-attack-mid-game.70315/