Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # :: Skip Title
- #------------------------------------------------------------------------------
- # Description:
- # This script is a simple hack to allow the user to skip the title screen
- # by changing the 'SKIP_TITLE' variable.
- #------------------------------------------------------------------------------
- # Compatibility:
- #
- # * Overwrite methods
- # class << self
- # def self.first_scene_class
- #
- # * Alias methods
- # module SceneManager
- # def self.first_scene_class
- #
- #==============================================================================
- module SceneManager
- #--------------------------------------------------------------------------
- # ; SKIP_TITLE Boolean - If enabled, skip title and go to Scene_Map
- #--------------------------------------------------------------------------
- SKIP_TITLE = true
- #--------------------------------------------------------------------------
- # ; Alias Method, self - The current object
- #--------------------------------------------------------------------------
- class << self
- alias :legacy_title_skip :first_scene_class
- end
- #--------------------------------------------------------------------------
- # ; Overwritten Method - Get First Scene Class
- #--------------------------------------------------------------------------
- def self.first_scene_class
- SKIP_TITLE ? load_game_map : legacy_title_skip
- end
- #--------------------------------------------------------------------------
- # ; New Method - Loads the game map, for use when SKIP_TILE is enabled
- #--------------------------------------------------------------------------
- def self.load_game_map
- DataManager.setup_new_game
- Scene_Map
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement