Frame 1
Stage.showMenu = false;
onEnterFrame = function () {
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
myBar._width = myPercent * 150;
myText = Math.round(myPercent * 100) + "%";
_root.shiggity = Math.round(myPercent * 100);
_root.loaded.gotoAndStop(_root.shiggity);
};
stop();
stop();
Frame 2
stop();
Frame 3
Stage.showMenu = false;
play();
Frame 72
_root.intromusic = new Sound();
_root.intromusic.attachSound("intromusic");
stop();
stop();
Frame 73
stop();
stop();
Frame 74
stop();
Frame 75
stop();
Frame 76
stop();
Frame 77
stop();
Frame 78
stop();
Frame 79
stop();
Frame 80
stop();
Frame 81
_root.intromusic.stop("intromusic");
stop();
stop();
Frame 82
_root.lev = 81;
_root.music = true;
_root.intromusic.stop("intromusic");
_root.grindrail = new Sound();
_root.grindrail.attachSound("grindrail");
_root.wallrunsfx = new Sound();
_root.wallrunsfx.attachSound("wallrunsfx");
_root.landing = new Sound();
_root.landing.attachSound("landing");
_root.hitsfx = new Sound();
_root.hitsfx.attachSound("hitsfx");
_root.adrenalinesfx = new Sound();
_root.adrenalinesfx.attachSound("adrenalinesfx");
onEnterFrame = function () {
if (_root.music) {
_root.musicmc.gotoAndStop(1);
}
if (_root.music == false) {
_root.musicmc.gotoAndStop(2);
}
};
_root.springheight = 25;
_root.char._x = 70;
_root.char._y = 400;
stop();
_root.backgroundmoving = true;
Instance of Symbol 365 MovieClip "needle" in Frame 82
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.gotoAndStop(95);
}
}
Instance of Symbol 367 MovieClip in Frame 82
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 467 MovieClip "char" in Frame 82
onClipEvent (enterFrame) {
if (((adrenaline == false) && (horizspeed > 4)) && (grinding == false)) {
horizspeed = horizspeed * 0.97;
}
if (horizspeed > 15) {
horizspeed = 15;
}
if ((adrenaline == false) && (hanging == false)) {
if (maxspeed > 4) {
maxspeed = 4;
}
}
if (!this.hitTest(_root.pole)) {
hanging = false;
jumpgrab = false;
springgrab = false;
jumpgrabhold = false;
springgrabhold = false;
}
if ((((((!Key.isDown(40)) && (!Key.isDown(65))) && (flip == false)) && (legrab == false)) && (hanging == false)) && (sliding == false)) {
if (this.top.hitTest(_root.pole)) {
jumpkick = false;
hanging = true;
sliding = false;
spring = false;
wallrunning = false;
crouching = false;
falling = false;
}
if (((!Key.isDown(40)) && (hanging)) && (this._currentframe == 10)) {
horizspeed = 0;
springgrab = true;
this.gotoAndStop(22);
falling = false;
}
if (((!Key.isDown(40)) && (hanging)) && (this._currentframe == 5)) {
horizspeed = 0;
jumpgrab = true;
this.gotoAndStop(23);
falling = false;
}
if (((!Key.isDown(40)) && (hanging)) && (this._currentframe == 6)) {
horizspeed = 0;
jumpgrab = true;
this.gotoAndStop(23);
falling = false;
grav = -4;
}
}
if ((((!Key.isDown(40)) && (this.sgrab._currentframe > 7)) && (springgrab)) && (attack == false)) {
falling = false;
spring = false;
this.gotoAndStop(11);
hanging = true;
springgrab = false;
springgrabhold = true;
}
if ((!Key.isDown(40)) && (springgrabhold)) {
grav = 0;
this._y = _root.pole._y + 38;
}
if ((((!Key.isDown(40)) && (this.jgrab._currentframe > 7)) && (jumpgrab)) && (attack == false)) {
falling = false;
jumping = false;
spring = false;
this.gotoAndStop(11);
hanging = true;
jumpgrab = false;
jumpgrabhold = true;
wallrunning = false;
falling = false;
}
if ((!Key.isDown(40)) && (jumpgrabhold)) {
jumping = false;
falling = false;
wallrunning = false;
grav = 0;
this._y = _root.pole._y + 38;
}
if (jumpgrabhold | springgrabhold) {
if ((Key.isDown(65) && (!Key.isDown(39))) && (!Key.isDown(37))) {
shimmy = false;
this.gotoAndStop(25);
horizspeed = 0;
}
if (this.polek._currentframe == 26) {
this.gotoAndStop(11);
jumpgrabhold = true;
}
if (adrenaline) {
max = 5;
if (horizspeed > 5) {
horizspeed = 5;
}
} else {
max = 3;
if (horizspeed > 3) {
horizspeed = 3;
}
}
if (((this._currentframe != 25) && (!Key.isDown(65))) && (Key.isDown(37) | Key.isDown(39))) {
this.gotoAndStop(19);
}
if ((((this._currentframe != 25) && (!Key.isDown(65))) && (Key.isDown(37))) && (Key.isDown(39))) {
this.gotoAndStop(21);
}
if ((((this._currentframe != 25) && (this._currentframe != 11)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.gotoAndStop(21);
}
}
if (Key.isDown(40)) {
if (jumpgrabhold | springgrabhold) {
this.gotoAndStop(24);
fallfromhang = true;
}
falling = false;
hanging = false;
jumpgrab = false;
springgrab = false;
springgrabhold = false;
jumpgrabhold = false;
}
o = 0;
while (o < 5) {
if (((((((((grav > 0) && (jumpkick == false)) && (flip == false)) && (legrab == false)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) && (trickfail == false)) && (this.base.hitTest(_root["spring" + o].top))) {
_root.hitspring = new Sound();
_root.hitspring.attachSound("hitspring");
_root.hitspring.start(0, 1);
grav = -_root.springheight;
legrab = false;
flip = false;
spring = true;
donthang = false;
hanging = false;
fallfromhang = false;
jumpgrab = false;
springgrab = false;
}
if (((((((((grav > 0) && (jumpkick == false)) && (flip == false)) && (legrab == false)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) && (trickfail == false)) && (this.base.hitTest(_root["sspring" + o].top))) {
_root.hitspring = new Sound();
_root.hitspring.attachSound("hitspring");
_root.hitspring.start(0, 1);
grav = -_root.sspringheight;
legrab = false;
flip = false;
spring = true;
donthang = false;
hanging = false;
fallfromhang = false;
jumpgrab = false;
springgrab = false;
}
o++;
}
o = 0;
while (o < 5) {
if (((((((!Key.isDown(40)) && (jumpkick == false)) && (legrab == false)) && (flip == false)) && (trickfail == false)) && (_root["chain" + o].hitTest(this._x, this._y, true))) && (Key.isDown(38))) {
this._x = _root["chain" + o]._x;
slidingdown = false;
clinging = true;
grav = 0;
horizspeed = 0;
max = 0;
jumping = false;
fallfromhang = false;
jumpgrab = false;
hanging = false;
springgrab = false;
springgrabhold = false;
jumpgrabhold = false;
p = o;
legrab = false;
this.gotoAndStop(13);
if (adrenaline) {
_y = (_y - 3);
} else {
_y = (_y - 1.5);
}
}
if ((!Key.isDown(38)) && (clinging)) {
this.gotoAndStop(12);
}
o++;
}
if (((this._currentframe == 13) && (jumpkick == false)) && (!_root["chain" + p].hitTest(this._x, this._y, true))) {
slidingdown = false;
clinging = false;
jumping = true;
grav = -5;
}
if ((((((slidingdown == false) && (jumpkick == false)) && (clinging)) && (!Key.isDown(37))) && (!Key.isDown(38))) && (!Key.isDown(39))) {
horizspeed = 0;
this.gotoAndStop(12);
}
if (((this._currentframe == 12) | (this._currentframe == 18)) && (Key.isDown(37))) {
clinging = false;
horizspeed = 0;
grav = -11;
jumping = true;
}
if (((this._currentframe == 12) | (this._currentframe == 18)) && (Key.isDown(39))) {
clinging = false;
horizspeed = 0;
grav = -11;
jumping = true;
}
if (clinging && (Key.isDown(40))) {
slidingdown = true;
sl = sl + 3;
_y = (_y + 2);
this.gotoAndStop(14);
if (sl > 50) {
_y = (_y + 6);
}
} else {
sl = 0;
}
if (clinging == false) {
slidingdown = false;
}
if (slidingdown && (Key.isDown(40))) {
this.gotoAndStop(18);
}
_root.ad = int(_root.adrenaline);
if (Key.isDown(83) && (_root.adrenaline > 0)) {
adrenaline = true;
_root.adrenaline = _root.adrenaline - 0.35;
if (hanging == false) {
max = 9;
}
Height = 15;
} else {
adrenaline = false;
}
if (!Key.isDown(83)) {
adrenaline = false;
Height = 13;
if (hanging == false) {
max = 6;
}
}
if (_root.adrenaline <= 0) {
_root.adrenaline = 0;
max = 6;
wallrunning = false;
adrenaline = false;
}
if (_root.adrenaline > maxadrenaline) {
_root.adrenaline = maxadrenaline;
}
if (grav > Height) {
grav = Height;
}
if (((clinging == false) && (wallrunning == false)) && (grinding == false)) {
grav = grav + 1;
_y = (_y + grav);
}
i = 1;
while (i < 25) {
if (clinging && (_root["grund" + i].hitTest(this.base))) {
clinging = false;
this.gotoAndStop(15);
offchain = true;
falling = false;
}
if (this.dismount._currentframe == 10) {
offchain = false;
}
if (this._currentframe != 10) {
while (_root["ground" + i].top.hitTest(this.base)) {
donthang = false;
legrab = false;
fallfromhang = false;
grindspeed = 1;
grind = false;
jumpkick = false;
falling = false;
something = true;
fallfromhang = false;
hanging = false;
jumpgrab = false;
springgrab = false;
springgrabhold = false;
jumpgrabhold = false;
jumping = false;
wallrunning = false;
if ((this.fliptri._currentframe < 23) | (this.fliptrif._currentframe < 23)) {
this.gotoAndStop(28);
trickfail = true;
flip = false;
horizspeed = 0;
}
if ((this._currentframe == 30) | (this._currentframe == 31)) {
this.gotoAndStop(28);
trickfail = true;
legrab = false;
horizspeed = 0;
}
if (this.leggrabfall._currentframe < 10) {
this.gotoAndStop(28);
trickfail = true;
legrab = false;
horizspeed = 0;
}
_y = (_y - 1);
jumping = false;
grav = 0;
}
}
i++;
}
if ((grav > 0) && (grind == false)) {
jumping = true;
}
if (((((((((((((((Key.isDown(38) && (crouchwalk == false)) && (lcrouchwalk == false)) && (attack == false)) && (fightrun == false)) && (legrab == false)) && (trickfail == false)) && (flip == false)) && (jumpgrab == false)) && (springgrab == false)) && (crouching == false)) && (gettingup == false)) && (gettingups == false)) && (jumping == false)) && (clinging == false)) && (sliding == false)) {
jumping = true;
something = false;
grindspeed = 1;
grind = false;
grav = -Height;
}
if (((((((((grav < 0) && (spring == false)) && (legrab == false)) && (flip == false)) && (jumpgrab == false)) && (springgrab == false)) && (cantgetup == false)) && (wallrunning == false)) && (clinging == false)) {
injump = true;
this.gotoAndStop(5);
} else {
injump = false;
}
if (((spring && (jumpgrab == false)) && (springgrab == false)) && (wallrunning == false)) {
this.gotoAndStop(10);
}
if ((something == false) && (sliding == false)) {
if ((((((((((grav >= 0) && (hanging == false)) && (wallrunning == false)) && (jumpgrabhold == false)) && (trickfail == false)) && (legrab == false)) && (flip == false)) && (fallfromhang == false)) && (donthang == false)) && (jumpgrab == false)) {
cwalk = false;
lcwalk = false;
crouchwalk = false;
lcrouchwalk = false;
crouching = false;
gettingups = false;
falling = true;
spring = false;
flip = false;
legrab = false;
if (jumping) {
this.gotoAndStop(6);
this.fallanimations.gotoAndStop(2);
}
}
} else if ((((((((grav > 0) && (sliding == false)) && (trickfail == false)) && (legrab == false)) && (flip == false)) && (jumpgrabhold == false)) && (wallrunning == false)) && (hanging == false)) {
this.gotoAndStop(6);
crouching = false;
gettingups = false;
gettingup = false;
hanging = false;
this.fallanimations.gotoAndStop(1);
falling = true;
spring = false;
flip = false;
}
}
onClipEvent (load) {
crouching = false;
hanging = false;
clinging = false;
wallrunning = false;
grav = 0;
Height = 20;
max = 6;
sl = 0;
gettingup = false;
gettingups = false;
horizspeed = 0;
sliding = false;
slidingdown = false;
grindspeed = 1;
addspeed = 1;
slidetime = 0;
offchain = false;
spring = false;
pushing = false;
decay = 0.75;
springgrab = false;
jumpgrab = false;
fallfromhang = false;
maxSpeed = 5;
flip = false;
running = false;
trickfail = false;
trickloss = 0;
isright = 1;
legrab = false;
attack = false;
punchtwo = false;
dc = 0;
lcwalk = false;
isdown = 0;
kick = false;
fightrun = false;
grinding = false;
cwalk = false;
scale = _xscale;
grind = false;
_xscale = (-scale);
_root.adrenaline = 100;
crouchwalk = false;
lcrouchwalk = false;
maxadrenaline = 100;
fpole = 0;
gc = 0;
}
onClipEvent (enterFrame) {
running = false;
if (((((((((((((((((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grinding == false)) && (fightrun == false)) && (attack == false)) && (trickfail == false)) && (springgrab == false)) && (jumpgrab == false)) && (legrab == false)) && (flip == false)) && (fallfromhang == false)) && (donthang == false)) && (gettingups == false)) && (gettingup == false)) && (springgrabhold == false)) && (wallrunning == false)) && (slidingdown == false)) && (clinging == false)) && (hanging == false)) && (spring == false)) && (sliding == false)) && (falling == false)) && (crouching == false)) && (jumpgrab == false)) && (jumping == false)) && (Key.isDown(39) | Key.isDown(37))) {
this.gotoAndStop(3);
}
if ((((((((((((((((((((((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grind == false)) && (fightrun == false)) && (attack == false)) && (trickfail == false)) && (running == false)) && (springgrab == false)) && (legrab == false)) && (jumpgrabhold == false)) && (flip == false)) && (jumpgrab == false)) && (fallfromhang == false)) && (donthang == false)) && (springgrabhold == false)) && (gettingups == false)) && (gettingup == false)) && (wallrunning == false)) && (slidingdown == false)) && (clinging == false)) && (hanging == false)) && (spring == false)) && (gettingup == false)) && (sliding == false)) && (crouching == false)) && (falling == false)) && (injump == false)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (jumpgrab == false)) {
gotoAndStop (1);
trickloss = 0;
}
if (((((((((((((((pushing == false) && (attack == false)) && (grind == false)) && (this._currentframe != 25)) && (trickfail == false)) && (jumpgrab == false)) && (springgrab == false)) && (gettingups == false)) && (sliding == false)) && (gettingup == false)) && (crouching == false)) && (cwalk == false)) && (lcwalk == false)) && (clinging == false)) && (wallrunning == false)) {
if (Key.isDown(39) && (!Key.isDown(37))) {
_xscale = (-scale);
if (isright == 1) {
if (horizspeed < max) {
horizspeed = horizspeed + addspeed;
}
} else {
isright = 1;
}
} else if (Key.isDown(37) && (!Key.isDown(39))) {
_xscale = scale;
if (isright == 0) {
if (horizspeed > (-max)) {
horizspeed = horizspeed - addspeed;
}
} else {
isright = 0;
}
} else {
horizspeed = horizspeed * decay;
}
}
if (this._currentframe == 8) {
horizspeed = horizspeed * 0.85;
}
if (crouching) {
horizspeed = horizspeed * 0.5;
}
if (clinging) {
horizspeed = horizspeed * 0.6;
}
if (gettingups) {
horizspeed = horizspeed * 0.3;
}
if (gettingup) {
horizspeed = horizspeed * 0.3;
}
this._x = this._x + horizspeed;
if (((((((((((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grinding == false)) && (trickfail == false)) && (sliding == false)) && (legrab == false)) && (flip == false)) && (crouching == false)) && (gettingups == false)) && (gettingup == false)) && (wallrunning == false)) && (clinging == false)) && (hanging == false)) && (jumping == false)) && (falling == false)) && (springgrab == false)) && (jumpgrab == false)) && (donthang == false)) && (Key.isDown(37))) && (Key.isDown(39))) {
this.gotoAndStop(1);
}
if ((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grinding == false)) && (springgrab == false)) && (legrab == false)) && (flip == false)) && (jumpgrab == false)) && (gettingups == false)) && (donthang == false)) && (!Key.isDown(40))) && (this.crouch._currentframe == 13)) {
this.gotoAndStop(9);
up = true;
gettingup = true;
} else {
up = false;
}
if (((grind == false) && (this._currentframe != 41)) && (gc > 50)) {
if ((((((this._currentframe == 1) && (!Key.isDown(39))) && (!Key.isDown(65))) && (Key.isDown(40))) && (sliding == false)) && (!Key.isDown(37))) {
crouching = true;
running = false;
}
}
if (((((((((lcwalk == false) && (cwalk == false)) && (!Key.isDown(39))) && (this._currentframe != 43)) && (!Key.isDown(37))) && (up == false)) && (crouching)) && (!Key.isDown(65))) && (this.crouching._currentframe != 13)) {
this.gotoAndStop(7);
} else if (((((((((lcwalk == false) && (crouchwalk == false)) && (cwalk == false)) && (crouchwalk == false)) && (pushing == false)) && (!Key.isDown(65))) && (this._currentframe == 7)) && (!Key.isDown(39))) && (!Key.isDown(37))) {
this.gotoAndStop(17);
gettingups = true;
} else if ((!Key.isDown(39)) && (!Key.isDown(37))) {
crouching = false;
}
if (grav > 0) {
crouching = false;
crouchwalk = false;
lcrouchwalk = false;
cwalk = false;
lcwalk = false;
}
if ((((this._currentframe == 7) | (this._currentframe == 44)) && (Key.isDown(39))) && (Key.isDown(40))) {
crouchwalk = true;
_xscale = (-scale);
lcrouchwalk = false;
}
if ((crouchwalk && (Key.isDown(39))) && (Key.isDown(40))) {
horizpeed = 0;
sliding = false;
this.gotoAndStop(43);
_x = (_x + 2);
}
if (((this._currentframe == 43) && (_xscale == (-scale))) && ((!Key.isDown(39)) | (!Key.isDown(40)))) {
this.gotoAndStop(44);
cwalk = true;
lcwalk = false;
}
if (((ccantgetup == false) && (this._currentframe == 44)) && (!Key.isDown(40))) {
cwalk = false;
gettingup = true;
this.gotoAndStop(9);
crouchwalk = false;
crouching = false;
sliding = false;
lcwalk = false;
lcrouchwalk = false;
gettingup = true;
this.gotoAndStop(9);
}
if ((((this._currentframe == 7) | (this._currentframe == 44)) && (Key.isDown(37))) && (Key.isDown(40))) {
lcrouchwalk = true;
_xscale = scale;
crouchwalk = false;
}
if ((lcrouchwalk && (Key.isDown(37))) && (Key.isDown(40))) {
horizpeed = 0;
sliding = false;
this.gotoAndStop(43);
_x = (_x - 2);
}
if (((this._currentframe == 43) && (this._xscale == scale)) && ((!Key.isDown(37)) | (!Key.isDown(40)))) {
this.gotoAndStop(44);
lcwalk = true;
cwalk = false;
}
if (!Key.isDown(40)) {
crouching = false;
}
if (crouching && (falling)) {
crouching = false;
}
if (((((((((((((((this._currentframe != 43) && (this._currentframe != 44)) && (crouchwalk == false)) && (pushing == false)) && (grind == false)) && (fightrun == false)) && (Key.isDown(40))) && (trickfail == false)) && (wallrunning == false)) && (gettingups == false)) && (sliding == false)) && (gettingup == false)) && (clinging == false)) && (jumping == false)) && (Key.isDown(65))) {
sliding = true;
running = false;
}
if (sliding) {
this.gotoAndStop(8);
_x = (_x + horizspeed);
}
if ((((this._currentframe == 8) && (_xscale == (-scale))) && (horizspeed < 1)) && (this.sli._currentframe < 12)) {
horizspeed = 6;
}
if ((((this._currentframe == 8) && (_xscale == scale)) && (horizspeed > -1)) && (this.sli._currentframe < 12)) {
horizspeed = -6;
}
if (this.getup._currentframe == 11) {
gettingup = false;
}
if (((cantgetup == false) && (this.sli._currentframe == 12)) && (!Key.isDown(40))) {
this.gotoAndStop(17);
gettingups = true;
sliding = false;
}
if (this.getups._currentframe == 24) {
gettingups = false;
}
if (((cantgetup == false) && (!Key.isDown(40))) && (this.sli._currentframe == 12)) {
sliding = false;
}
i = 0;
while (i < 26) {
if (sliding && (this.top.hitTest(_root["ground" + i]))) {
cantgetup = true;
cot = i;
}
if (!this.top.hitTest(_root["ground" + cot])) {
cantgetup = false;
}
if (crouching && (this.top.hitTest(_root["ground" + i]))) {
ccantgetup = true;
cot = i;
}
if (!this.top.hitTest(_root["ground" + cot])) {
ccantgetup = false;
}
i++;
}
if (sliding && (cantgetup)) {
if (_xscale == scale) {
horizspeed = -4;
}
if (_xscale == (-scale)) {
horizspeed = 4;
}
}
}
onClipEvent (enterFrame) {
if (wallrunning && (!Key.isDown(40))) {
grav = 0;
this.gotoAndStop(16);
if (norun == false) {
_y = (_y - 4);
}
}
if (Key.isDown(40) | (!Key.isDown(83))) {
wallrunning = false;
}
i = 0;
while (i < 26) {
if (_root["ground" + i].hitTest(this.block)) {
hoho = i;
}
if (wallrunning && (!this.block.hitTest(_root["ground" + hoho]))) {
wallrunning = false;
grav = -10;
jumping = true;
}
i++;
}
if (((_xscale == scale) && (wallrunning)) && (Key.isDown(39))) {
grav = -15;
wallrunning = false;
jumping = true;
}
if (((_xscale == (-scale)) && (wallrunning)) && (Key.isDown(37))) {
grav = -15;
wallrunning = false;
jumping = true;
}
i = 0;
while (i < 26) {
if (_root["ground" + i].right.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x + (4 + horizspeed);
if (_root["ground" + i].right.hitTest(this.newleft)) {
if (this._currentframe == 10) {
grav = grav + 1;
}
if (((((((((((((((((((((pushing == false) && (trickfail == false)) && (adrenaline)) && (_root.adrenaline > 0)) && (this._currentframe != 26)) && (this._currentframe != 27)) && (attack == false)) && (fightrun == false)) && (jumpkick == false)) && (legrab == false)) && (flip == false)) && (_xscale == scale)) && (gettingup == false)) && (sliding == false)) && (crouching == false)) && (gettingups == false)) && (hanging == false)) && (clinging == false)) && (this._currentframe != 30)) && (this._currentframe != 31)) && (this._currentframe != 32)) {
falling = false;
attack = false;
flip = false;
legrab = false;
jumping = false;
wallrunning = true;
spring = false;
donthang = false;
fallfromhang = false;
} else {
wallrunning = false;
}
}
}
if (_root["ground" + i].left.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x - (4 + horizspeed);
if (_root["ground" + i].left.hitTest(this.newleft)) {
if (this._currentframe == 10) {
grav = grav + 1;
}
if (((((((((((((((((((((pushing == false) && (trickfail == false)) && (adrenaline)) && (_root.adrenaline > 0)) && (this._currentframe != 26)) && (this._currentframe != 27)) && (jumpkick == false)) && (fightrun == false)) && (attack == false)) && (legrab == false)) && (flip == false)) && (_xscale == (-scale))) && (sliding == false)) && (crouching == false)) && (gettingup == false)) && (gettingups == false)) && (hanging == false)) && (clinging == false)) && (this._currentframe != 30)) && (this._currentframe != 31)) && (this._currentframe != 32)) {
falling = false;
attack = false;
flip = false;
legrab = false;
jumping = false;
wallrunning = true;
spring = false;
donthang = false;
fallfromhang = false;
} else {
wallrunning = false;
}
}
}
if (_root["ground" + i].bottom.hitTest(this.left)) {
if (wallrunning == false) {
this._y = this._y + 4;
grav = 0;
}
norun = true;
}
if (wallrunning == false) {
norun = false;
}
if (wallrunning) {
something = false;
attack = false;
running = false;
legrab = false;
trickfail = false;
flip = false;
if (Key.isDown(40)) {
wallrunning = false;
falling = false;
}
}
i++;
}
if ((((((this._currentframe != 16) && (this._currentframe != 40)) && (this._currentframe != 8)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) {
if (((((((Key.isDown(68) && (clinging == false)) && (jumpkick == false)) && (legrab == false)) && (!Key.isDown(38))) && (wallrunning == false)) && (flip == false)) && (this._currentframe == 5)) {
jumping = false;
flip = true;
jumpkick = false;
}
if (flip && (this._currentframe == 5)) {
spring = false;
this.gotoAndStop(26);
}
if (this.fliptri._currentframe == 25) {
flip = false;
this.gotoAndStop(6);
}
if (((((Key.isDown(68) && (wallrunning == false)) && (trickfail == false)) && (flip == false)) && (this._currentframe == 6)) && (!Key.isDown(38))) {
jumping = false;
flip = true;
}
if (((((Key.isDown(68) && (wallrunning == false)) && (trickfail == false)) && (flip == false)) && (this._currentframe == 24)) && (!Key.isDown(38))) {
jumping = false;
flip = true;
this.gotoAndStop(6);
hangtofall = false;
}
if ((flip && (this._currentframe == 6)) && (wallrunning == false)) {
spring = false;
this.gotoAndStop(27);
}
if ((this.fliptrif._currentframe == 25) && (wallrunning == false)) {
flip = false;
this.gotoAndStop(6);
}
if (flip) {
_root.adrenaline = _root.adrenaline + 1;
trickloss = trickloss + 1;
}
if (this.trickfailed._currentframe == 25) {
this.gotoAndStop(29);
jumping = false;
falling = false;
}
if (this.upfail._currentframe == 46) {
trickfail = false;
}
}
if ((((((this._currentframe != 16) && (this._currentframe != 40)) && (this._currentframe != 8)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) {
if ((((((Key.isDown(68) && (wallrunning == false)) && (clinging == false)) && (jumpkick == false)) && (Key.isDown(38))) && (spring == false)) && (flip == false)) {
jumping = false;
legrab = true;
wallrunning = false;
jumpkick = false;
}
if ((legrab && (this._currentframe == 5)) && (wallrunning == false)) {
spring = false;
this.gotoAndStop(30);
}
if ((((!Key.isDown(68)) && (wallrunning == false)) && (!Key.isDown(38))) && (this.grabtri._currentframe == 10)) {
this.gotoAndStop(32);
}
if (((((legrab && (Key.isDown(68))) && (wallrunning == false)) && (trickfail == false)) && (this._currentframe == 24)) && (Key.isDown(38))) {
jumping = false;
legrab = true;
this.gotoAndStop(6);
hangtofall = false;
}
if (legrab) {
_root.adrenaline = _root.adrenaline + 1;
trickloss = trickloss + 1;
}
if (this.leggrabfall._currentframe == 12) {
legrab = false;
this.gotoAndStop(6);
}
if ((legrab && (this._currentframe == 6)) && (wallrunning == false)) {
spring = false;
this.gotoAndStop(31);
}
if (((!Key.isDown(68)) && (!Key.isDown(40))) && (this.grabtrif._currentframe == 10)) {
this.gotoAndStop(32);
}
if (this.leggrabfall._currentframe == 13) {
legrab = false;
this.gotoAndStop(6);
}
if (trickfailed) {
_root.adrenaline = _root.adrenaline - trickloss;
trickloss = 0;
}
}
if (((((Key.isDown(65) && ((this._currentframe == 1) | (this._currentframe == 37))) && (grind == false)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
attack = true;
stanced = true;
grind = false;
}
if (attack) {
horizspeed = 0;
if ((((punchtwo == false) && (stanced)) && (kick == false)) && (this._currentframe == 1)) {
this.gotoAndStop(33);
}
if ((((punchtwo == false) && (stanced)) && (kick == false)) && (this._currentframe == 37)) {
this.gotoAndStop(34);
}
if (((this.punchone._currentframe > 7) | (this.opunch._currentframe > 7)) && (Key.isDown(65))) {
punchtwo = true;
}
if (punchtwo && (this.punchone._currentframe == 15)) {
this.gotoAndStop(35);
}
if (punchtwo && (this.opunch._currentframe == 15)) {
this.gotoAndStop(35);
}
if ((this.ptwo._currentframe > 11) && (Key.isDown(65))) {
kick = true;
}
if (kick && (this.ptwo._currentframe > 14)) {
this.gotoAndStop(36);
}
}
if (this.punchone._currentframe == 15) {
this.gotoAndStop(37);
stanced = false;
}
if (this.opunch._currentframe == 15) {
punchtwo = false;
this.gotoAndStop(37);
stanced = false;
punchtwo = false;
}
if (this.ptwo._currentframe == 20) {
punchtwo = false;
this.gotoAndStop(37);
stanced = false;
}
if (this.k._currentframe == 40) {
attack = true;
punchtwo = false;
kick = false;
this.gotoAndStop(37);
stanced = false;
}
if (this._currentframe == 37) {
if (((Key.isDown(39) | Key.isDown(37)) | Key.isDown(38)) | Key.isDown(40)) {
attack = false;
stanced = false;
punchtwo = false;
}
}
if (this._currentframe == 37) {
if ((Key.isDown(39) | Key.isDown(37)) && (pushing == false)) {
fightrun = true;
pushing = false;
}
}
if (fightrun) {
this.gotoAndStop(38);
}
if (this.frun._currentframe == 9) {
fightrun = false;
}
if ((((((((jumping && (!this.hitTest(_root.pole))) && (springgrab == false)) && (hanging == false)) && (grind == false)) && (grav > 0)) && (attack == false)) && (Key.isDown(65))) && (this._currentframe == 6)) {
jumpkick = true;
attack = false;
clinging = false;
hanging = false;
grinding = false;
}
if (falling == false) {
jumpkick = false;
}
if (jumpkick) {
this.gotoAndStop(40);
}
if (grindspeed > 2) {
grindspeed = 2;
}
i = 0;
while (i < 6) {
while (_root["rail" + i].hitTest(this._x, this._y, true)) {
_xscale = (-scale);
if ((((trickfail == false) && (attack == false)) && (sliding == false)) && (crouching == false)) {
horizspeed = horizspeed + (grindspeed / 60);
grindspeed = grindspeed * 1.1;
gc = 0;
grind = true;
_y = (_y-1);
jumping = false;
falling = false;
}
}
while (_root["rrail" + i].hitTest(this._x, this._y, true)) {
_xscale = scale;
if ((((trickfail == false) && (attack == false)) && (sliding == false)) && (crouching == false)) {
horizspeed = horizspeed - (grindspeed / 60);
grindspeed = grindspeed * 1.1;
gc = 0;
grind = true;
_y = (_y-1);
jumping = false;
falling = false;
}
}
if (this._currentframe == 1) {
gc++;
}
if (grind) {
this.gotoAndStop(41);
legrab = false;
flip = false;
}
i++;
}
j = 0;
while (j < 5) {
if (this.left.hitTest(_root["needle" + j]) && (_root.adrenaline != maxadrenaline)) {
_root.adrenaline = _root.adrenaline + 20;
_root["needle" + j].gotoAndStop(2);
_root.adrenalinesfx.start(0, 1);
}
j++;
}
i = 0;
while (i < 5) {
if (_root["door" + i].door.right.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x + 4;
}
if (_root["door" + i].door.left.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x - 4;
}
if (_root["machine" + i].right.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x + 4;
}
if (_root["machine" + i].left.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x - 4;
}
if (_root["machine" + i].bottom.hitTest(this.left)) {
this._y = this._y + 5;
grav = 0;
}
if (_root["machine" + i].top.hitTest(this.left)) {
this._y = this._y - 5;
}
if (this.polek.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 55;
}
if (this.punchone.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 25;
}
if (this.opunch.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 25;
}
if (this.ptwo.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 35;
}
if (this.k.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 45;
}
if (this.jkick.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 5;
}
if (this.left.hitTest(_root["npressure" + i])) {
_root["npressure" + i].gotoAndStop(2);
}
if (this.left.hitTest(_root["tpressure" + i])) {
_root["tpressure" + i].gotoAndStop(2);
}
if (this.hitTest(_root["tpressure" + i]) && (wallrunning)) {
_root["tpressure" + i].gotoAndStop(2);
}
if (this.left.hitTest(_root["ppressure" + i])) {
_root["ppressure" + i].gotoAndStop(2);
}
if (_root["box" + i].left.hitTest(_root["ppressure" + i])) {
_root["ppressure" + i].gotoAndStop(2);
}
if ((!this.left.hitTest(_root["ppressure" + i])) && (!_root["box" + i].left.hitTest(_root["ppressure" + i]))) {
_root["ppressure" + i].gotoAndStop(1);
}
i++;
}
p = 0;
while (p < 26) {
i = 0;
while (i < 5) {
if (pushing) {
horizspeed = 0;
}
if (((this._currentframe == 1) | (this._currentframe == 3)) | (this._currentframe == 42)) {
if ((((_root["box" + i].hitTest(this.left) && (_xscale == (-scale))) && (Key.isDown(39))) && (_root["box" + i]._x > _x)) && (_root["box" + i].hitTest(_root["ground" + p].top))) {
pushing = true;
if (adrenaline == false) {
_x = (_x + 1);
} else {
_x = (_x + 2);
}
_root["box" + i]._x = this._x + 18;
}
if ((((_root["box" + i].hitTest(this.left) && (_xscale == scale)) && (Key.isDown(37))) && (_root["box" + i]._x < _x)) && (_root["box" + i].hitTest(_root["ground" + p].top))) {
pushing = true;
if (adrenaline == false) {
_x = (_x - 1);
} else {
_x = (_x - 2);
}
_root["box" + i]._x = this._x - 18;
}
}
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
pushing = false;
}
if (Key.isDown(37) && (_xscale == (-scale))) {
pushing = false;
}
if (Key.isDown(39) && (_xscale == scale)) {
pushing = false;
}
if (grav < 0) {
pushing = false;
}
if (_root["box" + i].grav > 0) {
pushing = false;
}
i++;
}
if (pushing) {
crouching = false;
sliding = false;
this.gotoAndStop(42);
horizspeed = 0;
}
p++;
}
dc++;
i = 0;
while (i < 16) {
if (_root["spike" + i].hitTest(this.left) && (dc > 30)) {
_root.health.nextFrame();
dc = 0;
_root.hitsfx.start(0, 1);
}
if (_root["saw" + i].saw.saw.hitTest(this.left) && (dc > 30)) {
_root.health.nextFrame();
dc = 0;
_root.hitsfx.start(0, 1);
}
if ((_root["rspike" + i].hitTest(this.left) && (dc > 30)) && ((_root["rspike" + i].s._currentframe > 65) | (_root["rspike" + i].s._currentframe < 10))) {
_root.health.nextFrame();
dc = 0;
_root.hitsfx.start(0, 1);
}
if (_root["healthp" + i].hitTest(this.left) && (_root.health._currentframe != 1)) {
_root["healthp" + i].gotoAndStop(2);
_root.health.prevFrame();
}
if (_root["mdk" + i].hitTest(this.mdk) && (_root["mdk" + i]._currentframe == 1)) {
_root["mdk" + i].gotoAndStop(2);
_root["mdk" + i].speed = 0;
grav = -5;
fallfromhang = false;
}
if ((((_root["mdk" + i].hitTest(this.base) && (_xscale == (-scale))) && (sliding)) && (horizspeed > 1)) && (_root["mdk" + i]._currentframe == 1)) {
_root["mdk" + i].gotoAndStop(2);
_root["mdk" + i].speed = 0;
}
if ((((_root["mdk" + i].hitTest(this.base) && (_xscale == scale)) && (sliding)) && (horizspeed < -1)) && (_root["mdk" + i]._currentframe == 1)) {
_root["mdk" + i].gotoAndStop(2);
_root["mdk" + i].speed = 0;
}
if (((((_root["mdk" + i].hitTest(this.left) && (sliding)) && (_xscale == (-scale))) && (horizspeed < 3)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((((_root["mdk" + i].hitTest(this.left) && (sliding)) && (_xscale == scale)) && (horizspeed > -3)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if ((((_root["mdk" + i].hitTest(this.base) && (falling == false)) && (jumping == false)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((_root["mdk" + i].hitTest(this.base) && (trickfail)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((_root["mdk" + i].hitTest(this.base) && (attack)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((_root["tube" + i]._currentframe == 1) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) < 250)) && ((_y - _root["tube" + i]._y) < 50)) {
_root["tube" + i].gotoAndStop(2);
}
if ((_root["tube" + i].riser._currentframe == 40) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) > 250)) {
_root["tube" + i].gotoAndStop(4);
}
if ((_root["tube" + i].shoot._currentframe == 30) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) > 250)) {
_root["tube" + i].gotoAndStop(4);
}
if ((_root["tube" + i].riser._currentframe == 40) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) < 250)) {
_root["tube" + i].gotoAndStop(3);
}
if (_root["tube" + i].shoot.bullet.hitTest(this.left)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
}
if (this.base.hitTest(_root["tube" + i].stationary.hit)) {
_root["tube" + i].gotoAndStop(5);
grav = -9;
}
if (this.base.hitTest(_root["tube" + i].riser.hit) && (_root["tube" + i].riser._currentframe < 15)) {
_root["tube" + i].gotoAndStop(5);
grav = -9;
}
if (this.base.hitTest(_root["tube" + i].riser.hit) && (_root["tube" + i].riser._currentframe >= 15)) {
_root["tube" + i].gotoAndStop(6);
grav = -9;
}
if (this.base.hitTest(_root["tube" + i].shoot.hit)) {
_root["tube" + i].gotoAndStop(6);
grav = -9;
}
if (this.base.hitTest(_root["tube" + i].down.hit)) {
_root["tube" + i].gotoAndStop(6);
grav = -9;
}
i++;
}
if ((((this._currentframe == 1) && (Key.isDown(68))) && (this.left.hitTest(_root.charger.left))) && (_root.charger._currentframe == 1)) {
this._x = _root.charger._x;
_root.charger.gotoAndStop(2);
}
if (_root.charger._currentframe == 2) {
this._x = _root.charger._x;
chargin = true;
this._visible = false;
}
if (_root.charger.charge._currentframe == 120) {
_root.charger.gotoAndStop(3);
this._visible = true;
chargin = false;
maxadrenaline = maxadrenaline + 10;
_root.adrenaline = maxadrenaline;
}
}
Instance of Symbol 468 MovieClip "flick" in Frame 82
onClipEvent (load) {
t = 0;
flicker = true;
}
onClipEvent (enterFrame) {
if (flicker == false) {
t++;
if (t == 2) {
_root.char._visible = false;
}
if (t == 6) {
_root.char._visible = true;
}
if (t == 10) {
_root.char._visible = false;
}
if (t == 16) {
_root.char._visible = true;
}
if (t == 20) {
_root.char._visible = false;
}
if (t == 24) {
_root.char._visible = true;
}
if (t == 26) {
_root.char._visible = false;
}
if (t == 28) {
_root.char._visible = true;
}
if (t == 29) {
_root.char._visible = false;
}
if (t == 30) {
_root.char._visible = true;
}
}
if (t > 30) {
t = 0;
flicker = true;
}
}
Instance of Symbol 470 MovieClip in Frame 82
onClipEvent (load) {
a = 0;
f = 0;
g = 0;
}
onClipEvent (enterFrame) {
f++;
g++;
a = 0;
while (a < 26) {
if (((g > 100) && (f > 10)) && (_root.char.mdk.hitTest(_root["ground" + a].top))) {
f = 0;
_root.landing.start(0, 1);
}
a++;
}
}
Instance of Symbol 478 MovieClip "grindmc" in Frame 82
onClipEvent (enterFrame) {
if (_root.char._currentframe == 41) {
_root.grindmc.gotoAndStop(2);
} else {
_root.grindmc.gotoAndStop(1);
}
}
Instance of Symbol 479 MovieClip "wallrunmc" in Frame 82
onClipEvent (enterFrame) {
if (_root.char._currentframe == 16) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 83
_root.lev = 82;
_root.char._x = 30;
Frame 84
_root.lev = 83;
_root.char._x = 30;
_root.char._y = 400;
Frame 85
_root.lev = 84;
_root.char._x = 30;
_root.char._y = 400;
Frame 86
_root.lev = 85;
_root.char._x = 30;
_root.char._y = 400;
Frame 87
_root.lev = 86;
_root.char._x = 30;
_root.char._y = 400;
Frame 88
_root.lev = 87;
_root.char._x = 30;
_root.char._y = 400;
Instance of Symbol 367 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 201 MovieClip "door1" in Frame 88
onClipEvent (enterFrame) {
if (_root.machine1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 88
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Frame 89
_root.lev = 88;
_root.char._x = 30;
_root.char._y = 400;
Instance of Symbol 201 MovieClip "door4" in Frame 89
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Frame 90
_root.lev = 89;
_root.char._x = 30;
_root.char._y = 400;
Instance of Symbol 201 MovieClip "door3" in Frame 90
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Frame 91
_root.lev = 90;
_root.char._x = 30;
_root.char._y = 400;
Instance of Symbol 201 MovieClip "door3" in Frame 91
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 193 MovieClip "box1" in Frame 91
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
a = 0;
while (a < 26) {
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Frame 92
_root.lev = 91;
_root.char._x = 30;
_root.char._y = 400;
Frame 93
_root.lev = 92;
_root.char._x = 30;
_root.char._y = 400;
Instance of Symbol 270 MovieClip "mdk1" in Frame 93
onClipEvent (load) {
l = 0;
speed = 2;
_x = 540;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 120) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 120) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Frame 94
_root.lev = 93;
_root.char._x = 30;
_root.char._y = 400;
Frame 95
_root.lev = 94;
_root.springheight = 15;
_root.char._x = 30;
_root.char._y = 400;
Instance of Symbol 235 MovieClip "healthp1" in Frame 95
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door4" in Frame 95
onClipEvent (enterFrame) {
if (_root.npressure2._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 95
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 95
onClipEvent (load) {
l = 0;
speed = 2;
_x = 670;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 120) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 120) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 737 MovieClip "hint" in Frame 95
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 96
_root.lev = 95;
_root.springheight = 29;
_root.char._x = 50;
_root.char._y = 480;
Instance of Symbol 353 MovieClip "ground7" in Frame 96
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.wallrunning = false;
}
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 96
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle1" in Frame 96
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle2" in Frame 96
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 740 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 97
_root.lev = 96;
_root.char._x = 45;
_root.char._y = 440;
_root.char.gotoAndStop(1);
Instance of Symbol 367 MovieClip in Frame 97
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 174 MovieClip "needle1" in Frame 97
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle2" in Frame 97
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 97
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp2" in Frame 97
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 743 MovieClip in Frame 97
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 98
_root.lev = 97;
_root.springheight = 26;
_root.sspringheight = 33;
_root.char._x = 30;
_root.char._y = 580;
Instance of Symbol 174 MovieClip "needle1" in Frame 98
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 746 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 99
_root.lev = 98;
_root.char._xscale = _root.char.scale;
_root.char._x = 648;
_root.char._y = 111;
Instance of Symbol 547 MovieClip "tpressure1" in Frame 99
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 201 MovieClip "door3" in Frame 99
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 367 MovieClip in Frame 99
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 99
onClipEvent (load) {
l = 0;
speed = 2;
_x = 399;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 120) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 120) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 749 MovieClip in Frame 99
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 100
_root.lev = 99;
_root.char._x = 27;
_root.char._y = 393;
Instance of Symbol 201 MovieClip "door3" in Frame 100
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 100
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door3" in Frame 100
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 193 MovieClip "box1" in Frame 100
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
a = 0;
while (a < 26) {
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 753 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 101
_root.lev = 100;
_root.char._x = 27;
_root.char._y = 160;
Instance of Symbol 367 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 201 MovieClip "door4" in Frame 101
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 101
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine2" in Frame 101
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 757 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 102
_root.lev = 101;
_root.char._x = 650;
_root.char._y = 584;
Instance of Symbol 201 MovieClip "door3" in Frame 102
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 201 MovieClip "door3" in Frame 102
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 174 MovieClip "needle1" in Frame 102
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle2" in Frame 102
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 193 MovieClip "box1" in Frame 102
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
grav = grav + 1;
if (grav > 1) {
_x = (_x-1);
}
_y = (_y + grav);
if (grav > 10) {
grav = 9;
}
a = 0;
while (a < 26) {
if (this.leftt.hitTest(_root["ground" + a].top)) {
grav = 0;
_y = (_y-1);
}
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 201 MovieClip "door4" in Frame 102
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this._currentframe == 4) {
if (this.door._currentframe < 26) {
_root.ground5.gotoAndStop(2);
}
}
if (this._currentframe == 4) {
if (this.door._currentframe > 30) {
_root.ground5.gotoAndStop(1);
}
}
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 765 MovieClip in Frame 102
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 103
_root.lev = 102;
_root.springheight = 29;
_root.sspringheight = 29;
_root.char._x = 180;
_root.char._y = 30;
Instance of Symbol 201 MovieClip "door3" in Frame 103
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 174 MovieClip "needle1" in Frame 103
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door4" in Frame 103
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this._currentframe == 4) {
if (this.door._currentframe < 26) {
_root.ground5.gotoAndStop(2);
}
}
if (this._currentframe == 4) {
if (this.door._currentframe > 30) {
_root.ground5.gotoAndStop(1);
}
}
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 235 MovieClip "healthp2" in Frame 103
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door1" in Frame 103
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 103
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 264 MovieClip "machine1" in Frame 103
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine2" in Frame 103
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 768 MovieClip in Frame 103
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 104
_root.lev = 103;
_root.springheight = 20;
_root.sspringheight = 33;
_root.char._x = 30;
_root.char._y = 520;
Instance of Symbol 174 MovieClip "needle1" in Frame 104
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp2" in Frame 104
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 104
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door4" in Frame 104
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 201 MovieClip "door3" in Frame 104
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 264 MovieClip "machine2" in Frame 104
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 104
onClipEvent (load) {
gotoAndStop (1);
}
Frame 105
_root.lev = 104;
_root.char._x = 30;
_root.char._y = 550;
Instance of Symbol 264 MovieClip "machine1" in Frame 105
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 775 MovieClip in Frame 105
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 106
_root.lev = 105;
_root.char._x = 30;
_root.char._y = 245;
Instance of Symbol 235 MovieClip "healthp2" in Frame 106
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 106
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle1" in Frame 106
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle2" in Frame 106
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door3" in Frame 106
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 193 MovieClip "box1" in Frame 106
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
a = 0;
while (a < 26) {
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 106
onClipEvent (load) {
l = 0;
speed = 1.8;
_x = 570;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 120) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 120) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 781 MovieClip in Frame 106
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 107
_root.lev = 106;
_root.springheight = 33;
_root.sspringheight = 33;
_root.char._x = 30;
_root.char._y = 450;
Instance of Symbol 235 MovieClip "healthp2" in Frame 107
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 107
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle1" in Frame 107
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door3" in Frame 107
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 193 MovieClip "box1" in Frame 107
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
a = 0;
while (a < 26) {
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 782 MovieClip "ground7" in Frame 107
onClipEvent (enterFrame) {
if (((_root.door3._currentframe == 4) && (_root.door3.door._currentframe > 20)) && (_root.door3.door._currentframe < 35)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 785 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 108
_root.lev = 107;
_root.char._x = 140;
_root.char._y = 550;
Instance of Symbol 235 MovieClip "healthp2" in Frame 108
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 108
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle1" in Frame 108
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 782 MovieClip "ground7" in Frame 108
onClipEvent (enterFrame) {
if (_root.door3._currentframe != 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 201 MovieClip "door3" in Frame 108
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 367 MovieClip in Frame 108
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 108
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 788 MovieClip in Frame 108
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 109
_root.lev = 108;
_root.springheight = 25;
_root.char._x = 30;
_root.char._y = 100;
Instance of Symbol 201 MovieClip "door3" in Frame 109
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 789 MovieClip "box1" in Frame 109
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
grav = grav + 1;
if (grav > 1) {
_x = (_x + 0.1);
}
_y = (_y + grav);
if (grav > 10) {
grav = 10;
}
a = 0;
while (a < 26) {
if (this.leftt.hitTest(_root["ground" + a].top)) {
grav = 0;
_y = (_y-1);
}
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 174 MovieClip "needle3" in Frame 109
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle2" in Frame 109
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp4" in Frame 109
onClipEvent (load) {
gotoAndStop (1);
}
Frame 110
_root.lev = 109;
_root.springheight = 25;
_root.char._xscale = _root.char.scale;
_root.char._x = 670;
_root.char._y = 90;
Instance of Symbol 201 MovieClip "door4" in Frame 110
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
if ((_root.lole._currentframe != 98) && (this._currentframe != 1)) {
_root.lole.play();
}
}
Instance of Symbol 174 MovieClip "needle3" in Frame 110
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle2" in Frame 110
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 174 MovieClip "needle4" in Frame 110
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp3" in Frame 110
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 110
onClipEvent (load) {
gotoAndStop (1);
}
Frame 111
_root.day.stop("day");
stop();
Frame 112
_root.lev = 111;
_root.music = true;
_root.intromusic.stop("intromusic");
_root.grindrail = new Sound();
_root.grindrail.attachSound("grindrail");
_root.wallrunsfx = new Sound();
_root.wallrunsfx.attachSound("wallrunsfx");
_root.landing = new Sound();
_root.landing.attachSound("landing");
_root.hitsfx = new Sound();
_root.hitsfx.attachSound("hitsfx");
_root.adrenalinesfx = new Sound();
_root.adrenalinesfx.attachSound("adrenalinesfx");
onEnterFrame = function () {
if (_root.music) {
_root.musicmc.gotoAndStop(1);
}
if (_root.music == false) {
_root.musicmc.gotoAndStop(2);
}
};
_root.springheight = 20;
_root.railr = 1;
_root.char._x = 50;
_root.char._y = 540;
_root.backgroundmoving = true;
Instance of Symbol 367 MovieClip in Frame 112
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 367 MovieClip in Frame 112
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 719 MovieClip "tube3" in Frame 112
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube2" in Frame 112
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 468 MovieClip "flick" in Frame 112
onClipEvent (load) {
t = 0;
flicker = true;
}
onClipEvent (enterFrame) {
if (flicker == false) {
t++;
if (t == 2) {
_root.char._visible = false;
}
if (t == 6) {
_root.char._visible = true;
}
if (t == 10) {
_root.char._visible = false;
}
if (t == 16) {
_root.char._visible = true;
}
if (t == 20) {
_root.char._visible = false;
}
if (t == 24) {
_root.char._visible = true;
}
if (t == 26) {
_root.char._visible = false;
}
if (t == 28) {
_root.char._visible = true;
}
if (t == 29) {
_root.char._visible = false;
}
if (t == 30) {
_root.char._visible = true;
}
}
if (t > 30) {
t = 0;
flicker = true;
}
}
Instance of Symbol 899 MovieClip "char" in Frame 112
onClipEvent (enterFrame) {
_root.adrenaline = 100;
if (((adrenaline == false) && (horizspeed > 4)) && (grinding == false)) {
horizspeed = horizspeed * 0.97;
}
if (horizspeed > 15) {
horizspeed = 15;
}
if ((adrenaline == false) && (hanging == false)) {
if (maxspeed > 4) {
maxspeed = 4;
}
}
if (!this.hitTest(_root.pole)) {
hanging = false;
jumpgrab = false;
springgrab = false;
jumpgrabhold = false;
springgrabhold = false;
}
if ((((((!Key.isDown(40)) && (!Key.isDown(65))) && (flip == false)) && (legrab == false)) && (hanging == false)) && (sliding == false)) {
if (this.top.hitTest(_root.pole)) {
jumpkick = false;
hanging = true;
sliding = false;
spring = false;
wallrunning = false;
crouching = false;
falling = false;
}
if (((!Key.isDown(40)) && (hanging)) && (this._currentframe == 10)) {
horizspeed = 0;
springgrab = true;
this.gotoAndStop(22);
falling = false;
}
if (((!Key.isDown(40)) && (hanging)) && (this._currentframe == 5)) {
horizspeed = 0;
jumpgrab = true;
this.gotoAndStop(23);
falling = false;
}
if (((!Key.isDown(40)) && (hanging)) && (this._currentframe == 6)) {
horizspeed = 0;
jumpgrab = true;
this.gotoAndStop(23);
falling = false;
grav = -4;
}
}
if ((((!Key.isDown(40)) && (this.sgrab._currentframe > 7)) && (springgrab)) && (attack == false)) {
falling = false;
spring = false;
this.gotoAndStop(11);
hanging = true;
springgrab = false;
springgrabhold = true;
}
if ((!Key.isDown(40)) && (springgrabhold)) {
grav = 0;
this._y = _root.pole._y + 38;
}
if ((((!Key.isDown(40)) && (this.jgrab._currentframe > 7)) && (jumpgrab)) && (attack == false)) {
falling = false;
jumping = false;
spring = false;
this.gotoAndStop(11);
hanging = true;
jumpgrab = false;
jumpgrabhold = true;
wallrunning = false;
falling = false;
}
if ((!Key.isDown(40)) && (jumpgrabhold)) {
jumping = false;
falling = false;
wallrunning = false;
grav = 0;
this._y = _root.pole._y + 38;
}
if (jumpgrabhold | springgrabhold) {
if ((Key.isDown(65) && (!Key.isDown(39))) && (!Key.isDown(37))) {
shimmy = false;
this.gotoAndStop(25);
horizspeed = 0;
}
if (this.polek._currentframe == 26) {
this.gotoAndStop(11);
jumpgrabhold = true;
}
if (adrenaline) {
max = 5;
if (horizspeed > 5) {
horizspeed = 5;
}
} else {
max = 3;
if (horizspeed > 3) {
horizspeed = 3;
}
}
if (((this._currentframe != 25) && (!Key.isDown(65))) && (Key.isDown(37) | Key.isDown(39))) {
this.gotoAndStop(19);
}
if ((((this._currentframe != 25) && (!Key.isDown(65))) && (Key.isDown(37))) && (Key.isDown(39))) {
this.gotoAndStop(21);
}
if ((((this._currentframe != 25) && (this._currentframe != 11)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.gotoAndStop(21);
}
}
if (Key.isDown(40)) {
if (jumpgrabhold | springgrabhold) {
this.gotoAndStop(24);
fallfromhang = true;
}
falling = false;
hanging = false;
jumpgrab = false;
springgrab = false;
springgrabhold = false;
jumpgrabhold = false;
}
o = 0;
while (o < 5) {
if (((((((((grav > 0) && (jumpkick == false)) && (flip == false)) && (legrab == false)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) && (trickfail == false)) && (this.base.hitTest(_root["spring" + o].top))) {
_root.hitspring = new Sound();
_root.hitspring.attachSound("hitspring");
_root.hitspring.start(0, 1);
grav = -_root.springheight;
legrab = false;
flip = false;
spring = true;
donthang = false;
hanging = false;
fallfromhang = false;
jumpgrab = false;
springgrab = false;
}
if (((((((((grav > 0) && (jumpkick == false)) && (flip == false)) && (legrab == false)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) && (trickfail == false)) && (this.base.hitTest(_root["sspring" + o].top))) {
_root.hitspring = new Sound();
_root.hitspring.attachSound("hitspring");
_root.hitspring.start(0, 1);
grav = -_root.sspringheight;
legrab = false;
flip = false;
spring = true;
donthang = false;
hanging = false;
fallfromhang = false;
jumpgrab = false;
springgrab = false;
}
o++;
}
o = 0;
while (o < 6) {
if ((((((((Key.isDown(38) && (!Key.isDown(40))) && (attack == false)) && (fightrun == false)) && (jumpkick == false)) && (legrab == false)) && (flip == false)) && (trickfail == false)) && (_root["chain" + o].hitTest(this._x, this._y, true))) {
something = true;
grind = false;
this._x = _root["chain" + o]._x;
slidingdown = false;
clinging = true;
grav = 0;
horizspeed = 0;
max = 0;
jumping = false;
fallfromhang = false;
jumpgrab = false;
hanging = false;
springgrab = false;
springgrabhold = false;
jumpgrabhold = false;
p = o;
legrab = false;
this.gotoAndStop(13);
if (adrenaline) {
_y = (_y - 3);
} else {
_y = (_y - 1.5);
}
}
if ((!Key.isDown(38)) && (clinging)) {
this.gotoAndStop(12);
}
o++;
}
if (((this._currentframe == 13) && (jumpkick == false)) && (!_root["chain" + p].hitTest(this._x, this._y, true))) {
slidingdown = false;
clinging = false;
jumping = true;
grav = -5;
}
if ((((((slidingdown == false) && (jumpkick == false)) && (clinging)) && (!Key.isDown(37))) && (!Key.isDown(38))) && (!Key.isDown(39))) {
horizspeed = 0;
this.gotoAndStop(12);
}
if (((this._currentframe == 12) | (this._currentframe == 18)) && (Key.isDown(37))) {
_x = (_x - 5);
clinging = false;
horizspeed = 0;
grav = -11;
jumping = true;
}
if (((this._currentframe == 12) | (this._currentframe == 18)) && (Key.isDown(39))) {
x = x + 5;
clinging = false;
horizspeed = 0;
grav = -11;
jumping = true;
}
if (clinging && (Key.isDown(40))) {
slidingdown = true;
sl = sl + 3;
_y = (_y + 2);
this.gotoAndStop(14);
if (sl > 50) {
_y = (_y + 6);
}
} else {
sl = 0;
}
if (clinging == false) {
slidingdown = false;
}
if (slidingdown && (Key.isDown(40))) {
this.gotoAndStop(18);
}
_root.ad = int(_root.adrenaline);
if (Key.isDown(83) && (_root.adrenaline > 0)) {
adrenaline = true;
_root.adrenaline = _root.adrenaline - 0.35;
if (hanging == false) {
max = 9;
}
Height = 15;
} else {
adrenaline = false;
}
if (!Key.isDown(83)) {
adrenaline = false;
Height = 13;
if (hanging == false) {
max = 6;
}
}
if (_root.adrenaline <= 0) {
_root.adrenaline = 0;
max = 6;
wallrunning = false;
adrenaline = false;
}
if (_root.adrenaline > maxadrenaline) {
_root.adrenaline = maxadrenaline;
}
if (grav > Height) {
grav = Height;
}
if (((clinging == false) && (wallrunning == false)) && (grinding == false)) {
grav = grav + 1;
_y = (_y + grav);
}
i = 1;
while (i < 26) {
if (clinging && (_root["grund" + i].hitTest(this.base))) {
clinging = false;
this.gotoAndStop(15);
offchain = true;
falling = false;
}
if (this.dismount._currentframe == 10) {
offchain = false;
}
if (this._currentframe != 10) {
while (_root["ground" + i].top.hitTest(this.base)) {
donthang = false;
legrab = false;
fallfromhang = false;
grindspeed = 1;
grind = false;
jumpkick = false;
falling = false;
something = true;
fallfromhang = false;
hanging = false;
jumpgrab = false;
springgrab = false;
springgrabhold = false;
jumpgrabhold = false;
jumping = false;
wallrunning = false;
if ((this.fliptri._currentframe < 23) | (this.fliptrif._currentframe < 23)) {
this.gotoAndStop(28);
trickfail = true;
flip = false;
horizspeed = 0;
}
if ((this._currentframe == 30) | (this._currentframe == 31)) {
this.gotoAndStop(28);
trickfail = true;
legrab = false;
horizspeed = 0;
}
if (this.leggrabfall._currentframe < 10) {
this.gotoAndStop(28);
trickfail = true;
legrab = false;
horizspeed = 0;
}
_y = (_y - 1);
jumping = false;
grav = 0;
}
}
i++;
}
if ((grav > 0) && (grind == false)) {
jumping = true;
}
if (((((((((((((((Key.isDown(38) && (crouchwalk == false)) && (lcrouchwalk == false)) && (attack == false)) && (fightrun == false)) && (legrab == false)) && (trickfail == false)) && (flip == false)) && (jumpgrab == false)) && (springgrab == false)) && (crouching == false)) && (gettingup == false)) && (gettingups == false)) && (jumping == false)) && (clinging == false)) && (sliding == false)) {
jumping = true;
something = false;
grindspeed = 1;
grind = false;
grav = -Height;
}
if (((((((((grav < 0) && (spring == false)) && (legrab == false)) && (flip == false)) && (jumpgrab == false)) && (springgrab == false)) && (cantgetup == false)) && (wallrunning == false)) && (clinging == false)) {
injump = true;
this.gotoAndStop(5);
} else {
injump = false;
}
if (((spring && (jumpgrab == false)) && (springgrab == false)) && (wallrunning == false)) {
this.gotoAndStop(10);
}
if ((something == false) && (sliding == false)) {
if ((((((((((grav >= 0) && (hanging == false)) && (wallrunning == false)) && (jumpgrabhold == false)) && (trickfail == false)) && (legrab == false)) && (flip == false)) && (fallfromhang == false)) && (donthang == false)) && (jumpgrab == false)) {
cwalk = false;
lcwalk = false;
crouchwalk = false;
lcrouchwalk = false;
crouching = false;
gettingups = false;
falling = true;
spring = false;
flip = false;
legrab = false;
if (jumping) {
this.gotoAndStop(6);
this.fallanimations.gotoAndStop(2);
}
}
} else if ((((((((grav > 0) && (sliding == false)) && (trickfail == false)) && (legrab == false)) && (flip == false)) && (jumpgrabhold == false)) && (wallrunning == false)) && (hanging == false)) {
this.gotoAndStop(6);
crouching = false;
gettingups = false;
gettingup = false;
hanging = false;
this.fallanimations.gotoAndStop(1);
falling = true;
spring = false;
flip = false;
}
}
onClipEvent (load) {
crouching = false;
hanging = false;
clinging = false;
wallrunning = false;
grav = 0;
Height = 20;
max = 6;
sl = 0;
gettingup = false;
gettingups = false;
horizspeed = 0;
sliding = false;
slidingdown = false;
grindspeed = 1;
addspeed = 1;
slidetime = 0;
offchain = false;
spring = false;
pushing = false;
decay = 0.75;
springgrab = false;
jumpgrab = false;
fallfromhang = false;
maxSpeed = 5;
flip = false;
running = false;
trickfail = false;
trickloss = 0;
isright = 1;
legrab = false;
attack = false;
punchtwo = false;
dc = 0;
lcwalk = false;
isdown = 0;
kick = false;
fightrun = false;
grinding = false;
cwalk = false;
scale = _xscale;
grind = false;
_xscale = (-scale);
_root.adrenaline = 100;
crouchwalk = false;
lcrouchwalk = false;
maxadrenaline = 100;
fpole = 0;
cc = 0;
gc = 0;
}
onClipEvent (enterFrame) {
running = false;
if (((((((((((((((((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grinding == false)) && (fightrun == false)) && (attack == false)) && (trickfail == false)) && (springgrab == false)) && (jumpgrab == false)) && (legrab == false)) && (flip == false)) && (fallfromhang == false)) && (donthang == false)) && (gettingups == false)) && (gettingup == false)) && (springgrabhold == false)) && (wallrunning == false)) && (slidingdown == false)) && (clinging == false)) && (hanging == false)) && (spring == false)) && (sliding == false)) && (falling == false)) && (crouching == false)) && (jumpgrab == false)) && (jumping == false)) && (Key.isDown(39) | Key.isDown(37))) {
this.gotoAndStop(3);
}
if ((((((((((((((((((((((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grind == false)) && (fightrun == false)) && (attack == false)) && (trickfail == false)) && (running == false)) && (springgrab == false)) && (legrab == false)) && (jumpgrabhold == false)) && (flip == false)) && (jumpgrab == false)) && (fallfromhang == false)) && (donthang == false)) && (springgrabhold == false)) && (gettingups == false)) && (gettingup == false)) && (wallrunning == false)) && (slidingdown == false)) && (clinging == false)) && (hanging == false)) && (spring == false)) && (gettingup == false)) && (sliding == false)) && (crouching == false)) && (falling == false)) && (injump == false)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (jumpgrab == false)) {
gotoAndStop (1);
trickloss = 0;
}
if (((((((((((((((pushing == false) && (attack == false)) && (grind == false)) && (this._currentframe != 25)) && (trickfail == false)) && (jumpgrab == false)) && (springgrab == false)) && (gettingups == false)) && (sliding == false)) && (gettingup == false)) && (crouching == false)) && (cwalk == false)) && (lcwalk == false)) && (clinging == false)) && (wallrunning == false)) {
if (Key.isDown(39) && (!Key.isDown(37))) {
_xscale = (-scale);
if (isright == 1) {
if (horizspeed < max) {
horizspeed = horizspeed + addspeed;
}
} else {
isright = 1;
}
} else if (Key.isDown(37) && (!Key.isDown(39))) {
_xscale = scale;
if (isright == 0) {
if (horizspeed > (-max)) {
horizspeed = horizspeed - addspeed;
}
} else {
isright = 0;
}
} else {
horizspeed = horizspeed * decay;
}
}
if (this._currentframe == 8) {
horizspeed = horizspeed * 0.85;
}
if (crouching) {
horizspeed = horizspeed * 0.5;
}
if (clinging) {
horizspeed = horizspeed * 0.6;
}
if (gettingups) {
horizspeed = horizspeed * 0.3;
}
if (gettingup) {
horizspeed = horizspeed * 0.3;
}
this._x = this._x + horizspeed;
if (((((((((((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grinding == false)) && (trickfail == false)) && (sliding == false)) && (legrab == false)) && (flip == false)) && (crouching == false)) && (gettingups == false)) && (gettingup == false)) && (wallrunning == false)) && (clinging == false)) && (hanging == false)) && (jumping == false)) && (falling == false)) && (springgrab == false)) && (jumpgrab == false)) && (donthang == false)) && (Key.isDown(37))) && (Key.isDown(39))) {
this.gotoAndStop(1);
}
if ((((((((((((lcwalk == false) && (cwalk == false)) && (pushing == false)) && (grinding == false)) && (springgrab == false)) && (legrab == false)) && (flip == false)) && (jumpgrab == false)) && (gettingups == false)) && (donthang == false)) && (!Key.isDown(40))) && (this.crouch._currentframe == 13)) {
this.gotoAndStop(9);
up = true;
gettingup = true;
} else {
up = false;
}
if (((grind == false) && (this._currentframe != 41)) && (gc > 50)) {
if ((((((this._currentframe == 1) && (!Key.isDown(39))) && (!Key.isDown(65))) && (Key.isDown(40))) && (sliding == false)) && (!Key.isDown(37))) {
crouching = true;
running = false;
grind = false;
}
}
if (((((((((lcwalk == false) && (cwalk == false)) && (!Key.isDown(39))) && (this._currentframe != 43)) && (!Key.isDown(37))) && (up == false)) && (crouching)) && (!Key.isDown(65))) && (this.crouching._currentframe != 13)) {
this.gotoAndStop(7);
} else if (((((((((lcwalk == false) && (crouchwalk == false)) && (cwalk == false)) && (crouchwalk == false)) && (pushing == false)) && (!Key.isDown(65))) && (this._currentframe == 7)) && (!Key.isDown(39))) && (!Key.isDown(37))) {
this.gotoAndStop(17);
gettingups = true;
} else if ((!Key.isDown(39)) && (!Key.isDown(37))) {
crouching = false;
}
if (grav > 0) {
crouching = false;
crouchwalk = false;
lcrouchwalk = false;
cwalk = false;
lcwalk = false;
}
if ((((this._currentframe == 7) | (this._currentframe == 44)) && (Key.isDown(39))) && (Key.isDown(40))) {
crouchwalk = true;
_xscale = (-scale);
lcrouchwalk = false;
}
if ((crouchwalk && (Key.isDown(39))) && (Key.isDown(40))) {
horizpeed = 0;
sliding = false;
this.gotoAndStop(43);
_x = (_x + 2);
}
if (((this._currentframe == 43) && (_xscale == (-scale))) && ((!Key.isDown(39)) | (!Key.isDown(40)))) {
this.gotoAndStop(44);
cwalk = true;
lcwalk = false;
}
if (((ccantgetup == false) && (this._currentframe == 44)) && (!Key.isDown(40))) {
cwalk = false;
gettingup = true;
this.gotoAndStop(9);
crouchwalk = false;
crouching = false;
sliding = false;
lcwalk = false;
lcrouchwalk = false;
gettingup = true;
this.gotoAndStop(9);
}
if ((((this._currentframe == 7) | (this._currentframe == 44)) && (Key.isDown(37))) && (Key.isDown(40))) {
lcrouchwalk = true;
_xscale = scale;
crouchwalk = false;
}
if ((lcrouchwalk && (Key.isDown(37))) && (Key.isDown(40))) {
horizpeed = 0;
sliding = false;
this.gotoAndStop(43);
_x = (_x - 2);
}
if (((this._currentframe == 43) && (this._xscale == scale)) && ((!Key.isDown(37)) | (!Key.isDown(40)))) {
this.gotoAndStop(44);
lcwalk = true;
cwalk = false;
}
if (!Key.isDown(40)) {
crouching = false;
}
if (crouching && (falling)) {
crouching = false;
}
if ((((((((((((((this._currentframe != 43) && (crouchwalk == false)) && (pushing == false)) && (grind == false)) && (fightrun == false)) && (Key.isDown(40))) && (trickfail == false)) && (wallrunning == false)) && (gettingups == false)) && (sliding == false)) && (gettingup == false)) && (clinging == false)) && (jumping == false)) && (Key.isDown(65))) {
sliding = true;
running = false;
}
if (sliding) {
this.gotoAndStop(8);
_x = (_x + horizspeed);
}
if ((((this._currentframe == 8) && (_xscale == (-scale))) && (horizspeed < 1)) && (this.sli._currentframe < 12)) {
horizspeed = 6;
}
if ((((this._currentframe == 8) && (_xscale == scale)) && (horizspeed > -1)) && (this.sli._currentframe < 12)) {
horizspeed = -6;
}
if (this.getup._currentframe == 11) {
gettingup = false;
}
if (((cantgetup == false) && (this.sli._currentframe == 12)) && (!Key.isDown(40))) {
this.gotoAndStop(17);
gettingups = true;
sliding = false;
}
if (this.getups._currentframe == 24) {
gettingups = false;
}
if (((cantgetup == false) && (!Key.isDown(40))) && (this.sli._currentframe == 12)) {
sliding = false;
}
i = 0;
while (i < 26) {
if (sliding && (this.top.hitTest(_root["ground" + i]))) {
cantgetup = true;
cot = i;
}
if (!this.top.hitTest(_root["ground" + cot])) {
cantgetup = false;
}
if (crouching && (this.top.hitTest(_root["ground" + i]))) {
ccantgetup = true;
cot = i;
}
if (!this.top.hitTest(_root["ground" + cot])) {
ccantgetup = false;
}
i++;
}
if (sliding && (cantgetup)) {
if (_xscale == scale) {
horizspeed = -4;
}
if (_xscale == (-scale)) {
horizspeed = 4;
}
}
}
onClipEvent (enterFrame) {
if (wallrunning && (!Key.isDown(40))) {
grav = 0;
this.gotoAndStop(16);
if (norun == false) {
_y = (_y - 4);
}
}
if (Key.isDown(40) | (!Key.isDown(83))) {
wallrunning = false;
}
i = 0;
while (i < 26) {
if (_root["ground" + i].hitTest(this.block)) {
hoho = i;
}
if (wallrunning && (!this.block.hitTest(_root["ground" + hoho]))) {
wallrunning = false;
grav = -10;
jumping = true;
}
i++;
}
if (((_xscale == scale) && (wallrunning)) && (Key.isDown(39))) {
grav = -15;
wallrunning = false;
jumping = true;
}
if (((_xscale == (-scale)) && (wallrunning)) && (Key.isDown(37))) {
grav = -15;
wallrunning = false;
jumping = true;
}
i = 0;
while (i < 26) {
if (_root["ground" + i].right.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x + (4 + horizspeed);
if (_root["ground" + i].right.hitTest(this.newleft)) {
if (this._currentframe == 10) {
grav = grav + 1;
}
if (((((((((((((((((((((pushing == false) && (trickfail == false)) && (adrenaline)) && (_root.adrenaline > 0)) && (this._currentframe != 26)) && (this._currentframe != 27)) && (attack == false)) && (fightrun == false)) && (jumpkick == false)) && (legrab == false)) && (flip == false)) && (_xscale == scale)) && (gettingup == false)) && (sliding == false)) && (crouching == false)) && (gettingups == false)) && (hanging == false)) && (clinging == false)) && (this._currentframe != 30)) && (this._currentframe != 31)) && (this._currentframe != 32)) {
falling = false;
attack = false;
flip = false;
legrab = false;
jumping = false;
wallrunning = true;
spring = false;
donthang = false;
fallfromhang = false;
} else {
wallrunning = false;
}
}
}
if (_root["ground" + i].left.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x - (4 + horizspeed);
if (_root["ground" + i].left.hitTest(this.newleft)) {
if (this._currentframe == 10) {
grav = grav + 1;
}
if (((((((((((((((((((((pushing == false) && (trickfail == false)) && (adrenaline)) && (_root.adrenaline > 0)) && (this._currentframe != 26)) && (this._currentframe != 27)) && (jumpkick == false)) && (fightrun == false)) && (attack == false)) && (legrab == false)) && (flip == false)) && (_xscale == (-scale))) && (sliding == false)) && (crouching == false)) && (gettingup == false)) && (gettingups == false)) && (hanging == false)) && (clinging == false)) && (this._currentframe != 30)) && (this._currentframe != 31)) && (this._currentframe != 32)) {
falling = false;
attack = false;
flip = false;
legrab = false;
jumping = false;
wallrunning = true;
spring = false;
donthang = false;
fallfromhang = false;
} else {
wallrunning = false;
}
}
}
if (_root["ground" + i].bottom.hitTest(this.left)) {
if (wallrunning == false) {
this._y = this._y + 4;
grav = 0;
}
norun = true;
}
if (wallrunning == false) {
norun = false;
}
if (wallrunning) {
something = false;
attack = false;
running = false;
legrab = false;
trickfail = false;
flip = false;
if (Key.isDown(40)) {
wallrunning = false;
falling = false;
}
}
i++;
}
if ((((((this._currentframe != 16) && (this._currentframe != 40)) && (this._currentframe != 8)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) {
if (((((((Key.isDown(68) && (clinging == false)) && (jumpkick == false)) && (legrab == false)) && (!Key.isDown(38))) && (wallrunning == false)) && (flip == false)) && (this._currentframe == 5)) {
jumping = false;
flip = true;
jumpkick = false;
}
if (flip && (this._currentframe == 5)) {
spring = false;
this.gotoAndStop(26);
}
if (this.fliptri._currentframe == 25) {
flip = false;
this.gotoAndStop(6);
}
if (((((Key.isDown(68) && (wallrunning == false)) && (trickfail == false)) && (flip == false)) && (this._currentframe == 6)) && (!Key.isDown(38))) {
jumping = false;
flip = true;
}
if (((((Key.isDown(68) && (wallrunning == false)) && (trickfail == false)) && (flip == false)) && (this._currentframe == 24)) && (!Key.isDown(38))) {
jumping = false;
flip = true;
this.gotoAndStop(6);
hangtofall = false;
}
if ((flip && (this._currentframe == 6)) && (wallrunning == false)) {
spring = false;
this.gotoAndStop(27);
}
if ((this.fliptrif._currentframe == 25) && (wallrunning == false)) {
flip = false;
this.gotoAndStop(6);
}
if (flip) {
_root.adrenaline = _root.adrenaline + 1;
trickloss = trickloss + 1;
}
if (this.trickfailed._currentframe == 25) {
this.gotoAndStop(29);
jumping = false;
falling = false;
}
if (this.upfail._currentframe == 46) {
trickfail = false;
}
}
if ((((((this._currentframe != 16) && (this._currentframe != 40)) && (this._currentframe != 8)) && (gettingup == false)) && (gettingups == false)) && (crouching == false)) {
if ((((((Key.isDown(68) && (wallrunning == false)) && (clinging == false)) && (jumpkick == false)) && (Key.isDown(38))) && (spring == false)) && (flip == false)) {
jumping = false;
legrab = true;
wallrunning = false;
jumpkick = false;
}
if ((legrab && (this._currentframe == 5)) && (wallrunning == false)) {
spring = false;
this.gotoAndStop(30);
}
if ((((!Key.isDown(68)) && (wallrunning == false)) && (!Key.isDown(38))) && (this.grabtri._currentframe == 10)) {
this.gotoAndStop(32);
}
if (((((legrab && (Key.isDown(68))) && (wallrunning == false)) && (trickfail == false)) && (this._currentframe == 24)) && (Key.isDown(38))) {
jumping = false;
legrab = true;
this.gotoAndStop(6);
hangtofall = false;
}
if (legrab) {
_root.adrenaline = _root.adrenaline + 1;
trickloss = trickloss + 1;
}
if (this.leggrabfall._currentframe == 12) {
legrab = false;
this.gotoAndStop(6);
}
if ((legrab && (this._currentframe == 6)) && (wallrunning == false)) {
spring = false;
this.gotoAndStop(31);
}
if (((!Key.isDown(68)) && (!Key.isDown(40))) && (this.grabtrif._currentframe == 10)) {
this.gotoAndStop(32);
}
if (this.leggrabfall._currentframe == 13) {
legrab = false;
this.gotoAndStop(6);
}
if (trickfailed) {
_root.adrenaline = _root.adrenaline - trickloss;
trickloss = 0;
}
}
if (((((Key.isDown(65) && ((this._currentframe == 1) | (this._currentframe == 37))) && (grind == false)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
attack = true;
stanced = true;
grind = false;
}
if (attack) {
horizspeed = 0;
if ((((punchtwo == false) && (stanced)) && (kick == false)) && (this._currentframe == 1)) {
this.gotoAndStop(33);
}
if ((((punchtwo == false) && (stanced)) && (kick == false)) && (this._currentframe == 37)) {
this.gotoAndStop(34);
}
if (((this.punchone._currentframe > 7) | (this.opunch._currentframe > 7)) && (Key.isDown(65))) {
punchtwo = true;
}
if (punchtwo && (this.punchone._currentframe == 15)) {
this.gotoAndStop(35);
}
if (punchtwo && (this.opunch._currentframe == 15)) {
this.gotoAndStop(35);
}
if ((this.ptwo._currentframe > 11) && (Key.isDown(65))) {
kick = true;
}
if (kick && (this.ptwo._currentframe > 14)) {
this.gotoAndStop(36);
}
}
if (this.punchone._currentframe == 15) {
this.gotoAndStop(37);
stanced = false;
}
if (this.opunch._currentframe == 15) {
punchtwo = false;
this.gotoAndStop(37);
stanced = false;
punchtwo = false;
}
if (this.ptwo._currentframe == 20) {
punchtwo = false;
this.gotoAndStop(37);
stanced = false;
}
if (this.k._currentframe == 40) {
attack = true;
punchtwo = false;
kick = false;
this.gotoAndStop(37);
stanced = false;
}
if (this._currentframe == 37) {
if (((Key.isDown(39) | Key.isDown(37)) | Key.isDown(38)) | Key.isDown(40)) {
attack = false;
stanced = false;
punchtwo = false;
}
}
if (this._currentframe == 37) {
if ((Key.isDown(39) | Key.isDown(37)) && (pushing == false)) {
fightrun = true;
pushing = false;
}
}
if (fightrun) {
this.gotoAndStop(38);
}
if (this.frun._currentframe == 9) {
fightrun = false;
}
if (((((((jumping && (springgrab == false)) && (hanging == false)) && (grind == false)) && (grav > 0)) && (attack == false)) && (Key.isDown(65))) && (this._currentframe == 6)) {
jumpkick = true;
attack = false;
clinging = false;
hanging = false;
grinding = false;
}
if (falling == false) {
jumpkick = false;
}
if (jumpkick) {
this.gotoAndStop(40);
}
if (grindspeed > 2) {
grindspeed = 2;
}
i = 0;
while (i < 20) {
while (_root["rail" + i].hitTest(this._x, this._y, true)) {
something = true;
fallfromhang = false;
hanging = false;
if (((((trickfail == false) && (attack == false)) && (sliding == false)) && (crouching == false)) && (sliding == false)) {
horizspeed = horizspeed - ((_root.railr * grindspeed) / 60);
grindspeed = grindspeed * 1.1;
grind = true;
_y = (_y-1);
jumping = false;
falling = false;
gc = 0;
}
}
if (this._currentframe == 1) {
gc++;
}
if (grind) {
this.gotoAndStop(41);
if (_root.railr == 1) {
_xscale = scale;
} else {
_xscale = (-scale);
}
legrab = false;
flip = false;
}
i++;
}
j = 0;
while (j < 5) {
if (this.left.hitTest(_root["needle" + j])) {
_root.adrenaline = _root.adrenaline + 20;
_root["needle" + j].gotoAndStop(2);
_root.adrenalinesfx.start(0, 1);
}
j++;
}
i = 0;
while (i < 5) {
if (_root["door" + i].door.right.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x + 4;
}
if (_root["door" + i].door.left.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x - 4;
}
if (_root["machine" + i].right.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x + 4;
}
if (_root["machine" + i].left.hitTest(this.left)) {
horizspeed = 0;
this._x = this._x - 4;
}
if (_root["machine" + i].bottom.hitTest(this.left)) {
this._y = this._y + 5;
grav = 0;
}
if (_root["machine" + i].top.hitTest(this.left)) {
this._y = this._y - 5;
}
if (this.polek.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 55;
}
if (this.punchone.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 25;
}
if (this.opunch.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 25;
}
if (this.ptwo.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 35;
}
if (this.k.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 45;
}
if (this.jkick.hit.hitTest(_root["machine" + i])) {
_root["machine" + i].health = _root["machine" + i].health - 5;
falling = true;
attack = false;
something = false;
jumpkick = false;
}
if (this.left.hitTest(_root["npressure" + i])) {
_root["npressure" + i].gotoAndStop(2);
}
if (this.left.hitTest(_root["tpressure" + i])) {
_root["tpressure" + i].gotoAndStop(2);
}
if (this.hitTest(_root["tpressure" + i]) && (wallrunning)) {
_root["tpressure" + i].gotoAndStop(2);
}
if (this.left.hitTest(_root["ppressure" + i])) {
_root["ppressure" + i].gotoAndStop(2);
}
if (_root["box" + i].left.hitTest(_root["ppressure" + i])) {
_root["ppressure" + i].gotoAndStop(2);
}
if ((!this.left.hitTest(_root["ppressure" + i])) && (!_root["box" + i].left.hitTest(_root["ppressure" + i]))) {
_root["ppressure" + i].gotoAndStop(1);
}
i++;
}
p = 0;
while (p < 26) {
i = 0;
while (i < 5) {
if (((this._currentframe == 1) | (this._currentframe == 3)) | (this._currentframe == 42)) {
if ((((_root["box" + i].hitTest(this.left) && (_xscale == (-scale))) && (Key.isDown(39))) && (_root["box" + i]._x > _x)) && (_root["box" + i].hitTest(_root["ground" + p].top))) {
pushing = true;
if (adrenaline == false) {
_x = (_x + 1);
} else {
_x = (_x + 2);
}
_root["box" + i]._x = this._x + 18;
}
if ((((_root["box" + i].hitTest(this.left) && (_xscale == scale)) && (Key.isDown(37))) && (_root["box" + i]._x < _x)) && (_root["box" + i].hitTest(_root["ground" + p].top))) {
pushing = true;
if (adrenaline == false) {
_x = (_x - 1);
} else {
_x = (_x - 2);
}
_root["box" + i]._x = this._x - 18;
}
}
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
pushing = false;
}
if (Key.isDown(37) && (_xscale == (-scale))) {
pushing = false;
}
if (Key.isDown(39) && (_xscale == scale)) {
pushing = false;
}
if (grav < 0) {
pushing = false;
}
if (_root["box" + i].grav > 0) {
pushing = false;
}
i++;
}
if (pushing) {
crouching = false;
sliding = false;
this.gotoAndStop(42);
horizspeed = 0;
}
p++;
}
dc++;
i = 0;
while (i < 16) {
if (_root["spike" + i].hitTest(this.left) && (dc > 30)) {
_root.health.nextFrame();
dc = 0;
_root.hitsfx.start(0, 1);
}
if (_root["saw" + i].saw.saw.hitTest(this.left) && (dc > 30)) {
_root.health.nextFrame();
dc = 0;
_root.hitsfx.start(0, 1);
}
if ((_root["rspike" + i].hitTest(this.left) && (dc > 30)) && ((_root["rspike" + i].s._currentframe > 65) | (_root["rspike" + i].s._currentframe < 10))) {
_root.health.nextFrame();
dc = 0;
_root.hitsfx.start(0, 1);
}
if (_root["healthp" + i].hitTest(this.left) && (_root.health._currentframe != 1)) {
_root["healthp" + i].gotoAndStop(2);
_root.hitsfx.start(0, 1);
_root.health.prevFrame();
}
if (_root["mdk" + i].hitTest(this.mdk) && (_root["mdk" + i]._currentframe == 1)) {
_root["mdk" + i].gotoAndStop(2);
_root["mdk" + i].speed = 0;
grav = -5;
fallfromhang = false;
}
if ((((_root["mdk" + i].hitTest(this.base) && (_xscale == (-scale))) && (sliding)) && (horizspeed > 1)) && (_root["mdk" + i]._currentframe == 1)) {
_root["mdk" + i].gotoAndStop(2);
_root["mdk" + i].speed = 0;
}
if ((((_root["mdk" + i].hitTest(this.base) && (_xscale == scale)) && (sliding)) && (horizspeed < -1)) && (_root["mdk" + i]._currentframe == 1)) {
_root["mdk" + i].gotoAndStop(2);
_root["mdk" + i].speed = 0;
}
if (((((_root["mdk" + i].hitTest(this.left) && (sliding)) && (_xscale == (-scale))) && (horizspeed < 3)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((((_root["mdk" + i].hitTest(this.left) && (sliding)) && (_xscale == scale)) && (horizspeed > -3)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if ((((_root["mdk" + i].hitTest(this.base) && (falling == false)) && (jumping == false)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((_root["mdk" + i].hitTest(this.base) && (trickfail)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if (((_root["mdk" + i].hitTest(this.base) && (attack)) && (dc > 30)) && (_root["mdk" + i]._currentframe == 1)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
dc = 0;
}
if ((_root["tube" + i]._currentframe == 1) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) < 250)) {
_root["tube" + i].gotoAndStop(2);
}
if ((_root["tube" + i].riser._currentframe == 40) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) > 250)) {
_root["tube" + i].gotoAndStop(4);
}
if ((_root["tube" + i].shoot._currentframe == 30) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) > 250)) {
_root["tube" + i].gotoAndStop(4);
}
if ((_root["tube" + i].riser._currentframe == 40) && (Math.sqrt(((_root["tube" + i]._x - _x) * (_root["tube" + i]._x - _x)) + ((_root["tube" + i]._y - _y) * (_root["tube" + i]._y - _y))) < 250)) {
_root["tube" + i].gotoAndStop(3);
}
if (_root["tube" + i].shoot.bullet.hitTest(this.left)) {
_root.health.nextFrame();
_root.hitsfx.start(0, 1);
}
if (this.base.hitTest(_root["tube" + i].stationary.hit)) {
_root["tube" + i].gotoAndStop(5);
grav = -9;
something = true;
}
if (this.base.hitTest(_root["tube" + i].riser.hit) && (_root["tube" + i].riser._currentframe < 15)) {
_root["tube" + i].gotoAndStop(5);
grav = -9;
something = true;
}
if (this.base.hitTest(_root["tube" + i].riser.hit) && (_root["tube" + i].riser._currentframe >= 15)) {
_root["tube" + i].gotoAndStop(6);
grav = -9;
something = true;
}
if (this.base.hitTest(_root["tube" + i].shoot.hit)) {
_root["tube" + i].gotoAndStop(6);
grav = -9;
something = true;
}
if (this.base.hitTest(_root["tube" + i].down.hit)) {
_root["tube" + i].gotoAndStop(6);
grav = -9;
something = true;
}
i++;
}
if ((((this._currentframe == 1) && (Key.isDown(68))) && (this.left.hitTest(_root.charger.left))) && (_root.charger._currentframe == 1)) {
this._x = _root.charger._x;
_root.charger.gotoAndStop(2);
}
if (_root.charger._currentframe == 2) {
this._x = _root.charger._x;
chargin = true;
this._visible = false;
}
if (_root.charger.charge._currentframe == 120) {
_root.charger.gotoAndStop(3);
this._visible = true;
chargin = false;
maxadrenaline = maxadrenaline + 10;
_root.adrenaline = maxadrenaline;
}
}
Instance of Symbol 470 MovieClip in Frame 112
onClipEvent (load) {
a = 0;
f = 0;
g = 0;
}
onClipEvent (enterFrame) {
f++;
g++;
a = 0;
while (a < 26) {
if (((g > 100) && (f > 10)) && (_root.char.mdk.hitTest(_root["ground" + a].top))) {
f = 0;
_root.landing.start(0, 1);
}
a++;
}
}
Instance of Symbol 900 MovieClip in Frame 112
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 478 MovieClip "grindmc" in Frame 112
onClipEvent (enterFrame) {
if (_root.char._currentframe == 41) {
_root.grindmc.gotoAndStop(2);
} else {
_root.grindmc.gotoAndStop(1);
}
}
Instance of Symbol 479 MovieClip "wallrunmc" in Frame 112
onClipEvent (enterFrame) {
if (_root.char._currentframe == 16) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 113
_root.lev = 112;
_root.springheight = 26;
_root.railr = 1;
_root.char._x = 30;
_root.char._y = 530;
Instance of Symbol 235 MovieClip "healthp2" in Frame 113
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 782 MovieClip "ground7" in Frame 113
onClipEvent (enterFrame) {
if (_root.door3._currentframe != 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 201 MovieClip "door3" in Frame 113
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 235 MovieClip "healthp4" in Frame 113
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp3" in Frame 113
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube2" in Frame 113
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 904 MovieClip in Frame 113
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 114
_root.lev = 113;
_root.railr = 1;
_root.char._x = 30;
_root.char._y = 170;
Instance of Symbol 235 MovieClip "healthp3" in Frame 114
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door4" in Frame 114
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this._currentframe == 4) {
if (this.door._currentframe < 26) {
_root.ground17.gotoAndStop(2);
}
}
if (this._currentframe == 4) {
if (this.door._currentframe > 30) {
_root.ground17.gotoAndStop(1);
}
}
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 905 MovieClip "box1" in Frame 114
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
grav = grav + 1;
if (grav > 1) {
_x = (_x-1);
}
_y = (_y + grav);
if (grav > 10) {
grav = 10;
}
a = 0;
while (a < 26) {
if (this.leftt.hitTest(_root["ground" + a].top)) {
grav = 0;
_y = (_y-1);
}
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 114
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "tube2" in Frame 114
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 114
onClipEvent (load) {
l = 0;
speed = 1.8;
_x = 540;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 120) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 120) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 908 MovieClip in Frame 114
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 115
_root.lev = 114;
_root.railr = 1;
_root.char._x = 300;
_root.char._y = 60;
Instance of Symbol 235 MovieClip "healthp1" in Frame 115
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door3" in Frame 115
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 367 MovieClip in Frame 115
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 115
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube3" in Frame 115
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 911 MovieClip in Frame 115
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 116
_root.lev = 115;
_root.railr = -1;
_root.char._x = 30;
_root.char._y = 330;
Instance of Symbol 201 MovieClip "door4" in Frame 116
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 116
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip "machine2" in Frame 116
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 914 MovieClip in Frame 116
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 117
_root.lev = 116;
_root.railr = 1;
_root.char._x = 30;
_root.char._y = 110;
Instance of Symbol 201 MovieClip "door3" in Frame 117
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 235 MovieClip "healthp2" in Frame 117
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 117
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 264 MovieClip "machine3" in Frame 117
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 117
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 917 MovieClip in Frame 117
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 118
_root.lev = 117;
_root.railr = 1;
_root.char._xscale = _root.char.scale;
_root.char._x = 650;
_root.char._y = 570;
Instance of Symbol 201 MovieClip "door4" in Frame 118
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 118
onClipEvent (load) {
l = 0;
speed = 1.8;
_x = 280;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 120) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 120) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 264 MovieClip "machine1" in Frame 118
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 920 MovieClip in Frame 118
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 119
_root.lev = 118;
_root.springheight = 33;
_root.sspringheight = 26;
_root.springheight = 31;
_root.sspringheight = 31;
_root.char._xscale = _root.char.scale;
_root.char._x = 650;
_root.char._y = 300;
Instance of Symbol 235 MovieClip "healthp1" in Frame 119
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door3" in Frame 119
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 789 MovieClip "box1" in Frame 119
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
grav = grav + 1;
if (grav > 1) {
_x = (_x - 0.1);
}
_y = (_y + grav);
if (grav > 10) {
grav = 10;
}
a = 0;
while (a < 26) {
if (this.leftt.hitTest(_root["ground" + a].top)) {
grav = 0;
_y = (_y-1);
}
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 119
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube2" in Frame 119
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 923 MovieClip in Frame 119
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 120
_root.lev = 119;
_root.railr = -1;
_root.char._xscale = _root.char.scale;
_root.char._x = 650;
_root.char._y = 90;
Instance of Symbol 719 MovieClip "tube2" in Frame 120
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp3" in Frame 120
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp4" in Frame 120
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 789 MovieClip "box1" in Frame 120
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
grav = grav + 1;
if (grav > 1) {
_x = (_x + 0.1);
}
_y = (_y + grav);
if (grav > 8) {
grav = 8;
}
a = 0;
while (a < 26) {
if (this.leftt.hitTest(_root["ground" + a].top)) {
grav = 0;
_y = (_y-1);
}
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 926 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 121
_root.lev = 120;
_root.railr = 1;
_root.char._x = 30;
_root.char._y = 240;
Instance of Symbol 201 MovieClip "door3" in Frame 121
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 121
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube1" in Frame 121
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 929 MovieClip in Frame 121
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 122
_root.lev = 121;
_root.springheight = 26;
_root.railr = 1;
_root.char._x = 30;
_root.char._y = 440;
Instance of Symbol 719 MovieClip "tube2" in Frame 122
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 932 MovieClip in Frame 122
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 123
_root.lev = 122;
_root.springheight = 30;
_root.railr = 1;
_root.char._x = 30;
_root.char._y = 490;
Instance of Symbol 201 MovieClip "door3" in Frame 123
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.ppressure1._currentframe == 2) {
this.gotoAndStop(4);
carryon = false;
} else {
carryon = true;
}
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 123
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp4" in Frame 123
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 789 MovieClip "box1" in Frame 123
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
grav = grav + 1;
if (grav > 1) {
_x = (_x + 0.1);
}
_y = (_y + grav);
if (grav > 8) {
grav = 8;
}
a = 0;
while (a < 26) {
if (this.leftt.hitTest(_root["ground" + a].top)) {
grav = 0;
_y = (_y-1);
}
if (this.left.hitTest(_root["ground" + a].right)) {
this._x = this._x + 1;
}
if (this.left.hitTest(_root["ground" + a].left)) {
this._x = this._x - 1;
}
a++;
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 123
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 935 MovieClip in Frame 123
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 124
_root.lev = 123;
_root.char._x = 30;
_root.char._y = 570;
Instance of Symbol 235 MovieClip "healthp2" in Frame 124
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp3" in Frame 124
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp5" in Frame 124
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 201 MovieClip "door4" in Frame 124
onClipEvent (enterFrame) {
if (_root.npressure1._currentframe == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 941 MovieClip in Frame 124
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 125
_root.lev = 124;
_root.springheight = 29;
_root.sspringheight = 29;
_root.char._x = 30;
_root.char._y = 430;
Instance of Symbol 201 MovieClip "door3" in Frame 125
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
Instance of Symbol 235 MovieClip "healthp1" in Frame 125
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip "healthp4" in Frame 125
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 367 MovieClip in Frame 125
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 719 MovieClip "tube1" in Frame 125
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube2" in Frame 125
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 264 MovieClip "machine1" in Frame 125
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
health = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 125
onClipEvent (load) {
l = 0;
speed = 1.8;
_x = 466;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 80) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 80) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 944 MovieClip in Frame 125
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 126
_root.lev = 125;
_root.char._x = 30;
_root.char._y = 140;
Instance of Symbol 201 MovieClip "door3" in Frame 126
onClipEvent (enterFrame) {
if (_root.tpressure1._currentframe == 2) {
this.gotoAndStop(3);
}
if (this.door._currentframe == 200) {
_root.tpressure1.gotoAndStop(1);
}
}
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 547 MovieClip "tpressure1" in Frame 126
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 270 MovieClip "mdk1" in Frame 126
onClipEvent (load) {
l = 0;
speed = 1.8;
_x = 555;
r = 0;
scale = _xscale;
_xscale = (-scale);
}
onClipEvent (enterFrame) {
l++;
if (l < 70) {
_xscale = (-scale);
_x = (_x - speed);
r = 0;
} else {
r++;
if (r < 70) {
_x = (_x + speed);
_xscale = scale;
} else {
l = 0;
}
}
}
Instance of Symbol 235 MovieClip "healthp2" in Frame 126
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 719 MovieClip "tube3" in Frame 126
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 947 MovieClip in Frame 126
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 127
_root.night.stop("night");
stop();
Frame 128
stop();
Symbol 35 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 100
stop();
Symbol 53 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 56 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 56 MovieClip Frame 218
_root.nextFrame();
Symbol 85 Button
on (release) {
gotoAndStop (81);
}
Symbol 88 Button
on (release) {
play();
}
Symbol 90 Button
on (release) {
gotoAndPlay ("control1");
}
Symbol 93 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 102 Button
on (release) {
getURL ("http://www.armorblog.com", "_blank");
}
Symbol 106 MovieClip Frame 1
_root.intromusic.start(0, 9999);
Symbol 111 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 159 Button
on (release) {
play();
}
Symbol 169 Button
on (release) {
prevFrame();
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 30
stop();
Symbol 199 MovieClip Frame 195
_root.doorclose = new Sound();
_root.doorclose.attachSound("doorclose");
_root.doorclose.start(0, 1);
Symbol 199 MovieClip Frame 205
_parent.gotoAndStop(1);
stop();
Symbol 200 MovieClip Frame 26
onEnterFrame = function () {
if (_parent.carryon) {
play();
} else {
stop();
}
};
Symbol 200 MovieClip Frame 46
_root.doorclose = new Sound();
_root.doorclose.attachSound("doorclose");
_root.doorclose.start(0, 1);
Symbol 200 MovieClip Frame 55
_parent.gotoAndStop(1);
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 4
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 263 MovieClip Frame 17
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
_root.explosion = new Sound();
_root.explosion.attachSound("explosion");
_root.explosion.start(0, 1);
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
_root.explosion = new Sound();
_root.explosion.attachSound("explosion");
_root.explosion.start(0, 1);
stop();
Symbol 347 MovieClip Frame 880
stopAllSounds();
stop();
_root.gotoAndStop("started");
Symbol 349 Button
on (release) {
play();
}
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
_root.flick.flicker = false;
Symbol 387 MovieClip Frame 3
stop();
_root.flick.flicker = false;
Symbol 387 MovieClip Frame 4
stop();
_root.flick.flicker = false;
_root.diesfx = new Sound();
_root.diesfx.attachSound("diesfx");
_root.diesfx.start(0, 1);
_root.char;
_root.day.stop("day");
_root.night.stop("night");
_root.grindrail.stop("grindrail");
_root.wallrunsfx.stop("wallrunsfx");
_root.gotoAndStop("death");
Symbol 394 Button
on (release) {
if ((i++) >= 2) {
i = 0;
}
_quality = ["HIGH", "MEDIUM", "LOW"][i];
}
Symbol 398 Button
on (release) {
if (_root.backgroundmoving) {
_root.backgroundd.stop();
_root.backgroundmoving = false;
} else if (_root.backgroundmoving == false) {
_root.backgroundd.play();
_root.backgroundmoving = true;
}
}
Symbol 406 MovieClip Frame 11
stop();
Symbol 407 MovieClip Frame 11
stop();
Symbol 408 MovieClip Frame 11
stop();
Symbol 409 MovieClip Frame 10
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 2
stop();
Symbol 413 MovieClip Frame 1
_parent.readytoslide = false;
Symbol 413 MovieClip Frame 13
_parent.readytoslide = true;
stop();
Symbol 414 MovieClip Frame 12
stop();
Symbol 416 MovieClip Frame 1
_parent.sup = false;
Symbol 416 MovieClip Frame 11
stop();
_parent.sup = true;
Symbol 424 MovieClip Frame 10
stop();
Symbol 425 MovieClip Frame 10
stop();
Symbol 427 MovieClip Frame 24
stop();
stop();
Symbol 428 MovieClip Frame 10
stop();
Symbol 429 MovieClip Frame 33
gotoAndPlay (9);
Symbol 430 MovieClip Frame 8
stop();
Symbol 431 MovieClip Frame 8
stop();
Symbol 432 MovieClip Frame 1
play();
Symbol 432 MovieClip Frame 8
stop();
Symbol 433 MovieClip Frame 8
stop();
Symbol 434 MovieClip Frame 8
stop();
Symbol 438 MovieClip Frame 25
stop();
Symbol 439 MovieClip Frame 25
stop();
Symbol 444 MovieClip Frame 1
_root.failtrick = new Sound();
_root.failtrick.attachSound("failtrick");
_root.failtrick.start(0, 1);
Symbol 444 MovieClip Frame 25
stop();
Symbol 445 MovieClip Frame 46
stop();
Symbol 446 MovieClip Frame 10
stop();
Symbol 447 MovieClip Frame 13
stop();
Symbol 448 MovieClip Frame 12
stop();
Symbol 451 MovieClip Frame 15
stop();
Symbol 452 MovieClip Frame 15
stop();
Symbol 453 MovieClip Frame 20
stop();
Symbol 454 MovieClip Frame 41
stop();
Symbol 456 MovieClip Frame 9
stop();
Symbol 457 MovieClip Frame 10
stop();
Symbol 463 MovieClip Frame 1
Symbol 465 MovieClip Frame 49
gotoAndPlay (11);
Symbol 466 MovieClip Frame 11
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 3
stop();
Symbol 467 MovieClip Frame 4
stop();
Symbol 467 MovieClip Frame 5
stop();
Symbol 467 MovieClip Frame 6
stop();
Symbol 467 MovieClip Frame 7
stop();
Symbol 467 MovieClip Frame 8
stop();
Symbol 467 MovieClip Frame 9
stop();
Symbol 467 MovieClip Frame 10
stop();
Symbol 467 MovieClip Frame 11
stop();
Symbol 467 MovieClip Frame 12
stop();
Symbol 467 MovieClip Frame 13
stop();
Symbol 467 MovieClip Frame 14
stop();
Symbol 467 MovieClip Frame 15
stop();
Symbol 467 MovieClip Frame 16
stop();
Symbol 467 MovieClip Frame 17
stop();
Symbol 467 MovieClip Frame 18
stop();
Symbol 467 MovieClip Frame 19
stop();
Symbol 467 MovieClip Frame 20
stop();
Symbol 467 MovieClip Frame 21
stop();
Symbol 467 MovieClip Frame 22
stop();
Symbol 467 MovieClip Frame 23
stop();
Symbol 467 MovieClip Frame 24
stop();
Symbol 467 MovieClip Frame 25
stop();
Symbol 467 MovieClip Frame 26
stop();
Symbol 467 MovieClip Frame 27
stop();
Symbol 467 MovieClip Frame 28
stop();
Symbol 467 MovieClip Frame 29
stop();
Symbol 467 MovieClip Frame 30
stop();
Symbol 467 MovieClip Frame 31
stop();
Symbol 467 MovieClip Frame 32
stop();
Symbol 467 MovieClip Frame 33
stop();
Symbol 467 MovieClip Frame 34
stop();
Symbol 467 MovieClip Frame 35
stop();
Symbol 467 MovieClip Frame 36
stop();
Symbol 467 MovieClip Frame 37
stop();
Symbol 467 MovieClip Frame 38
stop();
Symbol 467 MovieClip Frame 39
stop();
Symbol 467 MovieClip Frame 40
stop();
Symbol 467 MovieClip Frame 41
stop();
Symbol 467 MovieClip Frame 42
stop();
Symbol 467 MovieClip Frame 43
stop();
Symbol 467 MovieClip Frame 44
stop();
Symbol 474 Button
on (release) {
if (_root.music) {
_root.music = false;
} else if (_root.music == false) {
_root.music = true;
}
}
Symbol 476 MovieClip Frame 1
_root.day = new Sound();
_root.day.attachSound("day");
stop();
_root.day.start(0, 9999);
Symbol 476 MovieClip Frame 2
stop();
_root.day.stop("day");
Symbol 478 MovieClip Frame 1
stop();
_root.grindrail.stop("grindrail");
Symbol 478 MovieClip Frame 2
stop();
_root.grindrail.start(0, 99);
Symbol 479 MovieClip Frame 1
stop();
_root.wallrunsfx.stop("wallrunsfx");
Symbol 479 MovieClip Frame 2
stop();
_root.wallrunsfx = new Sound();
_root.wallrunsfx.attachSound("wallrunsfx");
_root.wallrunsfx.start(0, 99);
Symbol 496 MovieClip Frame 119
_root.adrenaline = 100;
Symbol 496 MovieClip Frame 120
stop();
Symbol 498 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 2
stop();
Symbol 498 MovieClip Frame 3
stop();
Symbol 541 MovieClip Frame 70
stop();
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 2
stop();
Symbol 546 MovieClip Frame 70
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
stop();
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 2
stop();
Symbol 641 MovieClip Frame 1
_root.tubealert = new Sound();
_root.tubealert.attachSound("tubealert");
_root.tubealert.start(0, 1);
Symbol 641 MovieClip Frame 40
stop();
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
Instance of Symbol 663 MovieClip "bullet" in Symbol 674 MovieClip Frame 7
onClipEvent (enterFrame) {
j = 0;
while (j < 20) {
if (this.hitTest(_root["ground" + j])) {
this.gotoAndStop(2);
}
if (this.hitTest(_root["box" + j])) {
this.gotoAndStop(2);
}
if (this.hitTest(_root["machine" + j])) {
this.gotoAndStop(2);
}
j++;
}
}
Instance of Symbol 663 MovieClip "bullet" in Symbol 674 MovieClip Frame 30
onClipEvent (enterFrame) {
j = 0;
while (j < 20) {
if (this.hitTest(_root["ground" + j])) {
this.gotoAndStop(2);
}
j++;
}
}
Symbol 691 MovieClip Frame 40
stop();
_parent.gotoAndStop(1);
Symbol 708 MovieClip Frame 1
_root.tubedead = new Sound();
_root.tubedead.attachSound("tubedead");
_root.tubedead.start(0, 1);
Symbol 708 MovieClip Frame 23
stop();
Symbol 718 MovieClip Frame 1
_root.tubedead = new Sound();
_root.tubedead.attachSound("tubedead");
_root.tubedead.start(0, 1);
Symbol 718 MovieClip Frame 23
stop();
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 2
stop();
Symbol 719 MovieClip Frame 3
stop();
Symbol 719 MovieClip Frame 4
stop();
Symbol 719 MovieClip Frame 5
stop();
Symbol 719 MovieClip Frame 6
stop();
Symbol 737 MovieClip Frame 1
stop();
Symbol 737 MovieClip Frame 2
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 2
stop();
Symbol 743 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 2
stop();
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
stop();
Symbol 749 MovieClip Frame 1
stop();
Symbol 749 MovieClip Frame 2
stop();
Symbol 753 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 2
stop();
Symbol 757 MovieClip Frame 1
stop();
Symbol 757 MovieClip Frame 2
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 2
stop();
Symbol 765 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 2
stop();
Symbol 768 MovieClip Frame 1
stop();
Symbol 768 MovieClip Frame 2
stop();
Symbol 775 MovieClip Frame 1
stop();
Symbol 775 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 782 MovieClip Frame 1
stop();
Symbol 782 MovieClip Frame 2
stop();
Symbol 785 MovieClip Frame 1
stop();
Symbol 785 MovieClip Frame 2
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 2
stop();
Symbol 793 MovieClip Frame 1
stop();
Symbol 793 MovieClip Frame 98
stop();
Symbol 831 MovieClip Frame 849
stopAllSounds();
_root.gotoAndStop(112);
Symbol 832 Button
on (release) {
_root.gotoAndStop(112);
}
Symbol 843 MovieClip Frame 11
stop();
Symbol 851 MovieClip Frame 11
stop();
Symbol 852 MovieClip Frame 11
stop();
Symbol 853 MovieClip Frame 10
stop();
Symbol 854 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 2
stop();
Symbol 855 MovieClip Frame 1
_parent.readytoslide = false;
Symbol 855 MovieClip Frame 13
_parent.readytoslide = true;
stop();
Symbol 856 MovieClip Frame 12
stop();
Symbol 857 MovieClip Frame 1
_parent.sup = false;
Symbol 857 MovieClip Frame 11
stop();
_parent.sup = true;
Symbol 864 MovieClip Frame 10
stop();
Symbol 865 MovieClip Frame 10
stop();
Symbol 867 MovieClip Frame 24
stop();
stop();
Symbol 868 MovieClip Frame 10
stop();
Symbol 869 MovieClip Frame 33
gotoAndPlay (9);
Symbol 870 MovieClip Frame 8
stop();
Symbol 871 MovieClip Frame 8
stop();
Symbol 872 MovieClip Frame 1
play();
Symbol 872 MovieClip Frame 8
stop();
Symbol 873 MovieClip Frame 8
stop();
Symbol 874 MovieClip Frame 8
stop();
Symbol 877 MovieClip Frame 25
stop();
Symbol 878 MovieClip Frame 25
stop();
Symbol 881 MovieClip Frame 1
_root.failtrick = new Sound();
_root.failtrick.attachSound("failtrick");
_root.failtrick.start(0, 1);
Symbol 881 MovieClip Frame 25
stop();
Symbol 882 MovieClip Frame 46
stop();
Symbol 883 MovieClip Frame 10
stop();
Symbol 884 MovieClip Frame 13
stop();
Symbol 885 MovieClip Frame 12
stop();
Symbol 887 MovieClip Frame 15
stop();
Symbol 888 MovieClip Frame 15
stop();
Symbol 889 MovieClip Frame 20
stop();
Symbol 890 MovieClip Frame 41
stop();
Symbol 892 MovieClip Frame 9
stop();
Symbol 893 MovieClip Frame 10
stop();
Symbol 897 MovieClip Frame 49
gotoAndPlay (11);
Symbol 898 MovieClip Frame 11
stop();
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 32
stop();
Symbol 899 MovieClip Frame 33
stop();
Symbol 899 MovieClip Frame 34
stop();
Symbol 899 MovieClip Frame 35
stop();
Symbol 899 MovieClip Frame 36
stop();
Symbol 899 MovieClip Frame 37
stop();
Symbol 899 MovieClip Frame 38
stop();
Symbol 899 MovieClip Frame 39
stop();
Symbol 900 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 2
stop();
Symbol 901 MovieClip Frame 1
_root.night = new Sound();
_root.night.attachSound("night");
stop();
_root.night.start(0, 9999);
Symbol 901 MovieClip Frame 2
stop();
_root.night.stop("night");
Symbol 904 MovieClip Frame 1
stop();
Symbol 904 MovieClip Frame 2
stop();
Symbol 908 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 2
stop();
Symbol 911 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 2
stop();
Symbol 914 MovieClip Frame 1
stop();
Symbol 914 MovieClip Frame 2
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 2
stop();
Symbol 920 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 2
stop();
Symbol 923 MovieClip Frame 1
stop();
Symbol 923 MovieClip Frame 2
stop();
Symbol 926 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 2
stop();
Symbol 929 MovieClip Frame 1
stop();
Symbol 929 MovieClip Frame 2
stop();
Symbol 932 MovieClip Frame 1
stop();
Symbol 932 MovieClip Frame 2
stop();
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 2
stop();
Symbol 944 MovieClip Frame 1
stop();
Symbol 944 MovieClip Frame 2
stop();
Symbol 947 MovieClip Frame 1
stop();
Symbol 947 MovieClip Frame 2
stop();
Symbol 994 MovieClip Frame 791
stopAllSounds();
_root.gotoAndStop("menu");
Symbol 995 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 999 Button
on (release) {
_root.gotoAndStop(_root.lev);
}
Symbol 1000 Button
on (release) {
_root.gotoAndStop("menu");
}