alias :eds_pre_auto_update_party_command_selection :update_party_command_selection
def update_party_command_selection
if Input.trigger?(Input::C)
if @party_command_window.index == 2
$game_party.members.each { |actor| actor.auto_battle = true }
next_actor
end
end
eds_pre_auto_update_party_command_selection
end
alias :eds_pre_auto_start_party_command_selection :start_party_command_selection
def start_party_command_selection
for actor in $game_party.members
actor.auto_battle = false unless actor.default_autobattle?
end
eds_pre_auto_start_party_command_selection
end