Allocate a specific amount of TP outside of battle.

At a particular point I want to allocate a specific amount of TP (20) to an actor outside of battle.  I know that I could inflict a state which would apply TRG, but that's no good, as I want the actor to start the battle with that amount as the absolute minimum he has.  I cannot find an event command which would enable me to do this.  Is it possible?

Oh, and in case it's relevant, my actors do not start battles with random amounts of TP, they can carry over from previous battles.  However, this battle will be this actor's first, and so there will be no TP already gained.

Thanks
There's no event command to do this, but you can do it in one line with a Script command:

$game_actors[2].tp = 20You can also do it for your whole party pretty easily:

for actor in $game_party.membersactor.tp = 20endThis is the line in Game_Battler that sets each actor's TP to a random amount at the beginning of battle.  In case you haven't already disabled it, make sure you get rid of the "self.tp = rand * 25" line so that this method does nothing:

Code:
  #--------------------------------------------------------------------------  # * Initialize TP  #--------------------------------------------------------------------------  def init_tp    self.tp = rand * 25  end
Oops, it looks like my post thanking you somehow vanished.  What I said was:

You, sir, are a scholar and a gentleman.  Thank you.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/allocate-a-specific-amount-of-tp-outside-of-battle.38165/