03-18-2009, 10:40 PM
ok, within the Superart script page at around line 300, replace the Window_Status code with this:
Code:
class Window_Status
alias sa_refresh refresh
def refresh
sa_refresh
# Superarts
actor=@actor
return if !actor.has_superarts?
x=300
y=0
temp_fontsize=self.contents.font.size
temp_fontbold=self.contents.font.bold
self.contents.font.size = 12
bar_sa=Bar.new(x,y+16,200,4,self.contents)
bar_sa.back_opacity=200
bar_sa.bar="bar"
bar_sa.bar_background="bar_hp_bg"
bar_sa.highlight_complete = true
bar_sa.bar_complete = "bar complete - superarts"
bar_sa.refresh(actor.super_arts_points,SUPER_ARTS_MAX)
self.contents.draw_text(x,y,200,24,"SUPERARTS GAUGE")
self.contents.draw_text(x,y+16,200,24,"SUPERARTS TYPE: "+actor.superart_type_s)
self.contents.blt(x+140,y+20,RPG::Cache.picture("shift"),Rect.new(0, 0, 28, 12))
self.contents.draw_text(x+170,y+16,60,24,": change")
self.contents.font.size=temp_fontsize
self.contents.font.bold=temp_fontbold
end
end