Can't save in-game due to script

Hi! I recently found one of Zetu's scripts that allows the player to select pictures as choices and I've found that it interferes with saving. I tried to see which part of the script was causing the issue and I think it may be this part:
Spoiler
alias :zev_choice_setup_choices :setup_choices def setup_choices(params) $game_message.choice_data = [] $game_message.choice_cancel_data = nil add_zev_special_choice_data(@index) ti = @index while @list[ti] and @list[ti].code == 102 ti += 1 ti += 1 while @list[ti].indent > @indent or [402,403,404].include? @list[ti].code break if @list[ti].code != 102 add_zev_special_choice_data(ti) end $game_message.choice_proc = Proc.new {|n| data = $game_message.choice_data.select do |h| h[:si] <= n end.max_by do |h| h[:si] end @choice_skip[@indent] = data[:skip] @branch[@indent] = data[:choice_data][n - data[:si]] } $game_message.choice_cancel_proc = Proc.new{|n| data = $game_message.choice_cancel_data @choice_skip[@indent] = data[:skip] @branch[@indent] = data[:n] } end

However, while I am able to save the game upon deleting this part of the script, it removes very nice functions like switch dependent choices and the ability to have more than 4 choices. I was wondering if anyone could help me solve the saving issue while keeping these functions? Thank you very much.
Moved to: RGSSx Script Support
You're correct. That part of the script is the fault.
Insert this patch below Zetu's script, should fix the issue. If by any chance, the author of the script is still active, you should report it.
Code:
class Game_Message
  alias zetu_msgsavefix_clear clear
  def clear
    zetu_msgsavefix_clear
    @choice_cancel_proc = nil
  end
end
Thanks so much TheoAllen!

Original thread: https://forums.rpgmakerweb.com/threads/cant-save-in-game-due-to-script.119438/