*comment TODO: BOOK 2 SPELLS

Welcome to the character creator for A Mage Reborn: Book Two!

*temp customname false

*choice naming_system gender build skintone
    #I want to select my mage's first and last names from a list of available options.
        #Male
            #Average
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "average"
                    *set skintone "pale"
                    *goto basicsdone
            #Gangly
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "pale"
                    *goto basicsdone
            #Stout
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "stout"
                    *set skintone "pale"
                    *goto basicsdone
            #Curvaceous
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "pale"
                    *goto basicsdone
            #Muscular
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "pale"
                    *goto basicsdone
            #Lean
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "lean"
                    *set skintone "pale"
                    *goto basicsdone
            #Slender
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "slender"
                    *set skintone "pale"
                    *goto basicsdone
            #Heavyset
                #Mahogany
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "pale"
                    *goto basicsdone
        #Female
            #Average
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "average"
                    *set skintone "pale"
                    *goto basicsdone
            #Gangly
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "pale"
                    *goto basicsdone
            #Stout
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "stout"
                    *set skintone "pale"
                    *goto basicsdone
            #Curvaceous
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "pale"
                    *goto basicsdone
            #Muscular
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "pale"
                    *goto basicsdone
            #Lean
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "lean"
                    *set skintone "pale"
                    *goto basicsdone
            #Slender
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "slender"
                    *set skintone "pale"
                    *goto basicsdone
            #Heavyset
                #Mahogany
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "pale"
                    *goto basicsdone
        #Nonbinary
            #Average
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "pale"
                    *goto basicsdone
            #Gangly
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "pale"
                    *goto basicsdone
            #Stout
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "pale"
                    *goto basicsdone
            #Curvaceous
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "pale"
                    *goto basicsdone
            #Muscular
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "pale"
                    *goto basicsdone
            #Lean
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "pale"
                    *goto basicsdone
            #Slender
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "pale"
                    *goto basicsdone
            #Heavyset
                #Mahogany
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname false
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "pale"
                    *goto basicsdone
    #I want to input custom first and last names for my mage.
        #Male
            #Average
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "average"
                    *set skintone "pale"
                    *goto basicsdone
            #Gangly
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "gangly"
                    *set skintone "pale"
                    *goto basicsdone
            #Stout
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "stout"
                    *set skintone "pale"
                    *goto basicsdone
            #Curvaceous
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "curvaceous"
                    *set skintone "pale"
                    *goto basicsdone
            #Muscular
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "muscular"
                    *set skintone "pale"
                    *goto basicsdone
            #Lean
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "lean"
                    *set skintone "pale"
                    *goto basicsdone
            #Slender
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "slender"
                    *set skintone "pale"
                    *goto basicsdone
            #Heavyset
                #Mahogany
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "male"
                    *set build "heavyset"
                    *set skintone "pale"
                    *goto basicsdone
        #Female
            #Average
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "average"
                    *set skintone "pale"
                    *goto basicsdone
            #Gangly
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "gangly"
                    *set skintone "pale"
                    *goto basicsdone
            #Stout
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "stout"
                    *set skintone "pale"
                    *goto basicsdone
            #Curvaceous
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "curvaceous"
                    *set skintone "pale"
                    *goto basicsdone
            #Muscular
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "muscular"
                    *set skintone "pale"
                    *goto basicsdone
            #Lean
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "lean"
                    *set skintone "pale"
                    *goto basicsdone
            #Slender
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "slender"
                    *set skintone "pale"
                    *goto basicsdone
            #Heavyset
                #Mahogany
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "female"
                    *set build "heavyset"
                    *set skintone "pale"
                    *goto basicsdone
        #Nonbinary
            #Average
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "average"
                    *set skintone "pale"
                    *goto basicsdone
            #Gangly
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "gangly"
                    *set skintone "pale"
                    *goto basicsdone
            #Stout
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "stout"
                    *set skintone "pale"
                    *goto basicsdone
            #Curvaceous
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "curvaceous"
                    *set skintone "pale"
                    *goto basicsdone
            #Muscular
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "muscular"
                    *set skintone "pale"
                    *goto basicsdone
            #Lean
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "lean"
                    *set skintone "pale"
                    *goto basicsdone
            #Slender
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "slender"
                    *set skintone "pale"
                    *goto basicsdone
            #Heavyset
                #Mahogany
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "mahogany"
                    *goto basicsdone
                #Dark brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "dark brown"
                    *goto basicsdone
                #Warm brown
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "warm brown"
                    *goto basicsdone
                #Olive
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "olive"
                    *goto basicsdone
                #Tan
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "tan"
                    *goto basicsdone
                #Light
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "light"
                    *goto basicsdone
                #Pale
                    *set customname true
                    *set gender "nonbinary"
                    *set build "heavyset"
                    *set skintone "pale"
                    *goto basicsdone

*label basicsdone

*if (gender = "male")
    *set them "him"
    *set their "his"
    *set they "he"
    *set theirs "his"
    *set theyre "he's"
    *set themselves "himself"
    *set pronvar 1
    *set sirdame "my lord"
*elseif (gender = "female")
    *set them "her"
    *set their "her"
    *set they "she"
    *set theirs "hers"
    *set theyre "she's"
    *set themselves "herself"
    *set pronvar 2
    *set sirdame "my ady"
*else
    *comment gender = "female'
    *set gender "nonbinary"
    *set them "them"
    *set their "their"
    *set they "they"
    *set theirs "theirs"
    *set theyre "they're"
    *set themselves "themselves"
    *set plural true
    *set pronvar 3
    *set sirdame "Retainer"

*set genderset true

*if (customname)
    *goto inputname
*else
    *goto pickname

*label pickname
Please select the mage's name.

*choice first_name last_name
    #Agria
        #Rynenhal
            *set fname "Agria"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Agria"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Agria"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Agria"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Agria"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Agria"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Agria"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Agria"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Agria"
            *set lname "Yulevine"
            *goto namedone
    #Alexis
        #Rynenhal
            *set fname "Alexis"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Alexis"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Alexis"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Alexis"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Alexis"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Alexis"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Alexis"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Alexis"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Alexis"
            *set lname "Yulevine"
            *goto namedone
    #Cethann
        #Rynenhal
            *set fname "Cethann"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Cethann"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Cethann"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Cethann"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Cethann"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Cethann"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Cethann"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Cethann"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Cethann"
            *set lname "Yulevine"
            *goto namedone
    #Ein
        #Rynenhal
            *set fname "Ein"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Ein"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Ein"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Ein"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Ein"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Ein"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Ein"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Ein"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Ein"
            *set lname "Yulevine"
            *goto namedone
    #Fey
        #Rynenhal
            *set fname "Fey"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Fey"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Fey"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Fey"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Fey"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Fey"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Fey"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Fey"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Fey"
            *set lname "Yulevine"
            *goto namedone
    #Hel
        #Rynenhal
            *set fname "Hel"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Hel"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Hel"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Hel"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Hel"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Hel"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Hel"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Hel"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Hel"
            *set lname "Yulevine"
            *goto namedone
    #Innes
        #Rynenhal
            *set fname "Innes"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Innes"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Innes"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Innes"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Innes"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Innes"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Innes"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Innes"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Innes"
            *set lname "Yulevine"
            *goto namedone
    #Leith
        #Rynenhal
            *set fname "Leith"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Leith"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Leith"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Leith"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Leith"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Leith"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Leith"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Leith"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Leith"
            *set lname "Yulevine"
            *goto namedone
    #Rune
        #Rynenhal
            *set fname "Rune"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Rune"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Rune"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Rune"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Rune"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Rune"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Rune"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Rune"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Rune"
            *set lname "Yulevine"
            *goto namedone
    #Sevan
        #Rynenhal
            *set fname "Sevan"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Sevan"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Sevan"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Sevan"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Sevan"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Sevan"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Sevan"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Sevan"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Sevan"
            *set lname "Yulevine"
            *goto namedone
    #Yuval
        #Rynenhal
            *set fname "Yuval"
            *set lname "Rynenhal"
            *goto namedone
        #Orlaigne
            *set fname "Yuval"
            *set lname "Orlaigne"
            *goto namedone
        #Melmesne
            *set fname "Yuval"
            *set lname "Melmesne"
            *goto namedone
        #Arbolais
            *set fname "Yuval"
            *set lname "Arbolais"
            *goto namedone
        #Selencal
            *set fname "Yuval"
            *set lname "Selencal"
            *goto namedone
        #Talovaire
            *set fname "Yuval"
            *set lname "Talovaire"
            *goto namedone
        #Edenhaut
            *set fname "Yuval"
            *set lname "Edenhaut"
            *goto namedone
        #Saungalle
            *set fname "Yuval"
            *set lname "Saungalle"
            *goto namedone
        #Yulevine
            *set fname "Yuval"
            *set lname "Yulevine"
            *goto namedone

*label inputname

Please enter your character's first name:

*input_text fname

And their last name:

*input_text lname

*goto namedone

*label namedone

Please define ${fname} ${lname}'s hair and eyes.

*choice hair_length hair_color eye_color
    #Long
        #Black
            #Black
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "black"
                *set eyecolor "red"
                *goto haireyedone
        #Brown
            #Black
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "brown"
                *set eyecolor "red"
                *goto haireyedone
        #Blond
            #Black
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "blond"
                *set eyecolor "red"
                *goto haireyedone
        #Ginger
            #Black
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "ginger"
                *set eyecolor "red"
                *goto haireyedone
        #Red
            #Black
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "red"
                *set eyecolor "red"
                *goto haireyedone
        #Auburn
            #Black
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "auburn"
                *set eyecolor "red"
                *goto haireyedone
        #Gray
            #Black
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "gray"
                *set eyecolor "red"
                *goto haireyedone
        #White
            #Black
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "long"
                *set haircolor "white"
                *set eyecolor "red"
                *goto haireyedone
    #Shoulder-length
        #Black
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "black"
                *set eyecolor "red"
                *goto haireyedone
        #Brown
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "brown"
                *set eyecolor "red"
                *goto haireyedone
        #Blond
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "blond"
                *set eyecolor "red"
                *goto haireyedone
        #Ginger
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "ginger"
                *set eyecolor "red"
                *goto haireyedone
        #Red
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "red"
                *set eyecolor "red"
                *goto haireyedone
        #Auburn
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "auburn"
                *set eyecolor "red"
                *goto haireyedone
        #Gray
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "gray"
                *set eyecolor "red"
                *goto haireyedone
        #White
            #Black
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "shoulder-length"
                *set haircolor "white"
                *set eyecolor "red"
                *goto haireyedone
    #Bobbed
        #Black
            #Black
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "black"
                *set eyecolor "red"
                *goto haireyedone
        #Brown
            #Black
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "brown"
                *set eyecolor "red"
                *goto haireyedone
        #Blond
            #Black
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "blond"
                *set eyecolor "red"
                *goto haireyedone
        #Ginger
            #Black
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "ginger"
                *set eyecolor "red"
                *goto haireyedone
        #Red
            #Black
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "red"
                *set eyecolor "red"
                *goto haireyedone
        #Auburn
            #Black
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "auburn"
                *set eyecolor "red"
                *goto haireyedone
        #Gray
            #Black
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "gray"
                *set eyecolor "red"
                *goto haireyedone
        #White
            #Black
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bobbed"
                *set haircolor "white"
                *set eyecolor "red"
                *goto haireyedone
    #Short
        #Black
            #Black
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "black"
                *set eyecolor "red"
                *goto haireyedone
        #Brown
            #Black
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "brown"
                *set eyecolor "red"
                *goto haireyedone
        #Blond
            #Black
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "blond"
                *set eyecolor "red"
                *goto haireyedone
        #Ginger
            #Black
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "ginger"
                *set eyecolor "red"
                *goto haireyedone
        #Red
            #Black
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "red"
                *set eyecolor "red"
                *goto haireyedone
        #Auburn
            #Black
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "auburn"
                *set eyecolor "red"
                *goto haireyedone
        #Gray
            #Black
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "gray"
                *set eyecolor "red"
                *goto haireyedone
        #White
            #Black
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "short"
                *set haircolor "white"
                *set eyecolor "red"
                *goto haireyedone
    #Buzzed
        #Black
            #Black
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "black"
                *set eyecolor "red"
                *goto haireyedone
        #Brown
            #Black
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "brown"
                *set eyecolor "red"
                *goto haireyedone
        #Blond
            #Black
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "blond"
                *set eyecolor "red"
                *goto haireyedone
        #Ginger
            #Black
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "ginger"
                *set eyecolor "red"
                *goto haireyedone
        #Red
            #Black
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "red"
                *set eyecolor "red"
                *goto haireyedone
        #Auburn
            #Black
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "auburn"
                *set eyecolor "red"
                *goto haireyedone
        #Gray
            #Black
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "gray"
                *set eyecolor "red"
                *goto haireyedone
        #White
            #Black
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "buzzed"
                *set haircolor "white"
                *set eyecolor "red"
                *goto haireyedone
    #Bald
        #Black
            #Black
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "black"
                *set eyecolor "red"
                *goto haireyedone
        #Brown
            #Black
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "brown"
                *set eyecolor "red"
                *goto haireyedone
        #Blond
            #Black
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "blond"
                *set eyecolor "red"
                *goto haireyedone
        #Ginger
            #Black
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "ginger"
                *set eyecolor "red"
                *goto haireyedone
        #Red
            #Black
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "red"
                *set eyecolor "red"
                *goto haireyedone
        #Auburn
            #Black
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "auburn"
                *set eyecolor "red"
                *goto haireyedone
        #Gray
            #Black
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "gray"
                *set eyecolor "red"
                *goto haireyedone
        #White
            #Black
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "black"
                *goto haireyedone
            #Brown
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "brown"
                *goto haireyedone
            #Blue
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "blue"
                *goto haireyedone
            #Green
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "green"
                *goto haireyedone
            #Gray
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "gray"
                *goto haireyedone
            #Hazel
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "hazel"
                *goto haireyedone
            #Violet
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "violet"
                *goto haireyedone
            #Golden
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "golden"
                *goto haireyedone
            #Red
                *set hairlength "bald"
                *set haircolor "white"
                *set eyecolor "red"
                *goto haireyedone

*label haireyedone

*page_break

*set appearanceset true

Select all that apply.

Please be advised that customizing your magical, non-magical, and personality stats will require a large number of custom inputs, such that it will take much longer to complete vs. selecting from presets.

*temp customstats false
*choice stat_definition magical_specialty phantasma leaf_end_profession
    #I want to choose my magical, non-magical, and personality stats from a [b]PRESET[/b] list.
        #Alchemy
            #Satiel
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "alchemy"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
        #Thaum
            #Satiel
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "thaum"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
        #Enchantment
            #Satiel
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "enchantment"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
        #Spiritism
            #Satiel
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats false
                    *set specialty "spiritism"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
    #I want to set [b]CUSTOM[/b] magical, non-magical, and personality stats.
        #Alchemy
            #Satiel
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "alchemy"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
        #Thaum
            #Satiel
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "thaum"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
        #Enchantment
            #Satiel
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "enchantment"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone
        #Spiritism
            #Satiel
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "satiel"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "satiel"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "satiel"
                    *set profession "intrigue"
                    *goto magicdone
            #Airas
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "airas"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "airas"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "airas"
                    *set profession "intrigue"
                    *goto magicdone
            #Gweila
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "gweila"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "gweila"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "gweila"
                    *set profession "intrigue"
                    *goto magicdone
            #Nyx
                #Tavern singer/dancer
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "nyx"
                    *set profession "charisma"
                    *goto magicdone
                #Scholar
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "nyx"
                    *set profession "learning"
                    *goto magicdone
                #Spy
                    *set customstats true
                    *set specialty "spiritism"
                    *set phant1 "nyx"
                    *set profession "intrigue"
                    *goto magicdone

*label magicdone

*if (specialty = "alchemy")
    *set specialty "Alchemy"
    *set ultima "alchemy"
    *set specialvar 2
    *set widowsstream true
    *set specialtyset true
*elseif (specialty = "thaum")
    *set specialty "Thaum"
    *set ultima "thaum"
    *set specialvar 1
    *set skywrath true
    *set specialtyset true
*elseif (specialty = "enchantment")
    *set specialty "Enchantment"
    *set ultima "enchantment"
    *set specialvar 3
    *set banecircle true
    *set specialtyset true
*else
    *set specialty "Spiritism"
    *comment specialty = "spiritism"
    *set specialvar 4
    *set ultima "spiritism"
    *set gatebreaker true
    *set specialtyset true

*if (phant1 = "satiel")
    *set phant1 "Satiel"
    *set phant1title  "the High Intercessor"
    *set phantvar 1
    *set satiel true
    *set reckoninglight true
    *set holyaegis true
    *set greatintercession true
*elseif (phant1 = "airas")
    *set phant1 "Airas"
    *set phant1title "the Beckoning Hand"
    *set phantvar 2
    *set airas true
    *set venomdance true
    *set arcoferasure true
    *set arcofinception true
*elseif (phant1 = "gweila")
    *set phant1 "Gweila"
    *set phant1title "the Clear-Sighted"
    *set phantvar 3
    *set gweila true
    *set shamanselegy true
    *set songofalacrity true
    *set avatar true
*else
    *comment (phant1 = "Nyx")
    *set phant1 "Nyx"
    *set phant1title "the Condemned"
    *set phantvar 4
    *set nyx true
    *set plaguehand true
    *set danceofthedead true
    *set soultaker true

*set phant1acq true

*if (customstats)
    *goto customstatscene
*else
    *goto presetstatscene

*label presetstatscene
*temp magicbuild 0
*temp nonmagicbuild 0
*temp personalitybuild 0

You have chosen to select from a preset list of builds.

For the purposes of consistency, please select a magical build which is in line with your specialty and phantasma choice.

*choice magic_build nonmagic_build personality_build
    #Alchemy 80, Thaum 75, Enchantment 70, Spiritism 30
        #Charisma 80, Learning 65, Intrigue 40 [Injury: Broken Knee]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 1
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 40, Learning 80, Intrigue 65 [Injury: Scarred Face]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 2
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 65, Learning 40, Intrigue 80 [Injury: Concussion]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 3
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 80, Learning 70, Intrigue 50 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 4
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 50, Learning 80, Intrigue 70 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 5
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 70, Learning 50, Intrigue 80 [No injuries]    
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 1
                *set nonmagicbuild 6
                *set personalitybuild 8
                *goto buildsdone
    #Alchemy 30, Thaum 70, Enchantment 75, Spiritism 80
        #Charisma 80, Learning 65, Intrigue 40 [Injury: Broken Knee]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 1
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 40, Learning 80, Intrigue 65 [Injury: Scarred Face]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 2
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 65, Learning 40, Intrigue 80 [Injury: Concussion]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 3
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 80, Learning 70, Intrigue 50 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 4
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 50, Learning 80, Intrigue 70 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 5
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 70, Learning 50, Intrigue 80 [No injuries]    
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 2
                *set nonmagicbuild 6
                *set personalitybuild 8
                *goto buildsdone
    #Alchemy 75, Thaum 80, Enchantment 30, Spiritism 70
        #Charisma 80, Learning 65, Intrigue 40 [Injury: Broken Knee]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 1
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 40, Learning 80, Intrigue 65 [Injury: Scarred Face]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 2
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 65, Learning 40, Intrigue 80 [Injury: Concussion]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 3
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 80, Learning 70, Intrigue 50 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 4
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 50, Learning 80, Intrigue 70 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 5
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 70, Learning 50, Intrigue 80 [No injuries]    
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 3
                *set nonmagicbuild 6
                *set personalitybuild 8
                *goto buildsdone
    #Alchemy 70, Thaum 30, Enchantment 80, Spiritism 75
        #Charisma 80, Learning 65, Intrigue 40 [Injury: Broken Knee]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 1
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 40, Learning 80, Intrigue 65 [Injury: Scarred Face]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 2
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 65, Learning 40, Intrigue 80 [Injury: Concussion]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 3
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 80, Learning 70, Intrigue 50 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 4
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 50, Learning 80, Intrigue 70 [No injuries]
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 5
                *set personalitybuild 8
                *goto buildsdone
        #Charisma 70, Learning 50, Intrigue 80 [No injuries]    
            #Noble 80, Charming 80, Emotional 80, Optimistic 80
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 1
                *goto buildsdone
            #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 2
                *goto buildsdone
            #Noble 75, Charming 55, Stoic 55, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 3
                *goto buildsdone
            #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 4
                *goto buildsdone
            #Noble 90, Reserved 80, Emotional 80, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 5
                *goto buildsdone
            #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 6
                *goto buildsdone
            #Noble 75, Reserved 75, Stoic 75, Cynical 75
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 7
                *goto buildsdone
            #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
                *set magicbuild 4
                *set nonmagicbuild 6
                *set personalitybuild 8
                *goto buildsdone

*label buildsdone
*if (magicbuild = 1)
    *set alchemy 80
    *set thaum 75
    *set enchantment 70
    *set spiritism 30
*elseif (magicbuild = 2)
    *set alchemy 30
    *set thaum 70
    *set enchantment 75
    *set spiritism 80
*elseif (magicbuild = 3)
    *set alchemy 75
    *set thaum 80
    *set enchantment 30
    *set spiritism 70
*elseif (magicbuild = 4)
    *set alchemy 70
    *set thaum 30
    *set enchantment 80
    *set spiritism 75
    
*if (nonmagicbuild = 1)
    *set charisma 80
    *set learning 65
    *set intrigue 40
    *set injury "brokenknee"
*elseif (nonmagicbuild = 2)
    *set charisma 40
    *set learning 80
    *set intrigue 65
    *set injury "facecut"
*elseif (nonmagicbuild = 3)
    *set charisma 65
    *set learning 40
    *set intrigue 80
    *set injury "concussion"
*elseif (nonmagicbuild = 4)
    *set charisma 80
    *set learning 70
    *set intrigue 50
*elseif (nonmagicbuild = 5)
    *set charisma 50
    *set learning 80
    *set intrigue 70
*elseif (nonmagicbuild = 6)
    *set charisma 70
    *set learning 50
    *set intrigue 80

*if (personalitybuild = 1)
    *set noble 80
    *set charming 80
    *set emotional 80
    *set optimistic 80
*elseif (personalitybuild = 2)
    *set noble 20
    *set charming 20
    *set emotional 20
    *set optimistic 20
*elseif (personalitybuild = 3)
    *set noble 75
    *set charming 55
    *set emotional 45
    *set optimistic 25
*elseif (personalitybuild = 4)
    *set noble 25
    *set charming 45
    *set emotional 55
    *set optimistic 75
*elseif (personalitybuild = 5)
    *set noble 90
    *set charming 20
    *set emotional 80
    *set optimistic 25
*elseif (personalitybuild = 6)
    *set noble 10
    *set charming 80
    *set emotional 20
    *set optimistic 75
*elseif (personalitybuild = 7)
    *set noble 75
    *set charming 25
    *set emotional 25
    *set optimistic 25
*else
    *comment (personalitybuild = 8)
    *set noble 25
    *set charming 75
    *set emotional 75
    *set optimistic 75
*goto buildsset

*label customstatscene
Please input ${fname}'s Alchemy stat.
*input_number alchemy 0 100
Please input ${fname}'s Thaum stat.
*input_number thaum 0 100
Please input ${fname}'s Enchantment stat.
*input_number enchantment 0 100
Please input ${fname}'s Spiritism stat.
*input_number spiritism 0 100
Please input ${fname}'s Charisma stat.
*input_number charisma 0 100
Please input ${fname}'s Learning stat.
*input_number learning 0 100
Please input ${fname}'s Intrigue stat.
*input_number intrigue 0 100
Please select ${fname}'s injury status.
*choice
    #Broken knee
        *set injury "brokenknee"
    #Scarred face
        *set injury "facecut"
    #Concussion
        *set injury "concussion"
    #No injuries.
        *goto postcha

*label postcha
Please input ${fname}'s Noble stat (0-49 indicates a pragmatic character, while 51-100 indicates a noble character).
*input_number noble 0 100
Please input ${fname}'s Charming stat (0-49 indicates a reserved character, while 51-100 indicates a charming character).
*input_number charming 0 100
Please input ${fname}'s Emotional stat (0-49 indicates a stoic character, while 51-100 indicates an emotional character).
*input_number emotional 0 100
Please input ${fname}'s Optimistic stat (0-49 indicates a cynical character, while 51-100 indicates an optimistic character).
*input_number optimistic 0 100

*label buildsset

Please select all that apply.

For the purpose of consistency, if sending a romantic letter, please ensure that the corresponding romantic status is selected, and the corresponding relationship score is suitably high.

*temp norom false

*choice romantic_status param_relationship_values eli_gender letter_given_to
    #${fname} romanced Leon in Book 1.
        #${fname}'s relationships values with the Parami cast were: Leon 80, Ilya 70, Saine 60
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set leonrom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
        #${fname}'s relationships values with the Parami cast were: Leon 70, Ilya 60, Saine 80
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set leonrom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
        #${fname}'s relationships values with the Parami cast were: Leon 60, Ilya 80, Saine 70
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set leonrom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
    #${fname} romanced Ilya in Book 1.
        #${fname}'s relationships values with the Parami cast were: Leon 80, Ilya 70, Saine 60
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set ilyarom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
        #${fname}'s relationships values with the Parami cast were: Leon 70, Ilya 60, Saine 80
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set ilyarom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
        #${fname}'s relationships values with the Parami cast were: Leon 60, Ilya 80, Saine 70
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set ilyarom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
    #${fname} romanced neither Leon nor Ilya in Book 1.
        #${fname}'s relationships values with the Parami cast were: Leon 80, Ilya 70, Saine 60
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set norom true
                    *set rleon 80
                    *set rilya 70
                    *set rsaine 60
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
        #${fname}'s relationships values with the Parami cast were: Leon 70, Ilya 60, Saine 80
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set norom true
                    *set rleon 70
                    *set rilya 60
                    *set rsaine 80
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone
        #${fname}'s relationships values with the Parami cast were: Leon 60, Ilya 80, Saine 70
            #Eli's gender is male.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "male"
                    *set letterto "bessthank"
                    *goto romdone
            #Eli's gender is female.
                #${fname} sent a letter to Leon, declaring ${their} love for him.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "leonlove"
                    *goto romdone
                #${fname} sent a letter to Leon, wishing him luck on his kingship.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "leonfriend"
                    *goto romdone
                #${fname} sent a letter to Ilya, declaring ${their} love for her.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "ilyalove"
                    *goto romdone
                #${fname} sent a letter to Ilya, wishing her luck with her saintess duties.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "ilyafriend"
                    *goto romdone
                #${fname} sent a letter to Saine, advising him on his current situation.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "saineace"
                    *goto romdone
                #${fname} sent a letter to Saine, reassuring him that ${their} friendship will always be his.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "sainefriend"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, promising that ${they}'ll be home soon.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "besshome"
                    *goto romdone
                #${fname} sent a letter to Aunt Bess, thanking her for the year ${they} spent in her care.
                    *set norom true
                    *set rleon 60
                    *set rilya 80
                    *set rsaine 70
                    *set geli "female"
                    *set letterto "bessthank"
                    *goto romdone

