在新窗口中打开脚本页

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
//=============================================================================
// VIPArcher_SkipTitle.js
//=============================================================================
/*:
* @plugindesc Skip Title.
* @author VIPArcher
*
* @param Test Only
* @desc Whether to skip title only in playtest. true/false
* @default true
*
* @help This plugin does not provide plugin commands.
*/
void function() {
var parameters = PluginManager.parameters('SkipTitle');
var testOnly = parameters['Test Only'] !== 'false';
if (!testOnly || location.search === '?test') {
Scene_Title.prototype.start = function() {
Stage.prototype.initialize.call(this);
SceneManager.goto(Scene_Map);
};
}
}();

文章目录