-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathSkipTitle.js
35 lines (33 loc) · 1.18 KB
/
SkipTitle.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//==============================================================================
// SkipTitle.js
//==============================================================================
/*:
* @plugindesc Skips the title screen during playtests.
* @author mjshi
* @help
* ------------------------------------------------------------------------------
* SkipTitle v1.0 by mjshi
* Free for both commercial and non-commercial use, with credit.
* ------------------------------------------------------------------------------
*
* > Is something broken? Go to http://mjshi.weebly.com/contact.html and I'll
* try my best to help you!
*/
(function () {
Scene_Boot.prototype.start = function() {
Scene_Base.prototype.start.call(this);
SoundManager.preloadImportantSounds();
if (DataManager.isBattleTest()) {
DataManager.setupBattleTest();
SceneManager.goto(Scene_Battle);
} else if (DataManager.isEventTest()) {
DataManager.setupEventTest();
SceneManager.goto(Scene_Map);
} else {
this.checkPlayerLocation();
DataManager.setupNewGame();
SceneManager.goto(Scene_Map);
}
this.updateDocumentTitle();
};
})();