What have I done wrong with this event?

I was making a casino for my game, and for whatever reason, the dialog of "Oh, I'm sorry cutie, but this just..." doesn't display. The rest of the event works perfectly fine. Any clue what I've done wrong and how I can fix it?
(Notes: I'm not using any dlc and the only part of the script I've edited is increasing the item limit)
20250210_033944.jpg
20250210_033955.jpg
your screenshot is missing the right half of the two most important lines:
the control variable and conditional branch before the "you win" message.

please provide that data.
Any clue what I've done wrong and how I can fix it?
I can guess because part way through you're setting the value of variable 32 to equal variable 28.
You need to say equal not set
And I would assume that variable 28 is the variable you are using in the condition branch to compare with variable 32.

So it goes like this.
var 28 is the number picked
var32 = random number (1-13)

if luck is > 100
set var 32 to equal 28
if var 28 = var 32
yay you win.

So they will always win because you are making var 28 equal var 32.
Just delete that line and it will work
but the luck thing doesn't really play any part to the number being correct.
Just if you have enough luck it will process the chance you guessed the right number.
If you want the luck to be so that if you have a high luck the number will become equal to what the player guessed, then that line would be needed.

So really to have to work this out a little bit more.

Original thread: https://forums.rpgmakerweb.com/threads/what-have-i-done-wrong-with-this-event.175319/