Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================================
- #
- # Pacman Advanced Creative (PAC) Engine - Skip Title
- # 4/5/2011
- # Type: System
- # Installation: Optional value.
- # Level: Simple
- #
- #===============================================================================
- #
- # Description:
- # Don't want your game to have a title screen? Not liking the scene at all?
- # Simple solution: paste this script in and set SKIP_TITLE to true.
- #
- #===============================================================================
- #
- # Instructions:
- # INSTALLATION
- # Paste above main, below materials and follow PAC format if applicable. This
- # script operates perfectly on its own, but will work with any PAC script and
- # many others. Put this as close to the top of the list of custom scripts as
- # you possibly can, because it WILL CAUSE INCOMPATIBILITY ERRORS otherwise.
- # CONFIGURATION
- # Set SKIP_TITLE to true if you don't want the title screen to show, and go
- # straight to the opening map. For the purposes of the PAC Engine demo, it is
- # set to false.
- #
- #===============================================================================
- #
- # EDITING BEGINS AT LINE 35.
- #
- #===============================================================================
- module PAC
- module SYSTEM
- SKIP_TITLE = false
- end
- end
- #===============================================================================
- #
- # This script no longer requires editing. Do not edit anything in this script
- # unless you are a compenent scripter. Should you edit without any scripting
- # education, it may result in me tutting at you for getting it wrong.
- #
- #===============================================================================
- $imported = {} if $imported == nil
- $imported["PAC_SkipTitle"] = true
- #==============================================================================
- # ** Scene_Title
- #------------------------------------------------------------------------------
- # This class performs the title screen processing.
- #==============================================================================
- if PAC::SYSTEM::SKIP_TITLE # Check if script is used
- class Scene_Title < Scene_Base
- #----------------------------------------------------------------------------
- # rewrite method: main
- #----------------------------------------------------------------------------
- def main
- if $BTEST # If battle test
- battle_test # Start battle test
- else # If normal play
- load_database # Load database
- create_game_objects # Create game objects
- load_first_map # Loads first map
- end
- end
- #----------------------------------------------------------------------------
- # new method: load_first_map
- #----------------------------------------------------------------------------
- def load_first_map
- confirm_player_location
- $game_party.setup_starting_members # Initial party
- $game_map.setup($data_system.start_map_id) # Initial map position
- $game_player.moveto($data_system.start_x, $data_system.start_y)
- $game_player.refresh
- $scene = Scene_Map.new
- Graphics.frame_count = 0
- $game_map.autoplay
- end
- end
- end
- #===============================================================================
- #
- # END OF SCRIPT
- #
- #===============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement