HTML Code:
function GraalControl.onKeyDown(keycode) {
if (timevar2 < this.keydash) {
if (player.olddir == player.dir) {
player.movemode = WALKDASH;
}
}
}
function GraalControl.onKeyUp() {
this.keydash = timevar2 + 0.1;
}
With the movement system I am using, it works a charm. Thanks Chompy =D