how to get custom character movement to work?

Hey guys,

Im currently having an issue: Im basically trying to create a way for my player to walk diagonally, but when i give the set movement order - it also makes the player move regulary on top of it.
Basically what i want is to freeze the players regular movement while im the custom movement state that ive created. Ive tried making it an autorun, but when I use that way i cant interact with events. And ive tried putting a regular set move command with no orders on repeat after every move - which prevents the player from moving, but also makes the intended movement extremely jaggy.
Also id really prefer to not use plugin solutions, as id like to keep in control of my own project as much as possible. And want to know whats going on.
This is how the movement order looks:

Code:
◆If:Script:Input.isPressed("down") && Input.isPressed("left") && ![99].contains($gameMap.regionId($gamePlayer.x-1, $gamePlayer.y+1))
  ◆Set Movement Route:Player (Wait)
  :                  :◇Move Lower Left
  ◆
:Else
  ◆If:Script:Input.isPressed("right") && Input.isPressed("down") && ![99].contains($gameMap.regionId($gamePlayer.x+1, $gamePlayer.y+1))
    ◆Set Movement Route:Player (Wait)
    :                  :◇Move Lower Right
    ◆
  :Else
    ◆If:Script:Input.isPressed("left") && Input.isPressed("up") && ![99].contains($gameMap.regionId($gamePlayer.x-1, $gamePlayer.y-1))
      ◆Set Movement Route:Player (Wait)
      :                  :◇Move Upper Left
      ◆
    :Else
      ◆If:Script:Input.isPressed("up") && Input.isPressed("right") && ![99].contains($gameMap.regionId($gamePlayer.x+1, $gamePlayer.y-1))
        ◆Set Movement Route:Player (Wait)
        :                  :◇Move Upper Right
        ◆
      :Else
        ◆If:Script:Input.isPressed("down") && ![99].contains($gameMap.regionId($gamePlayer.x, $gamePlayer.y+1))
          ◆Set Movement Route:Player (Wait)
          :                  :◇Move Down
          ◆
        :Else
          ◆If:Script:Input.isPressed("left") && ![99].contains($gameMap.regionId($gamePlayer.x-1, $gamePlayer.y))
            ◆Set Movement Route:Player (Wait)
            :                  :◇Move Left
            ◆
          :Else
            ◆If:Script:Input.isPressed("right") && ![99].contains($gameMap.regionId($gamePlayer.x+1, $gamePlayer.y))
              ◆Set Movement Route:Player (Wait)
              :                  :◇Move Right
              ◆
            :Else
              ◆If:Script:Input.isPressed("up") && ![99].contains($gameMap.regionId($gamePlayer.x, $gamePlayer.y-1))
                ◆Set Movement Route:Player (Wait)
                :                  :◇Move Up
                ◆
              :Else
                ◆Wait:3 frames
                ◆
              :End
              ◆
            :End
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
You would either need to add a script/plugin that disables normal movement when you have this event (common event?) enabled, or a script/plugin that does 8-directional movement that you can modify to add the region check.
hmm, thats a shame... Still id prefer not to use plugins in this case, so i guess ill just stick to 4 direction movement. Thanks for the reply.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-custom-character-movement-to-work.85677/