*label romdone

*if (geli = "male")
    *set elias "Elias"
    *set ehe "he"
    *set ehim "him"
    *set ehis "his"
    *set etheirs "his"
    *set ehes "he's"
    *set evar 1
*else
    *comment geli = "female"
    *set elias "Eliana"
    *set ehe "she"
    *set ehim "her"
    *set ehis "her"
    *set etheirs "hers"
    *set ehes "she's"
    *set evar 2

Please define the following variables, which reflect the different possible outcomes of events in Book 1:

[b]1. children_rescued:[/b] How many children were rescued during the bandit encampment arc?
*line_break
[b]2. silcur_truth[/b]: Did the White Fangs find out the truth behind the Silcur moonvein plague?
*line_break
[b]3. saine_confide:[/b] Did Saine confide in ${fname} regarding his romantic and sexual inclinations?
*line_break
[b]4. ask_Ilya_forgive:[/b] Did ${fname} ask Ilya to forgive Leon for the former's imprisonment and decreed execution?
*line_break
[b]5. gael_alive:[/b] Is the paladin Gael still alive at the end of Book 1?

Additionally, please select how to proceed in the character creator:
*line_break
[b]6. spell_defining:[/b] Do you wish to select the spells ${fname} cast from a list of presets, or customize the list entirely?

Please be advised that customizing the spells cast will take a much longer time vs. selecting from a list of presets.

*temp customspells false

*choice children_rescued silcur_truth saine_confide ask_ilya_forgive gael_alive spell_defining
    #All seven children were rescued.
        #Yes, the White Fangs found out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
        #No, the White Fangs did not find out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 7
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
    #Five children were rescued.
        #Yes, the White Fangs found out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
        #No, the White Fangs did not find out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 5
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
    #Three children were rescued.
        #Yes, the White Fangs found out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
        #No, the White Fangs did not find out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 3
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
    #One child was rescued.
        #Yes, the White Fangs found out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth true
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
        #No, the White Fangs did not find out the truth behind the moonvein plague.
            #Yes, Saine confided in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace true
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
            #No, Saine did not confide in ${fname} regarding his romantic and sexual inclinations.
                #Yes, ${fname} asked Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon true
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone
                #No, ${fname} did not ask Ilya to forgive Leon.
                    #Yes, the paladin Gael is alive.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive true
                            *set customspells true
                            *goto plotstuffdone
                    #No, the paladin Gael is dead.
                        #I want to select the spells ${fname} cast from a list of presets.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells false
                            *goto plotstuffdone
                        #I want to customize the spells ${fname} cast.
                            *set survivorcount 1
                            *set silcurtruth false
                            *set saineace false
                            *set ilyaplsforgiveleon false
                            *set gaelalive false
                            *set customspells true
                            *goto plotstuffdone

*label plotstuffdone
*if (survivorcount = 7)
    *set campsurvivor "sheltered"
*elseif (survivorcount = 5)
    *set campsurvivor "taken"
*elseif (survivorcount = 3)
    *set campsurvivor "taken"
*elseif (survivorcount = 1)
    *set campsurvivor "jania"

*if (customspells)
    *goto spellcustomscreen
*else
    *comment customspells = false
    *goto spellpresetscreen

*label spellpresetscreen
*temp spellpreset 0

Please define your mage's level of expertise in the following spellcasting schools.

- A level of [b]'elite'[/b] means that your mage has cast every spell from that school which are available in Book 1.
*line_break
- A level of [b]'high'[/b] means that your mage has very often cast a spell from that school.
*line_break
- A level of [b]'mid'[/b] means that your mage has occasionally cast a spell from that school.
*line_break
- A level of [b]'low'[/b] means that your mage has rarely cast a spell from that school.
*line_break
- A level of [b]'none'[/b] means that your mage has never cast a spell from that school.

For the purposes of consistency, please ensure that your selected spellcasting level is in line with the specialty and spellcasting stats you have previously defined.

*temp thaumlevel 0
*temp chemlevel 0
*temp chantlevel 0
*temp spiritlevel 0

*choice thaum_level alchemy_level enchantment_level spiritism_level
    #Elite
        #Elite
            #Elite
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5	
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #High
            #Elite
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Mid
            #Elite
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5	
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Low
            #Elite
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5	
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #None
            #Elite
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5	
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 5
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
    #High
        #Elite
            #Elite
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4	
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #High
            #Elite
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Mid
            #Elite
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4	
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Low
            #Elite
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4	
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #None
            #Elite
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4	
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 4
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
    #Mid
        #Elite
            #Elite
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3	
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #High
            #Elite
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Mid
            #Elite
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3	
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Low
            #Elite
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3	
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #None
            #Elite
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3	
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 3
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
    #Low
        #Elite
            #Elite
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2	
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #High
            #Elite
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Mid
            #Elite
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2	
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Low
            #Elite
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2	
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #None
            #Elite
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2	
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 2
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
    #None
        #Elite
            #Elite
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1	
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 5
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #High
            #Elite
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 4
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Mid
            #Elite
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1	
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 3
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #Low
            #Elite
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1	
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 2
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
        #None
            #Elite
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 5
                    *set spiritlevel 1
                    *goto spelllistdone
            #High
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone
            #Mid
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 3
                    *set spiritlevel 1
                    *goto spelllistdone
            #Low
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1	
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 2
                    *set spiritlevel 1
                    *goto spelllistdone
            #None
                #Elite
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 5
                    *goto spelllistdone
                #High
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 4
                    *goto spelllistdone
                #Mid
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 3
                    *goto spelllistdone
                #Low
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 2
                    *goto spelllistdone
                #None
                    *set thaumlevel 1
                    *set chemlevel 1
                    *set chantlevel 1
                    *set spiritlevel 1
                    *goto spelllistdone

*label spelllistdone
*if (thaumlevel = 1)
    *goto enchantspellset
*elseif (thaumlevel = 2)
    *set tcounter +2
    *set boomeranggale true
    *set moranaswail true
*elseif (thaumlevel = 3)
    *set tcounter +3
    *set boomeranggale true
    *set moranaswail true
    *set flametongue true
*elseif (thaumlevel = 4)
    *set tcounter +4
    *set boomeranggale true
    *set moranaswail true
    *set flametongue true
    *set waterwyrm true
