Hello guys,
I'm trying to make a battle where the boss behaves differently depending on how "big" or "small" another actor is. I've generally not had any trouble with scripting but I'm encountering some erratic behavior.
Basically:
I can increase the size of models just fine with:
12 2060
11 4098
80
02 2060
01 4098
80
60 08
30
90
This works fine. When the conditional triggers (7 turns pass), this execute and the model size grows. Now I also want the model size to decrease by 8 (up to two times) whenever the actor is struck by a magical attack. So I put this in the magic counter section:
12 2060
11 4098
80
02 2060
01 4098
80
60 08
31
90
Now the problem is for some reason -- The monster's size STILL increases even though the 4098 address is being set to a smaller number. This always seems to happen, even if I directly set the 2060.4098 to 8, the model size increases instead of decreases when a magic attack is triggered.
Any idea what could be causing this?