Frame 1
a = this.getBytesLoaded();
b = this.getBytesTotal();
percent = (100 * a) / b;
if (5 < b) {
preloader = ("LOADING..." + Math.floor(percent)) + "%";
}
Frame 2
if ((percent < 100) || (b < 5)) {
gotoAndPlay(_currentframe - 1);
}
Frame 3
MovieClip.prototype.tween = function (property, ptarget, delay, depth) {
this.tweening = true;
this.attachMovie("tween", "tween" + depth, depth);
this["tween" + depth].property = property;
this["tween" + depth].ptarget = ptarget;
this["tween" + depth].delay = delay;
};
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 21
stop();
Instance of Symbol 186 MovieClip "iso" in Frame 21
onClipEvent (load) {
isGirl = Math.round(Math.random());
if (isGirl) {
this.attachMovie("boyBody", "comp", 3);
this.attachMovie("girlBody", "kid", 4);
} else {
this.attachMovie("boyBody", "kid", 4);
this.attachMovie("girlBody", "comp", 3);
}
kid.x = 200;
kid.y = 0;
kid.z = 300;
kid.speed = 8;
kid.power = 10;
kid.dx = (kid.dz = (kid.R = (kid.dR = 0)));
kid.reach = 75;
kid.depthSlot = 4;
kid.score = 0;
kid.totalScore = 0;
comp.x = 200;
comp.y = 0;
comp.z = 100;
comp.speed = 2.5;
comp.power = 10;
comp.dx = (comp.dz = (comp.R = 0));
comp.reach = 60;
comp.depthSlot = 3;
comp.score = 0;
comp.totalScore = 0;
comp.ballGuessError = 3;
comp._x = 200;
comp._y = 35;
ball.x = 200;
ball.y = -200;
ball.z = 300;
ball.Ay = 0.4;
ball.Vx = (ball.Vy = (ball.Vz = 0));
ball.elastic = 0.8;
ball.depthSlot = 2;
bounces = 0;
ballShadow.x = (ballShadow.y = (ballShadow.z = 0));
ballShadow.depthSlot = 1;
turn = false;
serve = false;
pauseGame = false;
currSet = 0;
setGoal = 3;
totalPoints = 0;
pointsPerScore = 5;
pointsPerSet = 20;
totalSetsWon = 0;
waitForDrop = true;
_parent.message.attachMovie("m9", "clip", 0);
soundEffect = new Sound();
}
onClipEvent (enterFrame) {
with (kid) {
if (!pauseGame) {
screenShift();
dx = Math.min(Math.max(x1, 0), 380) - x;
dz = Math.min(Math.max(z1, 20), 380) - z;
R = Math.sqrt((dx * dx) + (dz * dz));
dR = speed;
if (R < (2 * speed)) {
dR = R / 5;
}
Vx = (dR * dx) / R;
Vz = (dR * dz) / R;
x = x + Vx;
z = z + Vz;
isoShift();
}
}
with (ball) {
if (!waitForDrop) {
Vy = Vy + Ay;
x = x + Vx;
y = y + Vy;
z = z + Vz;
if (x < 0) {
ball.gotoAndPlay("highlight");
x = 0;
Vx = Vx * (-elastic);
bounces = 0;
turn = !turn;
if (-20 < y) {
ballShadow.gotoAndStop(1);
} else {
ballShadow.gotoAndStop(2);
ballShadow._xscale = 100;
ballShadow._yscale = 100;
ballShadow.x = ball.x;
ballShadow.z = ball.z;
ballShadow.y = ball.y;
ballShadow.isoShift();
}
calcBounce();
} else if (z < 0) {
ball.gotoAndPlay("highlight");
z = 0;
Vz = Vz * (-elastic);
ballShadow.gotoAndStop(1);
calcBounce();
} else if (400 < z) {
ball.gotoAndPlay("highlight");
z = 400;
Vz = Vz * (-elastic);
if (-20 < y) {
ballShadow.gotoAndStop(1);
} else {
ballShadow.gotoAndStop(3);
ballShadow._xscale = 100;
ballShadow._yscale = 100;
ballShadow.x = ball.x;
ballShadow.z = ball.z;
ballShadow.y = ball.y;
ballShadow.isoShift();
}
calcBounce();
} else if (400 < x) {
ball.gotoAndPlay("highlight");
x = 400;
Vx = (Vx / 3) * (-elastic);
ballShadow.gotoAndStop(1);
if (!pauseGame) {
trace("OUT OF BOUNDS");
pauseGame = true;
updateScore();
}
} else if (0 < y) {
ballShadow.gotoAndStop(1);
bounces++;
y = 0;
Vy = Vy * (-elastic);
if ((Vx < 0) && (!pauseGame)) {
trace("FLOOR BEFORE WALL");
pauseGame = true;
updateScore();
}
if ((1 < bounces) && (!pauseGame)) {
trace("MULTI_BOUNCE");
pauseGame = true;
updateScore();
}
if (((turn && (0 < Vx)) && (bounces == 1)) && (!pauseGame)) {
comp.hitBall(x, z, Vx, Vz);
}
if (Vy < -0.5) {
ball.gotoAndPlay("highlight");
}
} else {
ballShadow.gotoAndStop(1);
}
isoShift();
}
if (ballShadow._currentframe == 1) {
with (ballShadow) {
x = ball.x;
z = ball.z;
y = 0;
_xscale = -100 / ((ball.y / 200) - 1);
_yscale = _xscale;
isoShift();
}
}
}
}
onClipEvent (mouseDown) {
kid.gotoAndStop(2);
t0 = getTimer();
powerBar.gotoAndPlay(2);
}
onClipEvent (mouseUp) {
if (kid._currentframe == 2) {
powerBar.gotoAndStop(1);
dx = ball.x - kid.x;
dy = ball.y - kid.y;
dz = ball.z - kid.z;
R = Math.sqrt(((dx * dx) + (dy * dy)) + (dz * dz));
if (((R < kid.reach) && (!pauseGame)) && (!turn)) {
kid.power = 5 + Math.min(5, (getTimer() - t0) / 100);
ball.Vx = -kid.power;
ball.Vy = -kid.power;
ball.Vz = ((-kid.power) * dx) / (5 * R);
if (Key.isDown(37)) {
ball.Vz = ball.Vz - (kid.power / 3);
} else if (Key.isDown(39)) {
ball.Vz = ball.Vz + (kid.power / 3);
}
bounces = 0;
soundEffect.attachSound("ballHit");
soundEffect.start();
}
kid.play();
}
}
Frame 22
play();
Frame 23
Frame 116
if (cbc_comm.getBytesLoaded() < cbc_comm.getBytesTotal()) {
gotoAndPlay(_currentframe - 1);
} else {
cbc_comm.postHighScore(userid, score, level);
}
Frame 131
gotoAndStop ("title");
Symbol 4 MovieClip [tween] Frame 1
sign = (ptarget - _parent[property]) / Math.abs(ptarget - _parent[property]);
Symbol 4 MovieClip [tween] Frame 2
dp = ptarget - _parent[property];
_parent[property] = _parent[property] + (sign * Math.max(Math.floor(Math.abs(dp) / delay), 1));
if (Math.abs(dp) < 2) {
_parent[property] = ptarget;
_parent.tweening = false;
this.removeMovieClip();
}
Symbol 4 MovieClip [tween] Frame 3
dp = ptarget - _parent[property];
_parent[property] = _parent[property] + (sign * Math.max(Math.floor(Math.abs(dp) / delay), 1));
if (Math.abs(dp) < 2) {
_parent[property] = ptarget;
_parent.tweening = false;
this.removeMovieClip();
}
gotoAndPlay ("loop");
Symbol 25 MovieClip [girlBody] Frame 1
hand._xscale = scale;
hand._yscale = scale;
stop();
function runTo(x1, z1, speed) {
attachMovie("run", "run", 1);
run.x1 = Math.min(Math.max(x1, 20), 380);
run.z1 = Math.min(Math.max(z1, 20), 380);
run.speed = speed;
}
function hitBall(xBall, zBall, VxBall, VzBall) {
hitting = true;
nextFrame();
var dx = (x - xBall);
var dz = (z - zBall);
var R = Math.sqrt((dx * dx) + (dz * dz));
var V = Math.sqrt((VxBall * VxBall) + (VzBall * VzBall));
attachMovie("hit", "hit", 2);
hit.wait = Math.floor(R / V);
}
function serveBall(xBall, zBall) {
hitting = true;
nextFrame();
attachMovie("hit", "hit", 2);
hit.wait = 80;
}
function applyForce() {
var ball = _parent.ball;
var dx = (x - ball.x);
var dz = (z - ball.z);
var R = Math.sqrt((dx * dx) + (dz * dz));
play();
if (R < reach) {
power = 5 + Math.min(5, x / 60);
ball.Vx = -power;
ball.Vy = -power;
ball.Vz = (-power) * ((_parent.kid.z - z) / (300 + (Math.random() * 100)));
runTo(175 + (Math.random() * 100), 175 + (Math.random() * 100), speed);
_parent.soundEffect.attachSound("ballHit");
_parent.soundEffect.start();
} else if (_parent.ball.bounces == 1) {
hitBall(_parent.ball.x, _parent.ball.y, _parent.ball.Vx, _parent.ball.Vz);
}
}
function reset() {
power = 10;
hit.removeMovieClip();
run.removeMovieClip();
gotoAndStop (1);
}
function resizeHand(percentage) {
scale = percentage;
hand._xscale = scale;
hand._yscale = scale;
}
isoShift = _parent.isoShift;
screenShift = _parent.screenShift;
Symbol 25 MovieClip [girlBody] Frame 2
hand._xscale = scale;
hand._yscale = scale;
Symbol 25 MovieClip [girlBody] Frame 3
hand._xscale = scale;
hand._yscale = scale;
ghostHand._yscale = scale;
ghostHand._xscale = scale;
gotoAndPlay (4);
Symbol 25 MovieClip [girlBody] Frame 5
hand._xscale = scale;
hand._yscale = scale;
Symbol 25 MovieClip [girlBody] Frame 11
gotoAndStop (1);
Symbol 35 MovieClip [boyBody] Frame 1
hand._xscale = scale;
hand._yscale = scale;
stop();
function runTo(x1, z1, speed) {
attachMovie("run", "run", 1);
run.x1 = Math.min(Math.max(x1, 20), 380);
run.z1 = Math.min(Math.max(z1, 20), 380);
run.speed = speed;
}
function hitBall(xBall, zBall, VxBall, VzBall) {
hitting = true;
nextFrame();
var dx = (x - xBall);
var dz = (z - zBall);
var R = Math.sqrt((dx * dx) + (dz * dz));
var V = Math.sqrt((VxBall * VxBall) + (VzBall * VzBall));
attachMovie("hit", "hit", 2);
hit.wait = Math.floor(R / V);
}
function serveBall(xBall, zBall) {
hitting = true;
nextFrame();
attachMovie("hit", "hit", 2);
hit.wait = 80;
}
function applyForce() {
var ball = _parent.ball;
var dx = (x - ball.x);
var dz = (z - ball.z);
var R = Math.sqrt((dx * dx) + (dz * dz));
play();
if (R < reach) {
power = 5 + Math.min(5, x / 60);
ball.Vx = -power;
ball.Vy = -power;
ball.Vz = (-power) * ((_parent.kid.z - z) / (300 + (Math.random() * 100)));
runTo(175 + (Math.random() * 100), 175 + (Math.random() * 100), speed);
_parent.soundEffect.attachSound("ballHit");
_parent.soundEffect.start();
} else if (_parent.ball.bounces == 1) {
hitBall(_parent.ball.x, _parent.ball.y, _parent.ball.Vx, _parent.ball.Vz);
}
}
function reset() {
power = 10;
hit.removeMovieClip();
run.removeMovieClip();
gotoAndStop (1);
}
function resizeHand(percentage) {
scale = percentage;
hand._xscale = scale;
hand._yscale = scale;
}
isoShift = _parent.isoShift;
screenShift = _parent.screenShift;
Symbol 35 MovieClip [boyBody] Frame 2
hand._xscale = scale;
hand._yscale = scale;
Symbol 35 MovieClip [boyBody] Frame 3
hand._xscale = scale;
hand._yscale = scale;
ghostHand._xscale = scale;
ghostHand._yscale = scale;
gotoAndPlay (4);
Symbol 35 MovieClip [boyBody] Frame 5
hand._xscale = scale;
hand._yscale = scale;
Symbol 35 MovieClip [boyBody] Frame 11
gotoAndStop (1);
Symbol 36 MovieClip [hit] Frame 1
t = 1;
Symbol 36 MovieClip [hit] Frame 2
t++;
if (Math.abs(t - wait) < 1) {
_parent.applyForce();
_parent.hitting = false;
this.removeMovieClip();
}
trace("HIT");
Symbol 36 MovieClip [hit] Frame 3
t++;
if (Math.abs(t - wait) < 1) {
_parent.applyForce();
_parent.hitting = false;
this.removeMovieClip();
} else {
gotoAndPlay ("loop");
}
Symbol 37 MovieClip [run] Frame 1
with (_parent) {
dx = x1 - x;
dz = z1 - z;
R = Math.sqrt((dx * dx) + (dz * dz));
if (speed < R) {
x = x + ((speed * dx) / R);
z = z + ((speed * dz) / R);
isoShift();
} else {
x = x + dx;
z = z + dz;
isoShift();
run.removeMovieClip();
}
}
trace("RUN");
Symbol 37 MovieClip [run] Frame 2
with (_parent) {
dx = x1 - x;
dz = z1 - z;
R = Math.sqrt((dx * dx) + (dz * dz));
if (speed < R) {
x = x + ((speed * dx) / R);
z = z + ((speed * dz) / R);
isoShift();
} else {
x = x + dx;
z = z + dz;
isoShift();
run.removeMovieClip();
}
}
gotoAndPlay (1);
Symbol 38 MovieClip [zTileLight] Frame 15
this.removeMovieClip();
Symbol 39 MovieClip [xTileLight] Frame 15
this.removeMovieClip();
Symbol 43 MovieClip [m9] Frame 1
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
}
Symbol 43 MovieClip [m9] Frame 2
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
} else {
gotoAndPlay (2);
}
Symbol 50 Button
on (release) {
_parent._parent.iso.resetGame();
this.removeMovieClip();
}
Symbol 54 Button
on (release) {
_parent._parent.iso.postScore();
this.removeMovieClip();
}
Symbol 55 MovieClip [m8] Frame 1
stop();
Symbol 57 MovieClip [m7] Frame 1
stop();
Symbol 63 Button
on (release) {
_parent._parent.iso.nextSet();
this.removeMovieClip();
}
Symbol 64 MovieClip [m6] Frame 1
stop();
Symbol 66 Button
on (release) {
_parent._parent.iso.nextSet();
gotoAndPlay (2);
}
Symbol 67 MovieClip [m5] Frame 1
stop();
Symbol 67 MovieClip [m5] Frame 2
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
}
Symbol 67 MovieClip [m5] Frame 3
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
} else {
gotoAndPlay (2);
}
Symbol 73 Button
on (release) {
_parent._parent.iso.setupBallDrop();
gotoAndPlay (2);
}
Symbol 74 MovieClip [m4] Frame 1
stop();
Symbol 74 MovieClip [m4] Frame 2
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
}
Symbol 74 MovieClip [m4] Frame 3
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
} else {
gotoAndPlay (2);
}
Symbol 77 Button
on (release) {
_parent._parent.iso.contSet();
this.removeMovieClip();
}
Symbol 78 MovieClip [m3] Frame 1
stop();
Symbol 81 MovieClip [m2] Frame 1
stop();
Symbol 83 MovieClip [m1] Frame 1
stop();
Symbol 83 MovieClip [m1] Frame 2
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
}
Symbol 83 MovieClip [m1] Frame 3
if (Key.getCode() == 32) {
_parent._parent.iso.dropBall();
this.removeMovieClip();
} else {
gotoAndPlay (2);
}
Symbol 91 MovieClip [pUp1] Frame 1
stop();
Symbol 93 MovieClip [pUp2] Frame 1
stop();
Symbol 112 MovieClip Frame 65
stop();
Symbol 119 MovieClip Frame 63
titleFlash.tween("_xscale", 85, 3, 0);
titleFlash.tween("_yscale", 85, 3, 1);
titleFlash.tween("_x", -120, 3, 2);
titleFlash.tween("_y", -70, 3, 3);
Symbol 119 MovieClip Frame 69
stop();
Symbol 123 Button
on (release) {
getURL ("http://www.cbc.ca/kids/games/", "_blank");
}
Symbol 126 Button
on (release) {
gotoAndStop ("game");
}
Symbol 129 Button
on (release) {
gotoAndStop ("rules");
}
Symbol 134 Button
on (release) {
nextFrame();
}
Symbol 145 Button
on (release) {
gotoAndPlay ("game");
}
Symbol 154 MovieClip Frame 1
isoShift = _parent.isoShift;
ball = _parent.ball;
stop();
Symbol 158 MovieClip Frame 1
function reset() {
x = 200;
y = -200;
z = 300;
Vx = (Vy = (Vz = 0));
}
isoShift = _parent.isoShift;
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 15
stop();
Symbol 186 MovieClip Frame 1
function isoShift() {
this.swapDepths((10 * Math.floor(((x / 1.414) - ((z - 400) / 1.414)) / 10)) + depthSlot);
this.depthRow = Math.floor(((x / 1.414) - ((z - 400) / 1.414)) / 10);
this.myDepth = (10 * Math.floor(((x / 1.414) - ((z - 400) / 1.414)) / 10)) + depthSlot;
_x = ((x + z) * 0.707);
_y = ((y * 0.866) + (((x - z) * 0.707) / 2));
}
function screenShift() {
x1 = (_parent._xmouse + (2 * _parent._ymouse)) * 0.707;
z1 = (1.41 * _parent._xmouse) - x1;
}
function calcBounce() {
var dt;
var xBounce1;
var xBounce2;
var zBounce1;
var zBounce2;
var Vbounce;
with (ball) {
dt = ((-Vy) + Math.sqrt((Vy * Vy) - ((2 * Ay) * y))) / Ay;
xBounce1 = x + (dt * Vx);
zBounce1 = z + (dt * Vz);
Vbounce = (Vy + (Ay * dt)) * elastic;
}
dt = (2 * Vbounce) / ball.Ay;
xBounce2 = xBounce1 + (dt * ball.Vx);
zBounce2 = zBounce1 + (dt * ball.Vz);
if (!pauseGame) {
if (turn) {
var R = Math.sqrt(((comp.x - xBounce1) * (comp.x - xBounce1)) + ((comp.z - zBounce1) * (comp.z - zBounce1)));
comp.runTo((xBounce1 + (comp.reach / 2)) + (Math.random() * (R / comp.ballGuessError)), zBounce1 + (Math.random() * (R / comp.ballGuessError)), comp.speed);
} else {
comp.runTo(175 + (Math.random() * 100), 175 + (Math.random() * 100), comp.speed);
}
}
}
function setupBallDrop() {
trace("SETUPBALLDROP");
ball.reset();
ball.isoShift();
pauseGame = false;
waitForDrop = true;
bounces = 0;
comp.reset();
comp.x = 200;
comp.z = 100;
comp.isoShift();
trace("RESET COMP: " + comp.z);
kid.x = 200;
kid.z = 300;
kid.isoShift();
turn = false;
}
function dropBall() {
waitForDrop = false;
}
function contSet() {
trace("CONTSET");
ball.reset();
pauseGame = false;
bounces = 0;
comp.reset();
if (serve) {
comp.x = ball.x;
comp.z = ball.z + 30;
trace("COMP Z: " + comp.z);
comp.isoShift();
comp.serveBall(ball.x, ball.z);
turn = true;
kid.x = 200;
kid.z = 100;
kid.isoShift();
} else {
comp.x = 200;
comp.z = 100;
comp.isoShift();
kid.x = 200;
kid.z = 300;
kid.isoShift();
turn = false;
}
}
function nextSet() {
kid.totalScore = kid.totalScore + kid.score;
comp.totalScore = comp.totalScore + comp.score;
currSet++;
totalSetsWon++;
totalPoints = totalPoints + pointsPerSet;
pointsPerScore = pointsPerScore + 2;
pointsPerSet = pointsPerSet + 10;
kid.score = 0;
comp.score = 0;
comp.ballGuessError = comp.ballGuessError + 4;
comp.speed = Math.min(4, comp.speed + 0.25);
setupBallDrop();
}
function updateScore() {
comp.runTo(175 + (Math.random() * 50), 175 + (Math.random() * 50), speed);
if (serve) {
if (turn) {
serve = !serve;
_parent.message.attachMovie("m1", "clip", 0);
} else {
comp.score++;
totalPoints = totalPoints - pointsPerScore;
if (comp.score == setGoal) {
_parent.message.attachMovie("m7", "clip", 0);
} else {
_parent.message.attachMovie("m2", "clip", 0);
}
}
} else if (turn) {
kid.score++;
totalPoints = totalPoints + pointsPerScore;
if (kid.score == setGoal) {
_parent.message.attachMovie("m5", "clip", 0);
} else {
_parent.message.attachMovie("m4", "clip", 0);
}
} else {
serve = !serve;
_parent.message.attachMovie("m3", "clip", 0);
}
}
function resetGame() {
_parent.gotoAndPlay("restart");
}
function postScore() {
_parent.score = totalPoints;
_parent.level = totalSetsWon;
_parent.gotoAndPlay("postScore");
}
Instance of Symbol 151 MovieClip "powerUp" in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
function bigulator(player) {
origValue = player.reach;
player.reach = player.reach + 25;
player.resizeHand(135);
}
function debigulator(player) {
origValue = player.reach;
player.reach = player.reach - 25;
player.resizeHand(75);
}
function speedyBoots(player) {
origValue = player.speed;
if (player._name == "kid") {
player.speed = player.speed + 10;
} else {
player.speed = player.speed + 3;
}
}
function stickyGum(player) {
origValue = player.speed;
player.speed = player.speed / 3;
}
function superBall() {
_parent.ball.elastic = _parent.ball.elastic + 0.1;
}
function resetReach(player) {
player.reach = origValue;
player.resizeHand(100);
}
function resetSpeed(player) {
player.speed = origValue;
}
function resetBall() {
with (_parent.ball) {
elastic = elastic - 0.1;
}
}
avail = true;
active = 0;
freq = 0.005;
types = [debigulator, bigulator, speedyBoots, superBall];
reset = [resetReach, resetReach, resetSpeed, resetBall];
numPUps = types.length;
pUpType = 0;
this.x = 0;
this.y = 0;
this.z = 0;
isoShift = _parent.isoShift;
dur = 150;
audio = new Sound();
}
onClipEvent (enterFrame) {
if ((!_parent.pauseGame) && (!_parent.waitForDrop)) {
if (((Math.random() < freq) && (avail)) && (active == 0)) {
audio.attachSound("sproing");
pUpType = Math.ceil(Math.random() * numPUps);
this.attachMovie("pUp" + pUpType, "pUp", 0);
this.x = 50 + (Math.random() * 300);
this.z = 50 + (Math.random() * 300);
this.isoShift();
active = 400;
audio.start();
}
if ((Math.sqrt(((_parent.kid.x - x) * (_parent.kid.x - x)) + ((_parent.kid.z - z) * (_parent.kid.z - z))) < 25) && (avail)) {
audio.attachSound("bell");
types[pUpType - 1](_parent.kid);
this.pUp.removeMovieClip();
_parent.kidPUp.attachMovie("pUp" + pUpType, "pUp", 0);
active = 400;
avail = false;
pUpPlayer = _parent.kid;
audio.start();
} else if ((Math.sqrt(((_parent.comp.x - x) * (_parent.comp.x - x)) + ((_parent.comp.z - z) * (_parent.comp.z - z))) < 25) && (avail)) {
audio.attachSound("bell");
types[pUpType - 1](_parent.comp);
this.pUp.removeMovieClip();
_parent.compPUp.attachMovie("pUp" + pUpType, "pUp", 0);
active = 400;
avail = false;
pUpPlayer = _parent.comp;
audio.start();
}
if (1 < active) {
active--;
} else if (avail) {
this.pUp.removeMovieClip();
active = 0;
} else {
reset[pUpType - 1](pUpPlayer);
_parent.kidPUp.pUp.removeMovieClip();
_parent.compPUp.pUp.removeMovieClip();
active = 0;
avail = true;
}
}
}
Symbol 186 MovieClip Frame 2
stop();