MV RMMV Change movement distance when fleeing in sideview battle

Greetings, I apologize in advance for my ignorance.

This is my question, if during a fight in sideview mode (the one that is by default in mv) you are in a successful escape processing, the actors in the fight will move some distance to the right until they are not visible.

In my project, the screen does not measure the default dimensions of MV (816 x 624), so the actors cannot get out of the screen during this processing (Is that normal?).

I think it is possible, but I want to ask, can the distance that the actors move when escaping be altered? and if it is, how is it done? With what little I know, I think it would be done by modifying the files in the js folder, but I would appreciate if you clarify the doubt. Thanks in advance and again an apology.
Hello, this is the method that set the distance when battler flee from battle:
Code:
Sprite_Actor.prototype.retreat = function() {
    this.startMove(300, 0, 30);
};
300 is the distance in px of the move to the right, so you can change that to any value.
The method can be found in Sprite.js but I strongly suggest not to modify directly the core files but rather copy/paste the method in a plugin, then make the change you want.

Regards.
Hi, I deeply appreciate your help, thank you very much!

If I don't bother you too much, I'd like to learn a little more, please, what do the values 0 and 30 represent? Thanks in advance.
Hello again,

startMove(x, y, duration)

x: horizontal move (negative value for moving left)
y: vertical move (negative for going up)
duration: the duration of the move in frame

startMove(300,0, 30) move the battler 300 px to the right in 30 frames

Hope that help.
Thank you, you have helped me a lot.

An apology for the inconvenience, and thank you very much again!
Moved to: Plugin Requests

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-change-movement-distance-when-fleeing-in-sideview-battle.143673/