Three ways to achieve this :
1°) The shoes are items, like the bike in pokemon : Just make the item useable and triggers a common event that enables/disables dashing. There's a lot of plugins that can do that
2°) The shoes are passive key items : No need to enter the menu, once you get the shoes, you permanently get the ability to dash (Like the actual sport shoes in pokemon), just activate the dashing with the plugin command in the event where you get the shoes.
3°)The shoes are accessory / equipment : This one is a bit tricky, and yea you should do as Martin says : a common event that checks if the boots are equipped. But don't fiddle with move speed like that as it can quickly be buggy. Instead, always use a dash toggle plugin. Then your common event looks like this :
Code:
> if running shoes is equipped
> > if Switch : Running shoes is OFF
> >> Turn switch : Running shoes ON // This prevents the common event spamming plugins commands
> > >Plugin command : Toggle Dash ON
> else
> > if Switch : Running shoes is ON
> > > Turn switch : Running shoes OFF // same reason
> > > Plugin command : Toggle Dash OFF
> end
> wait 3 frames
Some Dash Toggle plugins :
YEP's Dash Toggle :
http://www.yanfly.moe/wiki/Dash_Toggle_(YEP)
GALV's Disable Dash :
https://galvs-scripts.com/2016/05/24/mv-disable-dash/
HIME's Disable Dash :
http://himeworks.com/2016/01/disable-dashing/
Pick the one that suits you better
