What can I do to make this work?

I'm trying to make a common event that detects when you press "S," and it jumps to a specific part of the scene depending on where you are in it. I already set up all the labels in the scene:

1627321138227.png


(Every label in the scene has this with different numbers set for the variable) And the common event itself:

1627321196111.png


I'm trying to make it so this button can be pressed multiple times, and then I can disable it when the scene is over. But whenever I press "S," it automatically skips to the "debate4" label when it should go to "debate2." Does anybody know what I'm doing wrong?
I'm trying to make a common event that detects when you press "S," and it jumps to a specific part of the scene depending on where you are in it. I already set up all the labels in the scene:

View attachment 196943

(Every label in the scene has this with different numbers set for the variable) And the common event itself:

View attachment 196944

I'm trying to make it so this button can be pressed multiple times, and then I can disable it when the scene is over. But whenever I press "S," it automatically skips to the "debate4" label when it should go to "debate2." Does anybody know what I'm doing wrong?
Are you using the Jump to Label in the Common Event, or the scene itself? I've been having some issues using the Jump to Label command in Common Events, if the Label its jumping to is in the scene instead of within the Common Event itself.

Also are you using local variables for you common events? When I tried that I got nothing but undefined variables

Original thread: https://forums.rpgmakerweb.com/threads/what-can-i-do-to-make-this-work.138952/