Save-Point

Full Version: Toggle Message Window XP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Toggle Message Window XP

by Kyonides

Introduction

It is normal for certain visual novels or VN's to let you hide the message window while an image is being displayed on screen.
This scriptlet allows you to achieve this in a very convenient way.
By the way, you can replace the A button with any other of the available buttons.

Code:
# * Toggle Message Window XP * #
#  2024-11-10

module Input
  HIDE_MESSAGE_BTN = A
end

class Window_Message
  alias :win_mess_up :update
  def update
    win_mess_up
    if @contents_showing and Input.trigger?(Input::HIDE_MESSAGE_BTN)
      self.visible = !self.visible
    end
  end
end

Terms & Conditions

Free for use in ANY game. Gamer
Due credit is optional here, but at least mention this forum if you don't mind.
That's it! Tongue sticking out