A picture won't erase for some reason, help?

I've modified the QTE Time Hits Minigame successfully except for the very end, when I'm using the code to Erase the three images used, the second image never goes away. I know the end code is running because the related text appears and two of the three images erase, but the third (the music notes) do not. Any ideas why?
Welcome!

Please post the entire event windows without cropping down - the various settings and seeing the type of event can make a big difference in troubleshooting.

I do notice at first glance some stuff like the use of a loop, recycling picture IDs, and erasing them all twice for some reason, but it's impossible to give any valid suggestions with limited information.

Also please provide a link to whatever you're basing this off of, just saying "the QTE Time Hits Minigame" isn't inherently meaningful 😉
Welcome!

Please post the entire event windows without cropping down - the various settings and seeing the type of event can make a big difference in troubleshooting.

I do notice at first glance some stuff like the use of a loop, recycling picture IDs, and erasing them all twice for some reason, but it's impossible to give any valid suggestions with limited information.

Also please provide a link to whatever you're basing this off of, just saying "the QTE Time Hits Minigame" isn't inherently meaningful 😉
sorry, I'm very new to all of this. The code is ugly (multiple deletes, because I'm frustrated as all hell trying to get this to work. Not sure how to screenshot all of it at once but I'm attaching it here in sections.
It doesn't break anything, but your first script call shouldn't have a comma after 850.

The notes are still there, tautologically enough, because you don't erase them.

They're created inside of that big Script command:
1731297459133.png

So, with your list of 2 positions, those will have an index in the array of 0 and 1, meaning your notes are being displayed with picture IDs 10 and 11.

I don't see anything that erases those IDs. Ideally there should be another Script command with another loop that does the same stuff as the first Script but with erasing the pictures. (or they get erased as they are hit/missed, however it's supposed to work)
It doesn't break anything, but your first script call shouldn't have a comma after 850.

The notes are still there, tautologically enough, because you don't erase them.

They're created inside of that big Script command:
View attachment 322693
So, with your list of 2 positions, those will have an index in the array of 0 and 1, meaning your notes are being displayed with picture IDs 10 and 11.

I don't see anything that erases those IDs. Ideally there should be another Script command with another loop that does the same stuff as the first Script but with erasing the pictures. (or they get erased as they are hit/missed, however it's supposed to work)
THAT WAS IT!! Thank you so much for the fix and the education.

Original thread: https://forums.rpgmakerweb.com/threads/a-picture-wont-erase-for-some-reason-help.173127/