timer = 0; con = 0; pattern = 0; patterncount = 0; timermax = 60; swordcount = 0; global.invc = 0.4;