Thanks for the info, Naveed. Unfortunately even after importing it as a plugin, changing it in the core file, and in the Yanfly core engine plugin my dude still slides back like a champ :/
At this point I'm not sure what's overriding my changes. Here's the section from the Yanfly core engine btw (Under the Sprite Actor section):
Sprite_Actor.prototype.retreat = function() {
this.startMove(1200, 0, 120);
};
As you can see it defaults to higher values on x and duration than the core file. I switched these to 0 without any luck but I also tried simply switching them to smaller values to see if there was a change but there wasn't.
To be honest I'd like to remove the escape function entirely. Shaz posted a script for this which works, and the Yanfly core engine allows you to skip the party command menu but you can still back click to it (it'll just have the fight option at that point). I wish I could remove the party command menu entirely and just be done with it lol :/