class Window_Message < Window_Base
def resize_window(lines = 4)
return if lines <= 0
self.height = fitting_height(lines)
create_contents
end
end
class Game_Interpreter
def resize_message_window(lines = 4)
w = SceneManager.scene.instance_variable_get(:@message_window)
return if !w
w.resize_window(lines)
w.update_placement
end
end
class Window_Message < Window_Base
def resize_window(lines = 4)
return if lines <= 0
self.height = fitting_height(lines)
create_contents
end
end
class Game_Interpreter
def resize_message_window(lines = 4)
w = SceneManager.scene.instance_variable_get(:@message_window)
return if !w
w.resize_window(lines)
w.update_placement
end
end