#==============================================================================
# ** Window_Used
#------------------------------------------------------------------------------
# This window displays amount of variable 001 used
#==============================================================================
class Window_Used < Window_Base
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 64)
self.contents = Bitmap.new(width - 32, height - 32)
self.x = 640-width
self.y = 480-height
self.opacity = 0
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = normal_color
self.contents.draw_text(4, 0, 120, 32, $game_variables[1].to_s, 0)
self.contents.font.color = system_color
self.contents.draw_text(24, 0, 100, 32, "USED", 2)
end
end