*else
    *set tcounter +5
    *set boomeranggale true
    *set moranaswail true
    *set flametongue true
    *set waterwyrm true
    *set sunflame true

*label enchantspellset
*if (chantlevel = 1)
    *goto alchemyspellset
*elseif (chantlevel = 2)
    *set ecounter +2
    *set glyphofbinding true
    *set glyphofrunefire true
*elseif (chantlevel = 3)
    *set ecounter +6
    *set glyphofbinding true
    *set glyphofrunefire true
    *set glyphofsubjugation true
    *set glyphofimmunity true
    *set glyphofinvisibility true
    *set glyphofmagesong true
*elseif (chantlevel = 4)
    *set ecounter +11
    *set glyphofbinding true
    *set glyphofrunefire true
    *set glyphofsubjugation true
    *set glyphofimmunity true
    *set glyphofinvisibility true
    *set glyphofmagesong true
    *set glyphofailment true
    *set glyphofstrength true
    *set glyphofprotection true
    *set glyphofdispel true
    *set glyphofterror true
*else
    *set ecounter +15
    *set glyphofbinding true
    *set glyphofrunefire true
    *set glyphofsubjugation true
    *set glyphofimmunity true
    *set glyphofinvisibility true
    *set glyphofmagesong true
    *set glyphofailment true
    *set glyphofstrength true
    *set glyphofprotection true
    *set glyphofdispel true
    *set glyphofterror true
    *set glyphofweakness true
    *set glyphofmanaburn true
    *set glyphofslumber true
    *set glyphofsealing true

*label alchemyspellset
*if (chemlevel = 1)
    *goto spiritismspellset
*elseif (chemlevel = 2)
    *set acounter +2
    *set everblaze true
    *set claycannon true
*elseif (chemlevel = 3)
    *set acounter +4
    *set everblaze true
    *set claycannon true
    *set heimantivenom true
    *set manarecoverypotion true
*elseif (chemlevel = 4)
    *set acounter +7
    *set everblaze true
    *set claycannon true
    *set heimantivenom true
    *set manarecoverypotion true
    *set witchnight true
    *set poisonkiss true
    *set rustelixir true
*else
    *set acounter +9
    *set everblaze true
    *set claycannon true
    *set heimantivenom true
    *set manarecoverypotion true
    *set witchnight true
    *set poisonkiss true
    *set rustelixir true
    *set draughtofclarity true
    *set cureall true

*label spiritismspellset
*if (spiritlevel = 1)
    *goto spellpresetsdone
*elseif (spiritlevel = 2)
    *set scounter +2
    *set visionsofthedamned true
    *set fistofthedarklord true
*elseif (spiritlevel = 3)
    *set scounter +3
    *set visionsofthedamned true
    *set fistofthedarklord true
    *set spiritgate true
*elseif (spiritlevel = 4)
    *set scounter +5
    *set visionsofthedamned true
    *set fistofthedarklord true
    *set spiritgate true
    *set rancor true
    *set spiritcloak true
*else
    *set scounter +6
    *set visionsofthedamned true
    *set fistofthedarklord true
    *set spiritgate true
    *set rancor true
    *set spiritcloak true
    *set possession true

*label spellpresetsdone
*goto spellsdone

*label spellcustomscreen
*label whichthaum
Which thaum spells has ${fname} cast in Book 1?
*choice
    *disable_reuse #Boomerang Gale
        *set boomeranggale true
        *set tcounter +1
        *goto whichthaum
    *disable_reuse #Morana's Wail
        *set moranaswail true
        *set tcounter +1
        *goto whichthaum
    *disable_reuse #Flametongue
        *set flametongue true
        *set tcounter +1
        *goto whichthaum
    *disable_reuse #Waterwyrm
        *set waterwyrm true
        *set tcounter +1
        *goto whichthaum
    *disable_reuse #Sunflame
        *set sunflame true
        *set tcounter +1
        *goto whichthaum
    *disable_reuse #Stone Graveyard
        *set stonegraveyard true
        *set tcounter +1
        *goto whichthaum
    #${fname} has cast no more thaum spells.
        *goto which1

*label which1
Which alchemy spells has ${fname} cast in Book 1?
*choice
    *disable_reuse #Combat Alchemy: Everblaze
        *set everblaze true
        *set acounter +1
        *goto which1
    *disable_reuse #Combat Alchemy: Clay Cannon
        *set claycannon true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Heim Antivenom
        *set heimantivenom true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Mana Recovery Potion
        *set manarecoverypotion true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Witchnight
        *set witchnightspell true
        *set acounter +1
        *goto which1
    *disable_reuse #Combat Alchemy: Poison Kiss
        *set poisonkiss true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Rust Elixir
        *set rustelixir true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Draught of Clarity
        *set draughtofclarity true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Draught of Quick Recovery
        *set draughtofquickrecovery true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Palmerra
        *set palmerra true
        *set acounter +1
        *goto which1
    *disable_reuse #Combat Alchemy: Rust Missile
        *set rustmissile true
        *set acounter +1
        *goto which1
    *disable_reuse #Synthesis: Cure-All
        *set cureall true
        *set acounter +1
        *goto which1
    #${fname} has cast no more alchemy spells.
        *goto which2

*label which2
*choice
    *disable_reuse #Glyph of Binding
        *set glyphofbinding true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Runefire
        *set glyphofrunefire true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Subjugation
        *set glyphofsubjugation true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Immunity
        *set glyphofimmunity true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Invisibility
        *set glyphofinvisibility true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Magesong
        *set glyphofmagesong true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Ailment
        *set glyphofailment true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Protection
        *set glyphofprotection true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Strength
        *set glyphofstrength true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Dispel
        *set glyphofdispel true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Terror
        *set glyphofterror true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Slumber
        *set glyphofslumber true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Weakness
        *set glyphofweakness true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Manaburn
        *set glyphofmanaburn true
        *set ecounter +1
        *goto which2
    *disable_reuse #Glyph of Sealing
        *set glyphofsealing true
        *set ecounter +1
        *goto which2
    #${fname} has cast no more enchantment spells.
        *goto which3

*label which3
Which spiritism spells has ${fname} cast in Book 1?
*choice
    *disable_reuse #Visions of the Damned
        *set visionsofthedamned true
        *set scounter +1
        *goto which3
    *disable_reuse #Fist of the Dark Lord
        *set fistofthedarklord true
        *set scounter +1
        *goto which3
    *disable_reuse #Rancor
        *set rancor true
        *set scounter +1
        *goto which3
    *disable_reuse #Spirit Gate
        *set spiritgate true
        *set scounter +1
        *goto which3
    *disable_reuse #Spirit Cloak
        *set spiritcloak true
        *set scounter +1
        *goto which3
    *disable_reuse #Possession
        *set possession true
        *set scounter +1
        *goto which3
    #${fname} has cast no more spiritism spells.
        *goto spellsdone

