Last active
July 24, 2021 20:38
-
-
Save elleonard/e28cc7781c3313def08119c9ded9df35 to your computer and use it in GitHub Desktop.
BMSP_StateDisplayExtensionでステートアイコンがリフレッシュされない不具合を修正するパッチ
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'; | |
Window_Base.prototype.clearUpdateArea = function () { | |
this.areaManager.unregisterAll(); | |
}; | |
const _Window_Status_refresh = Window_Status.prototype.refresh; | |
Window_Status.prototype.refresh = function () { | |
this.clearUpdateArea(); | |
_Window_Status_refresh.call(this); | |
}; | |
const _Window_BattleStatus_refresh = Window_BattleStatus.prototype.refresh; | |
Window_BattleStatus.prototype.refresh = function() { | |
this.clearUpdateArea(); | |
_Window_BattleStatus_refresh.call(this); | |
}; | |
const _Window_Selectable_refresh = Window_Selectable.prototype.refresh; | |
Window_Selectable.prototype.refresh = function() { | |
this.clearUpdateArea(); | |
_Window_Selectable_refresh.call(this); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment