Restrict specific item use based on switch

I'm trying to make it so that the player can only use certain items outside of battle when one of the game's switches is set to "yes." I found a script that seemed promising from Hime, but it seems to only work with item usage in battle, and I need it for outside battle.
Not exactly what your looking for but something like this could work.

Note: Remove 'Conditional Branch: is Appeared' and 'Jump' if you want 'Occasion' to be 'Only from the Menu' and not 'Always'.
Hm. I guess this would work as long as I don't run out of common events, but I worry that I'll have too many items for that. I'm already using common events to create my games non-combat battle system.

Original thread: https://forums.rpgmakerweb.com/threads/restrict-specific-item-use-based-on-switch.170428/