Code Not Running

I have been working heavily on my latest demo, adding more and more whenever I have the time.


I added a secret feature which ended up not running at all, basically disregarding the code(Code #1) entirely. After continuously restarting and checking the code and I go to playtest it, a different area of code (Code #2, if you will) does the same thing as code #1. I cannot wrap my head around this since code #2 has always worked since the beginning. I came to the forum as I was left with no other option.


Sorry if this question is elementary!
we can't help you unless you show us the code that doesn't work.


There are a lot of things that could have happened here, like you adding a script that redirected the same functions you're using in your code.


But we cannot tell without seeing the code itself.


But one thing is for sure: there is absolutely no randomness in the computer, if something doesn't work it's because there is a difference that you haven't found yet.
We're going to need screenshots of what you're talking about or we won't be able to help you, because we won't be able to see the issue.
^^^ During the playtest for code # 2


Only plays audio.


I was luckily able to fix code #1's problem, all there is now is this one. If there's any other screenshots you need, don't hesitate to ask.
@IzShepard I don't see any screenshot at all

Original thread: https://forums.rpgmakerweb.com/threads/code-not-running.68827/