Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created April 24, 2021 08:43
Show Gist options
  • Save triacontane/1c75e96b7ec2163587b3192be5efc551 to your computer and use it in GitHub Desktop.
Save triacontane/1c75e96b7ec2163587b3192be5efc551 to your computer and use it in GitHub Desktop.
行動制約ステート時に行動を作り直し
(function() {
'use strict';
var _Game_Battler_onRestrict = Game_Battler.prototype.onRestrict;
Game_Battler.prototype.onRestrict = function() {
_Game_Battler_onRestrict.apply(this, arguments);
this.makeActions();
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment