Created
October 26, 2017 15:25
-
-
Save triacontane/dd18ffe449aae465f83ec35a16f8fcac to your computer and use it in GitHub Desktop.
独自関数をGame_Interpreterに追加する方法です。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
/** | |
* callOriginalFunction | |
* オリジナルの関数です。イベントコマンドの「スクリプト」から「this.callOriginalFunction()」で呼べます。 | |
*/ | |
Game_Interpreter.prototype.callOriginalFunction = function() { | |
// do something | |
this.wait(60); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment