scene manager call not working?

i was trying to make it so when you pressed 'x' or 'esc' instead of the menu opening it automatically opens the item menu- which worked- but upon opening it, it would close
1589032173218.png

did i somehow mess this up? please let me know!
thanks! :0)
Add Input.update somewhere inside the method call_menu
wow, thank you so much! fixed it right away!

I've moved this thread to Learning RGSSx. Thank you.


@whotfisjojo If your question has been answered, please report your post and ask for it to be closed.

Original thread: https://forums.rpgmakerweb.com/threads/scene-manager-call-not-working.121314/