Condition Branch: Items (not working)

I'm not sure what I'm doing wrong. I have an event set up that will check if you have an item in your inventory, activate a self switch, and run a common event that will have a list of items. I was having issues with the common event, so I added a condition switch to let me know if switches are on (if Self Switch A = On, Show Text: "A"), but that was showing that they weren't turning on. I initially had the command to check for the book in the common event and moved it to map event, but it was still acting as if I didn't have the book, despite having the book. I thought maybe it was because it was hidden, but it reacted the same when I switched the item.

I moved it to a different map to see if I could figure out what's the issue. That's why the book carrier is a dog lol

(the only one that activates the switches is A, but it stops you from accessing the menu)

EDIT: Found the issue. I had nested the 2, 3, and 4 inside each 1, so that was why it wasn't calling anything but the first. This was also the issue I was having with the common event.
What's on the first page of that event?

Is the switch that conditions the second page turned on?

Is the player facing up when interacting with the event?

Does the player have all 4 books?

With your common event, was it being called via a Common Event command, or were you turning on a switch and running it as a parallel process common event triggered by the switch? Common events will only use self switches when called via the Common Event command, not when they're triggered by a switch with a parallel or autorun setting.

What is meant to happen when the self switches turn on? I can see where it does the checks and turns on the self switches, but what do the self switches do?

It could be a whole lot of things causing your issues, but because you've moved things to a different map and we're not seeing the original event or common event, it's hard to know what's meant to be happening or where it might be going wrong.
The first page is just "Here are books" so that you can't take books before you're asked to.

The switch is on and the player's facing up.

They don't need all four books. It should check for every single book and just move to the next if I do not have the book. That's the intent, at least.

I'm running the event within the event itself. When it says "Common Event GENRE123," that's it running it. I can acquire books this way, but 2~4 are acting as if i don't have the book (as in, I can take multiple copies and it won't turn on the switches) and 1 isn't running the common event I think? (edit, no it's running the common event)

When the self switch turns on, it should hop to an option without that option. So, instead of 1; 2; 3; 4, it should show 1; 2; 3. I think I may have done something wrong in the common event, but it isn't even registering the books for 2, 3, and 4 and I'm not sure why.

EDIT: I figured it out. They were inside each other. 😅
Thank you for your help.
Yes, because you have the conditions nested, each one will only be checked if the previous one is true.
Yes, because you have the conditions nested, each one will only be checked if the previous one is true.
Yup, I forgot I nested them and was confused on why it was working. I figured it out when I clicked on the first one and it highlighted all of them. I thought they just looked like that when you add more conditions. 😅 I should probably think of another way to signify a group.
Alternatively, Conditional Branch + plugin by mjshi adds possible ways to check for items.

https://raw.githubusercontent.com/mjshi/RPGMakerRepo/master/ConditionalBranch+/ConditionalBranch+.js

On a conditional branch, go to the fourth tab and select the "Script" option.
Type in desired thing to check. See below... if you're using this plugin.

Code:
 * ==============================================================================
 *  Possible Checks
 * ------------------------------------------------------------------------------
 *    Items
 * ------------------------------------------------------------------------------
 * Check.has(*items)
 * -- EX: Check.has(1, 3, 4)
 * -- checks if player has items 1, 3, and 4 in inventory.
 *
 * Check.has_more(*items, number)
 * -- EX: Check.has_more(1, 2, 3, 4, 5)
 * -- checks if player has at least five (includes 5) of items 1, 2, 3, 4.
 *
 * Check.has_less(*items, number)
 * -- EX: Check.has_less(1, 2, 3, 4, 5)
 * -- checks if player has at most five (includes 5) of items 1, 2, 3, 4.
 *
 * Check.has_any(*items)
 * -- EX: Check.has_any(1, 3, 4)
 * -- checks if player has either item 1, 3, or 4 in inventory.
 *
 * Check.each_more(*[item, number])
 * -- EX: Check.each_more([1, 2], [2, 4])
 * -- checks if there are at least 2 of item 1 and at least 4 of item 2.
 *
 * Check.each_less(*[item, number])
 * -- EX: Check.each_less([1, 2], [2, 4])
 * -- checks if there are at most 2 of item 1 and at most 4 of item 2.

Original thread: https://forums.rpgmakerweb.com/threads/condition-branch-items-not-working.121973/