home *** CD-ROM | disk | FTP | other *** search
- stop();
- illusoft.Game.Instance.Thisscore = illusoft.Game.Instance.KilledEnemies * 30 + int(illusoft.Game.Instance.currentTile.GetTimeLeft() / 1000) * 10 + 250;
- var i = 0;
- this.onEnterFrame = function()
- {
- this.txtScore.text = i;
- i += 50;
- if(i > illusoft.Game.Instance.Thisscore)
- {
- this.txtScore.text = illusoft.Game.Instance.Thisscore;
- delete this.onEnterFrame;
- this.gotoAndPlay("Total");
- }
- };
-