is there any way to add another item to the in game menu?

I want to create an option that will run an event to tint the screen a color and cause several markers to appear indicating the locations of hidden items and events. I know i can make an item to do this i was just wondering if there was a way to set it as a menu option.
Setting it as a menu option would require a script.


Why don't you just allocate a common event to the item and have the common event run the commands you need? It would have to check that you're on the correct map before doing anything, and have events for the markers conditioned by a switch, and turn the switch on in the common event if you're on the right map. Have the common event use a timer or something to turn the switch off again so the markers don't just stay around.
That was my plan if i ended up going with the item version i just wondered if anyone could help me understand the script i would need to create a menu command for it. I guess i'll just go with the item version.
Adding the command is the easy thing. What would you do with it? The map is not visible while the menu is open, and when you close the menu to view the map, whatever the command did is no longer running. You'd have to make the menu option turn on a switch so a common event would run when you go back to the map. Which is pretty much the same as attaching a common event to an item.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-way-to-add-another-item-to-the-in-game-menu.16929/