Boots of Dashing?

Hello! So I have a problem. I am trying to give the players a "boots of dashing" (or something like that) item. Is there a way to globally disable dashing (even just by disallowing it with the map options on a per map basis) EXCEPT when they are wearing the boots?

The best I could come up with is something like a parallel process common event that increases movement speed if shift is being pressed AND the item is worn (ala conditional branches). It's really a hacky way to do it.

Any thoughts?
You can edit line 139 of Game_Player to do a check for a switch.

Then turn on said switch when the item is equipped via Common Events.
If possible, i would never directly edit the base scripts provided with the maker. Makes it much harder to revert your changes later on.

try adding this script under Materials, above Main:

class Game_Player < Game_Character    alias 😮riginal_dash? :dash?    def dash?        original_dash? && $game_actors[1].armors.select{|a| a.id == 5}.any?    endend
This disables dashing as long as the actor with id 1 isn't wearing the armor with id 5.
If possible, i would never directly edit the base scripts provided with the maker. Makes it much harder to revert your changes later on.

try adding this script under Materials, above Main:

class Game_Player < Game_Character    alias 😮riginal_dash? :dash?    def dash?        original_dash? && $game_actors[1].armors.select{|a| a.id == 5}.any?    endendThis disables dashing as long as the actor with id 1 isn't wearing the armor with id 5.

Oh man, you are awesome. Let me test that out. I'll edit this comment if it works.

Edit: It totally works and you are my savior. Thank you SO much!

Original thread: https://forums.rpgmakerweb.com/threads/boots-of-dashing.39381/