The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: blueperiod on March 01, 2013, 02:42:50 AM

Title: [SOLVED] Disabling the auto-exiting of the Saving Screen after saving your game.
Post by: blueperiod on March 01, 2013, 02:42:50 AM
Hey everyone. :)

I want it so that whenever I save my game in the Saving Screen, it doesn't automatically push me into the menu and instead stays on the Saving Screen. I know it's kind of a weird request, but it's messing with a certain presentation aspect of my game and I'd like to be able to stay on the Saving Screen after I create a save. The only script that I'm using that affects the Saving Screen is wltr3565's Chapter Teller, which can be found here: http://www.rpgmakervx.net/index.php?showtopic=16858

So yeah, any help on this would be greatly appreciated. Thanks!

Title: Re: [VX] Disabling the auto-exiting of the Saving Screen after saving your game.
Post by: cozziekuns on March 01, 2013, 04:06:35 AM
Code: [Select]
#==============================================================================
# ** Scene_File
#==============================================================================

class Scene_File
 
  def do_save
    file = File.open(@savefile_windows[@index].filename, "wb")
    write_save_data(file)
    file.close
    @savefile_windows.each { |window|
      window.load_gamedata
      window.refresh
    }
  end

end

Here you go; should hopefully work.
Title: Re: [VX] Disabling the auto-exiting of the Saving Screen after saving your game.
Post by: blueperiod on March 01, 2013, 06:32:18 AM
EDITED: Nevermind! I got it working perfectly! Thanks so much, man!  :lol: