So I've been using common events as a part of my stat allocation system for some time now. They were simple before, merely using RM's stock event commands like so:
However, that was before I decided to switch to a %-based bonus for my stat allocation instead of flat integer values. Thus, I had to change my common events into something like this:
Unfortunately, that threw the following error:
I then attempted to simplify the script in an effort to find the root problem. But I get the same error even when I try something simple like
EDIT: Ok, I just tried the most utterly basic statement I could think of: 1 > 0
That should obviously return true, but alas, I'm met with the same error as before...
However, that was before I decided to switch to a %-based bonus for my stat allocation instead of flat integer values. Thus, I had to change my common events into something like this:
Unfortunately, that threw the following error:
I then attempted to simplify the script in an effort to find the root problem. But I get the same error even when I try something simple like
$gameParty.menuActor().isStateAffected(301) or even just $gameParty.menuActor()! So I double-checked in the console to make sure I didn't make a typo or anything and sure enough, the code works fine there! So what am I doing wrong?...EDIT: Ok, I just tried the most utterly basic statement I could think of: 1 > 0
That should obviously return true, but alas, I'm met with the same error as before...