How do I…
Hey there everyone! I’ve been dealing with this… very strange glitch that I can’t seem to figure out. I looked around in the ‘How do I…’ forums and though I found things similar, nothing that seemed to answer what I need exactly. I tried to do corrections, but I’m absolutely stumped.
I have two quests that I’ve just programmed into my game. One, is upgrading a Dog Park with money, and the other, is donating money to a Fertilizer Fund. Both quests are programmed exceedingly similar because of this.
The quests seem to work if I’m not clicking the ‘select’ key a bunch during dialogue. Essentially, I’m pressing the button a bunch, in the same way you’d try speeding through dialogue in any other game.
Right after I choose an option in-game, and click the select button again before dialogue has finished typing, it completely freezes! This only seems to happen after an option has been pressed, and I’m completely frustrated and stumped. My entire game runs off of quests and branching dialogue like this, so if I can’t fix it, I literally can’t make my game. ):
I’ve tried retyping the options into a new JSON file, and that didn’t work either, which makes me think it MUST be something I’ve done with my own code.
Related screenshots
This is the code within the scene itself.
This is in an external folder, linked into the scene.
These are what the dogpark updates look like within the Yarn file
This is what the code up code looks like for updating with 250 coins
And this is a gif of the freezing in action!

Once again, the glitching only seems to happen after I’ve clicked an option, and kept clicking afterward. If I’m just having regular dialogue with a character, no freezing happens. Please help, I’ve googled it, I’ve searched through the forums, and all the fixes I’ve tried don’t work.
Thank you so, so much in advance yall.