Aww, thank you :blush:
It really just is me being lazy. You definitely wouldn't say that if you were a scripter.
Anyway what about letting "New Game" send the player to the set starting position and instead specify where to start when you open the game? It's easier that way:
[rgss]class Scene_Title
alias_method :zeriab_scene_title_main, :main
def main
alias :main :zeriab_scene_title_main
load_database
# Select the starting map and coordinates
$data_system.start_map_id = 2
$data_system.start_x, $data_system.start_y = 5, 9
command_new_game
end
def load_database
# Load database
$data_actors = load_data("Data/Actors.rxdata")
$data_classes = load_data("Data/Classes.rxdata")
$data_skills = load_data("Data/Skills.rxdata")
$data_items = load_data("Data/Items.rxdata")
$data_weapons = load_data("Data/Weapons.rxdata")
$data_armors = load_data("Data/Armors.rxdata")
$data_enemies = load_data("Data/Enemies.rxdata")
$data_troops = load_data("Data/Troops.rxdata")
$data_states = load_data("Data/States.rxdata")
$data_animations = load_data("Data/Animations.rxdata")
$data_tilesets = load_data("Data/Tilesets.rxdata")
$data_common_events = load_data("Data/CommonEvents.rxdata")
$data_system = load_data("Data/System.rxdata")
# Make system object
$game_system = Game_System.new
end
end
[/rgss]
Remember that you must not use leading zeros. $data_system.start_map_id = 09 gives you an error while $data_system.start_map_id = 9 don't.
*hugs*
- Zeriab