Save-Point
F12 Fix fox VX ACE - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: F12 Fix fox VX ACE (/thread-8654.html)



F12 Fix fox VX ACE - kyonides - 01-28-2023

F12 Fix fox VX ACE

This piece of code is based on Kayzee's posted on RPG Maker Central.

Paste it on any empty section above Main.

Code:
module SceneManager
  def self.run
    begin
      DataManager.init
      Audio.setup_midi if use_midi? and !@skip_midi
      @scene = first_scene_class.new
      @scene.main while @scene
    rescue RGSSReset
      @scene.terminate if @scene
      @skip_midi = true
      clear
      retry
    end
  end
end

What it does is that it catches the RGSSReset Error code and let you execute some reset like code right away. Err, it's not really an error like the TypeError or SyntaxError but the devs treated it as one just because.

Terms & Conditions

Free as in Beer beer.