Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created April 20, 2019 13:16
Show Gist options
  • Save triacontane/8f7166e1d46b1e520d400b84a4f32fda to your computer and use it in GitHub Desktop.
Save triacontane/8f7166e1d46b1e520d400b84a4f32fda to your computer and use it in GitHub Desktop.
動的な関数の再定義
var className = 'Window_BattleSkill';
window[className].prototype.maxCols = function() {
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment