Last active
November 3, 2021 03:47
-
-
Save triacontane/c7d0d5d870e1b979d4b267064b9aca4e 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 offsetX = 200; | |
| Scene_Equip.prototype.statusWindowRect = function() { | |
| const wx = offsetX; | |
| const wy = this.mainAreaTop(); | |
| const ww = this.statusWidth() - offsetX; | |
| const wh = this.mainAreaHeight(); | |
| return new Rectangle(wx, wy, ww, wh); | |
| }; | |
| const _Scene_Equip_statusWidth = Scene_Equip.prototype.statusWidth; | |
| Scene_Equip.prototype.statusWidth = function() { | |
| return _Scene_Equip_statusWidth.apply(this, arguments) + offsetX; | |
| }; | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment