Disable items on certain maps?

Hello, I was wondering how to block access to some items on certain maps, like, in said map the item is grayed out and the buzzer plays if you try to use it. I have seen that done in rm2003 games so I hope it's possible to do it without the need of a plugin? 😅 but I have no problem if I have to use one! 😀

I'm sorry if anyone already asked this, I have searched about it but the closest thing I found is a script for VX ace

Thanks! 😍
If you don't mind using plugins, you could use Yanfly's Item Requirement plugin to tie the item to a switch. When the player enters the room, turn the switch on and they won't be able to use the item until the switch is off.
If you don't mind using plugins, you could use Yanfly's Item Requirement plugin to tie the item to a switch. When the player enters the room, turn the switch on and they won't be able to use the item until the switch is off.

Oh!!!!! nice, I'll try it, thank you <3

Original thread: https://forums.rpgmakerweb.com/threads/disable-items-on-certain-maps.94682/