I've added a second Spriteset to Scene_Battle because I want to display popups and animations in the foreground (e.g. above Window_BattleStatus) while retaining the battleback and enemy sprites where they are by default.
It seems to work properly, but I get one error with Yanly Battle Core. It's stuck on if (this._spriteset.isPopupPlaying()) return;, seen here:
Yanfly.BEC.BattleManager_endTurn = BattleManager.endTurn;BattleManager.endTurn = function() { if (this._spriteset.isPopupPlaying()) return; Yanfly.BEC.BattleManager_endTurn.call(this);};Is it safe to assume that the error occurs because I am using two Spritesets? If so, is it possible to specify the spritesets by their name rather than using this._spriteset?
It seems to work properly, but I get one error with Yanly Battle Core. It's stuck on if (this._spriteset.isPopupPlaying()) return;, seen here:
Yanfly.BEC.BattleManager_endTurn = BattleManager.endTurn;BattleManager.endTurn = function() { if (this._spriteset.isPopupPlaying()) return; Yanfly.BEC.BattleManager_endTurn.call(this);};Is it safe to assume that the error occurs because I am using two Spritesets? If so, is it possible to specify the spritesets by their name rather than using this._spriteset?