Only use TP not MP [SOLVED]

i need help editing so my project doesn't use mp but tp.
Someone can help me?
Are u using Yanfly Battle Engine or using default? Or any other menu system?
Assuming you're using VXA: Go to Window_Base and look for the following lines (should be 503 - 512).
Code:
#--------------------------------------------------------------------------
  # * Draw MP
  #--------------------------------------------------------------------------
  def draw_actor_mp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::mp_a)
    draw_current_and_max_values(x, y, width, actor.mp, actor.mmp,
      mp_color(actor), normal_color)
  end

Comment these out by adding a # in front of each line.
I began developing my game with TP based in mind. Then I realized how troublesome it is to work with TP. So now i just named MP, TP and crafted parameters that manipulates MP.

So basically my suggestions is stick to MP, but make MP work they way you intend it to. Of course if you intend to change nothing of the base TP system and use that, hiding the MP by using the reply above me will work just fine.
Are u using Yanfly Battle Engine or using default? Or any other menu system?
I use YEA-Battle Engine
Assuming you're using VXA: Go to Window_Base and look for the following lines (should be 503 - 512).
Code:
#--------------------------------------------------------------------------
  # * Draw MP
  #--------------------------------------------------------------------------
  def draw_actor_mp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::mp_a)
    draw_current_and_max_values(x, y, width, actor.mp, actor.mmp,
      mp_color(actor), normal_color)
  end

Comment these out by adding a # in front of each line.
I've tried it, this works, but the MP bar isn't changed with the TP bar. I want to change the MP bar to be changed to TP bar
Code:
class Window_BattleStatus

  def draw_tp?(actor)
    true
  end
 
  def draw_mp?(actor)
    false
  end
 
end
put below yanfly
Code:
class Window_BattleStatus

  def draw_tp?(actor)
    true
  end
 
  def draw_mp?(actor)
    false
  end
 
end
put below yanfly
it works the way I want it to!
thank you for helping me!
This thread has been solved!

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/only-use-tp-not-mp-solved.114042/