"Load" option from the ingame menu?

Hello, I need help with adding the a "Load" option above "Save" in the ingame menu. (Without yanfly's menu script) Any help is appreciated!
r2uesZd
https://i.imgur.com/r2uesZd.png
This should work for you.

Code:
class Window_MenuCommand < Window_Command
 
  alias hml_add_original_commands_old add_original_commands
  def add_original_commands
    hml_add_original_commands_old
    add_command("Load", :load, load_possible)
  end
 
  def load_possible
    DataManager.save_file_exists?
  end
 
end

class Scene_Menu < Scene_MenuBase
 
  alias hml_create_command_window_old create_command_window
  def create_command_window
    hml_create_command_window_old
    @command_window.set_handler(:load, method(:command_load))
  end
 
  def command_load
    SceneManager.call(Scene_Load)
  end
 
end

Just copy/paste it in your scripts, below Materials.
This should work for you.

Code:
class Window_MenuCommand < Window_Command
 
  alias hml_add_original_commands_old add_original_commands
  def add_original_commands
    hml_add_original_commands_old
    add_command("Load", :load, load_possible)
  end
 
  def load_possible
    DataManager.save_file_exists?
  end
 
end

class Scene_Menu < Scene_MenuBase
 
  alias hml_create_command_window_old create_command_window
  def create_command_window
    hml_create_command_window_old
    @command_window.set_handler(:load, method(:command_load))
  end
 
  def command_load
    SceneManager.call(Scene_Load)
  end
 
end

Just copy/paste it in your scripts, below Materials.
THANKS! Works perfectly! (PS. Do I owe you credit in my game credits when I publish it? I'm gonna credit you for now)
Do I owe you credit in my game credits when I publish it? I'm gonna credit you for now
Giving proper credit to people who help you is always the right thing to do. Anyway for that one I only used a few built-in methods already existing in Window_TitleCommand and Scene_Title so it wasn't much work, it took around 5 minutes to get that done (even less probably).

I won't die if you do not give credit to me even if being credited is always appreciated.
Giving proper credit to people who help you is always the right thing to do. Anyway for that one I only used a few built-in methods already existing in Window_TitleCommand and Scene_Title so it wasn't much work, it took around 5 minutes to get that done (even less probably).

I won't die if you do not give credit to me even if being credited is always appreciated.
Alright, I'mma give you credit.
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/load-option-from-the-ingame-menu.97177/