Window Base is the Superclass for all Windows. And all other windows inherit the methods, that means, that all classes that have Window_Base as a Superclass will also have all Methods from Window_Base.
Iif you dont want to show the tp and mp bars in battle, just write your code in Window_BattleStatus:
You could make this:
class Window_BattleStatus def draw_actor_mp(actor, x, y, width = 0) return end def draw_actor_tp(actor, x, y, width = 0) return endendor you could change this methods in Window_BattleStatus:
#-------------------------------------------------------------------------- # * Draw Gauge Area (with TP) #-------------------------------------------------------------------------- def draw_gauge_area_with_tp(rect, actor) draw_actor_hp(actor, rect.x + 0, rect.y, 72) draw_actor_mp(actor, rect.x + 82, rect.y, 64) draw_actor_tp(actor, rect.x + 156, rect.y, 64) end #-------------------------------------------------------------------------- # * Draw Gauge Area (without TP) #-------------------------------------------------------------------------- def draw_gauge_area_without_tp(rect, actor) draw_actor_hp(actor, rect.x + 0, rect.y, 134) draw_actor_mp(actor, rect.x + 144, rect.y, 76) endto this:
Code:
#-------------------------------------------------------------------------- # * Draw Gauge Area (with TP) #-------------------------------------------------------------------------- def draw_gauge_area_with_tp(rect, actor) draw_actor_hp(actor, rect.x + 0, rect.y, 72) #draw_actor_mp(actor, rect.x + 82, rect.y, 64) #draw_actor_tp(actor, rect.x + 156, rect.y, 64) end #-------------------------------------------------------------------------- # * Draw Gauge Area (without TP) #-------------------------------------------------------------------------- def draw_gauge_area_without_tp(rect, actor) draw_actor_hp(actor, rect.x + 0, rect.y, 134) #draw_actor_mp(actor, rect.x + 144, rect.y, 76) end