class Window_Message < Window_Selectable
alias _show_help_update update
def update
_show_help_update
if @contents_showing
if Input.trigger?(Input::A)
@help_window ||= Window_Help.new
@help_window.set_text("Hello, World!")
@help_window.opacity = self.opacity
@help_window.back_opacity = self.back_opacity
return
end
end
end
alias _show_help_terminate_message terminate_message
def terminate_message
_show_help_terminate_message
if @help_window != nil
@help_window.dispose
@help_window = nil
end
end
end
class Window_Message < Window_Selectable
alias _show_help_update update
def update
_show_help_update
if @contents_showing
if Input.trigger?(Input::A)
@help_window ||= Window_Help.new
@help_window.set_text("Hello, World!")
@help_window.opacity = self.opacity
@help_window.back_opacity = self.back_opacity
return
end
end
end
alias _show_help_terminate_message terminate_message
def terminate_message
_show_help_terminate_message
if @help_window != nil
@help_window.dispose
@help_window = nil
end
end
end