[RPG MZ] Disable Dash (Toggle)

Is there a way to disable this?

So I can activate or deactivate when I want, using a script or a plugin command
(That when you are pressing shift the character does not run. Of course it is disabled)
When you make a map you can disable dashing for that map or if you want to disable it dynamically you'll need a plugin as the script call to disable dashing resets on map load or loading a save game.
This was for MV but should work for MZ
Thread

Original thread: https://forums.rpgmakerweb.com/threads/rpg-mz-disable-dash-toggle.169026/