[SOLVED!] Visual Novel styled sprite pictures not erasing/changing

so like im quite literally getting a bit annoyed atm since im trying to basically manipulate changing expressions of my vn styled sprites and all

currently im trying to have the expressions change one to a different one, however when I happen to do this, the picture doesnt change and I've done everything I could to try and fix it. I've ran it in a separate game file and the expressions change fine, but for the file to where the game is, the pictures doesn't seem to get changed.

Note: I have considered trying to prioritize showing the sprite pictures with the engine's highest numbers as I can but I'm not so sure what order to put them since I'll also be putting future backgrounds for the game and there's going to be a lot of them. I've also looked into some old forums that might help me solve this issue, but none of them were matching the problem I currently deal with.

1649048417219.png

1649048432349.png

ub3.png
ub3.png

ub8.png
ub8.png
ub9.png
ub9.png
ub1.png
ub1.png
Is the crux of the matter ub8 not overriding ub9, for example?

If so, make a test case:

Code:
   Show Picture #23 ub8 ...
   Wait (60)
   Show Picture #23 ub9 ...

Does this accomplish what you need to accomplish? If not, what should happen and what does happen?
Is the crux of the matter ub8 not overriding ub9, for example?

If so, make a test case:

Code:
   Show Picture #23 ub8 ...
   Wait (60)
   Show Picture #23 ub9 ...

Does this accomplish what you need to accomplish? If not, what should happen and what does happen?

YO WHAT THIS WORKS! I suppose my mistake was I testing the code through an old save file so that was definitely my bad, thank you so much for this!! 😅😅🙏🙏!!
I suppose my mistake was I testing the code through an old save
while that might be the case, most probably it was the reason for the existance of IDs

if pictures have different IDs, then they can be on the screen at the same time. And in that case the ID determines the order, which picture overlaps which other.
if pictures have the same ID, they replace each other on show command.

so most likely your other expression didn't show because it was below the first expression
if pictures have different IDs, then they can be on the screen at the same time. And in that case the ID determines the order, which picture overlaps which other.
if pictures have the same ID, they replace each other on show command.
Now looking into it, that definitely makes a lot of sense. I was wondering if the order of the picture IDS mattered or not and I never was so sure how they were functioned, but this solution definitely helps on a LOT of things that I was unsure of, so thank you truly!
Now looking into it, that definitely makes a lot of sense. I was wondering if the order of the picture IDS mattered or not and I never was so sure how they were functioned, but this solution definitely helps on a LOT of things that I was unsure of, so thank you truly!

Do think of Picture_Id as layers. Thus: 1 is the bottom layer, 100 is the top. Higher layers obstruct lower ones.

If you want a picture to replace another one, have that picture use the same layer as the picture being replaced.

The name "Picture Id" is a misnomer, since it makes the concept harder to understand and to adopt. The name "Picture Layer" would be a better fit. Thus, this would be much more intuitive:

Code:
ShowPicture Layer#23, filename, x, y, ...

Original thread: https://forums.rpgmakerweb.com/threads/solved-visual-novel-styled-sprite-pictures-not-erasing-changing.146416/