Event stops prematurely ignoring all commands after a certain point.

I have a casino game in my RPG called Flamestrike Roulette and the event stops literally after the winning number is called. It ignores the conditional branches that follow.

I was wondering what is wrong with my event? My event contents are pasted in the attached documents.


When the event failed, I betted on the number 20 and the winning number was 27. This means the game should have told me that I won 6250 Foqqy.

But the event literally ended when it told me the winning number. It ignored all the conditions below that. There are no blank conditions, if the final 'else' occurred, it would have told me that I lost.

Edit: I just tried it betting on a variety of numbers and every single one of them ends after it says "The Winning number is x" it always ignores the conditions that follow.

Does anybody know what the problem could be?

Edit 2: I put a \v[207] at the end of the event and the variable is indeed the correct number (another 27; 27-20=7) and it displays 7 in the text box. but it seems to be ignoring the conditional branch for variable 207 following

Along with any other step it needs to go though
Maybe you could add screenshots of your events instead. These .txt files are so hard to read.
Maybe you could add screenshots of your events instead. These .txt files are so hard to read.
The event is so long and indent is cut off the screen.

But I already figured out the issue. One of the conditional branches was not below an 'else' statement.

Original thread: https://forums.rpgmakerweb.com/threads/event-stops-prematurely-ignoring-all-commands-after-a-certain-point.161687/