Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded == 100) {
gotoAndStop (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stopAllSounds();
nextFrame();
Frame 4
stop();
Frame 7
stop();
startDrag ("playa", true, 20, 125, 530, 200);
spin_count = 0;
dad_ystart = getProperty("/dad", _y);
bg_ystart = getProperty("/bg", _y);
skill = 20;
pow = 4;
gun = false;
_highquality = false;
Frame 8
_highquality = true;
Frame 9
_highquality = true;
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 10
gotoAndStop (1);
Symbol 38 MovieClip Frame 17
gotoAndStop (1);
Symbol 38 MovieClip Frame 24
gotoAndStop (1);
Symbol 38 MovieClip Frame 30
Set("/:talking", true);
Symbol 38 MovieClip Frame 77
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 85
Set("/:talking", true);
Symbol 38 MovieClip Frame 113
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 121
Set("/:talking", true);
Symbol 38 MovieClip Frame 184
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 190
Set("/:talking", true);
Symbol 38 MovieClip Frame 236
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 243
Set("/:talking", true);
Symbol 38 MovieClip Frame 296
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 300
Set("/:talking", true);
Symbol 38 MovieClip Frame 368
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 374
Set("/:talking", true);
Symbol 38 MovieClip Frame 447
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 452
Set("/:talking", true);
Symbol 38 MovieClip Frame 507
Set("/:talking", false);
gotoAndStop (1);
Symbol 38 MovieClip Frame 516
Set("/:talking", true);
Symbol 38 MovieClip Frame 585
Set("/:talking", false);
gotoAndStop (1);
Symbol 42 MovieClip Frame 1
playa_x = getProperty("/playa", _x);
dad_x = getProperty("/dad", _x);
if (((Number(playa_x) > Number(dad_x - 50)) and (Number(playa_x) < Number(Number(dad_x) + 50))) and (Number(/:gun) == Number(false))) {
if (Number(random(/:skill)) == 1) {
if (Number(playa_x) < Number(dad_x)) {
setProperty("/dad/fist_left", _visible , false);
tellTarget ("/fist_left") {
gotoAndPlay (2);
};
} else {
setProperty("/dad/fist_right", _visible , false);
tellTarget ("/fist_right") {
gotoAndPlay (2);
};
}
}
}
Symbol 42 MovieClip Frame 2
gotoAndPlay (1);
Symbol 43 MovieClip Frame 622
stop();
tellTarget ("/") {
gotoAndStop ("go");
};
Symbol 47 Button
on (release) {
nextFrame();
}
Symbol 49 MovieClip Frame 1
_highquality = false;
Symbol 49 MovieClip Frame 11
stop();
tellTarget ("/") {
nextFrame();
};
Symbol 55 MovieClip Frame 50
stop();
Symbol 58 MovieClip Frame 50
stop();
Symbol 62 MovieClip Frame 50
stop();
Symbol 68 MovieClip Frame 50
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
if (Number(/:talking) == Number(false)) {
tellTarget ("head/mouth") {
gotoAndPlay ("ouch1");
};
}
Symbol 74 MovieClip Frame 10
stop();
Symbol 74 MovieClip Frame 11
if (Number(/:talking) == Number(false)) {
tellTarget ("head/mouth") {
gotoAndPlay ("ouch2");
};
}
Symbol 74 MovieClip Frame 19
stop();
Symbol 74 MovieClip Frame 20
if (Number(/:talking) == Number(false)) {
tellTarget ("head/mouth") {
gotoAndPlay ("ouch3");
};
}
tellTarget ("head") {
nextFrame();
};
Symbol 85 MovieClip Frame 17
gotoAndPlay (1);
Symbol 96 MovieClip Frame 25
gotoAndPlay (1);
Symbol 96 MovieClip Frame 26
Set("/:gun", true);
Symbol 96 MovieClip Frame 91
tellTarget ("/strobe") {
gotoAndStop (2);
};
Symbol 96 MovieClip Frame 141
tellTarget ("/strobe") {
gotoAndStop (1);
};
Symbol 96 MovieClip Frame 180
Set("/:gun", false);
gotoAndPlay (1);
Symbol 96 MovieClip Frame 181
tellTarget ("/strobe") {
gotoAndStop (1);
};
Set("/:shooting", false);
Symbol 96 MovieClip Frame 263
tellTarget ("/playa") {
gotoAndStop ("die");
};
Symbol 96 MovieClip Frame 311
stop();
tellTarget ("/") {
gotoAndStop ("end");
};
Symbol 107 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 4
x = /:pow;
while (Number(x) > 0) {
tellTarget ("/health_playa") {
nextFrame();
};
x = x - 1;
}
Symbol 111 MovieClip Frame 10
setProperty("/dad/fist_left", _visible , true);
setProperty("/dad/fist_right", _visible , true);
Symbol 111 MovieClip Frame 11
gotoAndStop (1);
Symbol 113 MovieClip Frame 8
gotoAndStop (1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 5
play();
Symbol 114 MovieClip Frame 10
gotoAndStop (1);
Symbol 122 Button
on (press) {
tellTarget ("../") {
play();
};
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 11
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 3
playa_x = getProperty("/playa", _x);
playa_y = getProperty("/playa", _y);
dad_x = getProperty("/dad", _x);
if ((Number(playa_x) > Number(dad_x - 40)) and (Number(playa_x) < Number(Number(dad_x) + 40))) {
if (Number(playa_y) < 195) {
tellTarget ("/dad/head") {
play();
};
tellTarget ("/health_dad") {
nextFrame();
};
tellTarget ("button/blood") {
gotoAndPlay (2);
};
tellTarget ("/sounds") {
nextFrame();
};
} else {
tellTarget ("/health_playa") {
prevFrame();
};
tellTarget ("/pieces") {
nextFrame();
};
}
}
Symbol 136 MovieClip Frame 6
stop();
Symbol 136 MovieClip Frame 8
playa_x = getProperty("/playa", _x);
playa_y = getProperty("/playa", _y);
dad_x = getProperty("/dad", _x);
if ((Number(playa_x) > Number(dad_x - 40)) and (Number(playa_x) < Number(Number(dad_x) + 40))) {
if (Number(playa_y) < 195) {
tellTarget ("/dad/head") {
play();
};
tellTarget ("/health_dad") {
nextFrame();
};
tellTarget ("button/blood") {
gotoAndPlay (2);
};
tellTarget ("/sounds") {
nextFrame();
};
} else {
tellTarget ("/health_playa") {
prevFrame();
};
tellTarget ("/pieces") {
nextFrame();
};
}
}
Symbol 136 MovieClip Frame 11
gotoAndStop (1);
Symbol 137 MovieClip Frame 1
playa_x = getProperty("/playa", _x);
playa_y = getProperty("/playa", _y);
bg_x = getProperty("/bg", _x);
dad_x = getProperty("/dad", _x);
if (Number(playa_x) > 500) {
setProperty("/bg", _x , bg_x - 15);
} else if (Number(playa_x) > 450) {
setProperty("/bg", _x , bg_x - 12);
} else if (Number(playa_x) > 400) {
setProperty("/bg", _x , bg_x - 9);
} else if (Number(playa_x) > 350) {
setProperty("/bg", _x , bg_x - 6);
} else if (Number(playa_x) > 300) {
setProperty("/bg", _x , bg_x - 3);
} else if (Number(playa_x) > 275) {
setProperty("/bg", _x , bg_x - 1);
}
if (Number(playa_x) < 50) {
setProperty("/bg", _x , Number(bg_x) + 15);
} else if (Number(playa_x) < 100) {
setProperty("/bg", _x , Number(bg_x) + 12);
} else if (Number(playa_x) < 150) {
setProperty("/bg", _x , Number(bg_x) + 9);
} else if (Number(playa_x) < 200) {
setProperty("/bg", _x , Number(bg_x) + 6);
} else if (Number(playa_x) < 250) {
setProperty("/bg", _x , Number(bg_x) + 3);
} else if (Number(playa_x) < 270) {
setProperty("/bg", _x , Number(bg_x) + 1);
}
if (Number(bg_x) <= 0) {
setProperty("/bg", _x , Number(bg_x) + 475);
}
if (Number(bg_x) > 550) {
setProperty("/bg", _x , bg_x - 475);
}
setProperty("/dad", _x , 550 - playa_x);
if (Number(playa_y) < 135) {
setProperty("/bg", _y , Number(/:bg_ystart) + 6);
} else if (Number(playa_y) < 145) {
setProperty("/bg", _y , Number(/:bg_ystart) + 4);
} else if (Number(playa_y) < 155) {
setProperty("/bg", _y , Number(/:bg_ystart) + 2);
} else if (Number(playa_y) < 160) {
setProperty("/bg", _y , Number(/:bg_ystart) + 1);
} else if (Number(playa_y) < 165) {
setProperty("/bg", _y , /:bg_ystart);
} else if (Number(playa_y) < 170) {
setProperty("/bg", _y , /:bg_ystart - 1.5);
} else if (Number(playa_y) < 175) {
setProperty("/bg", _y , /:bg_ystart - 3);
} else if (Number(playa_y) < 185) {
setProperty("/bg", _y , /:bg_ystart - 6);
} else {
setProperty("/bg", _y , /:bg_ystart - 10);
}
Symbol 137 MovieClip Frame 2
gotoAndPlay (1);
Symbol 138 MovieClip Frame 1
playa_x = getProperty("/playa", _x);
if ((Number(playa_x) > 500) or (Number(playa_x) < 50)) {
Set("/:spin_max", 1);
setProperty("/dad", _y , Number(/:dad_ystart) + 22);
} else if ((Number(playa_x) > 450) or (Number(playa_x) < 100)) {
Set("/:spin_max", 2);
setProperty("/dad", _y , Number(/:dad_ystart) + 16);
} else if ((Number(playa_x) > 400) or (Number(playa_x) < 150)) {
Set("/:spin_max", 3);
setProperty("/dad", _y , Number(/:dad_ystart) + 12);
} else if ((Number(playa_x) > 350) or (Number(playa_x) < 200)) {
Set("/:spin_max", 5);
setProperty("/dad", _y , Number(/:dad_ystart) + 8);
} else if ((Number(playa_x) > 300) or (Number(playa_x) < 280)) {
Set("/:spin_max", 8);
setProperty("/dad", _y , Number(/:dad_ystart) + 4);
} else if ((Number(playa_x) > 270) or (Number(playa_x) < 250)) {
Set("/:spin_max", 12);
setProperty("/dad", _y , Number(/:dad_ystart) + 2);
} else if ((Number(playa_x) <= 270) or (Number(playa_x) >= 250)) {
Set("/:spin_max", 0);
setProperty("/dad", _y , /:dad_ystart);
}
if (Number(/:spin_count) <= 0) {
Set("/:spin_count", /:spin_max);
}
if (Number(/:spin_count) == 1) {
if (Number(playa_x) > 275) {
if (Number(getProperty("/cake", _currentframe)) == 1) {
tellTarget ("/cake") {
gotoAndStop ("end");
};
} else {
tellTarget ("/cake") {
prevFrame();
};
}
} else if (Number(playa_x) < 260) {
if (Number(getProperty("/cake", _currentframe)) == 30) {
tellTarget ("/cake") {
gotoAndStop (1);
};
} else {
tellTarget ("/cake") {
nextFrame();
};
}
}
Set("/:spin_count", /:spin_max);
} else {
Set("/:spin_count", /:spin_count - 1);
}
Symbol 138 MovieClip Frame 2
gotoAndPlay (1);
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 3
stop();
Symbol 140 MovieClip Frame 4
gotoAndStop (1);
Symbol 141 MovieClip Frame 1
playa_x = getProperty("/playa", _x);
if ((Number(playa_x) > 50) and (Number(playa_x) < 500)) {
tellTarget ("/health_playa") {
nextFrame();
};
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 151
tellTarget ("/playa") {
gotoAndStop ("die");
};
stopDrag();
Symbol 148 MovieClip Frame 152
setProperty("/playa", _y , Number(getProperty("/playa", _y)) + 4);
play();
Symbol 148 MovieClip Frame 153
if (Number(getProperty("/playa", _y)) < 400) {
prevFrame();
} else {
stop();
tellTarget ("/") {
gotoAndStop ("lose");
};
}
Symbol 150 MovieClip Frame 1
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk1");
};
stop();
Symbol 150 MovieClip Frame 8
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk2");
};
Symbol 150 MovieClip Frame 10
Set("/:skill", /:skill - 2);
Symbol 150 MovieClip Frame 16
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk3");
};
Symbol 150 MovieClip Frame 25
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk4");
};
Symbol 150 MovieClip Frame 27
Set("/:skill", /:skill - 2);
Symbol 150 MovieClip Frame 34
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk5");
};
Symbol 150 MovieClip Frame 45
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk6");
};
Symbol 150 MovieClip Frame 46
Set("/:skill", /:skill - 2);
Set("/:pow", /:pow - 1);
Symbol 150 MovieClip Frame 55
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk7");
};
tellTarget ("/dad") {
gotoAndPlay ("gun");
};
Symbol 150 MovieClip Frame 69
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk8");
};
Set("/:skill", /:skill - 2);
Set("/:pow", /:pow - 1);
Symbol 150 MovieClip Frame 85
tellTarget ("/dad/head/head/mouth") {
gotoAndPlay ("talk9");
};
Set("/:pow", /:pow - 1);
tellTarget ("/dad") {
gotoAndPlay ("gun");
};
Symbol 150 MovieClip Frame 93
tellTarget ("/dad") {
gotoAndPlay ("die");
};
Symbol 154 Button
on (release) {
gotoAndStop (3);
}