nio_kasgami

Emoji Engine V2 Preview 0.1

Feb 12th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*:
  2. //==============================================================================
  3. // ■ Emoji Engine MV - Fix "Stop Timer"
  4. // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  5. // * @plugindesc Little Fix who permit to stop the timer while the message
  6.      window is running.
  7. // * @author Nio Kasgami.
  8. // * @Data : 2016/2/12
  9. // * @Version : 1.0.0
  10. // * @Require : NA
  11. //==============================================================================
  12.  
  13. //==============================================================================
  14. // ■ History
  15. // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  16. //  * 2016/2/12 - Begin and finish the plugin.
  17. //==============================================================================
  18.  
  19. //==============================================================================
  20. // ■ Introduction
  21. // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  22. //  * it's serve for stop the timer while the message window is running.
  23. //==============================================================================
  24.  
  25.  
  26. //==============================================================================
  27. // ■ Plugin Parameter
  28. // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  29. // this section handle the plugin parameter. Please do not edit unless you
  30. // want to add extra plugin command.
  31. //------------------------------------------------------------------------------
  32.    * it's a base so this not handle any param commands
  33. //==============================================================================
  34.  
  35. //==============================================================================
  36. // ■ Help File
  37. // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  38. // This section serve for input the help file in the engine don't touch this
  39. // unless you want to input more information
  40. //------------------------------------------------------------------------------
  41.    * @help
  42.    * This plugin is a fix for the time so it's not provide plugin command.
  43. */
  44.  
  45. (function(){ // anonymous function
  46.    
  47.  //==============================================================================
  48.  // ■ Game_Timer
  49.  //------------------------------------------------------------------------------
  50.  // The game object class for the timer.
  51.  //==============================================================================
  52.  
  53.    //----------------------------------------------------------------------------
  54.    // ● overwrite function: loadDataFileSync
  55.    //----------------------------------------------------------------------------  
  56.     Game_Timer.prototype.update = function(sceneActive){
  57.         if(sceneActive && this._working && this._frames > 0){
  58.             if($gameMessage.isBusy() != true ){
  59.                 this._frames--;
  60.             }
  61.             if(this._frames === 0){
  62.                 this.onExprire();
  63.             }
  64.         }
  65.     };
  66.  //===============================================================================
  67.  // => END : Game_Timer
  68.  //===============================================================================
  69.  
  70. })(); // end anonymous function
Add Comment
Please, Sign In to add comment