MV Need a little Help with code and chrono engine

Hello everyone!

So, using chrono mode, when you start a battle, you followers assume a especific formation based on the player position and direction.
But after that, you cant make nothing else (like routes)
i think this is the line code for:

//==============================
// * Set Initial Actors Pos
//==============================
Game_Chrono.prototype.setInitialActorsPositionChrono = function() {
for (var i = 0; i < $gameMap.players().length; i++) {
var character = $gameMap.players();
var ftarget = this.setFirstTarget(character);
if (character.battler().isDead()) {character.battler().setHp(1)};
character.battler()._chrono.index = i;
character._chrono.premapMoveSpeed = character._moveSpeed;
character._chrono.target = ftarget;
character._chrono.premapD = character._direction;
character._chrono.premapX = character._x;
character._chrono.premapY = character._y;
character._stepAnime = true;
if (i > 0) {this.setInitialFollowerPositionChrono(i,character)};
if (character._chrono.posX >= 0) {
character._chrono.nextX = character._chrono.posX
character._chrono.posX = -1;
};;
if (character._chrono.posY >= 0) {
character._chrono.nextY = character._chrono.posY
character._chrono.posY = -1;
};;
character._chrono.orgX = character._x;
character._chrono.orgY = character._y;
character.turnTowardCharacter(character._chrono.target);
};
};

//==============================
// * Set Initial Follower Pos
//==============================
Game_Chrono.prototype.setInitialFollowerPositionChrono = function(index,character) {
if ($gamePlayer.direction() === 2 || $gamePlayer.direction() === 8) {
character._chrono.nextY = $gamePlayer.direction() === 2 ? $gamePlayer._y + 1 : $gamePlayer._y - 1;
if (index === 1) {
character._chrono.nextX = $gamePlayer.direction() === 2 ? $gamePlayer._x - 2 : $gamePlayer._x + 2;
} else if (index === 2) {
character._chrono.nextX = $gamePlayer.direction() === 2 ? $gamePlayer._x + 2 : $gamePlayer._x - 2;
} else if (index === 3) {
character._chrono.nextY = $gamePlayer.direction() === 2 ? $gamePlayer._y - 2 : $gamePlayer._y + 2;
character._chrono.nextX = $gamePlayer._x;
} else {
character._chrono.nextY = $gamePlayer.direction() === 2 ? $gamePlayer._y - index : $gamePlayer._y + index;
character._chrono.nextX = $gamePlayer._x;
};
} else {
character._chrono.nextX = $gamePlayer.direction() === 4 ? $gamePlayer._x - 1 : $gamePlayer._x + 1;
if (index === 1) {
character._chrono.nextY = $gamePlayer.direction() === 4 ? $gamePlayer._y + 2 : $gamePlayer._y - 2;
} else if (index === 2) {
character._chrono.nextY = $gamePlayer.direction() === 4 ? $gamePlayer._y - 2 : $gamePlayer._y + 2;
} else if (index === 3) {
character._chrono.nextX = $gamePlayer.direction() === 4 ? $gamePlayer._x + 2 : $gamePlayer._x - 2;
character._chrono.nextY = $gamePlayer._y;
} else {
character._chrono.nextX = $gamePlayer.direction() === 4 ? $gamePlayer._x + index : $gamePlayer._x - index;
character._chrono.nextY = $gamePlayer._y;
};
};
};

---------------------------------

what i want to know is : can i put this code in a common event inside rpg maker ?
then i could call this common event every time i want and change followers sprites more freely before the battle starts
like: call this common event, then switch follower images (i can even make a custom interaction like the followers draw their weapons and then assume the battle pose) and finally then the battle starts.
and sorry if i wrotte something wrong, im don't speak english very well.

I've moved this thread to Plugin Support. Thank you.

Moved to: Plugin Support
Sure, thanks
Updating: i want more freedom to set things up when the followers go to their positions before the battle begins

Original thread: https://forums.rpgmakerweb.com/threads/need-a-little-help-with-code-and-chrono-engine.132116/