Created
March 29, 2025 09:06
-
-
Save Creta5164/1401e48825e8150dcdcbc394d58b6db3 to your computer and use it in GitHub Desktop.
This plugin adds `QuickLoad(number);` global function to RPG Maker MV.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*: | |
* @plugindesc This plugin adds `QuickLoad(number);` global function to RPG Maker MV. | |
* Version : 1.0.0 | |
* @author Creta Park (https://creft.me/cretapark) | |
* | |
* @help | |
* This plugin simply adds `QuickLoad(number);` global function to RPG Maker MV. | |
* | |
* Created by Creta Park (https://creft.me/cretapark) | |
*/ | |
function QuickLoad(number) { | |
SoundManager.playLoad(); | |
SceneManager._scene.fadeOutAll(); | |
SceneManager.goto(Scene_QuickLoader); | |
Scene_QuickLoader._number = number; | |
} | |
function Scene_QuickLoader() { | |
this.initialize.apply(this, arguments); | |
} | |
Scene_QuickLoader.prototype = Object.create(Scene_Base.prototype); | |
Scene_QuickLoader.prototype.constructor = Scene_QuickLoader; | |
Scene_QuickLoader.prototype.start = function() { | |
Scene_Load.prototype.reloadMapIfUpdated.call(this); | |
DataManager.loadGame(Scene_QuickLoader._number); | |
SceneManager.goto(Scene_Map); | |
} | |
Scene_QuickLoader.prototype.terminate = function() { | |
$gameSystem.onAfterLoad(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment