Frame 1
Stage.showMenu = false;
stop();
Frame 3
Stage.showMenu = false;
_quality = "MEDIUM";
stop();
Frame 17
stop();
Frame 25
gotoAndPlay (3);
Frame 29
stopAllSounds();
Frame 30
Stage.showMenu = false;
Instance of Symbol 105 MovieClip in Frame 30
on (rollOver) {
_parent.quest3.play();
}
on (rollOut) {
_parent.quest3.gotoAndStop(1);
}
on (release) {
stopAllSounds();
gotoAndPlay ("octomenu");
stopAllSounds();
}
Frame 36
stop();
Frame 43
stopAllSounds();
Frame 44
stop();
_quality = "HIGH";
Instance of Symbol 105 MovieClip in Frame 44
on (rollOver) {
_parent.quest3.play();
}
on (rollOut) {
_parent.quest3.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_parent.gotoAndPlay("octomenu");
stopAllSounds();
}
Frame 59
play();
Frame 87
stop();
Instance of Symbol 154 MovieClip in Frame 87
on (release) {
_parent.play();
_root.WPI_ArcadeStartSingleGame();
}
Frame 88
score2 = 0;
onEnterFrame = function () {
_parent.score2 = _parent.ac.score;
};
_quality = "LOW";
ac.score = 0;
ab.framespast = 0;
ab.counter = 30;
ab.onEnterFrame = function () {
ab.framespast = ab.framespast + 1;
if (ab.framespast == 30) {
ab.counter = ab.counter - 1;
ab.framespast = 0;
ab.framespast = ab.framespast + 1;
if (ab.counter == 0) {
stopAllSounds();
gotoAndStop ("parkfinish");
}
}
};
ac.onEnterFrame = function () {
if (ac.score == 28) {
stopAllSounds();
gotoAndStop ("parkfinish");
}
};
stop();
function physics(who) {
who._x = who._x + who.Xvel;
who.Xvel = who.Xvel * 0.8;
who._y = who._y - who.Yvel;
who.Yvel = who.Yvel - 5;
who.rightx = who._x + (who._width / 3);
who.leftx = who._x - (who._width / 3);
who.midy = who._y - (who._height / 2);
who.topp = (who._y - who._height) + 25;
if (who.jumping) {
who.gotoAndStop("jump");
if (!who.inair) {
who.jumpcv = who.jumpcv + 1;
}
if (who.jumpcv >= 1) {
who.inair = true;
who.Yvel = 40;
who.jumpcv = 0;
}
}
if (test.hitTest(who._x, who._y - 8, true)) {
who.jumping = false;
who.landing = true;
who.inair = false;
who.gotoAndStop("land");
}
if (who.landing) {
who.landcv = who.landcv + 1;
if (who.landcv >= 8) {
who.landcv = 0;
who.landing = false;
who.gotoAndStop("rest");
}
}
while (test.hitTest(who._x, who._y, true)) {
who._y = who._y - 1;
who.topp = who.topp - 1;
who.Yvel = 0;
if (!who.landing) {
who.inair = false;
who.jumping = false;
}
}
while (test.hitTest(who._x, who.topp, true)) {
who._y = who._y + 1;
who.topp = who.topp + 1;
who.Yvel = -5;
}
while ((test.hitTest(who.rightx, who.midy, true) || (test.hitTest(who.rightx, who.topp, true))) || (test.hitTest(who.rightx, who._y - 15, true))) {
who.Xvel = -3;
who._x = who._x - 1;
who.rightx = who.rightx - 1;
who.leftx = who.leftx - 1;
}
while ((test.hitTest(who.leftx, who.midy, true) || (test.hitTest(who.leftx, who.topp, true))) || (test.hitTest(who.leftx, who._y - 15, true))) {
who.Xvel = 3;
who._x = who._x + 1;
who.rightx = who.rightx + 1;
who.leftx = who.leftx + 1;
}
}
function controls(who) {
if (Key.isDown(37)) {
who.Xvel = who.Xvel - who.speed;
who._xscale = -who.mysc;
if (who.Xvel < 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if (Key.isDown(39)) {
who.Xvel = who.Xvel + who.speed;
who._xscale = who.mysc;
if (who.Xvel > 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!who.jumping)) && (!who.landing)) {
who.gotoAndStop("rest");
}
if (Key.isDown(38) && (!who.jumping)) {
if (!test.hitTest(who._x, who.topp - 20, true)) {
who.inair = false;
who.jumping = true;
}
}
}
dude.speed = 4;
dude.gotoAndStop("rest");
dude.Xvel = 0;
dude.Yvel = 0;
dude.mysc = dude._xscale;
dude.jumpcv = 0;
dude.landcv = 0;
this.onEnterFrame = function () {
physics(dude);
controls(this.dude);
};
stop();
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 242 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 246 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 244 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 248 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 248 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 248 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 248 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 248 MovieClip in Frame 88
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.play();
}
}
Instance of Symbol 257 MovieClip "ab" in Frame 88
onClipEvent (enterFrame) {
this._x = _parent.spin1._x + 200;
this._y = _parent.spin1._y - 70;
}
Instance of Symbol 260 MovieClip "ac" in Frame 88
onClipEvent (enterFrame) {
this._x = _parent.spin1._x - 260;
this._y = _parent.spin1._y - 290;
}
Frame 89
_root.WPI_ArcadeStopSingleGame(total);
earned = score2;
total = earned * 2;
onLoad = function () {
earned = score2;
_parent.total = earned * 2;
};
stop();
Frame 90
stop();
Instance of Symbol 282 MovieClip in Frame 90
on (rollOver) {
_parent.bubble1.play();
}
on (rollOut) {
_parent.bubble1.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.WPI_ArcadeStartSingleGame();
_parent.nextFrame();
}
Frame 91
_quality = "MEDIUM";
ad.framespast2 = 0;
ad.time2 = 20;
ad.onEnterFrame = function () {
ad.framespast2 = ad.framespast2 + 1;
if (ad.framespast2 == 30) {
ad.time2 = ad.time2 - 1;
ad.framespast2 = 0;
ad.framespast2 = ad.framespast2 + 1;
}
};
_quality = "MEDIUM";
ac.score = 0;
ab.framespast = 0;
ab.counter = 20;
ab.onEnterFrame = function () {
ab.framespast = ab.framespast + 1;
if (ab.framespast == 30) {
ab.counter = ab.counter - 1;
ab.framespast = 0;
ab.framespast = ab.framespast + 1;
if (ab.counter == 0) {
stopAllSounds();
gotoAndStop ("shopfinish");
}
}
};
function physics(who) {
who._x = who._x + who.Xvel;
who.Xvel = who.Xvel * 0.8;
who._y = who._y - who.Yvel;
who.Yvel = who.Yvel - 5;
who.rightx = who._x + (who._width / 3);
who.leftx = who._x - (who._width / 3);
who.midy = who._y - (who._height / 2);
who.topp = (who._y - who._height) + 25;
if (who.jumping) {
who.gotoAndStop("jump");
if (!who.inair) {
who.jumpcv = who.jumpcv + 1;
}
if (who.jumpcv >= 1) {
who.inair = true;
who.Yvel = 40;
who.jumpcv = 0;
}
}
if (test.hitTest(who._x, who._y - 8, true)) {
who.jumping = false;
who.landing = true;
who.inair = false;
who.gotoAndStop("land");
}
if (who.landing) {
who.landcv = who.landcv + 1;
if (who.landcv >= 8) {
who.landcv = 0;
who.landing = false;
who.gotoAndStop("rest");
}
}
while (test.hitTest(who._x, who._y, true)) {
who._y = who._y - 1;
who.topp = who.topp - 1;
who.Yvel = 0;
if (!who.landing) {
who.inair = false;
who.jumping = false;
}
}
while (test.hitTest(who._x, who.topp, true)) {
who._y = who._y + 1;
who.topp = who.topp + 1;
who.Yvel = -5;
}
while ((test.hitTest(who.rightx, who.midy, true) || (test.hitTest(who.rightx, who.topp, true))) || (test.hitTest(who.rightx, who._y - 15, true))) {
who.Xvel = -3;
who._x = who._x - 1;
who.rightx = who.rightx - 1;
who.leftx = who.leftx - 1;
}
while ((test.hitTest(who.leftx, who.midy, true) || (test.hitTest(who.leftx, who.topp, true))) || (test.hitTest(who.leftx, who._y - 15, true))) {
who.Xvel = 3;
who._x = who._x + 1;
who.rightx = who.rightx + 1;
who.leftx = who.leftx + 1;
}
}
function controls(who) {
if (Key.isDown(37)) {
who.Xvel = who.Xvel - who.speed;
who._xscale = -who.mysc;
if (who.Xvel < 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if (Key.isDown(39)) {
who.Xvel = who.Xvel + who.speed;
who._xscale = who.mysc;
if (who.Xvel > 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!who.jumping)) && (!who.landing)) {
who.gotoAndStop("rest");
}
if (Key.isDown(38) && (!who.jumping)) {
if (!test.hitTest(who._x, who.topp - 20, true)) {
who.inair = false;
who.jumping = true;
}
}
}
dude.speed = 3.5;
dude.gotoAndStop("rest");
dude.Xvel = 0;
dude.Yvel = 0;
dude.mysc = dude._xscale;
dude.jumpcv = 0;
dude.landcv = 0;
this.onEnterFrame = function () {
physics(dude);
controls(this.dude);
};
stop();
Instance of Symbol 358 MovieClip in Frame 91
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
gotoAndStop ("shopresults");
}
}
Instance of Symbol 370 MovieClip in Frame 91
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
stopAllSounds();
_parent.nextFrame();
}
}
Instance of Symbol 257 MovieClip "ab" in Frame 91
onClipEvent (enterFrame) {
this._x = _root.spin2._x + 200;
this._y = _root.spin2._y - 70;
}
Frame 92
earned = ad.time2;
total = earned * 2;
stop();
_root.WPI_ArcadeStopSingleGame(total);
Frame 93
stop();
Instance of Symbol 392 MovieClip in Frame 93
on (rollOver) {
_parent.bubble3.play();
}
on (rollOut) {
_parent.bubble3.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.WPI_ArcadeStartSingleGame();
_parent.gotoAndPlay("cavegame");
}
Instance of Symbol 394 MovieClip in Frame 93
on (rollOver) {
_parent.bubble2.play();
}
on (rollOut) {
_parent.bubble2.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.WPI_ArcadeStartSingleGame();
_parent.nextFrame();
}
Instance of Symbol 398 MovieClip "wiggi1" in Frame 93
on (rollOver) {
_parent.bubble1.play();
}
on (rollOut) {
_parent.bubble1.gotoAndStop(1);
}
Frame 94
score2 = 0;
_quality = "HIGH";
ac.score = 0;
ab.framespast = 0;
ab.counter = 30;
ab.onEnterFrame = function () {
ac._x = spin3._x - 260;
ac._y = spin3._y - 290;
ab.framespast = ab.framespast + 1;
if (ab.framespast == 30) {
ab.counter = ab.counter - 1;
ab.framespast = 0;
ab.framespast = ab.framespast + 1;
if (ab.counter == 0) {
stopAllSounds();
gotoAndStop ("octofinish");
}
}
};
ac.onEnterFrame = function () {
if (ac.score == 12) {
stopAllSounds();
gotoAndStop ("octofinish");
}
};
stop();
function physics(who) {
who._x = who._x + who.Xvel;
who.Xvel = who.Xvel * 0.8;
who._y = who._y - who.Yvel;
who.Yvel = who.Yvel - 5;
who.rightx = who._x + (who._width / 3);
who.leftx = who._x - (who._width / 3);
who.midy = who._y - (who._height / 2);
who.topp = (who._y - who._height) + 25;
if (who.jumping) {
who.gotoAndStop("jump");
if (!who.inair) {
who.jumpcv = who.jumpcv + 1;
}
if (who.jumpcv >= 1) {
who.inair = true;
who.Yvel = 40;
who.jumpcv = 0;
}
}
if (test.hitTest(who._x, who._y - 8, true)) {
who.jumping = false;
who.landing = true;
who.inair = false;
who.gotoAndStop("land");
}
if (who.landing) {
who.landcv = who.landcv + 1;
if (who.landcv >= 8) {
who.landcv = 0;
who.landing = false;
who.gotoAndStop("rest");
}
}
while (test.hitTest(who._x, who._y, true)) {
who._y = who._y - 1;
who.topp = who.topp - 1;
who.Yvel = 0;
if (!who.landing) {
who.inair = false;
who.jumping = false;
}
}
while (test.hitTest(who._x, who.topp, true)) {
who._y = who._y + 1;
who.topp = who.topp + 1;
who.Yvel = -5;
}
while ((test.hitTest(who.rightx, who.midy, true) || (test.hitTest(who.rightx, who.topp, true))) || (test.hitTest(who.rightx, who._y - 15, true))) {
who.Xvel = -3;
who._x = who._x - 1;
who.rightx = who.rightx - 1;
who.leftx = who.leftx - 1;
}
while ((test.hitTest(who.leftx, who.midy, true) || (test.hitTest(who.leftx, who.topp, true))) || (test.hitTest(who.leftx, who._y - 15, true))) {
who.Xvel = 3;
who._x = who._x + 1;
who.rightx = who.rightx + 1;
who.leftx = who.leftx + 1;
}
}
function controls(who) {
if (Key.isDown(37)) {
who.Xvel = who.Xvel - who.speed;
who._xscale = -who.mysc;
if (who.Xvel < 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if (Key.isDown(39)) {
who.Xvel = who.Xvel + who.speed;
who._xscale = who.mysc;
if (who.Xvel > 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!who.jumping)) && (!who.landing)) {
who.gotoAndStop("rest");
}
if (Key.isDown(38) && (!who.jumping)) {
if (!test.hitTest(who._x, who.topp - 20, true)) {
who.inair = false;
who.jumping = true;
}
}
}
dude.speed = 3.5;
dude.gotoAndStop("rest");
dude.Xvel = 0;
dude.Yvel = 0;
dude.mysc = dude._xscale;
dude.jumpcv = 0;
dude.landcv = 0;
this.onEnterFrame = function () {
physics(dude);
controls(this.dude);
};
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 495 MovieClip in Frame 94
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.ac.score = _parent.ac.score + 1;
_parent.score2 = _parent.score2 + 1;
this.nextFrame();
}
}
Instance of Symbol 257 MovieClip "ab" in Frame 94
onClipEvent (enterFrame) {
this._x = _parent.spin3._x + 200;
this._y = _parent.spin3._y - 70;
}
Instance of Symbol 260 MovieClip "ac" in Frame 94
onClipEvent (enterFrame) {
this._x = _parent.spin3._x - 260;
this._y = _parent.spin3._y - 290;
}
Frame 95
earned = score2;
total = earned * 2;
stop();
_root.WPI_ArcadeStopSingleGame(score);
Frame 96
_quality = "MEDIUM";
ad.framespast2 = 0;
ad.time2 = 30;
ad.onEnterFrame = function () {
ad.framespast2 = ad.framespast2 + 1;
if (ad.framespast2 == 30) {
ad.time2 = ad.time2 - 1;
ad.framespast2 = 0;
ad.framespast2 = ad.framespast2 + 1;
}
};
_quality = "HIGH";
ac.score = 0;
ab.framespast = 0;
ab.counter = 30;
ab.onEnterFrame = function () {
ac._x = spin1._x - 260;
ac._y = spin1._y - 290;
ab._x = spin1._x;
ab._y = spin1._y;
ab.framespast = ab.framespast + 1;
if (ab.framespast == 30) {
ab.counter = ab.counter - 1;
ab.framespast = 0;
ab.framespast = ab.framespast + 1;
if (ab.counter == 0) {
stopAllSounds();
gotoAndStop ("cavefinish");
}
}
};
function physics(who) {
who._x = who._x + who.Xvel;
who.Xvel = who.Xvel * 0.8;
who._y = who._y - who.Yvel;
who.Yvel = who.Yvel - 5;
who.rightx = who._x + (who._width / 3);
who.leftx = who._x - (who._width / 3);
who.midy = who._y - (who._height / 2);
who.topp = (who._y - who._height) + 25;
if (who.jumping) {
who.gotoAndStop("jump");
if (!who.inair) {
who.jumpcv = who.jumpcv + 1;
}
if (who.jumpcv >= 1) {
who.inair = true;
who.Yvel = 40;
who.jumpcv = 0;
}
}
if (test.hitTest(who._x, who._y - 8, true)) {
who.jumping = false;
who.landing = true;
who.inair = false;
who.gotoAndStop("land");
}
if (who.landing) {
who.landcv = who.landcv + 1;
if (who.landcv >= 8) {
who.landcv = 0;
who.landing = false;
who.gotoAndStop("rest");
}
}
while (test.hitTest(who._x, who._y, true)) {
who._y = who._y - 1;
who.topp = who.topp - 1;
who.Yvel = 0;
if (!who.landing) {
who.inair = false;
who.jumping = false;
}
}
while (test.hitTest(who._x, who.topp, true)) {
who._y = who._y + 1;
who.topp = who.topp + 1;
who.Yvel = -5;
}
while ((test.hitTest(who.rightx, who.midy, true) || (test.hitTest(who.rightx, who.topp, true))) || (test.hitTest(who.rightx, who._y - 15, true))) {
who.Xvel = -3;
who._x = who._x - 1;
who.rightx = who.rightx - 1;
who.leftx = who.leftx - 1;
}
while ((test.hitTest(who.leftx, who.midy, true) || (test.hitTest(who.leftx, who.topp, true))) || (test.hitTest(who.leftx, who._y - 15, true))) {
who.Xvel = 3;
who._x = who._x + 1;
who.rightx = who.rightx + 1;
who.leftx = who.leftx + 1;
}
}
function controls(who) {
if (Key.isDown(37)) {
who.Xvel = who.Xvel - who.speed;
who._xscale = -who.mysc;
if (who.Xvel < 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if (Key.isDown(39)) {
who.Xvel = who.Xvel + who.speed;
who._xscale = who.mysc;
if (who.Xvel > 0) {
if (!who.jumping) {
who.landing = false;
who.gotoAndStop("run");
}
} else {
who.gotoAndStop("skid");
}
}
if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!who.jumping)) && (!who.landing)) {
who.gotoAndStop("rest");
}
if (Key.isDown(38) && (!who.jumping)) {
if (!test.hitTest(who._x, who.topp - 20, true)) {
who.inair = false;
who.jumping = true;
}
}
}
dude.speed = 3.5;
dude.gotoAndStop("rest");
dude.Xvel = 0;
dude.Yvel = 0;
dude.mysc = dude._xscale;
dude.jumpcv = 0;
dude.landcv = 0;
this.onEnterFrame = function () {
physics(dude);
controls(this.dude);
};
stop();
Instance of Symbol 541 MovieClip "ground" in Frame 96
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(_parent.ground.cavefront)) {
_parent.ground.cavefront.nextFrame();
} else {
_parent.ground.cavefront.prevFrame();
}
}
Instance of Symbol 257 MovieClip "ab" in Frame 96
onClipEvent (enterFrame) {
this._x = _parent.spin4._x + 100;
this._y = _parent.spin4._y - 20;
}
Instance of Symbol 548 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
stopAllSounds();
_parent.nextFrame();
}
}
Instance of Symbol 550 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
_parent.dude._x = 0;
_parent.dude._y = 0;
}
}
Instance of Symbol 557 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (_parent.dude.hitTest(this)) {
}
}
Frame 97
stop();
earned = ad.time2;
total = earned * 2;
_root.WPI_ArcadeStopSingleGame(score);
Symbol 5 MovieClip Frame 17
gotoAndPlay (15);
Symbol 6 Button
on (release) {
getURL ("http://www.wiggiworld.com", "_blank");
}
Symbol 15 MovieClip Frame 15
stop();
Symbol 17 Button
on (release) {
_parent.play();
}
Symbol 31 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
bl = _root.getBytesLoaded();
bt = _root.getBytesTotal();
perc = (bl / bt) * 100;
bar.bar._xscale = perc;
if (perc >= 100) {
this.gotoAndPlay("goplay");
delete this.onEnterFrame;
}
};
Symbol 31 MovieClip Frame 25
stop();
Symbol 48 Button
on (release) {
gotoAndPlay (25);
}
Symbol 52 Button
on (release) {
gotoAndPlay (2);
}
Symbol 54 Button
on (release) {
gotoAndPlay (26);
}
Symbol 55 Button
on (release) {
gotoAndPlay (3);
}
Symbol 56 Button
on (release) {
gotoAndPlay (24);
}
Symbol 57 Button
on (release) {
gotoAndPlay (2);
}
Symbol 74 Button
on (release) {
gotoAndPlay (17);
}
Symbol 77 Button
on (release) {
gotoAndPlay (16);
}
Symbol 83 Button
on (rollOver) {
_root.quest1.play();
}
on (rollOut) {
_root.quest1.gotoAndStop(1);
}
Symbol 88 Button
on (rollOver) {
_root.quest2.play();
}
on (rollOut) {
_root.quest2.gotoAndStop(1);
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 10
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 10
stop();
Symbol 113 Button
on (press) {
_parent.af.play();
}
Symbol 118 Button
on (press) {
stopAllSounds();
play();
}
Symbol 119 Button
on (rollOver) {
quest1.play();
}
on (rollOut) {
quest1.gotoAndStop(1);
}
on (release) {
stopAllSounds();
gotoAndStop ("storemenu");
}
Symbol 120 Button
on (rollOver) {
quest2.play();
}
on (rollOut) {
quest2.gotoAndStop(1);
}
on (release) {
gotoAndPlay ("parkscene");
stopAllSounds();
}
Symbol 126 Button
on (rollOver) {
quest2.play();
}
on (rollOut) {
quest2.gotoAndStop(1);
}
on (release) {
stopAllSounds();
gotoAndPlay ("parkscene");
stopAllSounds();
}
Symbol 148 Button
on (release) {
_parent.gotoAndStop("menu");
}
Symbol 155 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 160 MovieClip Frame 1
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin1", _x);
spY = getProperty("/spin1", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin1", _x , Number(spX) + Number(xStp));
setProperty("/spin1", _y , Number(spY) + Number(yStp));
Symbol 160 MovieClip Frame 2
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin1", _x);
spY = getProperty("/spin1", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin1", _x , Number(spX) + Number(xStp));
setProperty("/spin1", _y , Number(spY) + Number(yStp));
Symbol 230 MovieClip Frame 10
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 2
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 1
nextFrame();
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
stop();
Symbol 275 Button
on (release) {
stopAllSounds();
gotoAndPlay ("menu");
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 10
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin2", _x);
spY = getProperty("/spin2", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin2", _x , Number(spX) + Number(xStp));
setProperty("/spin2", _y , Number(spY) + Number(yStp));
Symbol 375 MovieClip Frame 2
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin2", _x);
spY = getProperty("/spin2", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin2", _x , Number(spX) + Number(xStp));
setProperty("/spin2", _y , Number(spY) + Number(yStp));
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 10
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 10
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 10
stop();
Symbol 424 Button
on (release) {
gotoAndPlay (2);
}
on (release) {
_parent.test.play();
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 10
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 20
stop();
Symbol 480 Button
on (release) {
play();
}
Symbol 486 Button
on (release) {
play();
}
Symbol 488 Button
on (press) {
play();
}
on (press) {
_parent.test.gotoAndPlay(11);
}
on (press) {
_parent.block2.play();
}
on (press) {
_parent.cautionblock.gotoAndPlay(2);
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
stop();
Symbol 491 MovieClip Frame 3
stop();
Symbol 491 MovieClip Frame 4
stop();
Symbol 491 MovieClip Frame 5
stop();
Symbol 495 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 20
stop();
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 10
stop();
Symbol 501 MovieClip Frame 29
stop();
Symbol 502 MovieClip Frame 1
nextFrame();
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
stop();
Symbol 503 MovieClip Frame 1
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin3", _x);
spY = getProperty("/spin3", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin3", _x , Number(spX) + Number(xStp));
setProperty("/spin3", _y , Number(spY) + Number(yStp));
Symbol 503 MovieClip Frame 2
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin3", _x);
spY = getProperty("/spin3", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin3", _x , Number(spX) + Number(xStp));
setProperty("/spin3", _y , Number(spY) + Number(yStp));
Symbol 506 Button
on (release) {
play();
}
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 10
stop();
Symbol 536 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 2
stop();
Symbol 546 MovieClip Frame 1
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin4", _x);
spY = getProperty("/spin4", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin4", _x , Number(spX) + Number(xStp));
setProperty("/spin4", _y , Number(spY) + Number(yStp));
Symbol 546 MovieClip Frame 2
thisX = getProperty("/dude", _x);
thisY = getProperty("/dude", _y);
spX = getProperty("/spin4", _x);
spY = getProperty("/spin4", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / 10;
yStp = (difY / 25) - 3;
setProperty("/spin4", _x , Number(spX) + Number(xStp));
setProperty("/spin4", _y , Number(spY) + Number(yStp));