Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # ■ Nio Kasgami Engine Ace "Skip_to_new_game"
- # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- # Simple script who skip the title screen if they don't have any save
- # Created by Nio Kasgami.
- # Data : 2015/04/14
- # Version : 1.0.0
- #==============================================================================
- # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- # Scene_Title
- # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- class Scene_Title < Scene_Base
- #--------------------------------------------------------------------------
- # ● overwrite method: start
- #--------------------------------------------------------------------------
- def start
- super
- SceneManager.clear
- Graphics.freeze
- if DataManager.save_file_exists?
- create_background
- create_foreground
- create_command_window
- play_title_music
- else
- new_game_without_title
- end
- end
- #--------------------------------------------------------------------------
- # ● overwrite method: terminate
- #--------------------------------------------------------------------------
- def terminate
- super
- if DataManager.save_file_exists?
- SceneManager.snapshot_for_background
- dispose_background
- dispose_foreground
- else
- return
- end
- end
- #----------------------------------------------------------------------------
- # ○ new method: new_game_without_title
- #----------------------------------------------------------------------------
- def new_game_without_title
- DataManager.setup_new_game
- fadeout_all
- Graphics.transition(100)
- $game_map.autoplay
- SceneManager.call(Scene_Map)
- end
- end
- ################################################################################
- # END OF SCRIPT
- ################################################################################
Advertisement
Add Comment
Please, Sign In to add comment