Save BGS

Save BGS - 2018/08/05 (Ver.1.0)

Creator name: kido0617

Overview
Use the following script call to save or replay bgs:

to Save BGS-
Code:
$game_system.save_bgs

to Replay BGS:
Code:
$game_system.replay_bgs

Installation
Paste this script above Main.

Code:
#===============================================================================
# 2018/08/05 kido0617
# http://kido0617.github.io/
# Feel free to use
# Credit is not necessary
# Use the following script call
# Save BGS: $game_system.save_bgs
# Replay BGS: $game_system.replay_bgs
#
# Ver.1.0
#-------------------------------------------------------------------------------

class Game_System

  alias myinit initialize
  def initialize
    myinit
    @saved_bgs = nil
  end
 
  def save_bgs
    @saved_bgs = RPG::BGS.last
  end

  def replay_bgs
    @saved_bgs.replay if @saved_bgs
  end
end

Credit and Thanks: kido0617

Terms of Use- Free for commercial and non-commercial use.

License- Public Domain

Original thread: https://forums.rpgmakerweb.com/threads/save-bgs.104973/