Perhaps you could use some global objects with instance variables to simulate grouping variables. For example a sprite called 'Intelligence' allows you to use Intelligence.Learning, Intelligence.Knowledge and Intelligence.Memory. A sprite called 'Physical' allows you to use Physical.Strength, Physical.Agility, Physical.Speed. Etc...