Compatibility error between VE Sfonts and Modern Algebra Choice Options

Today I installed Victor Engine's Sfonts script and it works fine. The only problem is that whenever a choice is shown, an error pops and the game crashes. Here's the error and the two scripts:
Screenshot (36).png


VE Sfonts: https://victorenginescripts.wordpress.com/rpg-maker-vx-ace/sFont/

Choice Options: https://rmrk.net/index.php?topic=47593.0

I think the function that causes the error is change_color, because it's in both scripts

The error does not show in an empty project.

EDIT: If i comment out this line:
contents.sfont.alpha = enabled ? 255 : translucent_alpha
from the function change_color in VE Sfonts, the game works but it's no longer able to display disabled choices (so it's not the proper solution, but that function causes the issue)
The error does not show in an empty project.
Does that mean you have both scripts in a blank project and it works fine?
Does that mean you have both scripts in a blank project and it works fine?
No, i meant VE Sfonts script alone shows choices without errors. If I add the other one the error pops, so i'm sure it's the cause of the problem
Maybe overwrite the choicelist in MA ATS.
Add this below MA ATS script
Ruby:
class Window_ChoiceList
  def change_color(colour, enabled = true, *args)
    contents.font.color.set(colour)
    contents.font.color.alpha = translucent_alpha unless (@drawing_index ? command_enabled?(@drawing_index) : enabled)
  end
end
Not sure if there is a issue with it though. Not sure if changing colours will work.
Maybe overwrite the choicelist in MA ATS.
Add this below MA ATS script
Ruby:
class Window_ChoiceList
  def change_color(colour, enabled = true, *args)
    contents.font.color.set(colour)
    contents.font.color.alpha = translucent_alpha unless (@drawing_index ? command_enabled?(@drawing_index) : enabled)
  end
end
Not sure if there is a issue with it though. Not sure if changing colours will work.
From what i can see it works just fine with this. I'll let you know if something happens, but it shouldn't. Thank you so much 🙂

Original thread: https://forums.rpgmakerweb.com/threads/compatibility-error-between-ve-sfonts-and-modern-algebra-choice-options.154242/