vx ace bonus room (solved)

Hi!
I'd like to implement a "bonus room" feature to my title screen.
Preferably with a switch or a script call,so when It's On,the
option in the title screen is active (similar to the continue)
actor levels,armor etc doesn't need to carry on tho,since I don't
use them in my game. Just a simple teleport the player to a map.

Yanfly new game+ doesn't suit my game,since It adds the
command to the in game menu 🙁
and this is the closest I got to something I could use
milena's bonus room script
but the script was formatted in a way that I had to,uuuh
"fix it"(?
Idk anything abt coding,so this was my sad attempt:
1706489160239.png

1706489204963.png


It crashed on Line 4:
1706489280356.png


So I lost all hope and decided to post here :')
If someone wants to write a new script,help me format this one
or knows of another script that does what I'm looking for It'd be of so much help!!
,help me format this one
Ruby:
# To activate the new game plus:
# $game_plus.create_new_game = true

module DataManager
  MAP_ID_FOR_BONUS_STAGE = 2
  # bonus stage map start
  MAP_X = 10
  # x coords of the bonus stage map you will be transferred in.
  MAP_Y = 10
  # y coords of the bonus stage map you will be transferred in.
  class << self
    alias milena_create_game_objects create_game_objects
    #--------------------------------------------------------------------------
    # * Create Game Objects
    #--------------------------------------------------------------------------
    def create_game_objects
      milena_create_game_objects
      $game_plus = Game_NewGamePlus.new
    end
  end
  #--------------------------------------------------------------------------
  # * Set Up New Game
  #--------------------------------------------------------------------------
  def self.setup_new_game_plus
    create_game_objects
    $game_party.setup_starting_members
    $game_map.setup(MAP_ID_FOR_BONUS_STAGE)
    $game_player.moveto(MAP_X, MAP_Y)
    $game_player.refresh
    Graphics.frame_count = 0
  end
end
# this is referenced by $game_plus
class Game_NewGamePlus
  attr_accessor :create_new_game
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    @create_new_game = false
  end
end
class Window_TitleCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Create Command List
  #--------------------------------------------------------------------------
  def make_command_list
    add_command(Vocab::new_game, :new_game)
    add_command(Vocab::continue, :continue, continue_enabled)
    add_command("Bonus Stage", :new_game_plus, new_game_plus_enabled)
    add_command(Vocab::shutdown, :shutdown)
  end
  def new_game_plus_enabled
    return true if $game_plus.create_new_game
    return false if $game_plus.create_new_game
  end
end
class Scene_Title < Scene_Base
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    @command_window = Window_TitleCommand.new
    @command_window.set_handler(:new_game, method(:command_new_game))
    @command_window.set_handler(:continue, method(:command_continue))
    @command_window.set_handler(:new_game_plus, method(:command_plus))
    @command_window.set_handler(:shutdown, method(:command_shutdown))
  end
  def command_plus
    DataManager.setup_new_game_plus
    close_command_window
    fadeout_all
    $game_map.autoplay
    SceneManager.goto(Scene_Map)
  end
end
Ruby:
# To activate the new game plus:
# $game_plus.create_new_game = true

module DataManager
  MAP_ID_FOR_BONUS_STAGE = 2
  # bonus stage map start
  MAP_X = 10
  # x coords of the bonus stage map you will be transferred in.
  MAP_Y = 10
  # y coords of the bonus stage map you will be transferred in.
  class << self
    alias milena_create_game_objects create_game_objects
    #--------------------------------------------------------------------------
    # * Create Game Objects
    #--------------------------------------------------------------------------
    def create_game_objects
      milena_create_game_objects
      $game_plus = Game_NewGamePlus.new
    end
  end
  #--------------------------------------------------------------------------
  # * Set Up New Game
  #--------------------------------------------------------------------------
  def self.setup_new_game_plus
    create_game_objects
    $game_party.setup_starting_members
    $game_map.setup(MAP_ID_FOR_BONUS_STAGE)
    $game_player.moveto(MAP_X, MAP_Y)
    $game_player.refresh
    Graphics.frame_count = 0
  end
end
# this is referenced by $game_plus
class Game_NewGamePlus
  attr_accessor :create_new_game
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    @create_new_game = false
  end
end
class Window_TitleCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Create Command List
  #--------------------------------------------------------------------------
  def make_command_list
    add_command(Vocab::new_game, :new_game)
    add_command(Vocab::continue, :continue, continue_enabled)
    add_command("Bonus Stage", :new_game_plus, new_game_plus_enabled)
    add_command(Vocab::shutdown, :shutdown)
  end
  def new_game_plus_enabled
    return true if $game_plus.create_new_game
    return false if $game_plus.create_new_game
  end
end
class Scene_Title < Scene_Base
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    @command_window = Window_TitleCommand.new
    @command_window.set_handler(:new_game, method(:command_new_game))
    @command_window.set_handler(:continue, method(:command_continue))
    @command_window.set_handler(:new_game_plus, method(:command_plus))
    @command_window.set_handler(:shutdown, method(:command_shutdown))
  end
  def command_plus
    DataManager.setup_new_game_plus
    close_command_window
    fadeout_all
    $game_map.autoplay
    SceneManager.goto(Scene_Map)
  end
end
It's exactly what I needed,tysm!! 😀

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-bonus-room-solved.165238/