I have another problem. I noticed it happen a couple of times before the change we made, but didn't think much of it, since it wasn't game-breaking. However, today after it happened, it exited the game (but this does not happen every time), so I thought I'll try to ask here for help again.
Now this is happening in a project without Hime's script, and no other scripts deal with end of battle, so it has to be something in this one.
So when the last enemy dies, and there is still someone who should be taking action, they do so below the victory screen. For example, one actor attacks and the other is supposed to heal. The attack kills the enemy, victory screen comes up, but the other actor still heals. So the battle behaves as if it wasn't over. Usually it doesn't matter, button is pressed, victory screen goes away, scene changes. But sometimes button press does nothing and if pressed more times, the game window just closes.
I don't know enough about battle processing and where/how actions are stopped after enemies are dead, so I'm not able to find on my own where the problem could be. Any ideas?
Try changing a little in the victory grade script.
If this doesn't work I will need to work with your project with all the scripts so I can find the issue.
Victory Grade line 720 def update
change the line after super
if BattleManager.in_turn? && !BattleManager.victory_phase?
then comment out BattleManager.judge_win_loss unless BattleManager.victory_phase?
OK, I'm officially building a shrine to Roninator2 and will bring offerings every day. It works! Thank you so much.