rank = 0; global.waveno = 0; alarm[2] = 150/(1+rank) alarm[9] = 1800 + 600 * global.waveno