Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module V
- V = "Alpha V 1.1" # Edit this string for the contents of your window.
- end
- #### ####
- ### DO NOT EDIT BEYOND THIS POINT. ###
- #### ####
- ### Version ID Window ###
- class VersionID < Window_Base
- def initialize()
- textsize = (V::V.length * 7)
- y = (Graphics.height - 24)
- x = (Graphics.width - textsize)
- super( x, y, textsize, 50 )
- self.back_opacity = 0
- self.opacity = 0
- self.z = 999
- reset_font_settings
- version_box
- end
- def reset_font_settings
- change_color(normal_color)
- contents.font.size = 12
- contents.font.bold = Font.default_bold
- contents.font.italic = Font.default_italic
- end
- def version_box
- draw_text(0, 0, 240, 12, V::V)
- end
- end
- ### Scene_Title ###
- class Scene_Title
- alias title_window create_command_window
- def create_command_window
- title_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Map ###
- class Scene_Map
- alias map_windows create_all_windows
- def create_all_windows
- map_windows
- @version_window = VersionID.new
- end
- end
- ### Scene_MenuBase ###
- class Scene_MenuBase
- alias menubase_window create_help_window
- def create_help_window
- menubase_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Menu ###
- class Scene_Menu
- alias menu_window create_command_window
- def create_command_window
- menu_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Status ###
- class Scene_Status
- alias status_window start
- def start
- status_window
- @version_window = VersionID.new
- end
- end
- ### Scene_File ###
- class Scene_File
- alias file_window create_help_window
- def create_help_window
- file_window
- @version_window = VersionID.new
- end
- end
- ### Scene_End ###
- class Scene_End
- alias end_window create_command_window
- def create_command_window
- end_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Shop ###
- class Scene_Shop
- alias shop_window create_help_window
- def create_help_window
- shop_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Name ###
- class Scene_Name
- alias name_version_window start
- def start
- name_version_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Debug ###
- class Scene_Debug
- alias debug_version_window create_debug_help_window
- def create_debug_help_window
- debug_version_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Battle ###
- class Scene_Battle
- alias debug_version_window create_all_windows
- def create_all_windows
- debug_version_window
- @version_window = VersionID.new
- end
- end
- ### Scene_Gameover ###
- class Scene_Gameover
- alias gameover_version_window create_background
- def create_background
- gameover_version_window
- @version_window = VersionID.new
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement