Hello, I'm trying to work on a way to script an event, a sort of math quiz into my game. So far at it's base the script works fine. I have the math robot ask the player a random math question, a "number input" process is run and the player inputs the answer and the script checks if the answer is right or wrong. The problem I quickly came to realize is that the "number input" command does not allow for negative numbers, which is a problem since I want to make the questions challenging and negative numbers are a good way to throw a player off their guard.
Is there perhaps a workaround that will allow the game to check for negative inputs, since checking for negative variables is something the system can actually do? Here is the format that I currently have running except that the player cannot input a negative number. I'm not opposed to using plugins but I would prefer a solution without one as the Yanfly plugins I'm currently using don't seem to play nice with a LOT of other plugins.
Is there perhaps a workaround that will allow the game to check for negative inputs, since checking for negative variables is something the system can actually do? Here is the format that I currently have running except that the player cannot input a negative number. I'm not opposed to using plugins but I would prefer a solution without one as the Yanfly plugins I'm currently using don't seem to play nice with a LOT of other plugins.