The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Jeffrey555 on May 18, 2007, 10:33:02 PM

Title: who have the Main script (deledet him )
Post by: Jeffrey555 on May 18, 2007, 10:33:02 PM
who have the Main script (deledet him )
Title: Re: who have the Main script (deledet him )
Post by: fadark on May 18, 2007, 10:44:00 PM
for pk, or legal version?
Title: Re: who have the Main script (deledet him )
Post by: :) on May 18, 2007, 10:44:33 PM
open new project and go in scripts...
Title: Re: who have the Main script (deledet him )
Post by: modern algebra on May 18, 2007, 11:34:10 PM
I think he's saying that he deleted the script.

here it is:


#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Prepare for transition
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end

Title: Re: who have the Main script (deledet him )
Post by: :) on May 19, 2007, 02:30:26 PM
xD yeah I got that part.

I was saying to open a new project file and take the main script from that.