Well, I wanted to use an evented title screen system for my game and I used the editted Main to jump straight to the Scene_Map. I also wanted to incorporate the NeoABS in it, but it seems that some issues occur.
The Main Script:
NeoABS: http://www.rmxp.org/forums/index.php?topic=19797.0 (I am not using the SBABS Add-on or the caterpillar script or the icon overhead display)
Whenever I start the game, it says :
Script' o Player Process' line 457: NoMethodError Occured
Undefined Method `dash_lenght' for nil:NilClass
Anyone know how to fix it? Thanks.
The Main Script:
Code:
begin
# Start in Full Screen
#showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
#showm.call(18,0,0,0)
#showm.call(13,0,0,0)
#showm.call(13,0,2,0)
#showm.call(18,0,2,0)
$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")
$defaultfonttype = "Times New Roman"
$defaultfontsize = 22
$game_temp = Game_Temp.new
$game_system = Game_System.new
$game_switches = Game_Switches.new
$game_variables = Game_Variables.new
$game_self_switches = Game_SelfSwitches.new
$game_screen = Game_Screen.new
$game_actors = Game_Actors.new
$game_party = Game_Party.new
$game_troop = Game_Troop.new
$game_map = Game_Map.new
$game_player = Game_Player.new
$game_party.setup_starting_members
$game_map.setup($data_system.start_map_id)
$game_player.moveto($data_system.start_x, $data_system.start_y)
$game_player.refresh
$game_map.autoplay
$game_map.update
$scene = Scene_Map.new
Graphics.freeze
while $scene != nil
$scene.main
end
Graphics.transition(20)
rescue Errno::ENOENT
filename = $!.message.sub("No such file or directory - ", "")
print("File #{filename} not found.")
end
NeoABS: http://www.rmxp.org/forums/index.php?topic=19797.0 (I am not using the SBABS Add-on or the caterpillar script or the icon overhead display)
Whenever I start the game, it says :
Script' o Player Process' line 457: NoMethodError Occured
Undefined Method `dash_lenght' for nil:NilClass
Anyone know how to fix it? Thanks.