*label spellsdone

*set prenoble noble
*set precharming charming
*set preemotional emotional
*set preoptimistic optimistic

*set kleon 1
*set ksaine 1
*set kilya 1
*set karcana true
*set settinghistory true
*set codexarcana true

*temp arccode ""
Please select the chapter you would like to start your game on.
*choice
    #Chapter 6 [Thulrum Arc, start of Book 2]
        *set arccode "c6"
    #Chapter 7 [Reglaire/Eli Rescue Arc]
        *set arccode "c7"
    #Chapter 8 [Aulain Arc]
        *set arccode "c8"
    #Chapter 9 [Thulrum Arc Redux]
        *set arccode "c9"

*if (arccode = "c6")
    This is the end of the character creation screen. You will now be redirected to Chapter 6.

    Please enjoy the demo for [i]A Mage Reborn: Book Two![/i]
    *page_break
    *goto_scene Chapter6_Thulrum
*else
    *goto 7sets

*label 7sets
*set ktahlia 2
*set kyusuha 1
*set kfalco 1

Please select all that apply.

To minimize the amount of time needed to be spent on this screen, the ability to set custom values for fake name, and post-reset personality meters have not been made available.

Additionally, relationship values with the Arcadian cast have been set to a middling default, as content does not yet vary according to their relationship values at this time.

*temp customarcarels false
*temp resetmeters false
*set realname "${fname}"

*choice yu_gender f_gender reset_personality alias_status assailants_response
    #Yu's gender is male.
        #F's gender is male.
            #At the start of Book 2, ${fname} [b]KEPT[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
            #At the start of Book 2, ${fname} [b]RESET[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
        #F's gender is female.
            #At the start of Book 2, ${fname} [b]KEPT[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
            #At the start of Book 2, ${fname} [b]RESET[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "male"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
    #Yu's gender is female.
        #F's gender is male.
            #At the start of Book 2, ${fname} [b]KEPT[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters false
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
            #At the start of Book 2, ${fname} [b]RESET[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "male"
                        *set resetmeters true
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
        #F's gender is female.
            #At the start of Book 2, ${fname} [b]KEPT[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters false
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone
            #At the start of Book 2, ${fname} [b]RESET[/b] ${their} personality meters.
                #${fname} used ${their} real name in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias false
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias false
                        *set garilolives false
                        *goto fyugendersdone
                #${fname} used an alias in Thulrum.
                    #${fname} killed the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias true
                        *set garilolives true
                        *goto fyugendersdone
                    #${fname} let go of the assailants during Arrival.
                        *set gyusuha "female"
                        *set gfalco "female"
                        *set resetmeters true
                        *set alias true
                        *set garilolives false
                        *goto fyugendersdone

*label fyugendersdone
*if (gyusuha = "male")
    *set yhe "he"
    *set yhim "him"
    *set yhis "his"
    *set ytheirs "his"
    *set yhes "he's"
    *set yvar 1
    *set yusuha "Yusuha"
*else
    *set yhe "she"
    *set yhim "her"
    *set yhis "her"
    *set ytheirs "hers"
    *set yhes "she's"
    *set yvar 2
    *set yusuha "Yurui"

*if (gfalco = "male")
    *set fhe "he"
    *set fhim "him"
    *set fhis "his"
    *set ftheirs "his"
    *set fhes "he's"
    *set fvar 1
    *set falco "Falco"
*else
    *set fhe "she"
    *set fhim "her"
    *set fhis "her"
    *set ftheirs "hers"
    *set fhes "she's"
    *set fvar 2
    *set falco "Flyss"

*if (resetmeters)
    *temp newpersonalitybuild 0
    *set statchange true
    *if (prenoble > 64)
        *set noblej true
    *if (prenoble < 36)
        *set pragmaticj true
    *if (precharming > 64)
        *set charmingj true
    *if (precharming < 36)
        *set reservedj true
    *if (preemotional > 64)
        *set emotionalj true
    *if (preemotional < 36)
        *set stoicj true
    *if (preoptimistic > 64)
        *set optimisticj true
    *if (preoptimistic < 36)
        *set cynicalj true

*if ((alias = true) and (resetmeters = true))
    *goto aliasandreset
*elseif (alias)
    *goto aliasset
*elseif (resetmeters)
    *goto newpersonalityset
*else
    *goto c6statsdone

*label aliasandreset
*temp aliasvar 0

Please define your alias and new personality meters.

*temp personalitybuild 0

*choice alias_name new_personality_meters
    #Avir
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 1
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 1
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 1
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 1
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 1
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 1
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 1
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 1
            *goto newnamedone
    #Celth
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 2
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 2
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 2
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 2
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 2
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 2
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 2
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 2
            *goto newnamedone
    #Darial
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 3
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 3
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 3
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 3
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 3
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 3
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 3
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 3
            *goto newnamedone
    #Ist
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 4
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 4
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 4
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 4
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 4
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 4
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 4
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 4
            *goto newnamedone
    #Merran
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 5
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 5
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 5
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 5
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 5
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 5
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 5
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 5
            *goto newnamedone
    #Paven
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 6
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 6
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 6
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 6
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 6
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 6
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 6
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 6
            *goto newnamedone
    #Samir
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 7
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 7
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 7
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 7
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 7
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 7
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 7
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 7
            *goto newnamedone
    #Yuthiel
        #Noble 80, Charming 80, Emotional 80, Optimistic 80
            *set personalitybuild 1
            *set aliasvar 8
            *goto newnamedone
        #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
            *set personalitybuild 2
            *set aliasvar 8
            *goto newnamedone
        #Noble 75, Charming 55, Stoic 55, Cynical 75
            *set personalitybuild 3
            *set aliasvar 8
            *goto newnamedone
        #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
            *set personalitybuild 4
            *set aliasvar 8
            *goto newnamedone
        #Noble 90, Reserved 80, Emotional 80, Cynical 75
            *set personalitybuild 5
            *set aliasvar 8
            *goto newnamedone
        #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
            *set personalitybuild 6
            *set aliasvar 8
            *goto newnamedone
        #Noble 75, Reserved 75, Stoic 75, Cynical 75
            *set personalitybuild 7
            *set aliasvar 8
            *goto newnamedone
        #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
            *set personalitybuild 8
            *set aliasvar 8
            *goto newnamedone
*label newnamedone
*goto c6statsprocessing

*label aliasset
*temp aliasvar 0

Please select ${fname}'s false name.
*choice
    #Avir
        *set aliasvar 1
    #Celth
        *set aliasvar 2
    #Darial
        *set aliasvar 3
    #Ist
        *set aliasvar 4
    #Merran
        *set aliasvar 5
    #Paven
        *set aliasvar 6
    #Samir
        *set aliasvar 7
    #Yuthiel
        *set aliasvar 8
