Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
in the game I am making, there is a locked door, and you need a sacred key to open it. How do I make sure the player does not get through the locked door without the key.
If you don't want a branch you could also make the last page of the event be the only one that lets you go through the door, and have then check the item box and select the item.
or use a switch. When you pick it up it activates the switch then when you go through the door it activates another switch that permanently keeps the door unlocked and will get rid of the key in your inventory. But like I said nahchito's seems cleaner