Pictures stuck on battle result screen - Moghunter's Battle Result with Yanfly Plugins - RMMV

Hello!
I am using RPG Maker MV and I've got a problem with Moghunter's Battle Result.
I am also using these plugins:
Spoiler
DO3FjTL.png
YlQsINi.png
obHdfLb.png

And the problem is that some of the picture made with the plugins by Yanfly doesn't disappear when the battle result screen shows up. I have marked the pictures that I want to disappear with red rectangles. The pictures that are stuck are from the following plugins:
Here's a screenshot:
Spoiler
l24vqil.png

Can someone help me fix this problem please?

Please tell me if I'm explaining things weird. I will try my best to explain it in another way.

Thank you in advance
bump
bump
bump
bump
bump
Could try placing Mog's plugins after all the yanfly ones. That has worked for some in the past.
Thank you for your answer!

I'm sorry, but that didn't work.
Most likely you will need a compatibility patch to make them play nice with each other. Moghunter and Yanfly plugins are notorious for being incompatible.
Sorry I couldn't be more help.
Okay, thank you anyway.
I might have a temporary solution though.
But I would rather fix the problem with scripts.
bump
bump
bump
bump
bump
bump
Here use this plugin. Just place it after MOG_BattleResult, YEP_BattleEngineCore, and YEP_BattleStatusWindow if used.
It makes the BattleManager enter the victoryPhase used by Yanfly's plugins. This makes most of Yanfly's stuff hidden.
However, because of the way the BattleStatusWindow work, we have to hide that one ourselves beside the victoryPhase.

Oh well everything is done in the plugin so just plug and play 🙂

Code:
//=============================================================================
// MOG YEP Battle Result Hide
// MRP_MOG_YEP_BattleResultHide.js
// By Magnus0808 || Magnus Rubin Peterson
//=============================================================================

/*:
 * @plugindesc Compatibility between MOG_BattleResult and some of Yanfly's plugins.
 * @author Magnus0808
 *
 * @help This plugin should be placed after MOG_BattleResult, YEP_BattleEngineCore,
 * as well as YEP_BattleStatusWindow if used.
 *
 * This plugin makes adds so when the battle result window is created it makes
 * the battle manager enter the victoryPhase from Yanfly's Battle Engine Core.
 * If YEP_BattleStatusWindow is used then this plugin will also hide the status
 * window.
 */
 
var Imported = Imported || {};
Imported.MRP_MOG_YEP_BattleResultHide = true;

(function() {
    var MRP_BATTLERESULTHIDE_SB_CREATEBRESULT_OLD = Scene_Battle.prototype.createBResult;
    Scene_Battle.prototype.createBResult = function() {
        MRP_BATTLERESULTHIDE_SB_CREATEBRESULT_OLD.call(this);
        
        if(Imported.YEP_BattleEngineCore) BattleManager._victoryPhase = true;
        if(Imported.YEP_BattleStatusWindow)
        {
            this._statusWindow.hide();       
        }       
    };   
})();
@Magnus0808
Thank you for the plugin! Unfortunaly a bug was encountered. Here it is:
Spoiler
upload_2019-3-22_21-52-52.png

This is how I placed the plugins:
Spoiler
upload_2019-3-22_21-55-28.png

I have tried placing Moghunter's battle result over and under yanfly's battle results.
The error is caused because you use Yanfly's VictoryAftermath. I could probably find a way to make them compatible, however I am not sure exactly how it is supposed to work with MOG_BattleResult as they are both plugins that change how the battle results are presented.

How do you imagine they interact? 🙂
@Magnus0808
I apologize for causing unneeded trouble! It works perfectly when i turned Yanfly's VictoryAftermath off.
Thank you for the plugin!

Original thread: https://forums.rpgmakerweb.com/threads/pictures-stuck-on-battle-result-screen-moghunters-battle-result-with-yanfly-plugins-rmmv.104946/