MZ Picture Choices under nested conditional branches disappearing

I am using the Picture Choices and Choice Common Events plugins by VisuStella to event a stat distribution system at the start of the game. I've attached some screenshots related to my query, though please don't mind how rudimentary the images of the stat bars are, they are just prototypes, and I am not accepting criticism of that particular element at this time.

I have choices set up as follows: [<Bind Picture: 1><Choice Common Event: 2>], [<Bind Picture: 2><Choice Common Event: 3>], and so on. The common events turn on switches that trigger other common events in which button triggers (left and right key presses) change parameters within a minimum and maximum, and add or remove available points.

When certain configurations of stats are reached, the MMP bar specifically (the top one) disappears. Does anyone know why that could be? Is there something about the picture 1 slot in particular (forgive me if that's an unreasonable question)? I know that nothing about computers is random.

I would post my event structure, but then I would (a) get made fun of for not scripting it all out instead and (b) just bore you with a long list of nested conditionals that I have checked over a dozen times. It's probably better to describe them in a sentence or two. If/else statements cause pictures to show for each stat. These 'if' statements are all syntactically at the same level of the event code as each other, i.e., they run up against each other. I'm not sure if that's where my problem lies.

p.s. I am kidding about getting made fun of, I’d like to learn more about creating a plugin for this system but it’s a bit out of my reach at the moment.
Hi there!
Does anyone know why that could be? Is there something about the picture 1 slot in particular (forgive me if that's an unreasonable question)? I know that nothing about computers is random.
- No, nothing in particular. All picture ids behave the same.
A picture can disappear for some of these reasons:
  • Another picture ID is shown with the same ID as the previous one.
  • The opacity is set to 0.
  • Their coordinates are out of the screen.
  • The picture is erased.
When your picture disappears, press F12, and type on the console the following script call:
$gameScreen.picture(ID)
Replace your ID with the ID of the picture you are looking for. Then press ENTER.
A list of the picture properties will be shown, so you can take a look at his opacity and coordinate values and also if the picture is there.
You can try that t see what is happening.

Besides the above, I'm really not familiar with Visustella plugins. But if someone is, their chance to help you is by taking a look at your event commands.
A picture can disappear for some of these reasons:
  • Another picture ID is shown with the same ID as the previous one.
I think that's what's occurring, since this is only happening when I fidget with the left and right arrow keys. I gave the console command a shot and noticed that picture ID 1 (which should have been MMP8) was MAT17, i.e., Magic Attack with 17 points, which was true for Magic Attack at the time. Thanks to that I was able to pinpoint that I had in fact made a mistake in the eventing process! And if MAT = 17 then MAT17 was supposed to show in picture ID 1 instead of 3. Thank you for the help! I suppose I didn't look carefully enough at the events I had planned out after all.
I would post my event structure, but then I would (a) get made fun of for not scripting it all out instead
I know you said it's a joke, but it's super not the case.

Script calls are useful when they let you do something you can't do with event commands, or when they are significantly more efficient.

Many things in RPG Maker are easier or more efficient to do with the built-in event commands.

I've seen people in both directions who try to implement everything only event commands and who try to implement everything only with code even when they could use events easily. Both types are fine if you're trying to do it as an intellectual exercise, but are unreasonable as a viewpoint 😉

Original thread: https://forums.rpgmakerweb.com/threads/picture-choices-under-nested-conditional-branches-disappearing.158473/