Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*:
- //==============================================================================
- // ■ Emoji Engine MV - Fix "Stop Timer"
- // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- // * @plugindesc Little Fix who permit to stop the timer while the message
- window is running.
- // * @author Nio Kasgami.
- // * @Data : 2016/2/12
- // * @Version : 1.0.0
- // * @Require : NA
- //==============================================================================
- //==============================================================================
- // ■ History
- // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- // * 2016/2/12 - Begin and finish the plugin.
- //==============================================================================
- //==============================================================================
- // ■ Introduction
- // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- // * it's serve for stop the timer while the message window is running.
- //==============================================================================
- //==============================================================================
- // ■ Plugin Parameter
- // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- // this section handle the plugin parameter. Please do not edit unless you
- // want to add extra plugin command.
- //------------------------------------------------------------------------------
- * it's a base so this not handle any param commands
- //==============================================================================
- //==============================================================================
- // ■ Help File
- // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- // This section serve for input the help file in the engine don't touch this
- // unless you want to input more information
- //------------------------------------------------------------------------------
- * @help
- * This plugin is a fix for the time so it's not provide plugin command.
- */
- (function(){ // anonymous function
- //==============================================================================
- // ■ Game_Timer
- //------------------------------------------------------------------------------
- // The game object class for the timer.
- //==============================================================================
- //----------------------------------------------------------------------------
- // ● overwrite function: loadDataFileSync
- //----------------------------------------------------------------------------
- Game_Timer.prototype.update = function(sceneActive){
- if(sceneActive && this._working && this._frames > 0){
- if($gameMessage.isBusy() != true ){
- this._frames--;
- }
- if(this._frames === 0){
- this.onExprire();
- }
- }
- };
- //===============================================================================
- // => END : Game_Timer
- //===============================================================================
- })(); // end anonymous function
Add Comment
Please, Sign In to add comment