I need help.

I'm using the "SRRG Gear MV" DLC plugins, but I've run into a problem. Whenever I use a skill that hits more than one enemy, this screen appears. I've tried everything I could to fix it, but nothing worked; does anyone have any idea how to solve this?

The error happens while the battle is positioning the battleback image. SRPG_AoE.js only runs that code when an AoE skill selects more than one target, which could explain why single target skills are fine. I’m wondering if another plugin in your list changes the battlebacks in a way SRPG_AoE doesn’t expect.

Could you post a screenshot of your Plugin Manager so we can see all your plugins and their order? If you want to narrow it down yourself, try turning off your non SRPG plugins one at a time and use the AoE skill again until the error stops.

Since you’re using YEP_BattleEngineCore, also check that WithYEP_BattleEngineCore is set to true in the SRPG_core parameters. I’m not sure it’s related to this error, but SRPG_core asks for it when the two are used together.

Here is the list of my plugins; YEP_ItemCore didn’t fit in the screenshot, but it is there—though I don’t believe it’s the cause of the problem.

I think it’s the Scale Battlebacks parameter in YEP_CoreEngine. When it’s set to YES, Yanfly rebuilds the battlebacks as regular sprites instead of the tiling sprites MV uses, and turns off MV’s battleback positioning since the new ones place themselves. SRPG_AoE calls that positioning directly when it builds a battle with more than one target, and it expects the tiling kind, which would explain why single target skills work fine. Yanfly’s changelog for 1.23 even mentions it might clash with plugins that change battlebacks.

If you don’t need the scaling, setting Scale Battlebacks to NO should be all it takes. If you want to keep it, this small plugin skips MV’s positioning for Yanfly’s battlebacks. Save it as SRPG_AoE_ScaleFix.js in your js/plugins folder, add it in the Plugin Manager, and put it at the bottom of the list:

(function() {
    var _Spriteset_Battle_locateBattleback = Spriteset_Battle.prototype.locateBattleback;
    Spriteset_Battle.prototype.locateBattleback = function() {
        if (!this._back1Sprite.origin) return;
        _Spriteset_Battle_locateBattleback.call(this);
    };
})();

Oh God, I really don’t even know how to thank You; it actually worked! I’d been dealing with this problem for a long time—thank you so much!