Hello,
I am using RPG Maker MV with YEP_X_ChangeBattleEquip to allow players to change their equipment mid-battle.
This plugin is working perfectly as it should.
However, I am also using a common event to draw a custom enemy status window on screen at start of battle. This too is working as intended.
Until...
Entering the equipment change screen, and subsequently exiting: this causes the custom status window and text to disappear and I do not know how to get it back / redraw it, etc.
Here is the common event which draws the custom window and text at the start of battle:
And here is what it looks like in-game:
When the equipment scene is called, it is erased (as desired).
Upon exiting the equipment scene, and returning to battle, the window is gone.
I would like for it to be recreated / redrawn somehow.
My first thought was to simply call the common event again, but I don't know how to do that. I took a look at the YEP_X_ChangeBattleEquip.js file but my Javascript is pretty elementary.
I was thinking something like: $gameTemp.reserveCommonEvent(61);
But I'm not sure if that will work or, more importantly, where to call it within Yanfly's plugin script.
Initially, the common event is being run through another common event, which executes at the start of battle, like so:
If anyone is able to direct me to a simple solution, I would greatly appreciate it. I simply haven't been able to figure it out on my own, using Google, search, etc.
Thank you in advance!
I am using RPG Maker MV with YEP_X_ChangeBattleEquip to allow players to change their equipment mid-battle.
This plugin is working perfectly as it should.
However, I am also using a common event to draw a custom enemy status window on screen at start of battle. This too is working as intended.
Until...
Entering the equipment change screen, and subsequently exiting: this causes the custom status window and text to disappear and I do not know how to get it back / redraw it, etc.
Here is the common event which draws the custom window and text at the start of battle:
And here is what it looks like in-game:
When the equipment scene is called, it is erased (as desired).
Upon exiting the equipment scene, and returning to battle, the window is gone.
I would like for it to be recreated / redrawn somehow.
My first thought was to simply call the common event again, but I don't know how to do that. I took a look at the YEP_X_ChangeBattleEquip.js file but my Javascript is pretty elementary.
I was thinking something like: $gameTemp.reserveCommonEvent(61);
But I'm not sure if that will work or, more importantly, where to call it within Yanfly's plugin script.
Initially, the common event is being run through another common event, which executes at the start of battle, like so:
If anyone is able to direct me to a simple solution, I would greatly appreciate it. I simply haven't been able to figure it out on my own, using Google, search, etc.
Thank you in advance!