Hello guys and gals of the Maker community, I have an idea that I'm trying to flesh out but unfortunately I don't know enough about Java to make it work. Let me start out by trying to show you what I'm attempting to do.
At the end of every turn during a battle, I call a common event.

That common event is supposed to check actor 1's TP, if it's about 60 he gets a state that allows him access to a skill type, if below 60 he loses access to that skill type. To check the TP I use $gameactors.actor[0001].tp > [60] in a conditional branch. Here is where I think the problem is, I'm not calling this correctly.

The resulting error is below, I've been fussing with it for a while and can't get it to work properly. Any help is appreciated.

Happy game making!
~Skela
At the end of every turn during a battle, I call a common event.

That common event is supposed to check actor 1's TP, if it's about 60 he gets a state that allows him access to a skill type, if below 60 he loses access to that skill type. To check the TP I use $gameactors.actor[0001].tp > [60] in a conditional branch. Here is where I think the problem is, I'm not calling this correctly.

The resulting error is below, I've been fussing with it for a while and can't get it to work properly. Any help is appreciated.

Happy game making!
~Skela