Add slide effect to GaryCXJk's Free Movement Script

Hello,

I'm using GaryCXJk's Free Movement Script that allows you to add a pixel movement and collision system, it's very similar to Victor's Pixel Movement Script.
I want to know if it's possible to add a slide effect to the script. Better said: that when the character collides near an edge it slides to the side in order to don't stop the movement. Victor's Pixel Movement Script have it's function but for compatibility reasons I have to use Gary's script.

Here's Free Movement Script (At the bottom of the webpage):
Website: http://area91.multiverseworks.com/blog/rmvxa_script/gameplay/free_movement

 

And here's Pixel Movement Script:

Website: http://victorscripts.wordpress.com/rpg-maker-vx-ace/utility-scripts/pixel-movement/

 

Thanks in advance 🙂
I've moved this thread to RGSSx Script Support (RGSS3 Script Requests is for NEW scripts, not mods to existing scripts). Please be sure to post your threads in the correct forum next time. Thank you.
Little bump
Bump again
Sorry... bump

Original thread: https://forums.rpgmakerweb.com/threads/add-slide-effect-to-garycxjks-free-movement-script.26232/