Story mode and input

Hello,
I'd like to implement a story mode that is enabled when the player uses a set key (for example E). I'm setting up a common event that changes enemies' states so they have less HP, Atk, Def, etc. The problem is, I don't know how to enable the story mode. How do I make it so that when the player types E, there's a prompt offering to lower the difficulty setting?
Thanks for reading.
By default, the entire keyboard isn't available to be mapped. You can map a key with script calls.
Here's a post which you can follow.
https://forums.rpgmakerweb.com/index.php?threads/js-call-for-specific-button-press.85180/
Alternatively, you can use a nifty plugin.
http://www.yanfly.moe/wiki/Button_Common_Events_VisuStella_MZ

Hope this helps!
By default, the entire keyboard isn't available to be mapped. You can map a key with script calls.
Here's a post which you can follow.
https://forums.rpgmakerweb.com/index.php?threads/js-call-for-specific-button-press.85180/
Alternatively, you can use a nifty plugin.
http://www.yanfly.moe/wiki/Button_Common_Events_VisuStella_MZ

Hope this helps!
Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/story-mode-and-input.140504/