home *** CD-ROM | disk | FTP | other *** search
- if(eval("/:enemyLaserActive") == "0")
- {
- tellTarget("/Sound")
- {
- gotoAndStop("laser sound");
- play();
- }
- enemyFireNum = "0";
- call("ChooseEnemyFire");
- duplicateMovieClip("/baseEnemyLaser","enemyLaser","2" + 16384);
- setProperty("/enemyLaser", _X, getProperty("/enemyGrid", _X) + getProperty("/enemyGrid/enemy" add enemyFireNum, _X));
- setProperty("/enemyLaser", _Y, getProperty("/enemyGrid", _Y) + getProperty("/enemyGrid/enemy" add enemyFireNum, _Y) + "10");
- set("/:enemyLaserActive","1");
- }
-