I've been at this for hours and can't seem to find a solution. I'm writing out a formula for an item and it's supposed to change a variable, which it does, but I only want it to change the variable when I consume the item for the 1st actor, not the actors in slot 2 or 3. I've written this formula but I have no clue what IF statement I should put in there to determine if the 1st actor is consuming the item.
Any idea on what I'd use for the first IF statement? I've already tried the following without success.
Code:
if (v[17] < 18) { v[17]+=1 } if (v[17] > 18) { v[17]=18 }
Any idea on what I'd use for the first IF statement? I've already tried the following without success.
Code:
if ($gameParty.menuActor().index() == 1)
if ($gameParty._menuActorId === 1)