home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / Kung_Fu.swf / scripts / DefineSprite_1668 / frame_170 / DoAction.as
Encoding:
Text File  |  2007-09-27  |  589 b   |  23 lines

  1. if(_root.bossactivated == "on")
  2. {
  3.    trace("spawncontrol = off");
  4.    _root.kio.myTimer.start();
  5.    _root.shootdone = "on";
  6.    _root.spawncontrol = "off";
  7.    _root.LevelOneTune.s.setVolume(100);
  8.    _root.LevelOneBossTune.s.setVolume(100);
  9.    _root.working = "on";
  10.    _parent.gotoAndStop("stand");
  11. }
  12. else
  13. {
  14.    trace("spawncontrol = on");
  15.    _root.kio.myTimer.start();
  16.    _root.shootdone = "on";
  17.    _root.spawncontrol = "on";
  18.    _root.LevelOneTune.s.setVolume(100);
  19.    _root.LevelOneBossTune.s.setVolume(100);
  20.    _root.working = "on";
  21.    _parent.gotoAndStop("stand");
  22. }
  23.