Area with required item to enter

Hi, I am trying to make an area in my game that you can only enter if you have a key item. Like you step into doorway and guy tells you that you can't enter without the item. 
Very easy. You should have a look through the event commands and see what they all are.


You can create 3 pages for your door's event - first page will simply say they can't enter. Second page will be conditioned (in conditions above the sprite) by Item X in Inventory. Commands will turn on a self switch, maybe a little dialogue so he says you can go through, and the transfer. Third page will be conditioned by self switch A, and will just have the transfer.


That means you need the item the FIRST time you go through the door, but if you then get rid of the item and come back, it will still let you through and not force you to get the item again.

Original thread: https://forums.rpgmakerweb.com/threads/area-with-required-item-to-enter.22814/