10-12-2014, 08:25 PM
Looks to be a bug with the display that shows what battler's turn is next. And you'd think that making a check on not displaying the battler's name in the list if the battler itself was 'nil' would do the trick, but I found it wasn't hiding the dead hero, but the attacking enemy. Eeesh.
So instead, I borrowed a trick from the 'judge' method from the default battlesystem.
Place this bit of code right before the 'self.content.clear' statement when the 'update_text_window' starts like so:
And the window will not update when your party dies. This should negate your problem.
So instead, I borrowed a trick from the 'judge' method from the default battlesystem.
Code:
return if $game_party.all_dead? or $game_party.actors.size == 0
Place this bit of code right before the 'self.content.clear' statement when the 'update_text_window' starts like so:
Code:
#--------------------------------------------------------------------------
# * Update window text
#--------------------------------------------------------------------------
def update_text_window
return if $game_party.all_dead? or $game_party.actors.size == 0
self.contents.clear
And the window will not update when your party dies. This should negate your problem.