Looking for a way to change the sprint speed modifier

Hi folks,

I am looking for a way to toggle the sprinting speed modifier via script call, plugin command, etc.

My game uses a "run" animation when indoors and a "bike" animation when outdoors, and the default movement speed modifier when sprinting is just way too fast for the run, while being perfect for the bike.

Is there some way to toggle the sprint speed modifier? I know how to change movement speed via script call in general, but I would rather not run a parallel event that checks if the player is sprinting or not constantly and changes the movement speed if they are, or anything clunky like that.

Modifying it by a decimal amount is also necessary, as I want them to move at about 1.5x walking speed when running rather than the 2x of the bike.

I am open to any scripting options, as well as any plugin solutions anyone might know of. I did find this plugin for MV which seems to do mostly what I need (allowing changes to just the sprint modifier), but doesn't have commands or script calls to toggle the changes, and isn't compatible with MZ anyways.

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-way-to-change-the-sprint-speed-modifier.172845/