Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created November 14, 2021 05:04
Show Gist options
  • Save triacontane/b539a621ea544074699aa85fc4c7e6c3 to your computer and use it in GitHub Desktop.
Save triacontane/b539a621ea544074699aa85fc4c7e6c3 to your computer and use it in GitHub Desktop.
メニューButtonの表示倍率を変更
/*:
* @plugindesc メニューボタンの表示倍率を変更
* @target MZ
*/
(()=> {
const scale = 2.0;
const _Scene_Map_createMenuButton = Scene_Map.prototype.createMenuButton;
Scene_Map.prototype.createMenuButton = function() {
_Scene_Map_createMenuButton.apply(this, arguments);
this._menuButton.scale.x = scale;
this._menuButton.scale.y = scale;
this._menuButton.x = Graphics.boxWidth - this._menuButton.width * scale - 4;
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment