Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active April 20, 2022 15:15
Show Gist options
  • Save triacontane/96cd66f007020c3fc7ecef0da8095320 to your computer and use it in GitHub Desktop.
Save triacontane/96cd66f007020c3fc7ecef0da8095320 to your computer and use it in GitHub Desktop.
戦闘背景の等倍表示
/*=============================================================================
(C)2022 Triacontane
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
=============================================================================*/
/*:
* @plugindesc 戦闘背景の等倍表示
* @target MZ
* @author トリアコンタン
*
* @help
* 戦闘背景の強制的に等倍表示します。
*/
(()=> {
const _Sprite_Battleback_adjustPosition = Sprite_Battleback.prototype.adjustPosition;
Sprite_Battleback.prototype.adjustPosition = function() {
_Sprite_Battleback_adjustPosition.apply(this, arguments);
this.scale.x = 1;
this.scale.y = 1;
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment