Multiple Conditional Branches

Im making a puzzle adventure game and I have been using the "Select Item" event and its great. I set up a common event so when I press Tab on the keyboard, the inventory pops up (using "Select Item"). This is mainly so the player can check to see what items are in the inventory, as there are many items in my game. So far this has been working perfectly, though now Im running into a problem. I want certain items to be accessible even when not interacting with something on the map. When this is done with only one item (a Hard Hat to be put on/taken off) it works perfectly. Though when I add another item to be used at any point in time (A paper that was picked up. I want it to be able to be viewed at any time) My common event so is set up as such:




then with this directly below it: (Only the first one works)



 
I realize now that the "Select Item" event only works with "Helmet_ID", thus voiding the other events below it. Is there a way to have it work with both?


And, yes I know that there are other ways of doing an inventory system like this, but this seems like the easiest and most reliable (at the moment) way to do it. Plus, with how much I have done of my game, it's too late to change it now.


Thanks
You've completely misunderstood how select item works, if your naming of the variable and your question is any indication.


When using the command "select item", the ID-Number of the selected item is stored in the variable. So the best name for the variable would be "choosenItemID".


And then you simply make a series of conditional branches.


If choosenitemID is 18, then the player has choosen the helmet, and you make the command that should happen then


If choosenitemID is  whatever else, then make the commands that should be placed in that case.


However, you have to take care to place the conditional branches at the same level and NOT inside their branches or their elses - best to disable elses for this sequence.
Yeah, after a bit of fiddling, Ive figured it out. Thankyou. I specifically made a variable for each item, rather than using only one and changing the number every time for organizational reasons. 


Thanks

Original thread: https://forums.rpgmakerweb.com/threads/multiple-conditional-branches.65467/