home *** CD-ROM | disk | FTP | other *** search
- tempo = random(_root.enemyOut) + 1;
- choose = random(13) + 1;
- switch(choose)
- {
- case 1:
- _root["enemy" + tempo].life -= random(10) + 3;
- break;
- case 4:
- _root["enemy" + tempo].life -= random(9) + 12;
- break;
- case 6:
- _root["enemy" + tempo].life -= random(30) + 10;
- }
- if(timer > 750)
- {
- this.active = false;
- timer = 0;
- this.gotoAndStop(16);
- }
- else
- {
- gotoAndPlay(1);
- }
-