Novice to Master skill leveling?

stat_text.txt

*if charisma <= 20
  *set cha_text "Novice"
  *goto chart
*if (charisma > 20) and (charisma <= 40)
  *set cha_text "Apprentice"
  *goto chart
*if (charisma > 40) and (charisma <= 60)
  *set cha_text "Adept"
  *goto chart
*if (charisma > 60) and (charisma <= 80)
  *set cha_text "Expert"
  *goto chart
*if (charisma > 80) and (charisma <=100)
  *set cha_text "Master"
  *return

choicescript_stats.txt

*gosub_scene stat_text
*stat_chart
  text Name
  text gender_text Gender

Skills
*stat_chart
  text cha_text Charisma

I have the stat text divided in another file and last time I checked it worked fine, I remember having an issue where the text string wasn’t updated as I intended it to do, so I experiment and came up with this. If you try it remember to add the “stat_text” to the startup file. Let me know if it works like that.