Hello ^^
I would like to appear on the menu, the number of a variable, and I made this script:
When I enter the menu, it gives me error in this string:
I do not understand what is the error ... can you give me a hand?
I would like to appear on the menu, the number of a variable, and I made this script:
Code:
#===================================================
# - CLASS Begins
#===================================================
class Window_ExSkill < Window_Base
def initialize
super(0, 0, 160,67)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Lucida Fax"
self.contents.font.size = 22
self.contents.font.color = crisis_color
self.contents.draw_text(0, 0, 33, 33, "Ex:")
self.contents.font.name = "Georgia"
self.contents.font.color = normal_color
self.contents.draw_text(35, 0, 70, 33, $game_variables[32])
end
#
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Ends
#===================================================
Code:
self.contents.draw_text(35, 0, 70, 33, $game_variables[32])
I do not understand what is the error ... can you give me a hand?