[RMMV] Toggle TP display in battle

I want the actor to start out with only HP and MP, then later have access to TP.

I found the Display TP in Battle variable: $dataSystem.optDisplayTp, but I don't know how to make an event to change it's value to on/off.

Do I use the "Script" event?

Is it a Boolean set to "true" or "false" or a float set to "0" or "1" or something else?

I did do a search and it came up with 95 unrelated results.

Solved!

Solved this myself by opening up the System.json and locating the variable.

optDisplayTp is a Boolean that uses true/false

You can Toggle the Display of TP with an event, Using the "Script" command enter:

$dataSystem.optDisplayTp = true; (To display TP in Battle)

$dataSystem.optDisplayTp = false; (To hide TP  in Battle)

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-toggle-tp-display-in-battle.49188/