*goto c6statsprocessing

*label newpersonalityset
*choice
    #Noble 80, Charming 80, Emotional 80, Optimistic 80
        *set newpersonalitybuild 1
    #Pragmatic 80, Reserved 80, Stoic 80, Cynical 80
        *set newpersonalitybuild 2
    #Noble 75, Charming 55, Stoic 55, Cynical 75
        *set newpersonalitybuild 3
    #Pragmatic 75, Reserved 55, Emotional 55, Optimistic 75
        *set newpersonalitybuild 4
    #Noble 90, Reserved 80, Emotional 80, Cynical 75
        *set newpersonalitybuild 5
    #Pragmatic 90, Charming 80, Stoic 80, Optimistic 75
        *set newpersonalitybuild 6
    #Noble 75, Reserved 75, Stoic 75, Cynical 75
        *set newpersonalitybuild 7
    #Pragmatic 75, Charming 75, Emotional 75, Optimistic 75
        *set newpersonalitybuild 8
*goto c6statsprocessing

*label c6statsprocessing
*if (resetmeters = true)
    *if (newpersonalitybuild = 1)
        *set noble 80
        *set charming 80
        *set emotional 80
        *set optimistic 80
    *elseif (newpersonalitybuild = 2)
        *set noble 20
        *set charming 20
        *set emotional 20
        *set optimistic 20
    *elseif (newpersonalitybuild = 3)
        *set noble 75
        *set charming 55
        *set emotional 45
        *set optimistic 25
    *elseif (newpersonalitybuild = 4)
        *set noble 25
        *set charming 45
        *set emotional 55
        *set optimistic 75
    *elseif (newpersonalitybuild = 5)
        *set noble 90
        *set charming 20
        *set emotional 80
        *set optimistic 25
    *elseif (newpersonalitybuild = 6)
        *set noble 10
        *set charming 80
        *set emotional 20
        *set optimistic 75
    *elseif (newpersonalitybuild = 7)
        *set noble 75
        *set charming 25
        *set emotional 25
        *set optimistic 25
    *else
        *comment (newpersonalitybuild = 8)
        *set noble 25
        *set charming 75
        *set emotional 75
        *set optimistic 75

*if (alias)
    *if (aliasvar = 1)
        *set alias true
        *set realname "${fname}"
        *set fakename "Avir"
        *set fname "${fakename}"
    *if (aliasvar = 2)
        *set alias true
        *set realname "${fname}"
        *set fakename "Celth"
        *set fname "${fakename}"
    *if (aliasvar = 3)
        *set alias true
        *set realname "${fname}"
        *set fakename "Darial"
        *set fname "${fakename}"
    *if (aliasvar = 4)
        *set alias true
        *set realname "${fname}"
        *set fakename "Ist"
        *set fname "${fakename}"
    *if (aliasvar = 5)
        *set alias true
        *set realname "${fname}"
        *set fakename "Merran"
        *set fname "${fakename}"
    *if (aliasvar = 6)
        *set alias true
        *set realname "${fname}"
        *set fakename "Paven"
        *set fname "${fakename}"
    *if (aliasvar = 7)
        *set alias true
        *set realname "${fname}"
        *set fakename "Samir"
        *set fname "${fakename}"
    *else
        *set alias true
        *set realname "${fname}"
        *set fakename "Yuthiel"
        *set fname "${fakename}"

*label c6statsdone
*set rfalco 50
*set ryusuha 65
*set reli 65
*set rtahlia 50

*if (arccode = "c7")
    *goto end7
*else
    *goto 8sets

*label 8sets
Please define the following Chapter 8 variables.

To streamline the process, only a limited selection of colors for robes and accents have been made available.

*temp robecombo 0

*choice thulrum_occupation robe_color mask callsign
    #Tavern-keeper
        #Black robe, with silver accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #White robe, with gold accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Red robe, with yellow accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Green robe, with black accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Blue robe, with white accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 1
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
    #Botanist
        #Black robe, with silver accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #White robe, with gold accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Red robe, with yellow accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Green robe, with black accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Blue robe, with white accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 2
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
    #Artifact smuggler
        #Black robe, with silver accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 1
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #White robe, with gold accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 2
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Red robe, with yellow accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 3
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Green robe, with black accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 4
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
        #Blue robe, with white accents.
            #Plain oblong mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "plain"
                    *set callsign "Custom"
                    *goto robesdone
            #Fine imperial mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "venetian"
                    *set callsign "Custom"
                    *goto robesdone
            #Dragon's head mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "dragon"
                    *set callsign "Custom"
                    *goto robesdone
            #Flower mask
                #Demon
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "flower"
                    *set callsign "Custom"
                    *goto robesdone
            #Dark veil
                #Demon
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Demon"
                    *goto robesdone
                #Firebrand
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Firebrand"
                    *goto robesdone
                #Calamity
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Calamity"
                    *goto robesdone
                #Custom
                    *set thulshopvar 3
                    *set robecombo 5
                    *set mask "veil"
                    *set callsign "Custom"
                    *goto robesdone
*label robesdone
*if (robecombo = 1)
    *set robecolor "black"
    *set robeaccent "silver"
*elseif (robecombo = 2)
    *set robecolor "white"
    *set robeaccent "gold"
*elseif (robecombo = 3)
    *set robecolor "red"
    *set robecolor "yellow"
*elseif (robecombo = 4)
    *set robecolor "green"
    *set robecolor "black"
*else
    *set robecolor "blue"
    *set robecolor "white"

*if (callsign = "Custom")
    Please input your custom callsign.
    *input_text callsign
*if (alias)
    *set fname "${realname}"
*if (arccode = "c8")
    *goto end8
*else
    *goto 9sets

*label 9sets

Did you call upon Raegusa's powers?
*choice
    #Yes, I called upon Raegusa's powers.
        *set usedraegusa true
    #No, I used the powers of my old phantasma.
        *set usedraegusa false

*if (arccode = "c9")
    *goto end9


*comment 10sets
*comment elichilly
*comment elihired

*label end7
This is the end of the character creation screen. You will now be redirected to Chapter 7.

Please enjoy the demo for [i]A Mage Reborn: Book Two![/i]
*page_break
*goto_scene Chapter7_Reglaire

*label end8
This is the end of the character creation screen. You will now be redirected to Chapter 8.

Please enjoy the demo for [i]A Mage Reborn: Book Two![/i]
*page_break
*goto_scene Chapter8_Aulain

*label end9
This is the end of the character creation screen. You will now be redirected to Chapter 9.

Please enjoy the demo for [i]A Mage Reborn: Book Two![/i]
*page_break
*goto_scene Chapter9_ThulrumRedux