Created
February 23, 2022 06:57
-
-
Save triacontane/5866914620e8d1afee1f9fe77e3d7cde to your computer and use it in GitHub Desktop.
制御文字で使っている変数値が変更されたときにヘルプウィンドウを再描画
This file contains hidden or 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
/*: | |
* @plugindesc 制御文字で使っている変数値が変更されたときにヘルプウィンドウを再描画 | |
* @target MZ | |
*/ | |
(()=> { | |
const _Window_SkillList_refresh = Window_SkillList.prototype.refresh; | |
Window_SkillList.prototype.refresh = function () { | |
_Window_SkillList_refresh.apply(this, arguments); | |
this._helpWindow.clear(); | |
}; | |
const _Window_ItemList_refresh = Window_ItemList.prototype.refresh; | |
Window_ItemList.prototype.refresh = function () { | |
_Window_ItemList_refresh.apply(this, arguments); | |
this._helpWindow.clear(); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment