Hide MP and Agility

Hi I would like to hide the MP and agility stat from the menu, from all aspects of the menu. I was planning on using agility, and everything worked fine when I only to away MP from the menu. But when I take away agility, it gives me an error whenever I click the status bar on the menu. Can someone please help me!
You probably messed up the default engine script somewhere. The only thing you should need to comment out (using #) to achieve removing is the draw_ portions of the script.

draw_text

draw_actor_(blah)

I would suggest fixing it if you know what you changed, or opening a new project and copy/pasting the same script and replace it.
what was the error? Please post exactly what it says.
The error was on script line 58, of the draw parameters text. But the error is gone now that I copied over some scripts from a new project. The mp gauge is still gone because I have a script that takes it away. Now all I need is a way to take the agility stat away from the menu. Oh and if you want to just add it in the script that removes the mp, here it is.

Spoiler
#==============================================================================# ** Window_Base

#------------------------------------------------------------------------------

#  This is a super class of all windows within the game.

#==============================================================================

 

class Window_Base < Window

  #--------------------------------------------------------------------------

  # * Draw Simple Status

  #--------------------------------------------------------------------------

  def draw_actor_simple_status(actor, x, y)

    draw_actor_name(actor, x, y)

    draw_actor_level(actor, x, y + line_height * 1)

    draw_actor_icons(actor, x, y + line_height * 2)

    draw_actor_class(actor, x + 120, y)

    draw_actor_hp(actor, x + 120, y + line_height * 1)

  

  end

end

 

 

#==============================================================================

# ** Window_Status

#------------------------------------------------------------------------------

#  This window displays full status specs on the status screen.

#==============================================================================

 

class Window_Status < Window_Selectable

  #--------------------------------------------------------------------------

  # * Draw Basic Information

  #--------------------------------------------------------------------------

  def draw_basic_info(x, y)

    draw_actor_level(@actor, x, y + line_height * 0)

    draw_actor_icons(@actor, x, y + line_height * 1)

    draw_actor_hp(@actor, x, y + line_height * 2)   

    

  end

end

 

 

#==============================================================================

# ** Window_BattleStatus

#------------------------------------------------------------------------------

#  This window is for displaying the status of party members on the battle

# screen.

#==============================================================================

 

class Window_BattleStatus < Window_Selectable

  #--------------------------------------------------------------------------

  # overwrite method: draw_item

  #--------------------------------------------------------------------------

  def draw_item(index)

    return if index.nil?

    clear_item(index)

    actor = battle_members[index]

    rect = item_rect(index)

    return if actor.nil?

    draw_actor_face(actor, rect.x+2, rect.y+2, actor.alive?)

    draw_actor_name(actor, rect.x, rect.y, rect.width-8)

    draw_actor_action(actor, rect.x, rect.y)

    draw_actor_icons(actor, rect.x, line_height*1, rect.width)

    gx = YEA::BATTLE::BATTLESTATUS_HPGAUGE_Y_PLUS

    contents.font.size = YEA::BATTLE::BATTLESTATUS_TEXT_FONT_SIZE

    draw_actor_hp(actor, rect.x+2, line_height*2+gx, rect.width-4)

    if draw_tp?(actor) && draw_mp?(actor)

      dw = rect.width/2-2

      dw += 1 if $imported["YEA-CoreEngine"] && YEA::CORE::GAUGE_OUTLINE

      draw_actor_tp(actor, rect.x+2, line_height*3, dw)

      dw = rect.width - rect.width/2 - 2      

      draw_actor_tp(actor, rect.x+2, line_height*3, rect.width-4)

#      draw_actor_mp(actor, rect.x+rect.width/2, line_height*3, dw)

    elsif draw_tp?(actor) && !draw_mp?(actor)

      draw_actor_tp(actor, rect.x+2, line_height*3, rect.width-4)

    else

      draw_actor_tp(actor, rect.x+2, line_height*3, rect.width-4)      

#      draw_actor_mp(actor, rect.x+2, line_height*3, rect.width-4)

    end

  end

end

Original thread: https://forums.rpgmakerweb.com/threads/hide-mp-and-agility.17359/