Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window_NameMessage < Window_Base
- def update
- super
- if !SceneManager.scene_is?(Scene_Picture_Gallery)
- if Input.trigger?(YEA::MESSAGE::HIDE_TEXT_KEY)
- self.visible = !self.visible
- end
- end
- return if self.active
- return if self.openness == 0
- return if @closing
- @close_counter -= 1
- return if @close_counter > 0
- close
- end
- end
- class Window_Message < Window_Base
- def update_all_windows
- window_message_update_all_windows_ams
- if !SceneManager.scene_is?(Scene_Picture_Gallery)
- if Input.trigger?(YEA::MESSAGE::HIDE_TEXT_KEY)
- self.visible = !self.visible
- end
- end
- @name_window.update
- @name_window.back_opacity = self.back_opacity
- @name_window.opacity = self.opacity
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement