Opening Key Item window when pressing ESC (instead of the normal menu)

If some awesome scripter could maybe put together something that would replace the normal menu that appears when pressing escape with the Key item function I'd be really happy! Or if it already exsist, could someone please provide a link?
So basically instead of opening the party menu, you want it to open the key item window (doesn't matter which button they use)
Exactly!  👍
class Scene_Map < Scene_Base def call_menu Sound.play_ok $game_message.item_choice_variable_id = 5 @menu_calling = false endendPlace this below the default scripts.Replace the number 5 with the ID of the variable you want to use to store the used item's ID.

Every time you use an item with this, it's ID will be saved to the assigned variable (in this case it's variable 5), so in case you need to use that, it is easily accessed.
Thank you so much, man! 
I'll make sure to credit you.

Original thread: https://forums.rpgmakerweb.com/threads/opening-key-item-window-when-pressing-esc-instead-of-the-normal-menu.42705/