#怕鼠的猫
#RMVA上显示1号变量的窗口,自动更新。
class Mywin < Window_Gold
def refresh
self.opacity = 0
contents.clear
#显示1号变量
draw_currency_value($game_variables[1], '<=v[1] ', 4, 0, contents.width - 8) if $game_switches[1]
end
def update
refresh
end
end
#####################################
class Scene_Map
def create_location_window
@map_name_window = Window_MapName.new
@mywindow=Mywin.new
@mywindow.x = 123
@mywindow.y = 321
end
end
#######################################
#完事
#怕鼠的猫
#RMVA上显示1号变量的窗口,自动更新。
class Mywin < Window_Gold
def refresh
self.opacity = 0
contents.clear
#显示1号变量
draw_currency_value($game_variables[1], '<=v[1] ', 4, 0, contents.width - 8) if $game_switches[1]
end
def update
refresh
end
end
#####################################
class Scene_Map
def create_location_window
@map_name_window = Window_MapName.new
@mywindow=Mywin.new
@mywindow.x = 123
@mywindow.y = 321
end
end
#######################################
#完事