home *** CD-ROM | disk | FTP | other *** search
- var so = SharedObject.getLocal("unlockable");
- if(so.data.timesFinished)
- {
- timeswon = "times won - " + so.data.timesFinished;
- if(so.data.timesFinished >= 1)
- {
- if(so.data.godmode)
- {
- u2.nextFrame();
- }
- if(so.data.doubledamage)
- {
- u4.nextFrame();
- }
- u2.onRelease = function()
- {
- if(this._currentframe == 1)
- {
- this.nextFrame();
- so.data.godmode = true;
- }
- else
- {
- this.prevFrame();
- so.data.godmode = false;
- }
- };
- }
- else
- {
- u2._alpha = 50;
- }
- if(so.data.timesFinished >= 2)
- {
- u3.onRelease = function()
- {
- _root.gotoAndStop("altoutro");
- };
- }
- else
- {
- u3._alpha = 50;
- }
- if(so.data.timesFinished >= 3)
- {
- u4.onRelease = function()
- {
- if(this._currentframe == 1)
- {
- this.nextFrame();
- so.data.doubledamage = true;
- }
- else
- {
- this.prevFrame();
- so.data.doubledamage = false;
- }
- };
- }
- else
- {
- u4._alpha = 50;
- }
- }
- else
- {
- timeswon = "times won - 0";
- u2._alpha = u3._alpha = u4._alpha = 50;
- }
- if(so.data.furthest)
- {
- furthest = "furthest " + so.data.furthest + " battles";
- if(so.data.furthest >= 15)
- {
- u1.onRelease = function()
- {
- _root.gotoAndStop("altintro");
- };
- }
- else
- {
- u1._alpha = 50;
- }
- }
-