So, I've run into an issue with Yanfly's Battle Engine. It seems a specific line is having issues within the script, and when the game encounters it, the whole thing crashes. I researched it, and it was believed that the issue was caused by certain assets not being disposed of. I did try the Graphical Object Global Reference script by Mithran, but I'm still getting crashes during the battle test. During the test play, the battles don't even function at all. I don't run into a single encounter. I'm not sure what's happening, it's honestly quite frustrating.
The error happens on line 3136, where this is located:
#--------------------------------------------------------------------------
# new method: status_redraw_target
#--------------------------------------------------------------------------
def status_redraw_target(target)
return unless target.actor?
@status_window.draw_item($game_party.battle_members.index(target))
end
return unless target.actor? is the line called in the error. Any help would be appreciated.
The error happens on line 3136, where this is located:
#--------------------------------------------------------------------------
# new method: status_redraw_target
#--------------------------------------------------------------------------
def status_redraw_target(target)
return unless target.actor?
@status_window.draw_item($game_party.battle_members.index(target))
end
return unless target.actor? is the line called in the error. Any help would be appreciated.