(Solved) RPG Maker MV; Common Event Dash Help

Hello! I've got a question regarding the use of common events.

I am trying to make it where when the player dashes (LShift), then the characters picture will change.
I got YEP's Button Common Events which allows me to customize button use, along with a common event set up with a conditional branch of "If Shift is pressed down" The picture changes.
I set that up to be activated with shift through YEP's button plugin as well.

To give my example; my main character is a witch and I wanted to change her dash from just the regular sprite going faster; to her on a broom. I'm not looking for her to able to "fly" anywhere, same speed as regular dashing just a different picture.

Unfortunately I'm new to common events and such; so I may be doing this all completely wrong! Any help would be appreciated!

Here's screenshots of how I have it set at the moment;
does this work? it's clearly only partly complete, but do you have this part here working so far?
Unfortunately not; after setting this up nothing happens when I press or hold shift. I even tried to set a parallel trigger with a switch but nothing seems to be affected.
You shouldn't need the condition in the common event, because it won't be called at all unless that key is pressed.

However, you shouldn't even need a plugin for this. Just have the CE set to parallel process and turn on the conditioning switch at the start of the game.

Code:
Wait 1 Frame
If Button [Shift] is being pressed
  If Switch [Dashing] is OFF
    Control Switches [Dashing] ON
    Change Actor Images [Running]
  End
Else
  If Switch [Dashing] is ON
    Control Switches [Dashing] OFF
    Change Actor Images [Walking]
  End
End

You shouldn't need to change speed, because that happens automatically when you're dashing.

If it doesn't work, make sure you're changing the images on the correct actor.
That works perfectly! Thank you so much for your help Shaz!
I thought I'd need that plugin so this makes everything a lot easier and simple~!
You shouldn't need the condition in the common event, because it won't be called at all unless that key is pressed.

However, you shouldn't even need a plugin for this. Just have the CE set to parallel process and turn on the conditioning switch at the start of the game.

Code:
Wait 1 Frame
If Button [Shift] is being pressed
  If Switch [Dashing] is OFF
    Control Switches [Dashing] ON
    Change Actor Images [Running]
  End
Else
  If Switch [Dashing] is ON
    Control Switches [Dashing] OFF
    Change Actor Images [Walking]
  End
End

You shouldn't need to change speed, because that happens automatically when you're dashing.

If it doesn't work, make sure you're changing the images on the correct actor.

That works perfectly! Thank you so much for your help Shaz!
I thought I'd need that plugin so this makes everything a lot easier and simple~!

This will work fine by default, but as soon as the Player turns Always Dash on (which is pretty much always) or uses a mouse to move, it will no longer work correctly.

If Button [Shift] is being pressed should be replaced with If Script: $gamePlayer.isDashing();
This will work fine by default, but as soon as the Player turns Always Dash on (which is pretty much always) or uses a mouse to move, it will no longer work correctly.

If Button [Shift] is being pressed should be replaced with If Script: $gamePlayer.isDashing();
You can also disable mouse with plugins as i know your game doesn't require one.

Also i know shaz has some coding for it to disable it, somewhere >.> @Shaz
Thread closed z@Ak0i I assume this is what you want due to your editing "(Solved)" into the thread's name. The better way to get a mod's attention is to Report your own post and say something along the lines of "Solved, please close" - this way we are sure to see it and we can close the topic for you. Alternatively, it is perfectly fine to just do nothing and leave the topic open after someone gives you a good answer, if you'd rather (maybe someone else will come along with an alternative solution!).

Original thread: https://forums.rpgmakerweb.com/threads/solved-rpg-maker-mv-common-event-dash-help.131053/