Frame 1
function initInFun() {
cmd = "in";
play();
}
function initOutFun() {
cmd = "out";
play();
}
function setQuality(setting) {
_quality = "MEDIUM";
}
function restoreQuality() {
_quality = defaultQ;
}
function getToken() {
getURL ("http://disney.tokenzone.com/dus/processGame?setId=6015&ac=6015140-tc140-48c4w-tvfr3-dfyvm-w8cm5", "_blank");
}
defaultQ = "HIGH";
restoreQuality();
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_parent.getBytesLoaded() >= _parent.getBytesTotal()) {
loadbar._xscale = 100;
_parent.play();
} else {
loadbar._xscale = (100 * _parent.getBytesLoaded()) / _parent.getBytesTotal();
}
}
Instance of Symbol 6 MovieClip in Frame 2
onClipEvent (load) {
loadbar._xscale = 100;
}
Frame 4
_root.soundEffectsFun("galleryEdnaOut");
Frame 12
_root.soundEffectsFun("downloadsElasticExtend");
Frame 21
gameHolder.play();
Frame 32
if (cmd != "out") {
prevFrame();
}
Symbol 21 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Instance of Symbol 28 MovieClip in Symbol 29 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent.masterVolume >= 100) {
_parent.gotoAndStop(1);
} else {
_parent._parent.setVol(10);
}
}
Instance of Symbol 28 MovieClip in Symbol 29 MovieClip Frame 3
onClipEvent (enterFrame) {
musicVol = _parent._parent.sound_music_thinice.getVolume();
if (_parent._parent.sound_music_thinice.getVolume() >= 100) {
_parent.gotoAndStop(1);
} else {
_parent._parent.sound_music_thinice.setVolume(musicVol + 10);
}
}
Instance of Symbol 28 MovieClip in Symbol 29 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent._parent.masterVolume <= 0) {
_parent.gotoAndStop(1);
} else {
_parent._parent.setVol(-10);
}
}
Symbol 35 MovieClip Frame 9
stop();
Symbol 41 MovieClip Frame 10
stop();
Symbol 59 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 7
stop();
Symbol 61 Button
on (release) {
if (_parent.open == true) {
_parent._parent.gotoAndPlay("playGame");
}
}
on (rollOver, release) {
_parent._parent.playSound("bell_lo", 0, 0);
}
Symbol 62 MovieClip Frame 6
stop();
Symbol 62 MovieClip Frame 7
stop();
Symbol 63 MovieClip Frame 1
function closeGame() {
open = false;
}
open = true;
Symbol 63 MovieClip Frame 10
_parent.playSound("whoosh");
Symbol 63 MovieClip Frame 15
_parent.playSound("zone_freeze");
Symbol 63 MovieClip Frame 16
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 1
function placeBldg() {
rooftopMask._y = leadEdge._y;
rooftopMask._height = leadEdge._y - trailEdge._y;
bldgFront._y = leadEdge._y;
bldgFront._xscale = leadEdge._xscale;
if (bldgFront._xscale < 100) {
bldgFront._height = 300 - leadEdge._y;
} else {
bldgFront._yscale = leadEdge._xscale;
}
}
Instance of Symbol 131 MovieClip "rooftopMask" in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
_y = _parent.leadEdge._y;
_height = (_parent.leadEdge._y - _parent.trailEdge._y);
}
Instance of Symbol 28 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.placeBldg();
}
Instance of Symbol 143 MovieClip "bldgFront" in Symbol 144 MovieClip Frame 63
onClipEvent (load) {
if ((_parent.nextGap > 17) || (_parent._name == "bldg1")) {
gotoAndStop (4);
} else if (_parent.nextGap > 12) {
gotoAndStop (3);
} else if (_parent.nextGap > 7) {
gotoAndStop (2);
}
_y = _parent.leadEdge._y;
_xscale = _parent.leadEdge._xscale;
if (_xscale < 100) {
_height = 300;
} else {
_yscale = _xscale;
}
}
Symbol 144 MovieClip Frame 131
_parent.buildings.shift();
removeMovieClip("");
Symbol 144 MovieClip Frame 132
stop();
Symbol 145 MovieClip Frame 1
function resizeGap() {
nextBldgLead = _parent["bldg" + (gapNum + 1)].leadEdge._y;
if (nextBldgLead > _parent.limitBtm) {
_parent.bldgGaps.shift();
_parent._parent.game.rooftopMask.top._y = 300;
gotoAndStop(_totalframes);
} else if (this._name == "bldgGapSource") {
_parent._parent.game.rooftopMask.btm._y = 300;
_parent._parent.game.rooftopMask.top._y = nextBldgLead;
} else if (this._name == _parent.bldgGaps[0]) {
_parent._parent.game.rooftopMask.btm._y = _parent["bldg" + gapNum].trailEdge._y;
_parent._parent.game.rooftopMask.top._y = nextBldgLead;
}
}
if (this._name != "bldgGapSource") {
stop();
}
Symbol 145 MovieClip Frame 2
stop();
Instance of Symbol 28 MovieClip "gapMaker" in Symbol 145 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.resizeGap();
}
Symbol 145 MovieClip Frame 3
removeMovieClip("");
stop();
Symbol 146 MovieClip Frame 1
_parent.checkForGaps = false;
maxDSpeed = 10;
lastObsLane = 0;
limitTop = 0;
limitBtm = 300;
bldgSource.gotoAndStop(bldgSource._totalframes);
bldgSource._visible = false;
bldgGaps = new Array();
totalBldgs = 1;
initDepth = 1000;
safeGap = 31;
maxGap = 18;
bldgDuration = bldgSource._totalframes;
initFrame = 63;
buildings = new Array();
bldgGapSource.gapNum = 0;
bldgGaps.push("bldgGapSource");
duplicateMovieClip ("depthMarker", "depth0", initDepth);
duplicateMovieClip ("depthMarker", "depth1", initDepth + 1);
_parent.game.rooftopMask.top._y = 0;
_parent.game.rooftopMask.btm._y = 300;
function initDroid(where) {
dSpeed = 1 + Math.floor((maxSpeed * _currentframe) / _totalframes);
_parent.game.makeDroid(where, dSpeed, Math.floor(18 - (((dSpeed - 1) / (maxSpeed - 1)) * 18)));
}
function makeBldg(startFr) {
if ((_parent.game.moving == true) || (!_parent.checkForGaps)) {
duplicateMovieClip ("bldgSource", "bldg" + totalBldgs, initDepth - totalBldgs);
if (startFr) {
this["bldg" + totalBldgs].gotoAndPlay(startFr);
}
if ((this["bldg" + Number(totalBldgs - 1)]._currentframe > (safeGap + 1)) && (totalBldgs > 2)) {
this["bldg" + totalBldgs].nextGap = (this["bldg" + Number(totalBldgs - 1)]._currentframe - safeGap) - 1;
this["gap" + (totalBldgs - 1)].gotoAndStop("resize");
bldgGaps.push("gap" + (totalBldgs - 1));
} else {
removeMovieClip("gap" + totalBldgs);
}
buildings.push("bldg" + totalBldgs);
totalBldgs++;
makeGap(totalBldgs - 1);
}
}
function resumeBG() {
for (i in buildings) {
this[buildings[i]].play();
}
this.play();
}
function stopBG() {
this.prevFrame();
for (i in buildings) {
this[buildings[i]].prevFrame();
}
}
function makeGap(bldgNum) {
duplicateMovieClip ("bldgGapSource", "gap" + bldgNum, initDepth + bldgNum);
Set(("gap" + bldgNum) + ".gapNum", bldgNum);
}
while (initFrame > 0) {
makeBldg(initFrame);
initFrame = initFrame - safeGap;
}
Instance of Symbol 129 MovieClip "bgBldg" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 28 MovieClip "gapMaker" in Symbol 146 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.game.rooftopMask.top._y = _parent.bldg1.leadEdge._y;
}
Instance of Symbol 28 MovieClip "gapMaker" in Symbol 146 MovieClip Frame 2
onClipEvent (load) {
function makeGap(bldgNum) {
trace("gap = " + ((_parent["bldg" + Number(bldgNum - 1)]._currentframe - _parent.safeGap) - 1));
duplicateMovieClip ("_parent.bldgGapSource", "gap" + bldgNum, _parent.initDepth + bldgNum);
bldgGaps.push("_parent.gap" + bldgNum);
}
bldgGaps = new Array();
}
Symbol 146 MovieClip Frame 6
_parent.game.makeObstacle("billboard", 4, false);
Symbol 146 MovieClip Frame 8
_parent.game.makeBonus("logo", 4, 1);
Symbol 146 MovieClip Frame 13
_parent.game.makeBonus("snow", 4);
Symbol 146 MovieClip Frame 20
_parent.game.makeBonus("snow", 2);
Symbol 146 MovieClip Frame 25
initDroid(-4);
Symbol 146 MovieClip Frame 27
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 32
makeBldg();
Symbol 146 MovieClip Frame 36
_parent.game.makeObstacle("pipe", 3, false);
_parent.game.makeObstacle("pipe", 5, false);
_parent.game.makeObstacle("pipe", 7, false);
Symbol 146 MovieClip Frame 40
_parent.game.makeObstacle("block1", -4, false);
Symbol 146 MovieClip Frame 45
_parent.game.makeObstacle("block2", -4, false);
Symbol 146 MovieClip Frame 54
_parent.game.makeBonus("snow", 1);
Symbol 146 MovieClip Frame 58
_parent.checkForGaps = true;
Symbol 146 MovieClip Frame 59
Symbol 146 MovieClip Frame 63
makeBldg();
Symbol 146 MovieClip Frame 69
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 73
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 83
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 84
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 85
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 98
_parent.game.makeBonus("logo", -3, 2);
Symbol 146 MovieClip Frame 102
makeBldg();
Symbol 146 MovieClip Frame 109
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 112
initDroid(-2);
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 114
_parent.game.makeBonus("snow", -6);
Symbol 146 MovieClip Frame 115
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 117
_parent.game.makeBonus("snow", -6);
Symbol 146 MovieClip Frame 133
makeBldg();
Symbol 146 MovieClip Frame 139
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 142
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 145
_parent.game.makeObstacle("block2", 2, false);
Symbol 146 MovieClip Frame 153
_parent.game.makeObstacle("antenna", 7, false);
Symbol 146 MovieClip Frame 166
_parent.game.makeBonus("logo", -1, 2);
Symbol 146 MovieClip Frame 172
makeBldg();
Symbol 146 MovieClip Frame 176
_parent.game.makeObstacle("block2", 5, false);
Symbol 146 MovieClip Frame 186
_parent.game.makeBonus("snow", 2);
Symbol 146 MovieClip Frame 194
_parent.game.makeBonus("snow", 2);
Symbol 146 MovieClip Frame 198
initDroid(-5);
Symbol 146 MovieClip Frame 203
makeBldg();
Symbol 146 MovieClip Frame 214
_parent.game.makeObstacle("antenna", -5, false);
Symbol 146 MovieClip Frame 218
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 221
_parent.game.makeBonus("snow", -3, 1);
Symbol 146 MovieClip Frame 223
_parent.game.makeObstacle("tower", 0, false);
Symbol 146 MovieClip Frame 227
_parent.game.makeBonus("snow", -3, 1);
Symbol 146 MovieClip Frame 234
makeBldg();
Symbol 146 MovieClip Frame 241
_parent.game.makeObstacle("tower", -4, false);
Symbol 146 MovieClip Frame 245
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 247
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 255
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 257
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 261
_parent.game.makeBonus("logo", 3);
Symbol 146 MovieClip Frame 273
makeBldg();
Symbol 146 MovieClip Frame 277
_parent.game.makeObstacle("billboard", 6, false);
Symbol 146 MovieClip Frame 282
initDroid(-4);
Symbol 146 MovieClip Frame 287
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 304
makeBldg();
Symbol 146 MovieClip Frame 306
_parent.game.makeBonus("snow", 3);
Symbol 146 MovieClip Frame 307
_parent.game.makeObstacle("tower", 1, false);
_parent.game.makeObstacle("tower", 6, false);
Symbol 146 MovieClip Frame 316
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 318
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 320
_parent.game.makeObstacle("block2", 5, false);
Symbol 146 MovieClip Frame 328
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 329
_parent.game.makeObstacle("billboard", 0, false);
Symbol 146 MovieClip Frame 335
makeBldg();
Symbol 146 MovieClip Frame 341
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 342
_parent.game.makeObstacle("antenna", 2, false);
Symbol 146 MovieClip Frame 348
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 353
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 354
_parent.game.makeObstacle("antenna", -2, false);
Symbol 146 MovieClip Frame 364
initDroid(3);
Symbol 146 MovieClip Frame 372
_parent.game.makeBonus("logo", 1, 2);
Symbol 146 MovieClip Frame 374
makeBldg();
Symbol 146 MovieClip Frame 380
_parent.game.makeObstacle("tower", 7, false);
_parent.game.makeObstacle("tower", -7, false);
Symbol 146 MovieClip Frame 382
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 384
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 386
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 390
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 391
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 393
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 399
_parent.game.makeObstacle("pipe", -6, false);
_parent.game.makeObstacle("pipe", 6, false);
Symbol 146 MovieClip Frame 400
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 405
makeBldg();
Symbol 146 MovieClip Frame 420
_parent.game.makeObstacle("tower", -6, false);
_parent.game.makeObstacle("tower", 6, false);
Symbol 146 MovieClip Frame 430
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 440
_parent.game.makeBonus("logo", 1, 2);
Symbol 146 MovieClip Frame 444
initDroid(-2);
Symbol 146 MovieClip Frame 449
makeBldg();
Symbol 146 MovieClip Frame 452
_parent.game.makeBonus("snow", 2);
Symbol 146 MovieClip Frame 456
_parent.game.makeObstacle("antenna", 6, false);
Symbol 146 MovieClip Frame 461
_parent.game.makeObstacle("antenna", 4, false);
Symbol 146 MovieClip Frame 469
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 480
makeBldg();
Symbol 146 MovieClip Frame 486
_parent.game.makeObstacle("pipe", -5, false);
Symbol 146 MovieClip Frame 489
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 491
_parent.game.makeBonus("snow", -3);
Symbol 146 MovieClip Frame 492
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 497
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 500
_parent.game.makeObstacle("pipe", 2, false);
Symbol 146 MovieClip Frame 502
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 503
_parent.game.makeObstacle("pipe", -1, false);
Symbol 146 MovieClip Frame 504
_parent.game.makeObstacle("vent", -5, false);
_parent.game.makeObstacle("vent", -8, false);
Symbol 146 MovieClip Frame 519
makeBldg();
Symbol 146 MovieClip Frame 521
_parent.game.makeBonus("snow", -1, 1);
Symbol 146 MovieClip Frame 522
initDroid(6);
Symbol 146 MovieClip Frame 525
_parent.game.makeObstacle("billboard", 4, false);
Symbol 146 MovieClip Frame 535
_parent.game.makeObstacle("antenna", 4, false);
Symbol 146 MovieClip Frame 536
_parent.game.makeBonus("snow", 1);
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 538
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 540
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 550
makeBldg();
Symbol 146 MovieClip Frame 556
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 559
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 561
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 562
_parent.game.makeObstacle("block2", 2, false);
Symbol 146 MovieClip Frame 570
_parent.game.makeObstacle("antenna", 7, false);
Symbol 146 MovieClip Frame 576
_parent.game.makeBonus("logo", -4, 1);
Symbol 146 MovieClip Frame 594
makeBldg();
Symbol 146 MovieClip Frame 598
initDroid(-2);
Symbol 146 MovieClip Frame 605
_parent.game.makeObstacle("antenna", -5, false);
Symbol 146 MovieClip Frame 609
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 614
_parent.game.makeObstacle("tower", 0, false);
Symbol 146 MovieClip Frame 618
_parent.game.makeBonus("snow", -2);
Symbol 146 MovieClip Frame 625
makeBldg();
Symbol 146 MovieClip Frame 637
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 640
_parent.game.makeObstacle("pipe", 3, false);
_parent.game.makeObstacle("pipe", 5, false);
_parent.game.makeObstacle("pipe", 7, false);
Symbol 146 MovieClip Frame 642
_parent.game.makeObstacle("block1", -4, false);
Symbol 146 MovieClip Frame 647
_parent.game.makeObstacle("block2", -4, false);
Symbol 146 MovieClip Frame 663
_parent.game.makeBonus("logo", 2, 2);
Symbol 146 MovieClip Frame 669
makeBldg();
Symbol 146 MovieClip Frame 673
_parent.game.makeObstacle("tower", 1, false);
_parent.game.makeObstacle("tower", 6, false);
Symbol 146 MovieClip Frame 681
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 683
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 684
initDroid(-6);
Symbol 146 MovieClip Frame 685
_parent.game.makeObstacle("block2", 5, false);
Symbol 146 MovieClip Frame 691
_parent.game.makeObstacle("billboard", 0, false);
Symbol 146 MovieClip Frame 693
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 705
_parent.game.makeBonus("logo", 0, 2);
Symbol 146 MovieClip Frame 708
makeBldg();
Symbol 146 MovieClip Frame 715
_parent.game.makeObstacle("tower", -4, false);
Symbol 146 MovieClip Frame 719
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 721
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 729
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 731
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 735
_parent.game.makeBonus("snow", 3);
Symbol 146 MovieClip Frame 739
makeBldg();
Symbol 146 MovieClip Frame 745
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 747
_parent.game.makeBonus("snow", 3);
Symbol 146 MovieClip Frame 749
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 759
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 760
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 761
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 765
initDroid(-2);
Symbol 146 MovieClip Frame 783
makeBldg();
Symbol 146 MovieClip Frame 787
_parent.game.makeBonus("snow", 3);
Symbol 146 MovieClip Frame 788
_parent.game.makeObstacle("antenna", 5, false);
Symbol 146 MovieClip Frame 795
_parent.game.makeObstacle("antenna", 1, false);
Symbol 146 MovieClip Frame 805
_parent.game.makeBonus("logo", 1);
Symbol 146 MovieClip Frame 813
initDroid(-3);
Symbol 146 MovieClip Frame 814
makeBldg();
Symbol 146 MovieClip Frame 820
_parent.game.makeObstacle("tower", 7, false);
_parent.game.makeObstacle("tower", -7, false);
Symbol 146 MovieClip Frame 822
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 824
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 825
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 826
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 832
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 834
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 839
_parent.game.makeObstacle("pipe", -6, false);
_parent.game.makeObstacle("pipe", 6, false);
Symbol 146 MovieClip Frame 840
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 845
makeBldg();
Symbol 146 MovieClip Frame 851
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 852
_parent.game.makeObstacle("antenna", 2, false);
Symbol 146 MovieClip Frame 858
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 863
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 864
_parent.game.makeObstacle("antenna", -2, false);
Symbol 146 MovieClip Frame 880
initDroid(-4);
Symbol 146 MovieClip Frame 889
makeBldg();
Symbol 146 MovieClip Frame 891
_parent.game.makeBonus("logo", -1, 1);
Symbol 146 MovieClip Frame 898
_parent.game.makeObstacle("billboard", 5, false);
Symbol 146 MovieClip Frame 901
_parent.game.makeBonus("snow", -3);
Symbol 146 MovieClip Frame 905
_parent.game.makeObstacle("antenna", 3, false);
Symbol 146 MovieClip Frame 906
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 908
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 910
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 920
makeBldg();
Symbol 146 MovieClip Frame 926
_parent.game.makeObstacle("pipe", -5, false);
Symbol 146 MovieClip Frame 929
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 931
_parent.game.makeBonus("snow", 2);
Symbol 146 MovieClip Frame 932
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 937
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 940
_parent.game.makeObstacle("pipe", 2, false);
Symbol 146 MovieClip Frame 942
_parent.game.makeBonus("snow", 1);
Symbol 146 MovieClip Frame 943
_parent.game.makeObstacle("pipe", -1, false);
Symbol 146 MovieClip Frame 944
_parent.game.makeObstacle("vent", -5, false);
_parent.game.makeObstacle("vent", -8, false);
Symbol 146 MovieClip Frame 945
initDroid(6);
Symbol 146 MovieClip Frame 959
makeBldg();
Symbol 146 MovieClip Frame 966
_parent.game.makeObstacle("tower", -4, false);
Symbol 146 MovieClip Frame 970
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 972
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 978
_parent.game.makeBonus("snow", -4);
Symbol 146 MovieClip Frame 980
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 982
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 998
makeBldg();
Symbol 146 MovieClip Frame 1008
initDroid(0);
Symbol 146 MovieClip Frame 1010
_parent.game.makeBonus("snow", 1, 1);
Symbol 146 MovieClip Frame 1013
_parent.game.makeObstacle("pipe", 3, false);
_parent.game.makeObstacle("pipe", 5, false);
_parent.game.makeObstacle("pipe", 7, false);
Symbol 146 MovieClip Frame 1015
_parent.game.makeObstacle("block1", -4, false);
Symbol 146 MovieClip Frame 1020
_parent.game.makeObstacle("block2", -4, false);
Symbol 146 MovieClip Frame 1029
makeBldg();
Symbol 146 MovieClip Frame 1040
_parent.game.makeObstacle("antenna", -5, false);
Symbol 146 MovieClip Frame 1044
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 1047
_parent.game.makeBonus("snow", -3, 1);
Symbol 146 MovieClip Frame 1049
_parent.game.makeObstacle("tower", 0, false);
Symbol 146 MovieClip Frame 1053
_parent.game.makeBonus("snow", -3, 1);
Symbol 146 MovieClip Frame 1069
initDroid(3);
Symbol 146 MovieClip Frame 1070
_parent.game.makeBonus("logo", -2, 2);
Symbol 146 MovieClip Frame 1073
makeBldg();
Symbol 146 MovieClip Frame 1079
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 1082
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 1085
_parent.game.makeObstacle("block2", 2, false);
Symbol 146 MovieClip Frame 1092
_parent.game.makeBonus("snow", -3);
Symbol 146 MovieClip Frame 1093
_parent.game.makeObstacle("antenna", 7, false);
Symbol 146 MovieClip Frame 1104
makeBldg();
Symbol 146 MovieClip Frame 1110
_parent.game.makeObstacle("billboard", 0, false);
Symbol 146 MovieClip Frame 1120
_parent.game.makeObstacle("antenna", 3, false);
Symbol 146 MovieClip Frame 1121
_parent.game.makeBonus("snow", -2);
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1123
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1125
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1128
initDroid(5);
Symbol 146 MovieClip Frame 1136
_parent.game.makeBonus("logo", 0, 1);
Symbol 146 MovieClip Frame 1143
makeBldg();
Symbol 146 MovieClip Frame 1149
_parent.game.makeObstacle("pipe", -5, false);
Symbol 146 MovieClip Frame 1152
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 1155
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 1156
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 1160
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 1163
_parent.game.makeObstacle("pipe", 2, false);
Symbol 146 MovieClip Frame 1166
_parent.game.makeObstacle("pipe", -1, false);
Symbol 146 MovieClip Frame 1167
_parent.game.makeObstacle("vent", -5, false);
_parent.game.makeObstacle("vent", -8, false);
Symbol 146 MovieClip Frame 1168
_parent.game.makeBonus("snow", 1);
Symbol 146 MovieClip Frame 1183
_parent.game.makeBonus("logo", -1, 2);
Symbol 146 MovieClip Frame 1185
initDroid(6);
Symbol 146 MovieClip Frame 1187
makeBldg();
Symbol 146 MovieClip Frame 1193
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 1194
_parent.game.makeObstacle("antenna", 2, false);
Symbol 146 MovieClip Frame 1205
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 1206
_parent.game.makeObstacle("antenna", -2, false);
Symbol 146 MovieClip Frame 1213
_parent.game.makeBonus("snow", 1);
Symbol 146 MovieClip Frame 1218
makeBldg();
Symbol 146 MovieClip Frame 1224
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 1228
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1232
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 1238
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 1239
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 1240
initDroid(6);
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 1260
_parent.game.makeBonus("logo", -2, 2);
Symbol 146 MovieClip Frame 1267
makeBldg();
Symbol 146 MovieClip Frame 1273
_parent.game.makeObstacle("tower", 7, false);
_parent.game.makeObstacle("tower", -7, false);
Symbol 146 MovieClip Frame 1275
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 1283
_parent.game.makeBonus("snow", 1, 2);
Symbol 146 MovieClip Frame 1284
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1286
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1292
_parent.game.makeObstacle("pipe", -6, false);
_parent.game.makeObstacle("pipe", 6, false);
Symbol 146 MovieClip Frame 1293
initDroid(-2);
Symbol 146 MovieClip Frame 1298
makeBldg();
Symbol 146 MovieClip Frame 1302
_parent.game.makeObstacle("tower", 1, false);
_parent.game.makeObstacle("tower", 6, false);
Symbol 146 MovieClip Frame 1309
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 1310
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1312
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1314
_parent.game.makeObstacle("block2", 5, false);
Symbol 146 MovieClip Frame 1320
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 1322
_parent.game.makeObstacle("billboard", 0, false);
Symbol 146 MovieClip Frame 1323
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 1328
_parent.game.makeBonus("logo", 0);
Symbol 146 MovieClip Frame 1342
makeBldg();
Symbol 146 MovieClip Frame 1343
initDroid(-1);
Symbol 146 MovieClip Frame 1349
_parent.game.makeObstacle("tower", -4, false);
Symbol 146 MovieClip Frame 1353
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 1354
_parent.game.makeBonus("snow", 1, 2);
Symbol 146 MovieClip Frame 1355
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 1363
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 1365
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 1381
makeBldg();
Symbol 146 MovieClip Frame 1385
_parent.game.makeBonus("snow", 3, 1);
Symbol 146 MovieClip Frame 1391
initDroid(0);
Symbol 146 MovieClip Frame 1396
_parent.game.makeObstacle("pipe", 3, false);
_parent.game.makeObstacle("pipe", 5, false);
_parent.game.makeObstacle("pipe", 7, false);
Symbol 146 MovieClip Frame 1398
_parent.game.makeObstacle("block1", -4, false);
Symbol 146 MovieClip Frame 1403
_parent.game.makeBonus("logo", 1, 1);
_parent.game.makeObstacle("block2", -4, false);
Symbol 146 MovieClip Frame 1412
makeBldg();
Symbol 146 MovieClip Frame 1418
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 1421
_parent.game.makeObstacle("vent", -4, false);
Symbol 146 MovieClip Frame 1424
_parent.game.makeObstacle("block2", 2, false);
Symbol 146 MovieClip Frame 1431
initDroid(7);
Symbol 146 MovieClip Frame 1432
_parent.game.makeObstacle("antenna", 7, false);
Symbol 146 MovieClip Frame 1435
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 1456
makeBldg();
Symbol 146 MovieClip Frame 1464
_parent.game.makeObstacle("antenna", -5, false);
Symbol 146 MovieClip Frame 1468
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 1472
initDroid(2);
Symbol 146 MovieClip Frame 1473
_parent.game.makeObstacle("tower", 0, false);
Symbol 146 MovieClip Frame 1477
_parent.game.makeBonus("snow", -3);
Symbol 146 MovieClip Frame 1497
_parent.game.makeBonus("logo", -3, 2);
Symbol 146 MovieClip Frame 1505
makeBldg();
Symbol 146 MovieClip Frame 1511
_parent.game.makeObstacle("pipe", -5, false);
Symbol 146 MovieClip Frame 1514
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 1517
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 1519
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 1521
initDroid(6);
Symbol 146 MovieClip Frame 1522
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 1525
_parent.game.makeObstacle("pipe", 2, false);
Symbol 146 MovieClip Frame 1528
_parent.game.makeObstacle("pipe", -1, false);
Symbol 146 MovieClip Frame 1529
_parent.game.makeObstacle("vent", -5, false);
_parent.game.makeObstacle("vent", -8, false);
Symbol 146 MovieClip Frame 1530
_parent.game.makeBonus("snow", 1);
Symbol 146 MovieClip Frame 1536
makeBldg();
Symbol 146 MovieClip Frame 1542
_parent.game.makeObstacle("billboard", 0, false);
Symbol 146 MovieClip Frame 1548
_parent.game.makeBonus("snow", -3);
Symbol 146 MovieClip Frame 1552
_parent.game.makeObstacle("antenna", 3, false);
Symbol 146 MovieClip Frame 1553
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1555
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1557
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1563
initDroid(0);
Symbol 146 MovieClip Frame 1575
makeBldg();
Symbol 146 MovieClip Frame 1578
_parent.game.makeBonus("logo", 3);
Symbol 146 MovieClip Frame 1581
_parent.game.makeObstacle("vent", -5, false);
_parent.game.makeObstacle("vent", -7, false);
Symbol 146 MovieClip Frame 1585
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 1587
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1589
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1596
initDroid(0);
Symbol 146 MovieClip Frame 1597
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 1598
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 1599
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 1614
makeBldg();
Symbol 146 MovieClip Frame 1620
_parent.game.makeBonus("snow", -2);
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 1621
_parent.game.makeObstacle("antenna", 2, false);
Symbol 146 MovieClip Frame 1632
_parent.game.makeObstacle("pipe", 0, false);
Symbol 146 MovieClip Frame 1633
_parent.game.makeObstacle("antenna", -2, false);
Symbol 146 MovieClip Frame 1637
initDroid(-7);
Symbol 146 MovieClip Frame 1640
_parent.game.makeBonus("snow", 1);
Symbol 146 MovieClip Frame 1656
_parent.game.makeBonus("logo", 1, 2);
Symbol 146 MovieClip Frame 1661
makeBldg();
Symbol 146 MovieClip Frame 1667
_parent.game.makeObstacle("tower", 7, false);
_parent.game.makeObstacle("tower", -7, false);
Symbol 146 MovieClip Frame 1669
initDroid(7);
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 1671
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 1673
_parent.game.makeObstacle("pipe", 1, false);
Symbol 146 MovieClip Frame 1677
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 1678
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1680
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1684
_parent.game.makeBonus("snow", 2, 2);
Symbol 146 MovieClip Frame 1686
_parent.game.makeObstacle("pipe", -6, false);
_parent.game.makeObstacle("pipe", 6, false);
Symbol 146 MovieClip Frame 1692
makeBldg();
Symbol 146 MovieClip Frame 1698
_parent.game.makeObstacle("block2", -5, false);
Symbol 146 MovieClip Frame 1701
initDroid(-1);
Symbol 146 MovieClip Frame 1702
_parent.game.makeObstacle("vent", 2, false);
_parent.game.makeObstacle("vent", 5, false);
Symbol 146 MovieClip Frame 1706
_parent.game.makeBonus("logo", 1);
Symbol 146 MovieClip Frame 1712
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 1713
_parent.game.makeObstacle("block1", 5, false);
Symbol 146 MovieClip Frame 1714
_parent.game.makeObstacle("pipe", 1, false);
_parent.game.makeObstacle("pipe", -6, false);
Symbol 146 MovieClip Frame 1730
initDroid(4);
Symbol 146 MovieClip Frame 1736
makeBldg();
Symbol 146 MovieClip Frame 1739
_parent.game.makeBonus("snow", -2, 1);
Symbol 146 MovieClip Frame 1743
_parent.game.makeObstacle("tower", -4, false);
Symbol 146 MovieClip Frame 1747
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 1749
_parent.game.makeObstacle("vent", 1, false);
_parent.game.makeObstacle("vent", 3, false);
Symbol 146 MovieClip Frame 1755
_parent.game.makeBonus("snow", 0);
Symbol 146 MovieClip Frame 1757
initDroid(5);
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 1759
_parent.game.makeObstacle("pipe", -2, false);
Symbol 146 MovieClip Frame 1777
_parent.game.makeBonus("logo", -2, 2);
Symbol 146 MovieClip Frame 1780
initDroid(3);
Symbol 146 MovieClip Frame 1783
makeBldg();
Symbol 146 MovieClip Frame 1787
_parent.game.makeObstacle("tower", 1, false);
_parent.game.makeObstacle("tower", 6, false);
Symbol 146 MovieClip Frame 1794
_parent.game.makeBonus("snow", -1);
Symbol 146 MovieClip Frame 1795
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1797
_parent.game.makeObstacle("vent", -5, false);
Symbol 146 MovieClip Frame 1799
_parent.game.makeObstacle("block2", 5, false);
Symbol 146 MovieClip Frame 1803
initDroid(-6);
Symbol 146 MovieClip Frame 1807
_parent.game.makeObstacle("billboard", 0, false);
Symbol 146 MovieClip Frame 1822
_parent.game.makeBonus("logo", -3, 2);
Symbol 146 MovieClip Frame 1823
initDroid(2);
Symbol 146 MovieClip Frame 1831
makeBldg();
Symbol 146 MovieClip Frame 1842
initDroid(4);
_parent.game.makeObstacle("antenna", -5, false);
Symbol 146 MovieClip Frame 1846
_parent.game.makeObstacle("pipe", 5, false);
Symbol 146 MovieClip Frame 1851
_parent.game.makeObstacle("tower", 0, false);
Symbol 146 MovieClip Frame 1859
initDroid(-3);
Symbol 146 MovieClip Frame 1861
_parent.game.makeBonus("snow", -2, 1);
Symbol 146 MovieClip Frame 1862
makeBldg();
Symbol 146 MovieClip Frame 1874
initDroid(-6);
Symbol 146 MovieClip Frame 1876
_parent.game.makeBonus("snow", -1, 1);
Symbol 146 MovieClip Frame 1893
makeBldg();
Symbol 146 MovieClip Frame 1924
makeBldg();
Symbol 146 MovieClip Frame 1951
_parent.game.playing = false;
_parent.game.moving = false;
_parent.game.limitTop = -20;
for (i in buildings) {
this[buildings[i]].prevFrame();
}
for (j in bldgGaps) {
removeMovieClip("gap" + j);
}
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
stop();
Instance of Symbol 28 MovieClip in Symbol 168 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._parent._y = _parent._parent._y - ((_parent._parent._y - bounceTargY) / moveRate);
if (alpha > fadeRate) {
alpha = alpha - fadeRate;
bonusTransform = {rb:"255", gb:"255", bb:"255", aa:alpha};
bonusCatch.setTransform(bonusTransform);
} else {
_parent._parent._parent.removeBonus(_parent._parent._name);
}
}
onClipEvent (load) {
_parent._parent.stop();
alpha = 100;
moveRate = 3;
bounceTargY = _parent._parent._y - _parent._parent._parent.frozoneScale;
fadeRate = 15;
bonusCatch = new Color(_parent._parent);
bonusTransform = new Object();
}
Symbol 169 MovieClip Frame 1
function setPosition() {
if (caught == false) {
anim._xscale = _parent[tracker].zNormTrack._xscale;
anim._yscale = anim._xscale;
anim._x = laneFactor * _parent[tracker].zNormTrack._x;
anim._y = _parent[tracker].zNormTrack._y - ((alt * heightStep) * anim._yscale);
_parent.b_sh["shadow" + dNum]._x = anim._x + _parent.ctrPoint;
_parent.b_sh["shadow" + dNum]._y = _parent[tracker].zNormTrack._y;
_parent.b_sh["shadow" + dNum]._xscale = anim._xscale;
_parent.b_sh["shadow" + dNum]._yscale = anim._xscale;
}
}
function stopMove() {
this.prevFrame();
_parent[tracker].prevFrame();
_parent.b_sh["shadow" + dNum].prevFrame();
}
function resumeMove() {
play();
_parent[tracker].play();
_parent.b_sh["shadow" + dNum].play();
}
caught = false;
catchSound = "bell_hi";
pointValue = 100 * _parent._parent.level;
laneFactor = laneNum / 7;
heightStep = 0.6;
Instance of Symbol 167 MovieClip "anim" in Symbol 169 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_parent._parent._parent.bg._currentframe % this._totalframes);
}
Instance of Symbol 168 MovieClip "spark" in Symbol 169 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 169 MovieClip Frame 82
_parent.bonuses.shift();
_parent.removeBonus(this._name);
Symbol 169 MovieClip Frame 83
stop();
Symbol 191 MovieClip Frame 1
function setPosition() {
if (caught == false) {
anim._xscale = _parent[tracker].zNormTrack._xscale;
anim._yscale = anim._xscale;
anim._x = laneFactor * _parent[tracker].zNormTrack._x;
anim._y = _parent[tracker].zNormTrack._y - ((alt * heightStep) * anim._yscale);
_parent.b_sh["shadow" + dNum]._x = anim._x + _parent.ctrPoint;
_parent.b_sh["shadow" + dNum]._y = _parent[tracker].zNormTrack._y;
_parent.b_sh["shadow" + dNum]._xscale = anim._xscale;
_parent.b_sh["shadow" + dNum]._yscale = anim._xscale;
}
}
function stopMove() {
this.prevFrame();
_parent[tracker].prevFrame();
_parent.b_sh["shadow" + dNum].prevFrame();
}
function resumeMove() {
play();
_parent[tracker].play();
_parent.b_sh["shadow" + dNum].play();
}
caught = false;
pointValue = 1000 * _parent._parent.level;
laneFactor = laneNum / 7;
heightStep = 0.6;
catchSound = "bell_lo";
Instance of Symbol 190 MovieClip "anim" in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_parent._parent._parent.bg._currentframe % this._totalframes);
}
Instance of Symbol 168 MovieClip "spark" in Symbol 191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 191 MovieClip Frame 82
_parent.bonuses.shift();
removeMovieClip("");
Symbol 191 MovieClip Frame 83
stop();
Symbol 193 MovieClip Frame 81
removeMovieClip("");
Symbol 193 MovieClip Frame 82
stop();
Symbol 194 MovieClip Frame 59
removeMovieClip("");
Symbol 194 MovieClip Frame 60
stop();
Symbol 198 MovieClip Frame 1
Symbol 198 MovieClip Frame 85
removeMovieClip("");
Symbol 198 MovieClip Frame 86
stop();
Symbol 207 MovieClip Frame 42
stop();
Symbol 215 MovieClip Frame 1
delayMax = 19;
anim.gotoAndPlay(delayMax - _parent.delay);
Instance of Symbol 207 MovieClip "anim" in Symbol 215 MovieClip Frame 24
onClipEvent (load) {
elapsed = 0;
gotoAndPlay((_parent.delayMax - _parent._parent.delay) + _parent._currentframe);
}
onClipEvent (enterFrame) {
elapsed++;
if (elapsed >= _parent._parent.delay) {
_parent.gotoAndPlay("attack");
gotoAndStop (1);
}
}
Symbol 215 MovieClip Frame 42
_parent.ready = true;
_parent.setDroidTarg();
Symbol 215 MovieClip Frame 55
stop();
Symbol 216 MovieClip Frame 1
function setPosition() {
speed = speed + (accel * 0.001);
accel = Math.pow(accel, speedExp);
pctMoved = pctMoved + speed;
if ((anim._y - (anim._height / 2)) > _parent.limitBtm) {
gotoAndStop (3);
} else {
lastY = baseY;
baseY = startSh + (difSh * pctMoved);
if ((_parent.frozone._y < baseY) && (_parent.frozone._y > lastY)) {
pctHit = (_parent.frozone._y - startSh) / difSh;
_parent.checkDroid((startX + (difX * pctHit)) + _parent.ctrPoint, startY + (difY * pctHit), startScale + (difScale * pctHit), this._name);
}
elapsed = elapsed + 1;
anim._xscale = startScale + (difScale * pctMoved);
anim._x = startX + (difX * pctMoved);
anim._y = startY + (difY * pctMoved);
_parent.b_sh["shadow" + dNum]._y = baseY;
i = 0;
while (i < _parent.obstacles.length) {
dTrackY = eval (("_parent.tracker" + _parent[_parent.obstacles[i]].dNum) + ".zNormTrack._y");
if (_parent[_parent.obstacles[i]].avoid == "dodge") {
break;
}
if (((_parent[_parent.obstacles[i]].getDepth() > this.getDepth()) && (baseY > dTrackY)) && (dTrackY)) {
this.swapDepths(_parent[_parent.obstacles[i]].getDepth() + 1);
break;
}
i++;
}
anim._yscale = anim._xscale;
_parent.b_sh["shadow" + dNum]._x = anim._x + _parent.ctrPoint;
_parent.b_sh["shadow" + dNum]._xscale = anim._xscale;
_parent.b_sh["shadow" + dNum]._yscale = anim._xscale;
}
}
function setDroidTarg() {
_parent.b_sh["shadow" + dNum]._alpha = 100;
startX = anim._x;
startY = anim._y;
lastY = startSh;
startScale = anim._xscale;
zoneBounds = _parent.frozone.getBounds(this);
difX = (_parent.frozone._x - _parent.ctrPoint) - anim._x;
if (_parent.falling) {
difY = (_parent.frozone._y - (_parent.frozone._height / 2)) - anim._y;
} else if (_parent.jumping) {
difY = (zoneBounds.yMin - anim._y) + (_parent.frozone._height * (_parent.frozone.zone._y / highJump));
} else {
difY = zoneBounds.yMin - anim._y;
}
difSh = _parent.frozone._y - startSh;
difScale = _parent.frozonescale - startScale;
}
function stopMove() {
}
function resumeMove() {
}
if (!laneNum) {
laneNum = 0;
}
if (!delay) {
delay = 18;
}
if (!speedVar) {
speedVar = 1;
}
ready = false;
avoid = "dodge";
laneFactor = laneNum / 7;
anim._x = laneFactor * anim._x;
speedExp = 1.134 + (speedVar * 0.0036);
accel = 1.05 + (speedVar * 0.02);
speed = 0;
elapsed = 0;
startSh = 40.2;
highJump = -200;
stop();
Instance of Symbol 215 MovieClip "anim" in Symbol 216 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ready == true) {
_parent.setPosition();
} else {
_parent._parent.b_sh["shadow" + _parent.dNum]._alpha = (100 * _currentframe) / _totalframes;
}
}
onClipEvent (load) {
_parent._parent.b_sh["shadow" + _parent.dNum]._x = this._x + _parent._x;
_parent._parent.b_sh["shadow" + _parent.dNum]._y = _parent.startSh;
_parent._parent.b_sh["shadow" + _parent.dNum]._xscale = this._xscale;
_parent._parent.b_sh["shadow" + _parent.dNum]._yscale = this._xscale;
_parent._parent.b_sh["shadow" + _parent.dNum]._alpha = 1;
}
Symbol 216 MovieClip Frame 3
_parent.removeObs(this._name);
removeMovieClip("");
removeMovieClip(_parent.b_sh["shadow" + dNum]);
Symbol 216 MovieClip Frame 4
stop();
Symbol 307 MovieClip Frame 19
stop();
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 28 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._y > 300) || (_parent._name == "ice0")) {
removeMovieClip("_parent");
_parent._y = 400;
} else if ((_parent._parent._parent._parent._parent._parent.moving == true) && (_parent._name != "ice0")) {
distance = Math.pow(_parent._y / 25, 1.61245154965971);
_parent._x = _parent._x + (distance * _parent.velX);
_parent._y = _parent._y + distance;
_parent._parent.setScale(_parent._name);
}
}
Symbol 311 MovieClip Frame 1
function makeIce() {
if (_parent._parent._parent.laneNum > 0) {
setX = _parent._parent._parent._parent.frozone._x - 295;
} else {
setX = 295 - _parent._parent._parent._parent.frozone._x;
}
setY = _parent._parent._parent._parent.frozone._y + ((0.01 * _parent._parent._parent.skateAltitude) * _parent._parent._parent._parent.frozone._yscale);
duplicateMovieClip ("ice0", "ice" + iceDepth, iceDepth);
this["ice" + iceDepth]._x = setX;
this["ice" + iceDepth]._y = setY;
getVector(setX, setY, "ice" + iceDepth);
if (startFresh == true) {
distApprox = Math.pow(setY / 25, 1.61245154965971);
this["ice" + iceDepth].distX = (-distApprox) * this["ice" + iceDepth].velX;
this["ice" + iceDepth].distY = distApprox;
}
setScale("ice" + iceDepth);
iceDepth++;
}
function setScale(targ) {
Set(targ + "Scale", (this[targ]._y + 70) / 3.1);
this[targ]._xscale = eval (targ + "Scale");
this[targ]._yscale = eval (targ + "Scale");
}
function getVector(setX, setY, targ) {
var distX = (-setX);
var distY = (setY + 10);
var vector = Math.atan2(distY, distX);
this[targ].vector = vector;
tempVector = vector - (Math.PI/2);
if ((tempVector < 0) && (Math.abs(tempVector) > (Math.PI/4))) {
this[targ].velX = -Math.cos(Math.pow(vector, 3));
} else if ((tempVector > 0) && (Math.abs(tempVector) > (Math.PI/4))) {
this[targ].velX = -Math.cos(Math.PI - Math.pow(vector - Math.PI, 3));
} else {
this[targ].velX = -Math.cos(vector);
}
}
iceDepth = 1;
blockHeight = 30;
startFresh = true;
stop();
Instance of Symbol 310 MovieClip "ice0" in Symbol 311 MovieClip Frame 2
onClipEvent (load) {
if (_parent.iceDepth < 3) {
var localVector = Math.atan2(distY, distX);
angle = -Math.abs(_parent._parent._parent._parent._parent.frozoneDegrees);
_parent.startFresh = false;
} else {
var distX = (_parent["ice" + (_parent.iceDepth - 2)]._x - this._x);
var distY = (_parent["ice" + (_parent.iceDepth - 2)]._y - this._y);
var localVector = Math.atan2(distY, distX);
angle = (180 / (Math.PI / localVector)) - 90;
}
if (distY > 80) {
this._y = 240;
gotoAndStop (31);
} else if (angle <= (-_parent._parent._parent._parent._parent.limitPersp)) {
gotoAndStop(_totalframes);
} else if (angle >= _parent._parent._parent._parent._parent.limitPersp) {
gotoAndStop (1);
} else {
gotoAndStop(Math.floor((((angle - _parent._parent._parent._parent._parent.limitPersp) / (-2 * _parent._parent._parent._parent._parent.limitPersp)) * (_totalframes - 1)) + 1));
}
}
Symbol 332 MovieClip Frame 1
function checkAltitude() {
if ((skating && (_parent.skateSurface == this._name)) && (!yNormal.hitTest(shadow))) {
_parent.frozone.floorAlt = 0;
_parent.skateSurface = "floor";
skating = false;
_parent.frozone.gotoAndStop("fallSurface");
} else if ((((((!disable) && (_parent.skateSurface == "floor")) && (_parent.jumping)) && (_parent.frozone.vSpeed > 0)) && (skating == false)) && (yNormal.hitTest(shadow))) {
yShadow.iceClip.iceSheet.gotoAndStop("makeIce");
_parent.frozone.floorAlt = skateAltitude;
_parent.skateSurface = this._name;
}
}
function setPosition() {
hitZoneHt = this._height * 0.8;
}
function stopMove() {
yNormal.prevFrame();
yNormal.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
this.prevFrame();
this.stop();
}
function resumeMove() {
yNormal.play();
_parent[tracker].play();
play();
}
avoid = "skate";
obsHeight = 1.3;
obsWidth = 2.5;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
avoid = "skate";
laneFactor = Math.abs(laneNum / 7);
if (laneNum < 0) {
_xscale = -100;
}
skateAltitude = -75 * obsHeight;
skating = false;
disable = false;
Instance of Symbol 28 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Instance of Symbol 315 MovieClip "shadow" in Symbol 332 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_parent.laneNum > 0) {
_x = (_parent._parent.frozone._x - 295);
} else {
_x = (295 - _parent._parent.frozone._x);
}
if (_parent._parent.frozone.zone._y > _parent.skateAltitude) {
_visible = false;
} else {
_visible = true;
}
_y = (_parent._parent.frozone._y + ((0.01 * _parent.skateAltitude) * _parent._parent.frozone._yscale));
_xscale = _parent._parent.frozone._xscale;
_yscale = (_parent._parent.frozone._yscale * 0.8);
_parent.checkAltitude(this._x, this._y);
}
onClipEvent (load) {
heightRatio = 0.614;
heightOffset = 27.9;
}
Symbol 332 MovieClip Frame 87
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 332 MovieClip Frame 88
stop();
Symbol 335 MovieClip Frame 1
function setPosition() {
if ((zNormal._x - (zNormal._width / 2)) > _parent.ctrPoint) {
gotoAndStop (86);
} else {
pctMoved = (_parent[tracker].zNormTrack._y - _parent.initTrackY) / _parent.dTrackY;
zNormal._y = _parent[tracker].zNormTrack._y;
zNormal._x = laneFactor * ((pctMoved * _parent.dTrackX) + _parent.initTrackX);
zNormal._xscale = (pctMoved * _parent.dTrackXScale) + _parent.initTrackXScale;
zNormal._yscale = (pctMoved * _parent.dTrackYScale) + _parent.initTrackYScale;
zNormal.gotoAndStop(1 + Math.floor(zNormal._x / 10));
hitZoneHt = zNormal._height * 0.1;
}
}
function stopMove() {
this.prevFrame();
this.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
}
function resumeMove() {
play();
_parent[tracker].play();
}
avoid = "over";
obsHeight = 4;
obsWidth = 4;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
laneFactor = Math.abs(laneNum / 7);
if (laneNum < 0) {
_xscale = -100;
}
if (this._name != "billboard") {
_parent.makeObstacle("billboardsign", laneNum, false);
}
Instance of Symbol 28 MovieClip "tracker" in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 335 MovieClip Frame 86
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 335 MovieClip Frame 87
stop();
Symbol 338 MovieClip Frame 1
function setPosition() {
if ((zNormal._x - (zNormal._width / 2)) > _parent.ctrPoint) {
gotoAndStop (86);
} else {
pctMoved = (_parent[tracker].zNormTrack._y - _parent.initTrackY) / _parent.dTrackY;
zNormal._y = _parent[tracker].zNormTrack._y;
zNormal._x = laneFactor * ((pctMoved * _parent.dTrackX) + _parent.initTrackX);
zNormal._xscale = (pctMoved * _parent.dTrackXScale) + _parent.initTrackXScale;
zNormal._yscale = (pctMoved * _parent.dTrackYScale) + _parent.initTrackYScale;
zNormal.gotoAndStop(1 + Math.floor(zNormal._x / 10));
hitZoneHt = zNormal._height * 0.5;
}
}
function stopMove() {
this.prevFrame();
this.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
}
function resumeMove() {
play();
_parent[tracker].play();
}
avoid = "over";
obsHeight = 0.85;
obsWidth = 1;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
laneFactor = Math.abs(laneNum / 7);
if (laneNum < 0) {
_xscale = -100;
}
Instance of Symbol 28 MovieClip "tracker" in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 338 MovieClip Frame 86
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 338 MovieClip Frame 87
stop();
Symbol 343 MovieClip Frame 1
function setPosition() {
if ((zNormBack._x - (zNormBack._width / 2)) > _parent.ctrPoint) {
gotoAndStop (85);
} else {
zNormBack._x = zNormFront._x;
zNormBack._y = zNormFront._y;
zNormBack._xscale = zNormFront._xscale;
zNormBack._yscale = zNormFront._yscale;
pctMoved = (_parent[tracker].zNormTrack._y - _parent.initTrackY) / _parent.dTrackY;
zNormFront._y = _parent[tracker].zNormTrack._y;
zNormFront._x = laneFactor * ((pctMoved * _parent.dTrackX) + _parent.initTrackX);
zNormFront._xscale = (pctMoved * _parent.dTrackXScale) + _parent.initTrackXScale;
zNormFront._yscale = (pctMoved * _parent.dTrackYScale) + _parent.initTrackYScale;
zNormFront.gotoAndStop(1 + Math.floor(zNormFront._x / 10));
zNormBack.gotoAndStop(1 + Math.floor(zNormBack._x / 10));
zNormCtr.gotoAndStop(1 + Math.floor(zNormCtr._x / 10));
zNormCtr._x = zNormFront._x;
zNormCtr._y = zNormFront._y;
zNormCtr._xscale = zNormFront._xscale;
zNormCtr._yscale = zNormFront._yscale;
hitZoneHt = zNormFront._y - zNormBack._y;
}
}
function stopMove() {
this.prevFrame();
this.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
xNormal.prevFrame();
xNormal.stop();
yNormal.prevFrame();
yNormal.stop();
}
function resumeMove() {
play();
_parent[tracker].play();
xNormal.play();
yNormal.play();
}
avoid = "over";
obsHeight = 2.1;
obsWidth = 1;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
laneFactor = Math.abs(laneNum / 7);
if (laneNum < 0) {
_xscale = -100;
}
Instance of Symbol 28 MovieClip "tracker" in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 343 MovieClip Frame 85
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 343 MovieClip Frame 86
stop();
Symbol 346 MovieClip Frame 1
function setPosition() {
if (zNormal._x > (_parent.ctrPoint + 10)) {
gotoAndStop (85);
} else {
pctMoved = (_parent[tracker].zNormTrack._y - _parent.initTrackY) / _parent.dTrackY;
zNormal._y = _parent[tracker].zNormTrack._y;
zNormal._x = laneFactor * ((pctMoved * _parent.dTrackX) + _parent.initTrackX);
zNormal._xscale = (pctMoved * _parent.dTrackXScale) + _parent.initTrackXScale;
zNormal._yscale = (pctMoved * _parent.dTrackYScale) + _parent.initTrackYScale;
zNormal.gotoAndStop(1 + Math.floor(zNormal._x / 10));
hitZoneHt = zNormal._height * 0.125;
}
}
function stopMove() {
this.prevFrame();
_parent[tracker].prevFrame();
}
function resumeMove() {
play();
_parent[tracker].play();
}
obsHeight = 2.25;
obsWidth = 0;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
avoid = "over";
laneFactor = Math.abs(laneNum / 7);
if (laneNum < 0) {
_xscale = -100;
}
Instance of Symbol 28 MovieClip "tracker" in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 346 MovieClip Frame 85
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 346 MovieClip Frame 86
stop();
Symbol 488 MovieClip Frame 20
stop();
Symbol 519 MovieClip Frame 1
function checkAltitude() {
if ((skating && (_parent.skateSurface == this._name)) && (!yNormal.hitTest(shadow))) {
_parent.frozone.floorAlt = 0;
_parent.skateSurface = "floor";
skating = false;
_parent.frozone.gotoAndStop("fallSurface");
} else if ((((((!disable) && (_parent.skateSurface == "floor")) && (_parent.jumping)) && (_parent.frozone.vSpeed > 0)) && (skating == false)) && (yNormal.hitTest(shadow))) {
yShadow.iceClip.iceSheet.gotoAndStop("makeIce");
_parent.frozone.floorAlt = skateAltitude;
_parent.skateSurface = this._name;
}
}
function setPosition() {
hitZoneHt = this._height * 0.85;
}
function stopMove() {
yNormal.prevFrame();
yNormal.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
this.prevFrame();
this.stop();
}
function resumeMove() {
yNormal.play();
_parent[tracker].play();
play();
}
avoid = "skate";
obsHeight = 0.65;
obsWidth = 3.75;
disable = false;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
laneFactor = Math.abs(laneNum / 7);
if (laneNum < 0) {
_xscale = -100;
}
skateAltitude = -75 * obsHeight;
skating = false;
Instance of Symbol 28 MovieClip in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Instance of Symbol 315 MovieClip "shadow" in Symbol 519 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_parent.laneNum > 0) {
_x = (_parent._parent.frozone._x - 295);
} else {
_x = (295 - _parent._parent.frozone._x);
}
if (_parent._parent.frozone.zone._y > _parent.skateAltitude) {
_visible = false;
} else {
_visible = true;
}
_y = (_parent._parent.frozone._y + ((0.01 * _parent.skateAltitude) * _parent._parent.frozone._yscale));
_xscale = _parent._parent.frozone._xscale;
_yscale = (_parent._parent.frozone._yscale * 0.8);
_parent.checkAltitude(this._x, this._y);
}
onClipEvent (load) {
heightRatio = 0.614;
heightOffset = 27.9;
}
Symbol 519 MovieClip Frame 88
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 519 MovieClip Frame 89
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 1
function setPosition() {
if ((zNormal._x - (zNormal._width / 2)) > _parent.ctrPoint) {
gotoAndStop (85);
} else {
pctMoved = (_parent[tracker].zNormTrack._y - _parent.initTrackY) / _parent.dTrackY;
zNormFront._y = _parent[tracker].zNormTrack._y;
zNormFront._x = laneFactor * ((pctMoved * _parent.dTrackX) + _parent.initTrackX);
zNormFront._xscale = (pctMoved * _parent.dTrackXScale) + _parent.initTrackXScale;
zNormFront._yscale = (pctMoved * _parent.dTrackYScale) + _parent.initTrackYScale;
zNormFront.gotoAndStop(1 + Math.floor(zNormFront._x / 10));
if ((_currentframe > 70) && (Math.abs(laneNum) == 2)) {
lateFrame = 1 + Math.floor(_currentframe - 70);
zNormFront.left.gotoAndStop(lateFrame);
zNormFront.right.gotoAndStop(lateFrame);
zNormFront.back.gfc._y.gotoAndStop((-Math.pow(lateFrame / 3, 2)) - 30);
} else if ((_currentframe > 70) && (Math.abs(laneNum) > 2)) {
lateFrame = 1 + Math.floor((_currentframe - 70) / Math.abs(laneNum / 3));
zNormFront.left.gotoAndStop(lateFrame);
zNormFront.right.gotoAndStop(lateFrame);
zNormFront.back.gfc._y.gotoAndStop((-Math.pow(lateFrame / 3, 2)) - 30);
}
hitZoneHt = zNormFront._height * 0.125;
}
}
function stopMove() {
this.prevFrame();
this.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
xNormLeft.prevFrame();
xNormLeft.stop();
}
function resumeMove() {
play();
_parent[tracker].play();
xNormLeft.play();
}
obsHeight = 6;
obsWidth = 1.8;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
avoid = "over";
backStrutsOffset = 0.378;
backStrutsOffset = 0.18;
laneFactor = Math.abs(laneNum / 7);
if (Math.abs(laneNum) < 1) {
xNormLeft.stop();
xNormLeft._visible = false;
xNormRight.stop();
xNormRight._visible = false;
} else if (Math.abs(laneNum) < 2) {
xNormLeft.stop();
xNormLeft._visible = false;
}
if (laneNum < 0) {
_xscale = -100;
}
Instance of Symbol 28 MovieClip "tracker" in Symbol 531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 531 MovieClip Frame 85
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 531 MovieClip Frame 86
stop();
Symbol 542 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 1
function setPosition() {
pctMoved = (_parent[tracker].zNormTrack._y - _parent.initTrackY) / _parent.dTrackY;
zNormal._y = _parent[tracker].zNormTrack._y;
zNormal._x = laneFactor * ((pctMoved * _parent.dTrackX) + _parent.initTrackX);
zNormal._xscale = (pctMoved * _parent.dTrackXScale) + _parent.initTrackXScale;
zNormal._yscale = (pctMoved * _parent.dTrackYScale) + _parent.initTrackYScale;
zNormal.gotoAndStop(1 + Math.floor(zNormal._x / 10));
if ((fullBoard == false) && (_currentframe >= 34)) {
if (laneNum < 0) {
zNormal.gfc.gotoAndStop("bboardRev");
} else {
zNormal.gfc.gotoAndStop("bboard");
}
fullBoard = true;
}
hitZoneHt = 0.1 * zNormal._height;
}
function stopMove() {
this.prevFrame();
this.stop();
_parent[tracker].prevFrame();
_parent[tracker].stop();
}
function resumeMove() {
play();
_parent[tracker].play();
}
avoid = "under";
obsHeight = -6;
obsWidth = 4;
safeAngle = ((obsWidth - 7.5) * Math.abs(laneNum)) - (12.5 + (obsWidth * 6.2));
laneFactor = Math.abs(laneNum / 7);
fullBoard = false;
if (laneNum < 0) {
_xscale = -100;
}
zNormal.gfc.gotoAndStop("bboardSh");
Instance of Symbol 28 MovieClip "tracker" in Symbol 544 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.moving == true) {
_parent.setPosition();
}
}
Symbol 544 MovieClip Frame 86
_parent.removeObs(this._name);
removeMovieClip("");
Symbol 544 MovieClip Frame 87
stop();
Symbol 546 MovieClip Frame 1
function resizeGap() {
nextBldgLead = _parent["bldg" + (gapNum + 1)].leadEdge._y;
if (nextBldgLead > _parent.limitBtm) {
_parent.bldgGaps.shift();
removeMovieClip("");
} else if (this._name == _parent.bldgGaps[0]) {
_parent._parent.game.rooftopMask.btm._y = this._y;
_parent._parent.game.rooftopMask.top._y = nextBldgLead;
}
}
stop();
Symbol 546 MovieClip Frame 2
stop();
Instance of Symbol 28 MovieClip "gapMaker" in Symbol 546 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.resizeGap();
}
Symbol 546 MovieClip Frame 3
removeMovieClip("");
stop();
Instance of Symbol 568 MovieClip "anim" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_parent._parent._parent._parent.bg._currentframe % this._totalframes);
}
Symbol 569 MovieClip Frame 82
removeMovieClip("");
Symbol 569 MovieClip Frame 83
stop();
Symbol 570 MovieClip Frame 1
shadow.gotoAndStop(shadow._totalframes);
bridgeshadow.gotoAndStop(bridgeshadow._totalframes);
Instance of Symbol 315 MovieClip "droidShadow" in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.frozone._x;
this._y = _parent.frozone._y;
this._xscale = _parent.frozone._xscale;
this._yscale = _parent.frozone._yscale;
}
Symbol 570 MovieClip Frame 2
stop();
Symbol 575 MovieClip Frame 19
removeMovieClip("");
Symbol 575 MovieClip Frame 20
stop();
Symbol 576 MovieClip Frame 1
_parent._parent.safe = false;
_parent.zone._visible = true;
stop();
Instance of Symbol 28 MovieClip in Symbol 576 MovieClip Frame 2
onClipEvent (enterFrame) {
if (elapsed == blinkTime) {
if (_parent._parent.zone._visible == true) {
_parent._parent.zone._visible = false;
} else {
_parent._parent.zone._visible = true;
}
if ((currBlink == totalBlinks) && (blinkTime > 1)) {
currBlink = 0;
blinkTime--;
} else {
currBlink++;
}
elapsed = 0;
} else {
elapsed++;
}
}
onClipEvent (load) {
_parent._parent.zone._visible = false;
elapsed = 0;
currBlink = 0;
blinkTime = 3;
totalBlinks = 3;
}
onClipEvent (unload) {
_parent._parent.zone._visible = true;
}
Symbol 579 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 21
gotoAndPlay (1);
Symbol 592 MovieClip Frame 19
stop();
Instance of Symbol 28 MovieClip "fallControl" in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fallTargY > _parent._parent._y) {
distY = _parent._parent.fallTargY - _parent._parent._y;
} else {
distY = 0;
}
distX = _parent._parent.fallDistX;
fallTime = 10;
}
onClipEvent (enterFrame) {
if (_parent._currentframe <= fallTime) {
_parent._parent._x = _parent._parent._x + (distX / fallTime);
_parent._parent._y = _parent._parent._y + (distY / fallTime);
} else if ((_parent._currentframe == _parent._totalframes) && (_parent.hitFloor == true)) {
_parent._parent.gotoAndPlay("standUp");
}
}
Symbol 597 MovieClip Frame 23
stop();
Symbol 602 MovieClip Frame 7
stop();
Symbol 603 MovieClip Frame 1
_parent.zoneMask._y = 300;
_parent.zoneMask._height = 300;
vSpeed = 0;
floorAlt = 0;
_parent.iceClip.iceSheet.startFresh = true;
_parent.zonehit._visible = true;
closing = false;
stop();
function fall() {
zone._y = zone._y + vSpeed;
zoneAlt = zone._y;
vSpeed = vSpeed + gravity;
}
function fall2() {
zoneGap._y = zoneGap._y + vSpeed;
trace("fall () zone._y = " + zone._y);
zoneAlt = zoneGap._y;
vSpeed = vSpeed + gravity;
}
function moveZone(xDir, yDir) {
if ((xDir != 0) && (yDir != 0)) {
_parent.zoneVert(yDir * _parent.rateVertD);
_parent.zoneHor(xDir * _parent.rateHorD);
} else if ((xDir != 0) && (yDir == 0)) {
_parent.zoneHor(xDir * _parent.rateHor);
} else if ((xDir == 0) && (yDir != 0)) {
_parent.zoneVert(yDir * _parent.rateVert);
}
_parent.setPos();
_parent.setScale("frozone");
}
function detectKeys() {
if (closing == true) {
} else if (_parent.playing == true) {
_parent.getAngle("frozone");
xMove = 0;
yMove = 0;
if (_parent.playing == true) {
if (Key.isDown(40)) {
yMove++;
keypressDn = true;
} else {
keypressDn = false;
}
if (Key.isDown(38)) {
yMove--;
keypressUp = true;
} else {
keypressUp = false;
}
if (Key.isDown(39)) {
xMove++;
keypressRt = true;
} else {
keypressRt = false;
}
if (Key.isDown(37)) {
xMove--;
keypressLt = true;
} else {
keypressLt = false;
}
if (Key.isDown(32) && (_parent.jumping == false)) {
_parent.jumping = true;
xDir = xMove;
yDir = yMove;
_parent.iceClip.iceSheet.startFresh = true;
gotoAndPlay (9);
}
moveZone(xMove, yMove);
}
} else if (this._y < 0) {
_parent._parent.gotoAndPlay("endRound2");
_parent.gotoAndStop("endGame");
} else {
moveZone(0, -1);
}
}
Instance of Symbol 579 MovieClip "zone" in Symbol 603 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._y + _parent.vSpeed) >= _parent.floorAlt) {
this._y = _parent.floorAlt;
_parent._parent.jumping = false;
_parent.firstLand = false;
_parent.gotoAndPlay("skate");
} else {
_parent.fall();
if (_parent.firstLand == false) {
_parent.detectKeys();
}
}
}
onClipEvent (load) {
_parent._parent.jumping = true;
_parent.zoneAlt = _y;
}
Symbol 603 MovieClip Frame 3
_parent.falling = false;
_parent.jumping = false;
vSpeed = 0;
stop();
Instance of Symbol 590 MovieClip "zone" in Symbol 603 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent.detectKeys();
_parent.zoneAlt = this._y;
}
onClipEvent (load) {
this._y = _parent.floorAlt;
if (_parent.facing == "right") {
gotoAndPlay((_totalframes + 1) / 2);
}
}
Symbol 603 MovieClip Frame 5
bldgBounds = _parent._parent.bg["bldg" + _parent._parent.bg.bldgGaps[0].subStr(3)].trailBound.getBounds(_parent._parent.bg);
_parent.zoneMask._y = bldgBounds.yMin;
_parent._parent.playSound("zone_whoah");
Instance of Symbol 579 MovieClip "zone" in Symbol 603 MovieClip Frame 5
onClipEvent (enterFrame) {
if (((this._y + _parent.vSpeed) >= _parent.floorAlt) && (_parent.floorAlt > 300)) {
_parent._parent.safe = true;
_parent._parent.resumeMove();
_parent.damageControl.gotoAndPlay("blink");
_parent.gotoAndStop("fallStart");
} else if ((this._y + _parent.vSpeed) >= _parent.floorAlt) {
this._y = _parent.floorAlt;
_parent._parent[_parent._parent.skateSurface].skating = true;
_parent.gotoAndStop("skate");
} else {
_parent.fall();
}
}
Symbol 603 MovieClip Frame 9
vSpeed = jumpSpeed;
Instance of Symbol 592 MovieClip "zone" in Symbol 603 MovieClip Frame 9
onClipEvent (load) {
this._y = _parent.zoneAlt;
_parent._parent.jumping = true;
}
onClipEvent (enterFrame) {
if ((this._y + _parent.vSpeed) >= _parent.floorAlt) {
_parent._parent.jumping = false;
_parent._parent.checkGaps();
if (!_parent._parent.falling) {
_parent.zoneAlt = _parent.floorAlt;
_parent._parent[_parent._parent.skateSurface].skating = true;
_parent.gotoAndPlay("skate");
}
} else {
_parent.fall();
}
_parent.detectKeys();
}
Symbol 603 MovieClip Frame 47
stop();
Symbol 603 MovieClip Frame 48
_parent.safe = true;
Instance of Symbol 597 MovieClip "zone" in Symbol 603 MovieClip Frame 48
onClipEvent (load) {
_y = _parent.zoneAlt;
if (_parent.facing == "right") {
this._xscale = -100;
}
if (_parent._parent.jumping == true) {
_parent.vSpeed = 0;
_parent._parent.jumping = false;
hitFloor = false;
} else {
hitFloor = true;
}
}
onClipEvent (enterFrame) {
if (((this._y + _parent.vSpeed) >= _parent.floorAlt) && (hitFloor == false)) {
_parent._parent.checkGaps();
this._y = _parent.floorAlt;
_parent.zoneAlt = _parent.floorAlt;
hitFloor = true;
} else if (hitFloor == false) {
_parent.fall();
}
}
Symbol 603 MovieClip Frame 52
stop();
Instance of Symbol 602 MovieClip "zone" in Symbol 603 MovieClip Frame 71
onClipEvent (load) {
_y = _parent.zoneAlt;
if (_parent.facing == "right") {
this._xscale = -100;
}
}
Symbol 603 MovieClip Frame 78
_parent.resumeMove();
damageControl.gotoAndPlay("blink");
gotoAndPlay (3);
Symbol 604 MovieClip Frame 1
if ((this._name == "ice0") || (this._name == "ice1")) {
gotoAndStop (31);
}
Instance of Symbol 28 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._y > 300) {
removeMovieClip("_parent");
_parent._y = 400;
} else if (_parent._parent._parent._parent.moving == true) {
distance = Math.pow(_parent._y / 25, 1.61245154965971);
_parent._x = _parent._x - (distance * _parent.velX);
_parent._y = _parent._y + distance;
_parent._parent.setScale(_parent._name);
}
}
Symbol 605 MovieClip Frame 1
function makeIce(setX, setY) {
duplicateMovieClip ("ice0", "ice" + iceDepth, iceDepth);
this["ice" + iceDepth]._x = setX;
this["ice" + iceDepth]._y = setY;
setScale("ice" + iceDepth);
getVector(setX, setY, "ice" + iceDepth);
iceDepth++;
}
function setScale(targ) {
Set(targ + "Scale", ((eval (targ + "._y") - _parent._parent.scalingpt._y) / _parent._parent.initScaleDist) * 100);
this[targ]._xscale = eval (targ + "Scale");
this[targ]._yscale = eval (targ + "Scale");
}
function getVector(setX, setY, targ) {
var distX = (setX - _parent._parent.vanishpt._x);
var distY = (setY - _parent._parent.vanishpt._y);
var vector = Math.atan2(distY, distX);
this[targ].vector = vector;
tempVector = vector - (Math.PI/2);
if ((tempVector < 0) && (Math.abs(tempVector) > (Math.PI/4))) {
this[targ].velX = -Math.cos(Math.pow(vector, 3));
} else if ((tempVector > 0) && (Math.abs(tempVector) > (Math.PI/4))) {
this[targ].velX = -Math.cos(Math.PI - Math.pow(vector - Math.PI, 3));
} else {
this[targ].velX = -Math.cos(vector);
}
}
function angleIce() {
ice._x = zoneX;
ice._y = zoneY;
ice._xscale = frozoneScale;
ice._yscale = frozoneScale;
}
iceDepth = 1;
blockHeight = 30;
startFresh = true;
Instance of Symbol 604 MovieClip "ice0" in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
if (_parent.startFresh == true) {
angle = (180 / (Math.PI / vector)) - 90;
_parent.startFresh = false;
} else {
var distX = (_parent["ice" + (_parent.iceDepth - 2)]._x - this._x);
var distY = (_parent["ice" + (_parent.iceDepth - 2)]._y - this._y);
var localVector = Math.atan2(distY, distX);
angle = (180 / (Math.PI / localVector)) - 90;
}
if (distY > 80) {
this._y = 240;
gotoAndStop (31);
} else if (angle <= (-_parent._parent._parent.limitPersp)) {
gotoAndStop(_totalframes);
} else if (angle >= _parent._parent._parent.limitPersp) {
gotoAndStop (1);
} else {
gotoAndStop(Math.floor((((angle - _parent._parent._parent.limitPersp) / (-2 * _parent._parent._parent.limitPersp)) * (_totalframes - 1)) + 1));
}
}
Symbol 605 MovieClip Frame 2
stop();
Symbol 608 MovieClip Frame 1
function makeObstacle(whichObstacle, where) {
if (moving == true) {
duplicateMovieClip (whichObstacle, "obstacle" + totalObs, initDepth - (totalObs * 2));
duplicateMovieClip ("trackerSourceAll", "tracker" + totalObs, (initDepth * 2) - (totalObs * 2));
duplicateMovieClip ("depthMarker", "depth" + Number((initDepth - (totalObs * 2)) + 1), (initDepth - (totalObs * 2)) + 1);
this["obstacle" + totalObs].dNum = totalObs;
this["obstacle" + totalObs].tracker = "tracker" + totalObs;
Set(("obstacle" + totalObs) + "objects", ["obstacle" + totalObs, "tracker" + totalObs, "depth" + Number((initDepth - (totalObs * 2)) + 1)]);
if (where) {
this["tracker" + totalObs].trackee = "obstacle" + totalObs;
this["obstacle" + totalObs].laneNum = where;
_parent.bg.lastObsLane = where;
}
obstacles.push("obstacle" + totalObs);
if (totalObs < (initDepth - 2)) {
totalObs++;
} else {
totalObs = 1;
}
}
obsTrace = obstacles;
}
function removeObs(obsName) {
if (obsName == skateSurface) {
frozone.floorAlt = 0;
skateSurface = "floor";
frozone.gotoAndStop("fallSurface");
}
for (i in obstacles) {
if (obsName == obstacles[i]) {
for (j in eval (obsName + "objects")) {
removeMovieClip(eval (obsName + "objects")[j]);
}
obstacles.splice(i, 1);
} else if (!obstacles[i]) {
}
}
}
function makeDroid(whichLane, speed, delay) {
if (moving == true) {
duplicateMovieClip ("omniDroid", "droid" + totalObs, (initDepth - (totalObs * 2)) + bonusReset);
duplicateMovieClip ("b_sh.droidShadow", "shadow" + totalObs, initDepth - (totalObs * 2));
duplicateMovieClip ("depthMarker", "depth" + Number((initDepth - (totalObs * 2)) + 1), (initDepth - (totalObs * 2)) + 1);
this["droid" + totalObs].tracker = "tracker" + totalObs;
this["droid" + totalObs].dNum = totalObs;
this["droid" + totalObs].delay = delay;
this["droid" + totalObs].laneNum = whichLane;
this["droid" + totalObs].speedVar = speed;
Set(("droid" + totalObs) + "objects", ["droid" + totalObs, "b_sh.shadow" + totalObs, "depth" + Number((initDepth - (totalObs * 2)) + 1)]);
obstacles.push("droid" + totalObs);
if (totalObs < (initDepth - 2)) {
totalObs++;
} else {
totalObs = 1;
}
}
}
function removeBonus(bonusName) {
for (i in bonuses) {
if (bonusName == bonuses[i]) {
for (j in eval (bonusName + "objects")) {
removeMovieClip(eval (bonusName + "objects")[j]);
}
bonuses.splice(i, 1);
}
}
}
function makeBonus(whichBonus, where, altitude) {
if (moving == true) {
duplicateMovieClip ("bonus_" + whichBonus, "bonus" + totalObs, (initDepth - (totalObs * 2)) + bonusReset);
duplicateMovieClip ("b_sh.shadow", "shadow" + totalObs, initDepth - (totalObs * 2));
duplicateMovieClip ("trackerSourceAll", "tracker" + totalObs, (initDepth * 2) - (totalObs * 2));
duplicateMovieClip ("depthMarker", "depth" + Number((initDepth - (totalObs * 2)) + 1), (initDepth - (totalObs * 2)) + 1);
this["bonus" + totalObs].tracker = "tracker" + totalObs;
this["bonus" + totalObs].dNum = totalObs;
this["bonus" + totalObs].laneNum = where;
Set(("bonus" + totalObs) + "objects", ["bonus" + totalObs, "b_sh.shadow" + totalObs, "tracker" + totalObs, "depth" + Number((initDepth - (totalObs * 2)) + 1)]);
if ((!altitude) && (_parent.level == 1)) {
this["bonus" + totalObs].alt = 2;
} else if ((!altitude) && (_parent.level == 2)) {
this["bonus" + totalObs].alt = 1;
} else {
this["bonus" + totalObs].alt = altitude;
}
bonuses.push("bonus" + totalObs);
if (totalObs < (initDepth - 2)) {
totalObs++;
} else {
totalObs = 1;
}
}
}
function collide(hitObj) {
if (moving == true) {
duplicateMovieClip ("floater", "floater" + hitObj, (2 * initDepth) + totalObs);
if (this[hitObj].avoid == "dodge") {
_parent.addScore(-2000);
this["floater" + hitObj].pointValue = -2000;
} else {
_parent.addScore(-1000);
this["floater" + hitObj].pointValue = -1000;
}
this["floater" + hitObj]._x = frozone._x;
zoneBounds = frozone.getBounds(this);
this["floater" + hitObj]._y = zoneBounds.yMin;
_parent.playSound(hitSounds[hitSoundNum]);
if (hitSoundNum == (hitSounds.length - 1)) {
hitSoundNum = 0;
} else {
hitSoundNum++;
}
}
stopAnimation();
hitBounds = this[hitObj].getBounds(this[hitObj]);
if ((zoneX < ctrPoint) && (frozoneDegrees > bufferAngle)) {
frozone.fallDistX = hitWidth * frozoneScale;
frozone.facing = "left";
} else if ((zoneX > ctrPoint) && (frozoneDegrees < (-bufferAngle))) {
frozone.fallDistX = (-hitWidth) * frozoneScale;
frozone.facing = "right";
} else if (zoneX < ctrPoint) {
frozone.fallDistX = (-hitWidth) * frozoneScale;
frozone.facing = "right";
} else {
frozone.fallDistX = hitWidth * frozoneScale;
frozone.facing = "left";
}
if ((this[hitObj].avoid == "skate") && (this[hitObj]._name == skateSurface)) {
trace((((("THIS SHOULDN'T HAPPEN (should it?): " + obstacles[i]) + ": skateAlt=") + this[hit].skateAltitude) + ", zoneAlt=") + frozone.zone._y);
frozone.fallTargY = hitBounds.yMax + (smackDistance * frozoneScale);
this[hitObj].disable = true;
skateSurface = "floor";
} else if (this[hitObj].avoid != "over") {
frozone.fallTargY = frozone._y;
} else {
frozone.fallTargY = hitBounds.yMax + (smackDistance * frozoneScale);
}
frozone.gotoAndPlay("smack");
}
function setPos() {
hit = false;
checkGaps();
checkObstacles();
checkBonuses();
if ((hit != false) && (!safe)) {
if ((this[hit].avoid == "over") && (frozone.zone._y > ((-obsHtConstant) * this[hit].obsHeight))) {
collide(hit);
} else if (((this[hit].avoid == "under") && (frozone.zone._y < this[hit].obsHeight)) && (frozone._y > (this[hit].zNormal._y - (this[hit].zNormal._yscale * 0.2)))) {
collide(hit);
} else if (((this[hit].avoid == "skate") && (this[hit]._name != skateSurface)) && (frozone.zone._y > ((-obsHtConstant) * this[hit].obsHeight))) {
collide(hit);
} else {
frozone._x = zoneX;
frozone._y = zoneY;
}
} else {
frozone._x = zoneX;
frozone._y = zoneY;
}
if ((!jumping) && (skateSurface == "floor")) {
iceClip.iceSheet.makeIce(zoneX, zoneY);
} else if (!jumping) {
this[skateSurface].yShadow.iceClip.iceSheet.makeIce();
}
}
obsHtConstant = 50;
function checkDroid(droidX, droidY, droidScale, droidName) {
droidHitMarker._x = droidX;
droidHitMarker._y = droidY;
droidHitMarker._xscale = droidScale;
droidHitMarker._yscale = droidScale;
if (droidHitMarker.hitTest(frozone) && (!safe)) {
if (((frozone._y < rooftopMask.btm._y) && (frozone._y > rooftopMask.top._y)) && (_parent.checkForGaps)) {
falling = true;
zonehit._visible = false;
frozone.floorAlt = 1000;
frozone.gotoAndStop("fallGap");
stopAnimation();
} else {
collide(droidName);
}
}
}
function checkGaps() {
if ((((((!safe) && (frozone._y < rooftopMask.btm._y)) && (frozone._y > rooftopMask.top._y)) && (!jumping)) && (!falling)) && (_parent.checkForGaps)) {
var floatNum = (initDepth + totalObs);
duplicateMovieClip ("floater", "floater" + floatNum, (2 * initDepth) + totalObs);
_parent.addScore(-3000);
this["floater" + floatNum].pointValue = -3000;
this["floater" + floatNum]._x = frozone._x;
zoneBounds = frozone.getBounds(this);
this["floater" + floatNum]._y = zoneBounds.yMin;
trace("fall down gap: zoneAlt=" + frozone.zone._y);
falling = true;
zonehit._visible = false;
frozone.floorAlt = 1000;
frozone.gotoAndStop("fallGap");
stopAnimation();
}
}
function swapObsDepth(theObs) {
if (frozone.getDepth() > this[obstacles[theObs]].getDepth()) {
this[obstacles[theObs]].swapDepths(this["tracker" + obstacles[theObs].substr(8)]);
}
}
function checkObstacles() {
hitPtY = (zoneY - (hitWidth * frozoneScale)) + stageOffsetY;
hitPtLt = (zoneX - ((0.5 * hitWidth) * frozoneScale)) + stageOffsetX;
hitPtRt = (zoneX + ((0.5 * hitWidth) * frozoneScale)) + stageOffsetX;
for (i in obstacles) {
if (this[obstacles[i]]._currentframe > (this[obstacles[i]]._totalframes * 0.8)) {
obsBounds = this[obstacles[i]].getBounds(this[obstacles[i]]);
if ((zoneY < (obsBounds.yMax - this[obstacles[i]].hitZoneHt)) && (frozone.getDepth() > this[obstacles[i]].getDepth())) {
if (skateSurface != this[obstacles[i]]._name) {
swapObsDepth(i);
}
} else if (((this[obstacles[i]].avoid == "under") && ((obsBounds.yMax - zoneY) > 0)) && (this[obstacles[i]].hitTest(zoneX + stageOffsetX, ((zoneY - frozone._height) + stageOffsetY) + ((frozone.zone._y * frozoneScale) * 0.01), true))) {
hit = obstacles[i];
} else if ((this[obstacles[i]].hitTest(hitPtLt, hitPtY, true) || (this[obstacles[i]].hitTest(hitPtRt, hitPtY, true))) || (this[obstacles[i]].hitTest(zoneX + stageOffsetX, hitPtY, true))) {
if ((zoneY < obsBounds.yMax) && (Math.abs(frozoneDegrees) > Math.abs(this[obstacles[i]].safeAngle))) {
swapObsDepth(i);
} else if (((obsBounds.yMax > limitTop) && (zoneY >= (obsBounds.yMax - this[obstacles[i]].hitZoneHt))) && (this[obstacles[i]].hitTest(frozone))) {
hit = obstacles[i];
}
}
}
}
}
function checkBonuses() {
for (j in bonuses) {
if (this[bonuses[j]]._currentframe > 72) {
if ((this[bonuses[j]].hitTest(frozone) && (this[bonuses[j]].caught == false)) && (safe == false)) {
if (b_sh["shadow" + this[bonuses[j]].dNum].hitTest(zonehit) || (b_sh["shadow" + this[bonuses[j]].dNum]._y > zoneY)) {
bonusBounds = this[bonuses[j]].getBounds(this);
_parent.playSound(eval (bonuses[j] + ".catchSound"), 0, 0);
_parent.addScore(eval (bonuses[j] + ".pointValue"));
duplicateMovieClip ("floater", "floater" + eval ([bonuses[j]] + ".dNum"), initDepth + Number(eval ([bonuses[j]] + ".dNum")));
this["floater" + this[bonuses[j]].dNum]._x = (bonusBounds.xMax + bonusBounds.xMin) / 2;
this["floater" + this[bonuses[j]].dNum]._y = (bonusBounds.yMax + bonusBounds.yMin) / 2;
this["floater" + this[bonuses[j]].dNum].pointValue = this[bonuses[j]].pointValue;
this[bonuses[j]].caught = true;
this[bonuses[j]].spark.play();
this[bonuses[j]].spark.bounceScale = frozoneScale;
removeMovieClip(b_sh["shadow" + this[bonuses[j]].dNum]);
this[bonuses[j]].swapDepths(this[bonuses[j]].tracker);
}
}
}
}
}
function resumeMove() {
moving = true;
if (median.zooming == true) {
median.play();
}
for (i in obstacles) {
this[obstacles[i]].resumeMove();
}
for (j in bonuses) {
this[bonuses[j]].resumeMove();
}
_parent._parent.setQuality("LOW");
_parent.bg.resumeBG();
}
function stopAnimation() {
if (moving == true) {
moving = false;
}
if (median.zooming == true) {
median.stop();
}
for (i in obstacles) {
this[obstacles[i]].stopMove();
}
for (j in bonuses) {
this[bonuses[j]].stopMove();
}
_parent._parent.setQuality("MEDIUM");
_parent.bg.stopBG();
}
function zoneHor(dir) {
if (((dir < 0) && ((-frozoneDegrees) > (-limitPersp))) || ((dir > 0) && (frozoneDegrees > (-limitPersp)))) {
if ((frozone._x + ((dir * frozoneScale) / 100)) > (limitRt - ((2 * hitWidth) * frozoneScale))) {
zoneX = limitRt - ((2 * hitWidth) * frozoneScale);
} else if ((frozone._x + ((dir * frozoneScale) / 100)) < (limitLt + ((2 * hitWidth) * frozoneScale))) {
zoneX = limitLt + ((2 * hitWidth) * frozoneScale);
} else {
zoneX = frozone._x + ((dir * frozoneScale) / 100);
}
}
}
function zoneVert(dir) {
if ((dir < 0) && (frozone._y == limitTop)) {
} else if ((dir > 0) && (frozone._y == limitBtm)) {
} else if ((frozone._x - (dir * frozoneVelX)) > (limitRt - ((2 * hitWidth) * frozoneScale))) {
zoneX = limitRt - ((2 * hitWidth) * frozoneScale);
} else if ((frozone._x - (dir * frozoneVelX)) < (limitLt + ((2 * hitWidth) * frozoneScale))) {
zoneX = limitLt + ((2 * hitWidth) * frozoneScale);
} else {
zoneX = frozone._x - (dir * frozoneVelX);
}
if ((frozone._y + dir) > limitBtm) {
zoneY = limitBtm;
} else if ((frozone._y + dir) < limitTop) {
zoneY = limitTop;
} else {
zoneY = frozone._y + dir;
}
}
function setScale(targ) {
Set(targ + "Scale", ((eval (targ + "._y") - scalingpt._y) / initScaleDist) * 100);
this[targ]._xscale = eval (targ + "Scale");
this[targ]._yscale = eval (targ + "Scale");
}
function getAngle(targ) {
Set(targ + "DistX", this[targ]._x - vanishpt._x);
Set(targ + "DistY", this[targ]._y - vanishpt._y);
Set(targ + "Vector", Math.atan2(eval (targ + "DistY"), eval (targ + "DistX")));
Set(targ + "VelX", -Math.cos(eval (targ + "Vector")));
Set(targ + "VelY", -Math.sin(eval (targ + "Vector")));
Set(targ + "Degrees", (180 / (Math.PI / eval (targ + "Vector"))) - 90);
}
_parent._parent.checkForGaps = false;
frame2Warning = false;
skateSurface = "floor";
skateCount = 0;
bonusReset = 0;
stageOffsetX = _parent._x;
stageOffsetY = _parent._y;
playing = true;
safe = false;
jumping = false;
penaltyScore = -1000;
limitLt = 10;
limitRt = 580;
limitBtm = 290;
limitTop = 150;
ctrPoint = 295;
hitWidth = 0.15;
smackDistance = 0.1;
limitPersp = 50;
bufferAngle = 46;
rateVert = 6;
rateHor = 12;
rateVertD = Math.sqrt((rateVert * rateVert) * 0.5);
rateHorD = Math.sqrt((rateHor * rateHor) * 0.5);
maxHealth = 6;
frozoneScale = 100;
moving = true;
obsSource = [omniDroid, bridge, bridgespan, vent, tower, block2, block1, pipe, billboard, billboardsign, antenna];
i = 1;
while (i <= 9) {
obsSource.push(this["car" + i]);
obsSource.push(this[("car" + i) + "_fast"]);
i++;
}
i = 1;
while (i <= 7) {
obsSource.push(this["obs_barrier" + i]);
i++;
}
i = 1;
while (i <= 6) {
obsSource.push(this["truck" + i]);
obsSource.push(this[("truck" + i) + "_fast"]);
i++;
}
totalObs = 1;
initDepth = 2000;
duplicateMovieClip ("depthMarker", "depth0", initDepth);
for (i in obsSource) {
obsSource[i].gotoAndStop(obsSource[i]._totalframes);
obsSource[i]._visible = false;
}
obstacles = new Array();
bonusSource = [bonus_logo, bonus_snow];
for (i in obsSource) {
bonusSource[i].gotoAndStop(bonusSource[i]._totalframes);
bonusSource[i]._visible = false;
}
bonuses = new Array();
trackerSource.gotoAndStop(trackerSource._totalframes);
trackerSource._visible = false;
hitSounds = ["zone_oof", "zone_aintright", "zone_whoah"];
hitSoundNum = 0;
initTrackY = 0.3;
initTrackX = 29.8;
initTrackYScale = 12.5;
initTrackXScale = 13;
dTrackY = 199.5;
dTrackX = 213.8;
dTrackYScale = 87.5;
dTrackXScale = 87;
floater.gotoAndStop(floater._totalframes);
Instance of Symbol 315 MovieClip "zonehit" in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.frozone._x;
this._y = _parent.frozone._y;
this._xscale = _parent.frozone._xscale;
this._yscale = _parent.frozone._yscale;
}
Instance of Symbol 603 MovieClip "frozone" in Symbol 608 MovieClip Frame 1
onClipEvent (load) {
firstLand = true;
initY = this._y;
facing = "left";
elapsed = 0;
_parent.zoneY = this._y;
_parent.zoneX = this._x;
_parent.initScaleDist = this._y - _parent.scalingpt._y;
_parent.getAngle("frozone");
skateStartAt = 1;
bounceSpeed = 3;
floorAlt = 0;
vSpeed = 0;
jumpSpeed = -16;
gravity = 1.5;
}
Instance of Symbol 546 MovieClip "zoneMask" in Symbol 608 MovieClip Frame 1
onClipEvent (load) {
_parent.frozone.setMask(this);
}
Symbol 608 MovieClip Frame 2
frozone.swapDepths(depth0);
currRound = 1;
startRound(300);
stop();
Symbol 608 MovieClip Frame 3
stop();
Symbol 616 MovieClip Frame 2
stop();
Instance of Symbol 614 MovieClip "tracker" in Symbol 616 MovieClip Frame 2
onClipEvent (load) {
gameLength = _parent._parent.bg._totalframes;
}
onClipEvent (enterFrame) {
if (_parent._parent.bg._currentframe == _parent._parent.bg._totalframes) {
_parent.gotoAndStop("done");
} else {
this._xscale = (_parent._parent.bg._currentframe / gameLength) * 100;
}
}
Symbol 616 MovieClip Frame 3
stop();
Symbol 618 MovieClip Frame 1
function placeBldg() {
rooftopMask._y = leadEdge._y;
rooftopMask._height = leadEdge._y - trailEdge._y;
bldgFront._y = leadEdge._y;
bldgFront._xscale = leadEdge._xscale;
if (bldgFront._xscale < 100) {
bldgFront._height = 300 - leadEdge._y;
} else {
bldgFront._yscale = leadEdge._xscale;
}
}
Instance of Symbol 131 MovieClip "rooftopMask" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
_y = _parent.leadEdge._y;
_height = (_parent.leadEdge._y - _parent.trailEdge._y);
}
Symbol 618 MovieClip Frame 27
placeBldg();
Symbol 618 MovieClip Frame 58
placeBldg();
Symbol 618 MovieClip Frame 89
placeBldg();
Symbol 618 MovieClip Frame 120
placeBldg();
Symbol 618 MovieClip Frame 131
_parent.buildings.shift();
removeMovieClip("");
Symbol 618 MovieClip Frame 132
stop();
Symbol 619 MovieClip Frame 1
stop();
Instance of Symbol 618 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (27);
}
Instance of Symbol 618 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (58);
}
Instance of Symbol 618 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (89);
}
Symbol 622 MovieClip Frame 7
stop();
Symbol 627 Button
on (release) {
_parent._parent.resetGame();
_parent._parent.gotoAndPlay("playGame");
}
on (rollOver) {
_parent.playSound("bell_lo");
}
Symbol 628 MovieClip Frame 6
stop();
Symbol 628 MovieClip Frame 7
stop();
Symbol 629 MovieClip Frame 1
finalText = ("Your final score is " + _parent.displayScore) + ". See if you can do better next time!";
Symbol 629 MovieClip Frame 26
_parent.playSound("zone_laugh");
stop();
_parent._parent.chars.gotoAndStop("show");
Symbol 630 MovieClip Frame 1
function initSound(soundVar) {
Set("sound_" + soundVar, new Sound(this));
this["sound_" + soundVar].attachSound(soundVar);
}
function playSound(soundVar, offset, loops) {
if (_root.soundOn == true) {
this["sound_" + soundVar].start(offset, loops);
}
}
function resetGame() {
_parent.chars.gotoAndStop(1);
}
function setVol(inc) {
if ((inc < 0) && ((masterVolume + inc) <= 0)) {
sound_music_thinice.stop();
} else if ((inc > 0) && (masterVolume <= 0)) {
sound_music_thinice.start(0, 1000);
}
masterVolume = masterVolume + inc;
for (i in gameSounds) {
this["sound_" + gameSounds[i]].setVolume(masterVolume);
}
}
function addScore(points) {
if ((score + points) < 0) {
score = 0;
} else {
score = score + points;
}
displayScore = score.toString();
if (displayScore.length > 9) {
displayScore = (((((displayScore.substr(0, displayScore.length - 9) + ",") + displayScore.substr(displayScore.length - 9, 6)) + ",") + displayScore.substr(displayScore.length - 6, 3)) + ",") + displayScore.substr(displayScore.length - 3);
} else if (displayScore.length > 6) {
displayScore = (((displayScore.substr(0, displayScore.length - 6) + ",") + displayScore.substr(displayScore.length - 6, 3)) + ",") + displayScore.substr(displayScore.length - 3);
} else if (displayScore.length > 3) {
displayScore = (displayScore.substr(0, displayScore.length - 3) + ",") + displayScore.substr(displayScore.length - 3);
}
if (points.toString().length > 3) {
floaters.floatScore((points.toString().substr(0, points.toString().length - 3) + ",") + points.toString().substr(points.toString().length - 3));
} else if (points > 0) {
floaters.floatScore(points);
}
}
function closeGame() {
for (i in gameSounds) {
this["sound_" + gameSounds[i]].stop();
}
game.frozone.zone.stop();
game.playing = false;
game.safe = true;
game.frozone.closing = true;
game.frozone.vSpeed = 0;
game.frozone.gravity = 0;
game.stopAnimation();
feedback.btnclip.gotoAndStop("inactive");
}
gameSounds = ["bell_hi", "bell_lo", "zone_freeze", "zone_oof", "zone_aintright", "zone_whoah", "zone_whistle", "zone_laugh", "whoosh", "music_thinice"];
for (i in gameSounds) {
initSound(gameSounds[i]);
}
masterVolume = 100;
musicOn = false;
stop();
Symbol 630 MovieClip Frame 3
stop();
Symbol 630 MovieClip Frame 4
_parent.setQuality("LOW");
bg.gotoAndPlay(1);
game.gotoAndPlay(1);
displayScore = 0;
score = 0;
level = 2;
if (musicOn == false) {
musicOn = true;
playSound("music_thinice", 0, 1000);
}
volumeCtrl.gotoAndStop("raise_music");
play();
Instance of Symbol 146 MovieClip "bg" in Symbol 630 MovieClip Frame 4
onClipEvent (load) {
_parent.checkForGaps = false;
}
Symbol 630 MovieClip Frame 9
stop();
Symbol 630 MovieClip Frame 12
gotoAndPlay (8);
Symbol 630 MovieClip Frame 13
_parent.restoreQuality();
Instance of Symbol 619 MovieClip "bg_end" in Symbol 630 MovieClip Frame 13
onClipEvent (load) {
_parent.checkForGaps = false;
}
Symbol 630 MovieClip Frame 16
stop();
Symbol 633 MovieClip Frame 1
if (cmd != "in") {
gotoAndStop(_totalframes);
}
Symbol 633 MovieClip Frame 6
if (cmd != "out") {
prevFrame();
}
Symbol 638 Button
on (rollOver, dragOver) {
if (_parent.cmd != "out") {
cmd = "in";
play();
_parent.frame.cmd = "in";
_parent.frame.play();
_root.soundEffectsFun("navMiscRoll");
}
}
on (rollOut, releaseOutside) {
cmd = "out";
play();
_parent.frame.cmd = "out";
_parent.frame.play();
}
on (release) {
getURL ("javascript:close();");
}
Symbol 641 MovieClip Frame 1
if (cmd != "in") {
gotoAndStop(_totalframes);
}
Symbol 641 MovieClip Frame 6
if (cmd != "out") {
prevFrame();
}
Symbol 648 MovieClip Frame 10
stop();
Symbol 651 Button
on (release) {
_parent._parent.getToken();
}
Symbol 652 MovieClip Frame 6
stop();
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 2
stop();
Symbol 658 Button
on (rollOver) {
if (_currentframe > (_totalframes / 2)) {
gotoAndPlay(_totalframes - _currentframe);
}
}
on (rollOut, dragOut) {
if (_currentframe < (_totalframes / 2)) {
gotoAndPlay(_totalframes - _currentframe);
}
}
on (release) {
if (_root.soundOn == true) {
_root.soundOn = false;
_parent.gameHolder.volumeCtrl.gotoAndStop("mute");
} else {
_root.soundOn = true;
_parent.gameHolder.volumeCtrl.gotoAndStop("raise");
}
icon.swap();
waves.swap();
}
Symbol 661 MovieClip Frame 1
function swap() {
if ((_root.soundOn == true) && (_currentframe < (_totalframes / 2))) {
gotoAndPlay(_totalframes - _currentframe);
} else if ((_root.soundOn == false) && (_currentframe > (_totalframes / 2))) {
gotoAndPlay(_totalframes - _currentframe);
}
}
gotoAndStop(_totalframes - 2);
Symbol 661 MovieClip Frame 7
stop();
Symbol 661 MovieClip Frame 13
stop();
Symbol 664 MovieClip Frame 1
function swap() {
if ((_root.soundOn == true) && (_currentframe < (_totalframes / 2))) {
gotoAndPlay(_totalframes - _currentframe);
} else if ((_root.soundOn == false) && (_currentframe > (_totalframes / 2))) {
gotoAndPlay(_totalframes - _currentframe);
}
}
gotoAndStop(_totalframes - 2);
Symbol 664 MovieClip Frame 7
stop();
Symbol 664 MovieClip Frame 13
stop();
Symbol 665 MovieClip Frame 1
_root.soundOn = true;
gotoAndStop(_totalframes - 2);
Symbol 665 MovieClip Frame 7
stop();
Symbol 665 MovieClip Frame 13
stop();