home *** CD-ROM | disk | FTP | other *** search
- this._alpha = 100;
- this.levelText = _root.Functions.level;
- if(_root.Functions.deadCats == _root.Functions.cats and 1 < _root.Functions.level or (_root.Functions.level - 1) / _root.Functions.bossLevelEvery == int((_root.Functions.level - 1) / _root.Functions.bossLevelEvery) and _root.Functions.bossState >= 41 and 1 < _root.Functions.level)
- {
- this.idealShots = _root.Functions.levelIdealShots;
- this.levelShots = _root.Functions.levelShots;
- trace(idealShots + " " + levelShots);
- this.hitRate = int(idealShots / levelShots * 100);
- this.bonusScore = hitrate;
- this.currentScore = _root.Functions.score;
- this.newScore = _root.Functions.score + this.bonusScore;
- eval("/scoreBox").addScore(this.bonusScore);
- }
- else
- {
- gotoAndPlay(56);
- }
-