home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / AitchuTheAbduction.swf / scripts / frame_54 / DoAction.as
Encoding:
Text File  |  2005-11-10  |  739 b   |  35 lines

  1. _global.fotemps = _global.fotemps + 1;
  2. _global.temps = Math.round(_global.fotemps / 24);
  3. if(_global.temps < 60)
  4. {
  5.    _global.distance = 60000 - Math.round(_global.fotemps / 24 * 1000);
  6. }
  7. else
  8. {
  9.    _global.distance = 0;
  10. }
  11. distance = _global.distance;
  12. temps = _global.temps;
  13. _global.tabTirVaisseau = new Array();
  14. var i = 0;
  15. while(i < _global.maxTirVaisseau)
  16. {
  17.    if(this.tirVaisseauClip["tirVaisseau" + i])
  18.    {
  19.       _global.tabTirVaisseau.push(i);
  20.    }
  21.    i++;
  22. }
  23. _global.tabTirEnnemi = new Array();
  24. var i = 0;
  25. while(i < _global.maxTirEnnemi)
  26. {
  27.    if(this.tirEnnemiClip["tirEnnemi" + i])
  28.    {
  29.       _global.tabTirEnnemi.push(i);
  30.    }
  31.    i++;
  32. }
  33. this.effaceTexte();
  34. this.gotoAndPlay(this._currentframe - 1);
  35.