Lol, no it is not.
First of all make a Parrallel Process event.
Then put a Label 1.
Next, create a Cycle.
Inside that cycle put an Enter Password event for the Enter key - uncheck Wait.
Then put a Fork Condition in, checking if the variable is equal to 5 (or the value you checked for).
If so, make the hero get faster (Move Speed Up) - only by one, otherwise it looks weird.
You can also add a change graphic event.
Still in the Fork Condition, put a Goto Label 2 event.
Now, have a Label 2.
Then create another Cycle.
Put an identical Enter Password event as before.
Using a Forck Condition, check if the variable is NOT equal to 5 (a.k.a equal to 0)).
If that is true, make the hero slow down (and change graphic back if you done this earlier).
Then have it go back to Label 1.
Basically it looks like this: (not exactly like this, I'm writing it off my head)
Label 1
CYCLE
Enter Password [0001:Sprinting]
IF [0001:Sprinting]=5
Move event (hero): [Move speed up, change graphic]
Move all <<-- This is quite important, the game can sometimes look weird without it!!
Goto Label 2
END
END CYCLE
Label 2
CYCLE
Enter Password [0001:Sprinting]
IF [0001:Sprinting]=0
Move event (hero): [Move speed down, change graphic]
Move all
Goto Label 1
END
END CYCLE
Oh.
Don't forget somebody to put a [Resolved] tag on this.
That is, if my solution resolves this problem.
I hope it helped you out.
A warning though: this can lag the game if there are a lot of events in one map.
Also, you should probably only have this going if a switch is on, which you can control during the game.
Otherwise, the hero may be running around during a cutscene if the player is holding down ENTER.
Then everything will be out of time and weird.
~kid27, out.