Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentLoaded * 2);
_yscale = (_root.percentLoaded * 2);
}
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (enterFrame) {
_alpha = (100 - _root.percentLoaded);
}
Frame 2
percentLoaded = Math.floor((getBytesLoaded() / getBytesTotal()) * 100);
message = percentLoaded + "% Loaded";
if (percentLoaded < 100) {
gotoAndPlay (1);
}
Frame 3
message = "Game Loaded";
skipInstructions = false;
Frame 133
stop();
Frame 150
stopAllSounds();
_root.gotoAndStop(133);
Frame 152
_root.gotoAndStop(133);
Frame 153
function regenerateBlock(killedBlock, moveBack) {
killedBlock._x = killedBlock._x - moveBack;
}
function createObstacle(name, depth) {
_root.obstacleGen.duplicateMovieClip("obstacleGen" + depth, depth);
_root["obstacleGen" + depth].gotoAndStop(name);
}
function dudeHit(shoesHit) {
if (((shoesHit == true) and (_root.dude.state != "jumping")) or (((shoesHit == "skip") and (_root.dude.state != "leftskip")) and (_root.dude.state != "rightskip"))) {
_root.dude.shoe1.play();
_root.dude.shoe2.play();
_root.health = _root.health - 1;
_root.healthMeter.play();
} else if ((shoesHit == false) and (_root.dude.state != "sliding")) {
_root.dude.head.play();
_root.health = _root.health - 2;
_root.healthMeter.play();
}
}
function destroyObstacle(obj) {
obj.removeMovieClip();
}
function destructGame() {
i = _root.musicMC.currDepth;
while ((_root.musicMC.currDepth - 50) < i) {
_root.destroyObstacle(_root["obstacleGen" + i]);
i--;
}
_root.destroyObstacle(_root.darkness);
i = 1;
while (23 >= i) {
_root.destroyObstacle(_root["block" + i]);
i++;
}
i = 25;
while (29 >= i) {
_root.destroyObstacle(_root["backWall" + i]);
i++;
}
_root.destroyObstacle(_root.dude);
_root.destroyObstacle(_root.healthMeter);
_root.destroyObstacle(_root.holdMeter);
_root.destroyObstacle(_root.score);
_root.progress = _root.musicMC._currentframe;
_root.nextFrame();
}
function calcFinalScore() {
if (0 < _root.musicMC._currentframe) {
_root.progress = _root.musicMC._currentframe;
}
finalScore = ((_root.progress + (_root.lightMeter * 25)) + (_root.hold * 50)) + (_root.health * 100);
if (_root.health == 100) {
finalScore = finalScore + 3000;
}
return(finalScore);
}
function goToCredits() {
destructGame();
gotoAndStop (156);
}
blockMoveSpeed = 0;
lightMeter = 100;
hold = 100;
health = 100;
i = 2;
while (11 >= i) {
_root["block" + (i - 1)].duplicateMovieClip("block" + i, i);
_root["block" + i]._x = _root["block" + (i - 1)]._x + 50;
i++;
}
i = 13;
while (23 >= i) {
_root["block" + (i - 1)].duplicateMovieClip("block" + i, i);
_root["block" + i]._x = _root["block" + (i - 1)]._x + 50;
i++;
}
i = 25;
while (29 >= i) {
_root["backWall" + (i - 1)].duplicateMovieClip("backWall" + i, i);
_root["backWall" + i]._x = _root["backWall" + (i - 1)]._x + 150;
i++;
}
_quality = "medium";
Instance of Symbol 106 MovieClip "musicMC" in Frame 153
onClipEvent (load) {
gameMusic = new Sound(this);
gameMusic.setVolume(100);
currDepth = 110;
}
onClipEvent (enterFrame) {
if (3900 < _currentframe) {
_root.dude._x = _root.dude._x - 12;
}
}
Instance of Symbol 114 MovieClip "block1" in Frame 153
onClipEvent (enterFrame) {
_x = (_x + _root.blockMoveSpeed);
if (400 < _x) {
play();
}
}
Instance of Symbol 115 MovieClip "block12" in Frame 153
onClipEvent (enterFrame) {
_x = (_x + _root.blockMoveSpeed);
if (_x >= 500) {
_root.regenerateBlock(this, 550);
}
}
Instance of Symbol 117 MovieClip "backWall24" in Frame 153
onClipEvent (enterFrame) {
_x = (_x + (_root.blockMoveSpeed / 1.5));
if (500 < _x) {
_x = (_x - 750);
}
}
Instance of Symbol 118 MovieClip "darkness" in Frame 153
onClipEvent (load) {
this.swapDepths(10000);
}
onClipEvent (enterFrame) {
_alpha = (100 - _root.lightMeter);
}
Instance of Symbol 159 MovieClip "dude" in Frame 153
onClipEvent (load) {
function lightEnterFrame() {
lightSpot._y = lantern._y;
lightSpot._x = lantern._x;
_root.lightMeter = _root.lightMeter - 0.1;
lightSpot._xscale = _root.lightMeter;
lightSpot._yscale = _root.lightMeter;
if (100 < _root.lightMeter) {
_root.lightMeter = 100;
}
if (_root.lightMeter < 0) {
_root.lightMeter = 0;
}
}
this.swapDepths(50);
state = "still";
currSkip = null;
}
onClipEvent (enterFrame) {
if ((0 >= _root.health) and (state != "fall")) {
state = "fall";
this.gotoAndPlay(state);
_root.blockMoveSpeed = 0;
} else if (Key.isDown(Key.UP) and (state == "walking")) {
state = "jumping";
this.gotoAndPlay(state);
} else if (Key.isDown(Key.DOWN) and (state == "walking")) {
state = "sliding";
this.gotoAndPlay(state);
} else if (Key.isDown(Key.LEFT) and (state == "walking")) {
state = "leftskip";
this.gotoAndPlay(state);
} else if (Key.isDown(Key.RIGHT) and (state == "walking")) {
state = "rightskip";
this.gotoAndPlay(state);
}
if (Key.isDown(Key.LEFT)) {
currSkip = "left";
}
if (Key.isDown(Key.RIGHT)) {
currSkip = "right";
}
}
Instance of Symbol 171 MovieClip "holdMeter" in Frame 153
onClipEvent (load) {
function barColor() {
if (80 < _root.hold) {
bar.gotoAndStop(1);
} else if (60 < _root.hold) {
bar.gotoAndStop(2);
} else if (40 < _root.hold) {
bar.gotoAndStop(3);
} else if (20 < _root.hold) {
bar.gotoAndStop(4);
} else {
bar.gotoAndStop(5);
}
}
this.swapDepths(100);
}
Instance of Symbol 188 MovieClip "healthMeter" in Frame 153
onClipEvent (load) {
this.swapDepths(101);
}
Instance of Symbol 435 MovieClip "obstacleGen" in Frame 153
onClipEvent (enterFrame) {
if (_name != "obstacleGen") {
_x = (_x + _root.blockMoveSpeed);
if ((425 < _x) and (noFall != true)) {
_y = (_y + 10);
}
if (600 < _x) {
_root.destroyObstacle(this);
}
}
}
Instance of Symbol 443 MovieClip "startMessage" in Frame 153
onClipEvent (load) {
this.swapDepths(31);
}
Instance of Symbol 476 MovieClip "score" in Frame 153
onClipEvent (load) {
this.swapDepths(10001);
}
Frame 155
gotoAndStop (133);
Symbol 19 Button
on (release) {
getURL ("mailto:midget6000@hotmail.com?subject=Musical Lantern", "_self");
}
on (rollOut, releaseOutside) {
stopAllSounds();
}
Symbol 25 Button
on (release) {
if (skipInstructions == false) {
_root.gotoAndStop(151);
} else {
_root.gotoAndStop("Game", 1);
}
}
on (rollOut, releaseOutside) {
stopAllSounds();
}
Symbol 32 Button
on (release) {
getURL ("http://www.geocities.com/midget654/", "_blank");
}
on (rollOut, releaseOutside) {
stopAllSounds();
}
Symbol 37 Button
on (release) {
_root.gotoAndStop(149);
}
Symbol 43 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(133);
}
Symbol 44 Button
on (release) {
getURL ("http://www.albinoblacksheep.com/", "_blank");
}
Instance of Symbol 39 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (load) {
startX = _x;
startY = _y;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
_x = startX;
_y = startY;
_x = (_x + ((Math.random() * 10) - 5));
_y = (_y + ((Math.random() * 10) - 5));
myColor.setRGB(Math.random() * 16777215);
}
Instance of Symbol 41 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (load) {
startX = _x;
startY = _y;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
_x = startX;
_y = startY;
_x = (_x + ((Math.random() * 10) - 5));
_y = (_y + ((Math.random() * 10) - 5));
myColor.setRGB(Math.random() * 16777215);
}
Symbol 60 Button
on (release) {
nextFrame();
}
Symbol 64 Button
on (release) {
_root.skipInstructions = true;
tellTarget ("_level0") {
gotoAndStop ("game");
};
}
Symbol 91 MovieClip Frame 20
gotoAndPlay (1);
Symbol 91 MovieClip Frame 26
_root.destroyObstacle(_parent);
Symbol 98 MovieClip Frame 20
gotoAndPlay (1);
Symbol 98 MovieClip Frame 26
_root.destroyObstacle(_parent);
Symbol 104 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("game");
};
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
_root.startMessage.play();
Symbol 106 MovieClip Frame 71
_root.blockMoveSpeed = 8;
_root.dude.gotoAndPlay("walking");
_root.dude.state = "walking";
Symbol 106 MovieClip Frame 155
_root.createObstacle("smiley", currDepth);
Symbol 106 MovieClip Frame 192
_root["obstacleGen" + currDepth].smiley.play();
Symbol 106 MovieClip Frame 279
currDepth++;
_root.createObstacle("barrier", currDepth);
Symbol 106 MovieClip Frame 369
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 250;
Symbol 106 MovieClip Frame 380
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 250;
Symbol 106 MovieClip Frame 387
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 480
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 487
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 512
currDepth++;
_root.createObstacle("ninjaStar", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 275;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 554
_root["obstacleGen" + currDepth].ninjaStar.play();
Symbol 106 MovieClip Frame 621
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
Symbol 106 MovieClip Frame 629
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
Symbol 106 MovieClip Frame 636
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
Symbol 106 MovieClip Frame 643
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
Symbol 106 MovieClip Frame 671
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 676
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 683
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 690
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 721
currDepth++;
_root.createObstacle("spear", currDepth);
Symbol 106 MovieClip Frame 722
_root["obstacleGen" + currDepth].spear.spearLength = 3;
Symbol 106 MovieClip Frame 726
currDepth++;
_root.createObstacle("spear", currDepth);
Symbol 106 MovieClip Frame 727
_root["obstacleGen" + currDepth].spear.spearLength = 4;
Symbol 106 MovieClip Frame 734
currDepth++;
_root.createObstacle("spear", currDepth);
Symbol 106 MovieClip Frame 735
_root["obstacleGen" + currDepth].spear.spearLength = 5;
Symbol 106 MovieClip Frame 741
currDepth++;
_root.createObstacle("spear", currDepth);
Symbol 106 MovieClip Frame 742
_root["obstacleGen" + currDepth].spear.spearLength = 6;
Symbol 106 MovieClip Frame 776
currDepth++;
_root.createObstacle("spear2", currDepth);
Symbol 106 MovieClip Frame 777
_root["obstacleGen" + currDepth].spear.spearLength = 10;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 781
currDepth++;
_root.createObstacle("spear2", currDepth);
Symbol 106 MovieClip Frame 782
_root["obstacleGen" + currDepth].spear.spearLength = 11;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 789
currDepth++;
_root.createObstacle("spear2", currDepth);
Symbol 106 MovieClip Frame 790
_root["obstacleGen" + currDepth].spear.spearLength = 12;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 796
currDepth++;
_root.createObstacle("spear2", currDepth);
Symbol 106 MovieClip Frame 797
_root["obstacleGen" + currDepth].spear.spearLength = 13;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 855
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._xscale = 75;
_root["obstacleGen" + currDepth]._yscale = 75;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 860
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._xscale = 75;
_root["obstacleGen" + currDepth]._yscale = 75;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 20;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 865
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._xscale = 75;
_root["obstacleGen" + currDepth]._yscale = 75;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 870
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 875
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 908
currDepth++;
_root.createObstacle("firefly", currDepth);
fireflyDepth = currDepth;
Symbol 106 MovieClip Frame 950
currDepth++;
_root.createObstacle("flytrap", currDepth);
Symbol 106 MovieClip Frame 955
currDepth++;
_root.createObstacle("flytrap", currDepth);
Symbol 106 MovieClip Frame 967
_root["obstacleGen" + fireflyDepth].firefly.play();
delete fireflyDepth;
Symbol 106 MovieClip Frame 983
currDepth++;
_root.createObstacle("flytrap", currDepth);
Symbol 106 MovieClip Frame 988
currDepth++;
_root.createObstacle("flytrap", currDepth);
Symbol 106 MovieClip Frame 1035
currDepth++;
_root.createObstacle("grill", currDepth);
Symbol 106 MovieClip Frame 1041
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 250;
Symbol 106 MovieClip Frame 1097
currDepth++;
_root.createObstacle("spike2", currDepth);
Symbol 106 MovieClip Frame 1098
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1102
currDepth++;
_root.createObstacle("spike2", currDepth);
Symbol 106 MovieClip Frame 1103
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1120
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1123
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1127
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1130
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1134
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1166
currDepth++;
_root.createObstacle("ghost", currDepth);
ghost1Depth = currDepth;
currDepth++;
_root.createObstacle("ghost", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 190;
ghost2Depth = currDepth;
Symbol 106 MovieClip Frame 1185
_root["obstacleGen" + ghost1Depth].ghost.play();
Symbol 106 MovieClip Frame 1212
_root["obstacleGen" + ghost2Depth].ghost.play();
Symbol 106 MovieClip Frame 1240
_root["obstacleGen" + ghost1Depth].ghost.play();
Symbol 106 MovieClip Frame 1290
_root["obstacleGen" + ghost1Depth].ghost.play();
Symbol 106 MovieClip Frame 1318
_root["obstacleGen" + ghost2Depth].ghost.play();
Symbol 106 MovieClip Frame 1329
_root["obstacleGen" + ghost2Depth].ghost.gotoAndPlay(15);
Symbol 106 MovieClip Frame 1347
_root["obstacleGen" + ghost1Depth].ghost.play();
Symbol 106 MovieClip Frame 1357
_root["obstacleGen" + ghost1Depth].ghost.gotoAndPlay(15);
Symbol 106 MovieClip Frame 1403
_root["obstacleGen" + ghost1Depth].ghost.gotoAndPlay(26);
_root["obstacleGen" + ghost2Depth].ghost.gotoAndPlay(26);
delete ghost1Depth;
delete ghost2Depth;
Symbol 106 MovieClip Frame 1409
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1419
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1424
currDepth++;
_root.createObstacle("spike", currDepth);
Symbol 106 MovieClip Frame 1429
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
Symbol 106 MovieClip Frame 1468
currDepth++;
_root.createObstacle("ninjaStar2", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1485
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 75;
_root["obstacleGen" + currDepth].noFall = true;
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 175;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1498
currDepth++;
_root.createObstacle("ninjaStar2", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1534
currDepth++;
_root.createObstacle("spear2", currDepth);
Symbol 106 MovieClip Frame 1535
_root["obstacleGen" + currDepth].spear.spearLength = 17;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1588
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1596
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1603
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1606
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1613
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1630
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1640
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1646
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1651
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1658
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1661
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1668
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1712
currDepth++;
_root.createObstacle("ninjaStar", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 275;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1754
_root["obstacleGen" + currDepth].ninjaStar.play();
Symbol 106 MovieClip Frame 1770
currDepth++;
_root.createObstacle("cards", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 225;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1808
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1816
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1822
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1824
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1833
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1850
currDepth++;
_root.createObstacle("ninjaStar", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 275;
_root["obstacleGen" + currDepth].noFall = true;
ninjaStarDepth = currDepth;
Symbol 106 MovieClip Frame 1860
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1864
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1870
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1878
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1881
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1887
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1892
_root["obstacleGen" + ninjaStarDepth].ninjaStar.play();
delete ninjaStarDepth;
Symbol 106 MovieClip Frame 1900
currDepth++;
_root.createObstacle("lips", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 1940
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 1941
_root["obstacleGen" + currDepth].dice.numDots = 1;
Symbol 106 MovieClip Frame 1967
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 1968
_root["obstacleGen" + currDepth].dice.numDots = 2;
Symbol 106 MovieClip Frame 1993
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 1994
_root["obstacleGen" + currDepth].dice.numDots = 1;
Symbol 106 MovieClip Frame 2002
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 150;
Symbol 106 MovieClip Frame 2008
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 2009
_root["obstacleGen" + currDepth].dice.numDots = 2;
Symbol 106 MovieClip Frame 2016
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 150;
Symbol 106 MovieClip Frame 2023
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 2024
_root["obstacleGen" + currDepth].dice.numDots = 1;
Symbol 106 MovieClip Frame 2029
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 2030
_root["obstacleGen" + currDepth].dice.numDots = 2;
Symbol 106 MovieClip Frame 2037
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 2038
_root["obstacleGen" + currDepth].dice.numDots = 3;
Symbol 106 MovieClip Frame 2042
currDepth++;
_root.createObstacle("dice", currDepth);
Symbol 106 MovieClip Frame 2043
_root["obstacleGen" + currDepth].dice.numDots = 4;
Symbol 106 MovieClip Frame 2111
currDepth++;
_root.createObstacle("healthPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 225;
_root["obstacleGen" + currDepth].noFall = true;
currDepth++;
_root.createObstacle("holdPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 50;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2165
currDepth++;
_root.createObstacle("tank", currDepth);
tankDepth = currDepth;
currDepth++;
_root.createObstacle("helicopter", currDepth);
helicopterDepth = currDepth;
Symbol 106 MovieClip Frame 2175
_root["obstacleGen" + tankDepth].tank.play();
Symbol 106 MovieClip Frame 2187
_root["obstacleGen" + tankDepth].tank.fire();
Symbol 106 MovieClip Frame 2194
_root["obstacleGen" + tankDepth].tank.fire();
Symbol 106 MovieClip Frame 2201
_root["obstacleGen" + tankDepth].tank.fire();
Symbol 106 MovieClip Frame 2236
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2242
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2251
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2255
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2286
_root["obstacleGen" + tankDepth].tank.play();
Symbol 106 MovieClip Frame 2298
_root["obstacleGen" + tankDepth].tank.fire();
Symbol 106 MovieClip Frame 2305
_root["obstacleGen" + tankDepth].tank.fire();
Symbol 106 MovieClip Frame 2312
_root["obstacleGen" + tankDepth].tank.fire();
Symbol 106 MovieClip Frame 2346
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2353
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2360
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2366
_root["obstacleGen" + helicopterDepth].helicopter.fire();
Symbol 106 MovieClip Frame 2395
_root["obstacleGen" + tankDepth].tank.gotoAndPlay(16);
_root["obstacleGen" + helicopterDepth].helicopter.gotoAndPlay(11);
Symbol 106 MovieClip Frame 2455
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 150;
_root["obstacleGen" + currDepth].noFall = true;
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 175;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2491
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 225;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2553
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2567
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2581
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2595
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2608
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2622
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2636
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2650
currDepth++;
_root.createObstacle("fireball", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2663
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2670
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2677
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2684
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2702
currDepth++;
_root.createObstacle("lavaBlock", currDepth);
Symbol 106 MovieClip Frame 2710
currDepth++;
_root.createObstacle("lavaBlock", currDepth);
Symbol 106 MovieClip Frame 2771
_root.blockMoveSpeed = 12;
Symbol 106 MovieClip Frame 2775
currDepth++;
_root.createObstacle("spear", currDepth);
Symbol 106 MovieClip Frame 2776
_root["obstacleGen" + currDepth].spear.spearLength = 7;
Symbol 106 MovieClip Frame 2779
currDepth++;
_root.createObstacle("spear", currDepth);
Symbol 106 MovieClip Frame 2780
_root["obstacleGen" + currDepth].spear.spearLength = 9;
Symbol 106 MovieClip Frame 2805
currDepth++;
_root.createObstacle("flytrap", currDepth);
Symbol 106 MovieClip Frame 2810
currDepth++;
_root.createObstacle("flytrap", currDepth);
Symbol 106 MovieClip Frame 2860
currDepth++;
_root.createObstacle("laserMachine", currDepth);
laserMachineDepth = currDepth;
Symbol 106 MovieClip Frame 2885
_root["obstacleGen" + laserMachineDepth].laserMachine.play();
Symbol 106 MovieClip Frame 2914
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 100;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2917
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 2967
_root["obstacleGen" + laserMachineDepth].laserMachine.play();
Symbol 106 MovieClip Frame 3048
_root["obstacleGen" + laserMachineDepth].laserMachine.play();
Symbol 106 MovieClip Frame 3078
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 100;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3081
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 200;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3131
_root["obstacleGen" + laserMachineDepth].laserMachine.play();
Symbol 106 MovieClip Frame 3214
_root["obstacleGen" + laserMachineDepth].laserMachine.play();
Symbol 106 MovieClip Frame 3270
_root["obstacleGen" + laserMachineDepth].laserMachine.gotoAndPlay(26);
delete laserMachineDepth;
Symbol 106 MovieClip Frame 3325
currDepth++;
_root.createObstacle("shell", currDepth);
Symbol 106 MovieClip Frame 3331
currDepth++;
_root.createObstacle("shell", currDepth);
Symbol 106 MovieClip Frame 3355
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 225;
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3359
currDepth++;
_root.createObstacle("lightPowerUp", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3407
currDepth++;
_root.createObstacle("legs", currDepth);
Symbol 106 MovieClip Frame 3461
currDepth++;
_root.createObstacle("legs", currDepth);
Symbol 106 MovieClip Frame 3525
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 225;
Symbol 106 MovieClip Frame 3570
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 100;
Symbol 106 MovieClip Frame 3625
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 225;
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 175;
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 125;
Symbol 106 MovieClip Frame 3690
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 40;
currDepth++;
_root.createObstacle("eyeMonster", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
_root["obstacleGen" + currDepth]._y = _root["obstacleGen" + currDepth]._y - 80;
Symbol 106 MovieClip Frame 3735
currDepth++;
_root.createObstacle("zipper", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3764
currDepth++;
_root.createObstacle("lightning", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3765
_root["obstacleGen" + currDepth].lightning.play();
Symbol 106 MovieClip Frame 3776
currDepth++;
_root.createObstacle("lightning", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3779
_root["obstacleGen" + currDepth].lightning.play();
Symbol 106 MovieClip Frame 3787
currDepth++;
_root.createObstacle("lightning", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3792
_root["obstacleGen" + currDepth].lightning.play();
Symbol 106 MovieClip Frame 3799
currDepth++;
_root.createObstacle("lightning", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3806
_root["obstacleGen" + currDepth].lightning.play();
Symbol 106 MovieClip Frame 3809
currDepth++;
_root.createObstacle("lightning", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3820
_root["obstacleGen" + currDepth].lightning.play();
Symbol 106 MovieClip Frame 3821
currDepth++;
_root.createObstacle("lightPowerUp2", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3840
currDepth++;
_root.createObstacle("lightPowerUp2", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3850
currDepth++;
_root.createObstacle("lightPowerUp2", currDepth);
_root["obstacleGen" + currDepth].noFall = true;
Symbol 106 MovieClip Frame 3864
currDepth++;
_root.createObstacle("smiley", currDepth);
Symbol 106 MovieClip Frame 3885
_root["obstacleGen" + currDepth].smiley.play();
Symbol 106 MovieClip Frame 3900
_root.blockMoveSpeed = 0;
Symbol 106 MovieClip Frame 3930
_root.destroyObstacle(_root.dude);
_root.lightMeter = Math.round(_root.lightMeter);
_root.score.play();
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 8
_root.regenerateBlock(this, 550);
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 8
_root.regenerateBlock(this, 550);
Symbol 129 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 10
_root.hold = _root.hold - 2;
Symbol 152 MovieClip Frame 19
gotoAndPlay (10);
Symbol 159 MovieClip Frame 1
stop();
Instance of Symbol 119 MovieClip "lightSpot" in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.lightEnterFrame();
}
Symbol 159 MovieClip Frame 22
state = "walking";
gotoAndPlay(state);
Symbol 159 MovieClip Frame 31
if (currSkip == "right") {
state = "rightskip";
} else {
state = "walking";
}
gotoAndPlay(state);
Symbol 159 MovieClip Frame 41
if (currSkip == "left") {
state = "leftskip";
} else {
state = "walking";
}
gotoAndPlay(state);
Symbol 159 MovieClip Frame 53
if (Key.isDown(Key.SPACE) and (0 < _root.hold)) {
if (hold._currentframe == 1) {
hold.gotoAndPlay(2);
_root.holdMeter.gotoAndPlay(2);
}
} else if (hold._currentframe != 1) {
hold.gotoAndPlay(20);
}
Symbol 159 MovieClip Frame 58
if (Key.isDown(Key.SPACE) and (0 < _root.hold)) {
if (hold._currentframe == 1) {
hold.gotoAndPlay(2);
_root.holdMeter.gotoAndPlay(2);
}
gotoAndPlay(_currentframe - 2);
} else if (hold._currentframe != 1) {
hold.gotoAndPlay(20);
_root.holdMeter.gotoAndStop(1);
}
Symbol 159 MovieClip Frame 66
call(22);
Symbol 159 MovieClip Frame 75
call(53);
Symbol 159 MovieClip Frame 80
call(58);
Symbol 159 MovieClip Frame 85
call(22);
Symbol 159 MovieClip Frame 95
_root.lightMeter = 0;
_root.musicMC.stop();
_root.destructGame();
Symbol 166 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 1
stop();
Instance of Symbol 166 MovieClip "bar" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
_parent.barColor();
_xscale = _root.hold;
}
Symbol 171 MovieClip Frame 2
bar._xscale = _root.hold;
barColor();
Symbol 171 MovieClip Frame 3
gotoAndPlay (2);
Symbol 183 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 1
bar._xscale = _root.health / 2;
bar.gotoAndStop(10 - Math.round(_root.health / 10));
stop();
Symbol 188 MovieClip Frame 2
call(1);
Symbol 188 MovieClip Frame 3
call(1);
Symbol 188 MovieClip Frame 4
call(1);
Symbol 192 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
if (spearLength == _currentframe) {
stop();
}
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
if (spearLength == _currentframe) {
stop();
}
Symbol 224 MovieClip Frame 5
stop();
Symbol 224 MovieClip Frame 11
_root.destroyObstacle(_parent);
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 12
stop();
Symbol 240 MovieClip Frame 12
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 20
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 10
stop();
Symbol 262 MovieClip Frame 20
shootFire();
Symbol 262 MovieClip Frame 25
gotoAndStop (10);
Symbol 262 MovieClip Frame 32
_root.destroyObstacle(_parent);
Symbol 270 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 20
dots.gotoAndStop(numDots);
stop();
Symbol 291 MovieClip Frame 20
gotoAndPlay (1);
Symbol 291 MovieClip Frame 26
_root.destroyObstacle(_parent);
Symbol 292 MovieClip Frame 20
gotoAndPlay (1);
Symbol 292 MovieClip Frame 26
_root.destroyObstacle(_parent);
Symbol 306 MovieClip Frame 6
stop();
Symbol 307 MovieClip Frame 10
stop();
Instance of Symbol 298 MovieClip in Symbol 307 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 298 MovieClip in Symbol 307 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 298 MovieClip in Symbol 307 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 298 MovieClip in Symbol 307 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 298 MovieClip in Symbol 307 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Symbol 307 MovieClip Frame 15
fire();
gotoAndStop (10);
Symbol 307 MovieClip Frame 20
_root.destroyObstacle(_parent);
Symbol 316 MovieClip Frame 4
gotoAndPlay (1);
Symbol 316 MovieClip Frame 11
_root.destroyObstacle(_parent);
Symbol 327 MovieClip Frame 10
stop();
Symbol 327 MovieClip Frame 16
_root.destroyObstacle(_parent);
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 7
stop();
Symbol 362 MovieClip Frame 10
stop();
Symbol 362 MovieClip Frame 25
fire();
gotoAndStop (10);
Symbol 362 MovieClip Frame 60
stop();
Symbol 362 MovieClip Frame 66
_root.destroyObstacle(_parent);
Symbol 377 MovieClip Frame 7
gotoAndPlay (5);
Symbol 383 MovieClip Frame 7
gotoAndPlay (5);
Symbol 384 MovieClip Frame 51
_root.destroyObstacle(_parent);
Instance of Symbol 409 MovieClip in Symbol 411 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (18);
}
Instance of Symbol 414 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Instance of Symbol 415 MovieClip in Symbol 421 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 415 MovieClip in Symbol 421 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 424 MovieClip "zip" in Symbol 425 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
}
Symbol 425 MovieClip Frame 25
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip "smiley" in Symbol 435 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
}
Instance of Symbol 195 MovieClip in Symbol 435 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
}
Instance of Symbol 196 MovieClip in Symbol 435 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.dude)) {
_root.lightMeter = _root.lightMeter + 15;
if (100 < _root.lightMeter) {
_root.lightMeter = 100;
}
_root.destroyObstacle(_parent);
}
}
Instance of Symbol 198 MovieClip "spike" in Symbol 435 MovieClip Frame 5
onClipEvent (load) {
sprung = false;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 25)) and (sprung == false)) {
sprung = true;
play();
}
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit("skip");
}
}
Instance of Symbol 201 MovieClip "ninjaStar" in Symbol 435 MovieClip Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
}
Instance of Symbol 204 MovieClip "spear" in Symbol 435 MovieClip Frame 7
onClipEvent (load) {
sprung = false;
spearLength = 4;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 25)) and (sprung == false)) {
sprung = true;
play();
}
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
call(2);
}
Instance of Symbol 205 MovieClip "spear" in Symbol 435 MovieClip Frame 8
onClipEvent (load) {
sprung = false;
spearLength = 4;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 25)) and (sprung == false)) {
sprung = true;
play();
}
if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
call(2);
}
Instance of Symbol 213 MovieClip "fireball" in Symbol 435 MovieClip Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
} else if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
_x = (_x + (_root.blockMoveSpeed * 1.5));
}
Instance of Symbol 224 MovieClip "firefly" in Symbol 435 MovieClip Frame 10
onClipEvent (enterFrame) {
if (5 < _currentframe) {
return(undefined);
}
if (directionUp == true) {
_parent._y = _parent._y - vertMoveSpeed;
} else {
_parent._y = _parent._y + vertMoveSpeed;
}
if (_parent._y < 100) {
directionUp = false;
} else if (325 < _parent._y) {
directionUp = true;
}
_parent._x = _parent._x - _root.blockMoveSpeed;
_root.musicMC.currDepth++;
_root.createObstacle("spark", _root.musicMC.currDepth);
_root["obstacleGen" + _root.musicMC.currDepth]._y = _parent._y - 17;
}
onClipEvent (load) {
vertMoveSpeed = 15;
directionUp = true;
}
Instance of Symbol 228 MovieClip "spark" in Symbol 435 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent._x = _parent._x + xShift;
_parent._y = _parent._y + yShift;
if ((250 < _parent._x) or (325 < _parent._y)) {
_root.destroyObstacle(_parent);
}
}
onClipEvent (load) {
yShift = Math.round((Math.random() * 4) + 2);
xShift = Math.round((Math.random() * 3) + 2);
}
Instance of Symbol 232 MovieClip in Symbol 435 MovieClip Frame 12
onClipEvent (load) {
sprung = false;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 10)) and (sprung == false)) {
sprung = true;
play();
}
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
}
Instance of Symbol 241 MovieClip in Symbol 435 MovieClip Frame 13
onClipEvent (load) {
sprung = false;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 170)) and (sprung == false)) {
sprung = true;
play();
}
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
if (((425 - _root.blockMoveSpeed) < _parent._x) and (_parent._x < 525)) {
_parent._y = _parent._y - 10;
}
}
Instance of Symbol 242 MovieClip "spike" in Symbol 435 MovieClip Frame 14
onClipEvent (load) {
sprung = false;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 25)) and (sprung == false)) {
sprung = true;
play();
}
if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
}
Instance of Symbol 262 MovieClip "ghost" in Symbol 435 MovieClip Frame 15
onClipEvent (enterFrame) {
if (25 < _currentframe) {
return(undefined);
}
if (directionUp == true) {
_parent._y = _parent._y - vertMoveSpeed;
} else {
_parent._y = _parent._y + vertMoveSpeed;
}
if (_parent._y < (yStart - 50)) {
directionUp = false;
} else if (yStart < _parent._y) {
directionUp = true;
}
_parent._x = _parent._x - _root.blockMoveSpeed;
}
onClipEvent (load) {
function shootFire() {
_root.musicMC.currDepth++;
_root.createObstacle("ghostfire", _root.musicMC.currDepth);
_root["obstacleGen" + _root.musicMC.currDepth]._y = _parent._y - 50;
_root["obstacleGen" + _root.musicMC.currDepth]._x = _parent._x + 50;
_root["obstacleGen" + _root.musicMC.currDepth].noFall = true;
}
yStart = _parent._y;
vertMoveSpeed = 3;
directionUp = true;
}
Instance of Symbol 269 MovieClip in Symbol 435 MovieClip Frame 16
onClipEvent (enterFrame) {
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
} else if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
_parent._x = _parent._x + xShift;
}
onClipEvent (load) {
xShift = Math.round((Math.random() * 3) + 2);
}
Instance of Symbol 270 MovieClip "ninjaStar" in Symbol 435 MovieClip Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
} else if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
}
_rotation = (_rotation + 10);
}
Instance of Symbol 277 MovieClip in Symbol 435 MovieClip Frame 18
onClipEvent (load) {
sprung = false;
_alpha = 75;
_y = (_y - Math.floor(Math.random() * 200));
_rotation = (Math.floor(Math.random() * 90) - 45);
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 25)) and (sprung == false)) {
sprung = true;
play();
}
}
Instance of Symbol 283 MovieClip in Symbol 435 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x + 25)) and (sprung == false)) {
sprung = true;
play();
}
if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
}
onClipEvent (load) {
sprung = false;
}
Instance of Symbol 290 MovieClip "dice" in Symbol 435 MovieClip Frame 20
onClipEvent (enterFrame) {
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit("skip");
}
}
Instance of Symbol 291 MovieClip "healthPowerUp" in Symbol 435 MovieClip Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.dude) and (20 >= _currentframe)) {
_root.health = _root.health + 50;
if (100 < _root.health) {
_root.health = 100;
}
_root.healthMeter.play();
_root["obstacleGen" + brotherDepth].holdPowerUp.gotoAndPlay(21);
_root.destroyObstacle(_parent);
}
}
onClipEvent (load) {
brotherDepth = _root.musicMC.currDepth;
}
Instance of Symbol 292 MovieClip "holdPowerUp" in Symbol 435 MovieClip Frame 22
onClipEvent (enterFrame) {
if (hitTest(_root.dude) and (20 >= _currentframe)) {
_root.hold = _root.hold + 50;
if (100 < _root.hold) {
_root.hold = 100;
}
_root.holdMeter.barColor();
_root.holdMeter.bar._xscale = _root.hold;
_root["obstacleGen" + brotherDepth].healthPowerUp.gotoAndPlay(21);
_root.destroyObstacle(_parent);
}
}
onClipEvent (load) {
brotherDepth = _root.musicMC.currDepth - 1;
}
Instance of Symbol 307 MovieClip "tank" in Symbol 435 MovieClip Frame 23
onClipEvent (enterFrame) {
if (15 < _currentframe) {
return(undefined);
}
_parent._x = _parent._x - _root.blockMoveSpeed;
}
onClipEvent (load) {
function fire() {
_root.musicMC.currDepth++;
_root.createObstacle("rocket", _root.musicMC.currDepth);
_root["obstacleGen" + _root.musicMC.currDepth]._y = _parent._y - 50;
_root["obstacleGen" + _root.musicMC.currDepth]._x = _parent._x + 150;
_root["obstacleGen" + _root.musicMC.currDepth].noFall = true;
}
}
Instance of Symbol 316 MovieClip in Symbol 435 MovieClip Frame 24
onClipEvent (enterFrame) {
if (4 < _currentframe) {
return(undefined);
}
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
gotoAndPlay (5);
} else if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
gotoAndPlay (5);
}
_parent._x = _parent._x + 5;
}
Instance of Symbol 327 MovieClip "helicopter" in Symbol 435 MovieClip Frame 25
onClipEvent (enterFrame) {
if (10 < _currentframe) {
return(undefined);
}
_parent._x = _parent._x - _root.blockMoveSpeed;
}
onClipEvent (load) {
function fire() {
_root.musicMC.currDepth++;
_root.createObstacle("rocket", _root.musicMC.currDepth);
_root["obstacleGen" + _root.musicMC.currDepth]._y = _parent._y - 150;
_root["obstacleGen" + _root.musicMC.currDepth]._x = _parent._x + 100;
_root["obstacleGen" + _root.musicMC.currDepth].noFall = true;
}
}
Instance of Symbol 347 MovieClip in Symbol 435 MovieClip Frame 26
onClipEvent (load) {
sprung = false;
}
onClipEvent (enterFrame) {
if ((_parent._x >= (_root.dude._x - 10)) and (sprung == false)) {
sprung = true;
play();
}
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
}
Instance of Symbol 362 MovieClip "laserMachine" in Symbol 435 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_currentframe < 60) {
_parent._x = _parent._x - _root.blockMoveSpeed;
} else {
_parent._x = _parent._x + 6;
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
if (_currentframe < 61) {
this.gotoAndPlay(61);
}
} else if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
if (_currentframe < 61) {
this.gotoAndPlay(61);
}
}
}
}
onClipEvent (load) {
function fire() {
_root.musicMC.currDepth++;
_root.createObstacle("laserBlast", _root.musicMC.currDepth);
if (50 < (Math.random() * 100)) {
_root["obstacleGen" + _root.musicMC.currDepth]._y = _parent._y - 202;
} else {
_root["obstacleGen" + _root.musicMC.currDepth]._y = _parent._y - 45;
}
_root["obstacleGen" + _root.musicMC.currDepth]._x = _parent._x + 160;
_root["obstacleGen" + _root.musicMC.currDepth].noFall = true;
}
}
Instance of Symbol 384 MovieClip in Symbol 435 MovieClip Frame 28
onClipEvent (load) {
startRotation = _rotation;
whichWay = true;
}
onClipEvent (enterFrame) {
_rotation = startRotation;
if (whichWay == true) {
whichWay = false;
_rotation = (_rotation + Math.floor((Math.random() * 3) + 1));
} else {
whichWay = true;
_rotation = (_rotation - Math.floor((Math.random() * 3) + 1));
}
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
} else if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
_parent._x = _parent._x - _root.blockMoveSpeed;
}
Instance of Symbol 391 MovieClip in Symbol 435 MovieClip Frame 29
onClipEvent (enterFrame) {
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
}
}
Instance of Symbol 411 MovieClip in Symbol 435 MovieClip Frame 30
onClipEvent (enterFrame) {
if ((hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) or hitTest(_root.dude.body)) {
_root.dudeHit(true);
}
_parent._x = _parent._x - 6;
}
Instance of Symbol 421 MovieClip in Symbol 435 MovieClip Frame 31
onClipEvent (enterFrame) {
if (hitTest(_root.dude.shoe1) or hitTest(_root.dude.shoe2)) {
_root.dudeHit(true);
} else if (hitTest(_root.dude.head) or hitTest(_root.dude.body)) {
_root.dudeHit(false);
}
}
Instance of Symbol 434 MovieClip in Symbol 435 MovieClip Frame 34
onClipEvent (enterFrame) {
if (hitTest(_root.dude)) {
_root.lightMeter = _root.lightMeter + 15;
if (100 < _root.lightMeter) {
_root.lightMeter = 100;
}
_root.destroyObstacle(_parent);
}
if (whichWay == true) {
_parent._y = _parent._y - moveSpeed;
} else {
_parent._y = _parent._y + moveSpeed;
}
if (_parent._y < 75) {
whichWay = false;
} else if (325 < _parent._y) {
whichWay = true;
}
}
onClipEvent (load) {
if (50 < (Math.random() * 100)) {
whichWay = true;
} else {
whichWay = false;
}
_parent._y = _parent._y - (Math.random() * 225);
moveSpeed = 10 + (Math.random() * 10);
}
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 91
_root.destroyObstacle(this);
Symbol 475 Button
on (release) {
_root.goToCredits();
}
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 90
finalScore = _root.calcFinalScore();
Instance of Symbol 472 MovieClip in Symbol 476 MovieClip Frame 90
onClipEvent (load) {
if (_root.health < 100) {
_visible = false;
}
}
Symbol 476 MovieClip Frame 150
stop();
Symbol 482 MovieClip Frame 1
finalScore = _root.calcFinalScore();
Symbol 482 MovieClip Frame 170
tellTarget ("_level0") {
gotoAndStop (133);
};
Instance of Symbol 494 MovieClip "star" in Symbol 497 MovieClip Frame 361
onClipEvent (load) {
count = 1;
if (_name == "star") {
startDrag (this, true);
Mouse.hide();
}
}
onClipEvent (enterFrame) {
if (_name == "star") {
this.duplicateMovieClip("star" + count, count);
count++;
}
if (_name != "star") {
_alpha = (_alpha - 5);
if (0 >= _alpha) {
_root.destroyObstacle(this);
}
}
}
Symbol 497 MovieClip Frame 460
stopDrag();
Mouse.show();
star.removeMovieClip();
Symbol 497 MovieClip Frame 527
tellTarget ("_level0") {
gotoAndStop (133);
};