MZ This is my map, I'd like to have my battles here instead of the separate battle event(RMMZ)

1721446984009.png


Hello! So, I'm looking for a plugin that can at least turn off the blur/darken that goes over the screenshot when a battle starts. Ideally, it would also remove the events/NPCs to make the map look cleaner. But what I REALLY would like to be able to do is run the screen that the battle is spawned on(I have parallax layers running to make things more immersive). Is this possible?
I haven't tested this, but try saving the following code as a plugin.
This should remove the blur from the background sprite.
JavaScript:
(function() {

const _Spriteset_Battle_createBackground = Spriteset_Battle.prototype.createBackground;
Spriteset_Battle.prototype.createBackground = function() {
    _Spriteset_Battle_createBackground.call(this);
    this._backgroundSprite.filters = null;
};

})();
I haven't tested this, but try saving the following code as a plugin.
This should remove the blur from the background sprite.
JavaScript:
(function() {

const _Spriteset_Battle_createBackground = Spriteset_Battle.prototype.createBackground;
Spriteset_Battle.prototype.createBackground = function() {
    _Spriteset_Battle_createBackground.call(this);
    this._backgroundSprite.filters = null;
};

})();
It did just that, thankyou very much!

Original thread: https://forums.rpgmakerweb.com/threads/this-is-my-map-id-like-to-have-my-battles-here-instead-of-the-separate-battle-event-rmmz.170462/