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

Status
Not open for further replies.

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
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:

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:

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
 
Last edited:

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
Could try placing Mog's plugins after all the yanfly ones. That has worked for some in the past.
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
Thank you for your answer!

I'm sorry, but that didn't work.
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
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.
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
Okay, thank you anyway.
I might have a temporary solution though.
But I would rather fix the problem with scripts.
 

Magnus0808

Software Developer
Veteran
Joined
Feb 2, 2019
Messages
147
Reaction score
166
First Language
Danish
Primarily Uses
RMMV
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();       
        }       
    };   
})();
 

Attachments

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
@Magnus0808
Thank you for the plugin! Unfortunaly a bug was encountered. Here it is:
upload_2019-3-22_21-52-52.png

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

I have tried placing Moghunter's battle result over and under yanfly's battle results.
 

Magnus0808

Software Developer
Veteran
Joined
Feb 2, 2019
Messages
147
Reaction score
166
First Language
Danish
Primarily Uses
RMMV
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? :)
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
@Magnus0808
I apologize for causing unneeded trouble! It works perfectly when i turned Yanfly's VictoryAftermath off.
Thank you for the plugin!
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Why is there so much month left at the end of money? D=
Hello humans! How goes your day in this journey of living? I hope it is good, for I am human like you, and I am feeling great! Worship the altar.
Sand is basically small rocks

Forum statistics

Threads
105,625
Messages
1,015,041
Members
137,285
Latest member
AndrewRobertson
Top