I'm trying to check Actor 1's LUK, and if it equals something, do X, and it doesn't, do Y. It all seems simple enough. I create a conditional branch and put $gameActors.actor(1).param[7] == 2 in the Script box. I put some dialog, and create an Else branch for sake of testing. The Else branch is always ran. I triple-checked and my actor indeed has 2 LUK (parameter 7). I tried also doing $gameActors.actor(1).param[7] < 999 and it also yielded nothing.
What am I doing wrong? It always runs the Else branch, indicating that the code I did above is never a criteria that is met successfully, leading me to believe that the code itself is incorrect.
What am I doing wrong? It always runs the Else branch, indicating that the code I did above is never a criteria that is met successfully, leading me to believe that the code itself is incorrect.