Learning Javascript: A complete beginner needs hints

Hello guys!

So I created this thread here: https://forums.rpgmakerweb.com/index.php?threads/token-movement.111944/

Seeing as I didn't get a reply, I figured I would try to do it myself. For some reason programming doesn't get into my skull all that well but I want to try. I'm an artist and the programming part has always stopped me from making the games I want to make so I want to learn it once and for all.

I'd like the more experienced people to give hints or suggestions which I can then follow to find my own answers.

So first of all, if I want to change the way my character moves, which function should I refer to? Perhaps that's not the right nomenclature however, should I say script call? I'm referring to this list here:

https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-script-call-list.46456/

Set movement route maybe? I'm really not sure. If someone could point me in the right direction that'd be really appreciated.

Thank you.
Line 62 and on. 82 seems nice, never tested it though.
Thanks a lot for the reply. Much appreciated.

This is the movement type I am going for:

(at 9:28)

I think maybe 82 would work better.
So since this is for something general in-game for the movement, I should call this script and extend on it in order to get it to move the way I want it to move, am I right?

Original thread: https://forums.rpgmakerweb.com/threads/learning-javascript-a-complete-beginner-needs-hints.112037/