Issue with choices

So I have a string of choices in my cooking system event, each allowing you to choose an ingredient for up to 3 ingredients total. After you choose the first ingredient, you can choose "I don't need anything else" to signify that you only need that one. (This works for two ingredients as well). When all ingredients have been chosen, Self Switch A is activated and the actual cooking happens on the next event page.
The issue here is that when I select "I don't need anything else," it still prompts you to choose more ingredients. I just want it to skip to the next event page without showing more choices, but even though it switches Self Switch A to ON, it still keeps doing it. How can I solve this issue?

Here's the section of the event where the issue lies, by the way.
J247Vxo.png
we can't help because your screenshot is incomplete - at minimum we need to see the entire show choices including the part you have problems with (you only have the first option in the screenshot.

additionally please keep in mind that the event is more than just the content - for this specific question it doesn't matter, but in a lot of cases we would need the event properties as well.
Well, without seeing the part where you activate the 'I don't need anything else' option it's hard to tell what's wrong. Though there could be an issue with your select item as it's setting the 'ingredient 2' variable, since your conditional branches there are checking the 'ingredient 1' variable.
Well, without seeing the part where you activate the 'I don't need anything else' option it's hard to tell what's wrong. Though there could be an issue with your select item as it's setting the 'ingredient 2' variable, since your conditional branches there are checking the 'ingredient 1' variable.
we can't help because your screenshot is incomplete - at minimum we need to see the entire show choices including the part you have problems with (you only have the first option in the screenshot.

additionally please keep in mind that the event is more than just the content - for this specific question it doesn't matter, but in a lot of cases we would need the event properties as well.
Ahh so sorry for the confusion! Here's all of the event.
oddPszd.png

hSJC2zn.png

phBB6xN.png

ewNFlam.png

This should be everything. (Event page 2 is empty right now aside from a dummy text box and a self switch A condition)
Also please ignore the crow, I'm using it as a placeholder until I have a proper sprite for it!


Small edit: I fixed the issue with the Variable 1 that hiddenone pointed out, but it didn't seem to affect the issue.
Can you show us the event's page 2 as well? If it's set to the action button trigger then it won't automatically run, and if I remember right an event page will continue to run even if you turn on a self switch which would be why the event would keep going.
Can you show us the event's page 2 as well? If it's set to the action button trigger then it won't automatically run, and if I remember right an event page will continue to run even if you turn on a self switch which would be why the event would keep going.
snkCab3.png

Yaya sure! Here it is. I have it set to turn the self switch off once the text is done since it gets caught in an infinite text loop otherwise.
your main problem on the first page is that you have multiple labels with the same name "Pick" - I really doubt that the engine can guess the correct one for each jump to label...
You should give each pair of label/jump to label a unique name and then test again.
Just recreated this in a new project and it works fine on my end, despite the issues that Andar and hiddenone pointed out (same label for two different reference points and always checking variable 1 instead of checking variables 2 and 3 as appropriate).

You might also want to remove the bit on page 2 that turns off self-switch A. I know you said you added it because you get an infinite loop otherwise, but that's because you have trigger set to autorun. Switch it to action button instead and you won't need to turn self-switch A off.

Spoiler: Recreating event and playtesting
wXaIpf6.png

lTYL4Nz.png

lgGqa0c.png

W7kBoWV.png

Y4SAKme.png

tTy1Y1n.png

V3Rrrxq.png

DgBHPGJ.png

I believe hiddenone is correct, though, that turning on a self-switch does not immediately end execution of the event. So if you turn on self-switch A from your conditional branch around ingredient 2 and ingredient 3, but don't exit event processing or jump to a label at the end of the event, it's going to continue processing until it reaches the bottom of the page.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-choices.104250/