How do I fix it?
Error With Moghunter's Theatrhythm Plugin
● ARCHIVED · READ-ONLY
-
-
Looks like a conflict with Yep_BattleBGMControl. Mog_Theatrhythm works as a pseudo battle scene. You can edit the Yanfly plugin to only works inside battles.
Look for this line inside the BattleBGMControl:
Code:var troop = $dataTroops[$gameTroop._troopId]; if (troop.specificBgm.name === undefined) {
And add it BEFORE it:
Code:if (!$gameParty.inBattle()) return;
Perharps that will work. -
@lokirafael That fixed the errors (thanks!) but now there is no music during the minigame... How do I set music for it?
-
@lokirafael That fixed the errors (thanks!) but now there is no music during the minigame...
My bad. Try to change
Code:to:if (troop.specificBgm.name === undefined) {
Code:if (troop.specificBgm.name === undefined) && (!$gameParty.inBattle())) {
And remove the last piece of code I gave. -
@lokirafael Thank you- that changed fixed it perfectly!
-
Bug found! Fixed already in chat. Just a small change to Mog plugin.