//global.units = 5; global.units = [[],[]]; enum ARMY { US, THEM, } //exit; global.unitdata = {}; var mydata = { name: "chara", desc: "the first fallen human", skills: ["SKILLS.LUNA"], sprite: s_guy, } function unit(personaldata_, classdata_, stats_) constructor { name = personaldata_.name; sprite = personaldata_.sprite; alignment = noone; var i; for (i=0; i