From 96dba1f7b9051eee88a54db778e7e76428302748 Mon Sep 17 00:00:00 2001 From: Raizen884 Date: Sat, 22 Aug 2020 01:58:07 -0300 Subject: [PATCH] Update and rename IgnisFastBoot.js to IgnisDebugControl.js --- IgnisFastBoot.js => IgnisDebugControl.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename IgnisFastBoot.js => IgnisDebugControl.js (72%) diff --git a/IgnisFastBoot.js b/IgnisDebugControl.js similarity index 72% rename from IgnisFastBoot.js rename to IgnisDebugControl.js index f08306c..9cf0361 100644 --- a/IgnisFastBoot.js +++ b/IgnisDebugControl.js @@ -1,14 +1,14 @@ /*: * @target MZ - * @plugindesc Fast boot for development process + * @plugindesc Debug control for developing * @author Reisen (Mauricio Pastana) - * @help Use F7 to fast boot , this plugin also enables the game to run even when it is not active, only on test mode. + * @help Use F7 to fast boot, F6 to switch between active and inactive (only on test mode) */ ////////////////////////////////////////////////////////////////////////////////////////////////// -// Ignis Fast Boot +// Ignis Debug Control ////////////////////////////////////////////////////////////////////////////////////////////////// //----------------------------------------------------------------------------- @@ -22,6 +22,8 @@ SceneManager.onKeyDown = function (event) { if (!event.ctrlKey && !event.altKey) { if (event.keyCode === 118) { this.ignisRebootGame(); + } else if (event.keyCode === 117) { + this.ignisResumePlay = this.ignisResumePlay ? false : true } } }; @@ -31,6 +33,6 @@ SceneManager.ignisRebootGame = function () { } let _ignisEngine_SceneManager_isGameActive = SceneManager.isGameActive SceneManager.isGameActive = function () { - if ($gameTemp.isPlaytest()) { return true } + if ($gameTemp.isPlaytest()) { return !this.ignisResumePlay } _ignisEngine_SceneManager_isGameActive.call(this); };