加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 taroxd 于 2020-8-21 08:50 编辑
看了看自己写过的玩意儿,好像基本上只有这个明显要改……那就改一下吧
https://taroxd.github.io/mvmz-plugins/SkipTitleMZ.html
//============================================================================= // SkipTitle.js //============================================================================= /*: * @target MZ * @plugindesc Skip Title. * @author taroxd * * @param Test Only * @desc Whether to skip title only in playtest. true/false * @type boolean * @default true * * @help This plugin does not provide plugin commands. */ ;(() => { const parameters = PluginManager.parameters('SkipTitle') const testOnly = parameters['Test Only'] !== 'false' const enable = !testOnly || Utils.isOptionValid("test") if (enable) { Scene_Boot.prototype.startNormalGame = function() { this.checkPlayerLocation() DataManager.setupNewGame() SceneManager.goto(Scene_Map) } } })()
//=============================================================================
// SkipTitle.js
//=============================================================================
/*:
* @target MZ
* @plugindesc Skip Title.
* @author taroxd
*
* @param Test Only
* @desc Whether to skip title only in playtest. true/false
* @type boolean
* @default true
*
* @help This plugin does not provide plugin commands.
*/
;(() => {
const parameters = PluginManager.parameters('SkipTitle')
const testOnly = parameters['Test Only'] !== 'false'
const enable = !testOnly || Utils.isOptionValid("test")
if (enable) {
Scene_Boot.prototype.startNormalGame = function() {
this.checkPlayerLocation()
DataManager.setupNewGame()
SceneManager.goto(Scene_Map)
}
}
})()
|