MV changing movement speed/turning dash on when pressing certain movement keys

hi all! i'm working on a game in mv3d which has a certain perspective that makes moving with up or down look a lot slower. i've scoured a little and tried my own hand too but haven't found anything (i've tried button common events and remapping the dash key too) so i was wondering if some talented individual could brighten up my day by helping out with a simple plugin that'd allow for the ability to dash with button up AND button down too, or to increase movespeed when either is held down also - i have no need for dash button so ideally making it the up or down key would be best i feel but who knows.

ty for reading :]
Does it work if you just change how it checks when it's dashing?

Game_Player.prototype.isDashing = function() {
if ($gamePlayer._direction == 2 || $gamePlayer._direction == 8) {
return true;
} else {
return this._dashing;
}
};

edit: like save that on a notepad as a .js file and add it to your plugin list
yes! it works! thank you so v much!!
Great!

And if you don't want the player to be able to speed sideways, I think you can just put in that else branch: return false;
hey so say I wanted to make it also work for a diagonal system, is there something we'd change about it? since it works flawlessly for a grid based 2 4 6 8 movement system but adding diagonals seems to make it speed up when pressing left/right key after up or down

Original thread: https://forums.rpgmakerweb.com/threads/changing-movement-speed-turning-dash-on-when-pressing-certain-movement-keys.175298/