Frame 1
stop();
Frame 2
play();
Frame 3
stop();
Frame 13
startDrag ("/trail0", true, 130, 380, 500, 380);
tellTarget ("/trail0") {
gotoAndPlay (2);
};
tellTarget ("/trail1") {
gotoAndPlay (1);
};
tellTarget ("/cannon") {
gotoAndPlay (1);
};
tellTarget ("/bombpile") {
gotoAndStop (7);
};
score = 0;
endofgame = 0;
bombsLeft = 6;
tellTarget ("/bombpile") {
gotoAndStop(Number(../:bombsLeft) + 1);
};
num = 1;
while (3 >= Number(num)) {
duplicateMovieClip ("/bomb", "bomb" add num, num);
Set("bombActive" add num, 0);
Set("bombOnScreen" add num, 0);
num = Number(num) + 1;
}
play();
Frame 16
if ((Number(endofgame) == 1) or ((((Number(bombActive1) == 0) and (Number(bombActive2) == 0)) and (Number(bombActive3) == 0)) and (0 >= Number(bombsLeft)))) {
gotoAndStop (22);
} else {
play();
}
Frame 17
if (Number(score) < 4800) {
gamerate = int(40 - (score / 160));
} else {
gamerate = 10;
}
if ((Number(catOn) == 0) and (Number(random(gamerate)) == 0)) {
catOn = 1;
tellTarget ("/cat") {
gotoAndPlay ("setup");
};
} else if ((Number(carrotOn) == 0) and (Number(random(gamerate)) == 0)) {
carrotOn = 1;
tellTarget ("/carrot") {
gotoAndPlay ("setup");
};
} else if ((Number(cupofteaOn) == 0) and (Number(random(gamerate)) == 0)) {
cupofteaOn = 1;
tellTarget ("/cupoftea") {
gotoAndPlay ("setup");
};
} else if ((Number(hippoOn) == 0) and (Number(random(gamerate)) == 0)) {
hippoOn = 1;
tellTarget ("/hippo") {
gotoAndPlay ("setup");
};
}
prevFrame();
Frame 22
_quality = "HIGH";
num = 1;
while (3 >= Number(num)) {
removeMovieClip("bomb" add num);
num = Number(num) + 1;
}
stop();
Frame 27
stop();
Frame 37
dongle = 0;
loadVariables ("dongle.txt", "");
checkTime = getTimer();
play();
Frame 38
play();
Frame 39
waitTime = (getTimer() - checkTime) / 1000;
if (dongle == 1) {
gotoAndStop (37);
} else if (10 < waitTime) {
getURL ("http://mohsye.com");
stop();
} else {
prevFrame();
}
Frame 41
getURL ("http://mohsye.com");
stop();
Frame 46
getURL ("http://mohsye.com");
stop();
Symbol 70 MovieClip Frame 1
play();
Symbol 70 MovieClip Frame 135
_parent.setHeader();
Symbol 70 MovieClip Frame 180
_parent.nextFrame();
Symbol 79 Button
on (release) {
gotoAndStop (13);
}
Symbol 83 Button
on (press) {
getURL ("http://www.mohsye.com", "_blank");
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
play();
Symbol 96 MovieClip Frame 17
angleTemp = int(Number(../:rotPos) + 20) * -0.75;
Set(../:bombShoot add ":angle", angleTemp);
Set(../:bombShoot add ":xPos", 120 - angleTemp);
Set(../:bombShoot add ":yPos", 270 - angleTemp);
tellTarget (../:bombShoot) {
gotoAndPlay (2);
};
if (0 < Number(../../:bombsLeft)) {
Set("../../:bombsLeft", ../../:bombsLeft - 1);
}
tellTarget ("../../bombpile") {
gotoAndStop(Number(../:bombsLeft) + 1);
};
Symbol 96 MovieClip Frame 23
tellTarget ("../") {
gotoAndPlay (1);
};
gotoAndStop (1);
Symbol 101 MovieClip Frame 1
count = 0;
play();
Symbol 101 MovieClip Frame 2
if (0 >= Number(../:bombsLeft)) {
count = ../:gamerate - 2;
}
if (Number(../:endofgame) == 0) {
play();
} else {
stop();
}
Symbol 101 MovieClip Frame 3
if (Number(count) < Number(../:gamerate)) {
rotPos = getProperty("shoot", _rotation);
if (Number(rotPos) < Number(-60)) {
cannonRot = 1;
} else if (Number(-40) < Number(rotPos)) {
cannonRot = -1;
}
setProperty("shoot", _rotation , Number(rotPos) + Number(cannonRot));
setProperty("shoot", _xscale , 100);
setProperty("shoot", _yscale , 100);
count = Number(count) + 1;
prevFrame();
} else {
rotPos = getProperty("shoot", _rotation);
bombShoot = "";
num = 3;
while (num >= 1) {
if ((eval ("_parent.bombOnScreen" + num) == 0) and (0 < _parent.bombsLeft)) {
Set("_parent.bombOnScreen" + num, 1);
bombShoot = "_parent._parent.bomb" + num;
num = 0;
}
num--;
}
if (bombShoot ne "") {
shoot.gotoAndPlay(2);
nextFrame();
} else {
count = _parent.gamerate / 2;
prevFrame();
}
}
Symbol 101 MovieClip Frame 4
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
Set("../:power", 0);
power = 0;
stop();
Symbol 112 MovieClip Frame 2
play();
Symbol 112 MovieClip Frame 6
gotoAndStop (1);
Symbol 112 MovieClip Frame 10
stopDrag();
play();
Symbol 112 MovieClip Frame 21
Set("../:endofgame", 1);
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
i = 1;
a = 4;
b = 1.5;
k = 0;
while (Number(i) >= 0) {
Set(("/trail" add i) add ":x_value", getProperty("/trail" add i, _x));
Set(("/trail" add i) add ":vx", 0);
i = i - 1;
}
play();
Symbol 113 MovieClip Frame 3
Set("/trail1:vx", (Number(/trail1:vx) + Number((((Number(/trail0:x_value) + Number(k)) - /trail1:x_value) * 1) / a)) / b);
Set("/trail1:x_value", Number(/trail1:x_value) + Number(/trail1:vx));
Set("/trail0:x_value", getProperty("/trail0", _x));
if (130 < Number(/trail1:x_value)) {
setProperty("/trail1", _x , /trail1:x_value);
}
play();
Symbol 113 MovieClip Frame 4
prevFrame();
Symbol 118 MovieClip Frame 1
play();
Symbol 118 MovieClip Frame 5
gotoAndPlay (1);
Symbol 129 MovieClip Frame 1
play();
Symbol 129 MovieClip Frame 70
gotoAndPlay(random(65));
Symbol 130 MovieClip Frame 1
_x = 600;
_y = (Number(random(120)) + 100);
moves = 1;
Set("../:catOn", 0);
stop();
Symbol 130 MovieClip Frame 2
if (Number(moves) == 3) {
direction = 2;
} else {
direction = -2;
}
if ((Number(moves) == 2) or (Number(moves) == 4)) {
speed = 0;
distance = Number(random(../:gamerate)) + 10;
} else if (Number(moves) < 5) {
speed = direction / (Number(moves) + 1);
distance = 35 + Number(random(11));
} else {
speed = -1;
distance = 50;
}
frame = 1;
moves = Number(moves) + 1;
play();
Symbol 130 MovieClip Frame 3
play();
Symbol 130 MovieClip Frame 4
if (Number(frame) < Number(distance)) {
if (Number(frame) < Number(distance / 2)) {
xMove = speed * frame;
} else {
xMove = speed * (distance - frame);
}
xPos = Number(_x) + Number(xMove);
if ((Number(-50) < Number(xPos)) and (Number(xPos) < 600)) {
_x = xPos;
frame = Number(frame) + 1;
prevFrame();
} else {
gotoAndStop (1);
}
} else {
gotoAndPlay (2);
}
Symbol 135 MovieClip Frame 1
play();
Symbol 135 MovieClip Frame 70
gotoAndPlay(random(65));
Symbol 138 MovieClip Frame 1
_x = -50;
_y = (Number(random(100)) + 100);
moves = 1;
Set("../:carrotOn", 0);
divebomb = 0;
stop();
Symbol 138 MovieClip Frame 2
if (Number(moves) == 3) {
direction = -2;
} else {
direction = 2;
}
if ((Number(moves) == 2) or (Number(moves) == 4)) {
speed = 0;
distance = Number(random(../:gamerate)) + 10;
} else if (Number(moves) < 5) {
speed = direction / (Number(moves) + 1);
distance = 35 + Number(random(11));
} else {
speed = 1;
distance = 50;
}
frame = 1;
moves = Number(moves) + 1;
play();
Symbol 138 MovieClip Frame 3
if (Number(divebomb) == 0) {
play();
} else {
gotoAndPlay (5);
}
Symbol 138 MovieClip Frame 4
if (Number(frame) < Number(distance)) {
if (Number(frame) < Number(distance / 2)) {
xMove = speed * frame;
} else {
xMove = speed * (distance - frame);
}
xPos = Number(_x) + Number(xMove);
if ((Number(-50) < Number(xPos)) and (Number(xPos) < 600)) {
_x = xPos;
frame = Number(frame) + 1;
prevFrame();
} else {
gotoAndStop (1);
}
} else {
gotoAndPlay (2);
}
Symbol 138 MovieClip Frame 5
play();
Symbol 138 MovieClip Frame 6
if (Number(_y) < 390) {
_y = (Number(_y) + 30);
Set("../:score", Number(../:score) + 30);
prevFrame();
} else {
nextFrame();
}
Symbol 138 MovieClip Frame 7
dX = _x - getProperty("../trail1", _x);
if ((Number(-50) < Number(dX)) and (Number(dX) < 50)) {
tellTarget ("../trail1") {
gotoAndPlay ("dead");
};
}
play();
Symbol 138 MovieClip Frame 18
gotoAndStop (1);
Symbol 142 MovieClip Frame 1
play();
Symbol 142 MovieClip Frame 70
gotoAndPlay(random(65));
Symbol 145 MovieClip Frame 76
Set("../:explode", 1);
stop();
Symbol 150 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 1
_x = -50;
_y = (Number(random(50)) + 150);
moves = 1;
Set("../:cupofteaOn", 0);
dunk = 0;
explode = 0;
stop();
Symbol 152 MovieClip Frame 2
if (Number(moves) == 3) {
direction = -2;
} else {
direction = 2;
}
if ((Number(moves) == 2) or (Number(moves) == 4)) {
speed = 0;
distance = Number(random(../:gamerate)) + 7;
} else if (Number(moves) < 5) {
speed = direction / (Number(moves) + 1);
distance = 35 + Number(random(11));
} else {
speed = 1;
distance = 50;
}
frame = 1;
moves = Number(moves) + 1;
play();
Symbol 152 MovieClip Frame 3
if (Number(dunk) == 0) {
play();
} else {
gotoAndPlay (5);
}
Symbol 152 MovieClip Frame 4
if (Number(frame) < Number(distance)) {
if (Number(frame) < Number(distance / 2)) {
xMove = speed * frame;
} else {
xMove = speed * (distance - frame);
}
xPos = Number(_x) + Number(xMove);
if ((Number(-50) < Number(xPos)) and (Number(xPos) < 600)) {
_x = xPos;
frame = Number(frame) + 1;
prevFrame();
} else {
gotoAndStop (1);
}
} else {
gotoAndPlay (2);
}
Symbol 152 MovieClip Frame 5
tellTarget ("bomb") {
gotoAndPlay(../../:cupofteabombframe);
};
play();
Symbol 152 MovieClip Frame 6
play();
Symbol 152 MovieClip Frame 7
if (Number(explode) == 0) {
Set("../:score", Number(../:score) + 40);
prevFrame();
} else {
nextFrame();
}
Symbol 152 MovieClip Frame 8
play();
Symbol 152 MovieClip Frame 19
gotoAndStop (1);
Symbol 157 MovieClip Frame 1
play();
Symbol 157 MovieClip Frame 25
gotoAndPlay(Number(random(20)) + 1);
Symbol 159 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
_x = 600;
_y = (Number(random(200)) + 100);
moves = 1;
Set("../:hippoOn", 0);
caught = 0;
explode = 0;
tellTarget ("anim") {
gotoAndStop (1);
};
closetime = ../:gamerate;
opentime = 100 - closetime;
Set("../:hippoOpen", 0);
stateCount = 0;
stop();
Symbol 162 MovieClip Frame 2
if (Number(moves) == 3) {
direction = 2;
} else {
direction = -2;
}
if ((Number(moves) == 2) or (Number(moves) == 4)) {
speed = 0;
distance = Number(random(../:gamerate)) + 10;
} else if (Number(moves) < 5) {
speed = direction / (Number(moves) + 1);
distance = 35 + Number(random(11));
} else {
speed = -1;
distance = 50;
}
frame = 1;
moves = Number(moves) + 1;
play();
Symbol 162 MovieClip Frame 3
if (Number(caught) == 0) {
play();
} else {
gotoAndPlay (10);
}
Symbol 162 MovieClip Frame 4
stateCount = Number(stateCount) + 1;
if ((Number(../:hippoOpen) == 0) and (Number(stateCount) == Number(closetime))) {
stateCount = 0;
Set("../:hippoOpen", 1);
tellTarget ("anim") {
gotoAndStop (2);
};
} else if ((Number(../:hippoOpen) == 1) and (Number(stateCount) == Number(opentime))) {
stateCount = 0;
Set("../:hippoOpen", 0);
tellTarget ("anim") {
gotoAndStop (1);
};
}
if (Number(frame) < Number(distance)) {
if (Number(frame) < Number(distance / 2)) {
xMove = speed * frame;
} else {
xMove = speed * (distance - frame);
}
xPos = Number(_x) + Number(xMove);
if ((Number(-50) < Number(xPos)) and (Number(xPos) < 600)) {
_x = xPos;
frame = Number(frame) + 1;
prevFrame();
} else {
gotoAndStop (1);
}
} else {
gotoAndPlay (2);
}
Symbol 162 MovieClip Frame 10
tellTarget ("bomb") {
gotoAndPlay(../../:hippobombframe);
};
tellTarget ("anim") {
gotoAndStop (1);
};
caughtCount = 1;
play();
Symbol 162 MovieClip Frame 11
if (Number(explode) == 0) {
play();
} else {
gotoAndPlay (28);
}
Symbol 162 MovieClip Frame 12
xTarget = getProperty("../trail1", _x);
xMove = (xTarget - _x) / 3;
_x = (Number(_x) + Number(xMove));
if (((Number(xMove) < 10) and (Number(-10) < Number(xMove))) or (3 < Number(caughtCount))) {
bombY = (380 - _y) / 5;
tellTarget ("anim") {
gotoAndStop (2);
};
count = 0;
nextFrame();
} else {
caughtCount = Number(caughtCount) + 1;
prevFrame();
}
Symbol 162 MovieClip Frame 13
if (Number(explode) == 0) {
play();
} else {
gotoAndPlay (16);
}
Symbol 162 MovieClip Frame 14
if (Number(count) < 5) {
setProperty("bomb", _y , Number(getProperty("bomb", _y)) + Number(bombY));
count = Number(count) + 1;
prevFrame();
} else {
dX = _x - getProperty("../trail1", _x);
if ((Number(-40) < Number(dX)) and (Number(dX) < 40)) {
tellTarget ("../trail1") {
gotoAndPlay ("dead");
};
}
gotoAndPlay (16);
}
Symbol 162 MovieClip Frame 16
setProperty("kaboom", _y , bombY * 5);
play();
Symbol 162 MovieClip Frame 27
gotoAndStop (1);
Symbol 162 MovieClip Frame 28
Set("../:score", Number(../:score) + 1000);
play();
Symbol 162 MovieClip Frame 39
gotoAndStop (1);
Symbol 165 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 1
tellTarget ("insnow") {
gotoAndStop (1);
};
stop();
Symbol 167 MovieClip Frame 10
Set("../../:bombActive" add ../:bombNum, 1);
play();
Symbol 167 MovieClip Frame 75
dX = ../:xPos - getProperty("../../trail1", _x);
if (((360 < Number(getProperty("../", _y))) and (Number(-40) < Number(dX))) and (Number(dX) < 40)) {
tellTarget ("../../trail1") {
gotoAndPlay ("dead");
};
}
tellTarget ("../") {
gotoAndStop ("still");
};
Symbol 167 MovieClip Frame 86
Set("../../:bombActive" add ../:bombNum, 0);
Set("../../:bombOnScreen" add ../:bombNum, 0);
tellTarget ("../") {
gotoAndStop ("inactive");
};
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 5
Set("../:collision", 0);
dX = getProperty("../", _x) - getProperty("../../cat", _x);
dY = getProperty("../", _y) - getProperty("../../cat", _y);
if (((((Number(-30) < Number(dX)) and (Number(dX) < 30)) and (Number(-30) < Number(dY))) and (Number(dY) < 30)) and (Number(../../:catOn) == 1)) {
Set("../:collision", 1);
tellTarget ("../../cat") {
gotoAndStop (1);
};
Set("../../:score", Number(../../:score) + 100);
}
dX = getProperty("../", _x) - getProperty("../../carrot", _x);
dY = getProperty("../", _y) - getProperty("../../carrot", _y);
if ((((((Number(-25) < Number(dX)) and (Number(dX) < 25)) and (Number(-25) < Number(dY))) and (Number(dY) < 25)) and (Number(../../:carrotOn) == 1)) and (Number(../:yMove) < 0)) {
Set("../:collision", 1);
tellTarget ("../../carrot") {
gotoAndStop (1);
};
Set("../../:score", Number(../../:score) + 150);
} else if ((((((Number(-25) < Number(dX)) and (Number(dX) < 25)) and (Number(-25) < Number(dY))) and (Number(dY) < 0)) and (Number(../../:carrotOn) == 1)) and (0 < Number(../:yMove))) {
tellTarget ("../../carrot") {
divebomb = 1;
};
Set("../:collision", 2);
}
dX = getProperty("../", _x) - getProperty("../../cupoftea", _x);
dY = getProperty("../", _y) - getProperty("../../cupoftea", _y);
if ((((((Number(-25) < Number(dX)) and (Number(dX) < 25)) and (Number(-25) < Number(dY))) and (Number(dY) < 0)) and (Number(../../:cupofteaOn) == 1)) and (0 < Number(../:yMove))) {
Set("../:collision", 2);
tellTarget ("../anim") {
Set("../../:cupofteabombframe", _currentframe);
};
tellTarget ("../../cupoftea") {
dunk = 1;
};
}
dX = getProperty("../", _x) - getProperty("../../hippo", _x);
dY = getProperty("../", _y) - getProperty("../../hippo", _y);
if (((((Number(-30) < Number(dX)) and (Number(dX) < 30)) and (Number(-30) < Number(dY))) and (Number(dY) < 30)) and (Number(../../:hippoOn) == 1)) {
if (Number(../../:hippoOpen) == 0) {
Set("../:collision", 1);
tellTarget ("../../hippo") {
gotoAndStop (1);
};
Set("../../:score", Number(../../:score) + 500);
} else {
Set("../:collision", 2);
tellTarget ("../anim") {
Set("../../:hippobombframe", _currentframe);
};
tellTarget ("../../hippo") {
caught = 1;
};
}
}
stop();
Symbol 169 MovieClip Frame 1
bombNum = substring(_name, 5, 1);
play();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
_x = xPos;
_y = yPos;
dropFrame = 6 + Number(random(4));
yRatio = 0.2 + Number(angle / 66);
xRatio = 1 - yRatio;
speed = 10 + Number(random(20));
xSpeed = speed * xRatio;
ySpeed = (speed * yRatio) / (dropFrame - 1);
frame = 1;
nextFrame();
Symbol 169 MovieClip Frame 4
play();
Symbol 169 MovieClip Frame 5
xPos = Number(_x) + Number(xSpeed);
if (Number(Number(yPos) + Number(yMove)) < 385) {
if (Number(dropFrame) >= Number(frame)) {
yMove = (dropFrame - frame) * (-1 * ySpeed);
} else {
yMove = (frame - dropFrame) * ySpeed;
}
if (20 < Number(yMove)) {
yMove = 20;
}
yPos = Number(_y) + Number(yMove);
_x = xPos;
_y = yPos;
frame = Number(frame) + 1;
dX = xPos - getProperty("../trail1", _x);
if ((((345 < Number(yPos)) and (Number(yPos) < 365)) and (Number(-40) < Number(dX))) and (Number(dx) < 40)) {
xSpeed = dX / 2;
ySpeed = 4;
dropFrame = 13;
frame = 1;
tellTarget ("anim") {
gotoAndPlay ("active");
};
tellTarget ("../trail1") {
gotoAndPlay ("bounce");
};
gotoAndPlay (10);
} else {
prevFrame();
}
} else {
_y = 390;
_x = xPos;
tellTarget ("anim") {
gotoAndPlay ("active");
};
tellTarget ("anim/insnow") {
gotoAndStop (2);
};
gotoAndStop (13);
}
Symbol 169 MovieClip Frame 9
play();
Symbol 169 MovieClip Frame 10
xPos = Number(_x) + Number(xSpeed);
if (Number(xPos) < 5) {
xSpeed = xSpeed * -1;
xPos = 6;
} else if (545 < Number(xPos)) {
xSpeed = xSpeed * -1;
xPos = 544;
}
if (Number(Number(yPos) + Number(yMove)) < 385) {
if (Number(dropFrame) >= Number(frame)) {
yMove = (dropFrame - frame) * (-1 * ySpeed);
} else {
yMove = (frame - dropFrame) * ySpeed;
}
if (20 < Number(yMove)) {
yMove = 20;
}
yPos = Number(_y) + Number(yMove);
_x = xPos;
_y = yPos;
frame = Number(frame) + 1;
dX = xPos - getProperty("../trail1", _x);
if ((((345 < Number(yPos)) and (Number(yPos) < 365)) and (Number(-40) < Number(dX))) and (Number(dx) < 40)) {
xSpeed = dX / 3;
ySpeed = 4;
dropFrame = 13;
frame = 1;
}
call("collision:check");
if (Number(collision) == 0) {
prevFrame();
} else if (Number(collision) == 1) {
if (Number(../:bombsLeft) < 5) {
Set("../:bombsLeft", Number(../:bombsLeft) + 2);
} else {
Set("../:bombsLeft", 6);
}
tellTarget ("../bombpile") {
gotoAndStop(Number(../:bombsLeft) + 1);
};
tellTarget ("anim") {
gotoAndPlay ("explode");
};
gotoAndStop (13);
} else if (Number(collision) == 2) {
Set("../:bombsLeft", 6);
tellTarget ("../bombpile") {
gotoAndStop(Number(../:bombsLeft) + 1);
};
tellTarget ("anim") {
gotoAndPlay ("dead");
};
gotoAndStop (13);
}
} else {
_y = 390;
_x = xPos;
tellTarget ("anim/insnow") {
gotoAndStop (2);
};
gotoAndStop (13);
}
Symbol 169 MovieClip Frame 13
stop();
Symbol 171 Button
on (keyPress "q") {
if (Number(hq) == 1) {
_quality = "LOW";
hq = 0;
} else {
_quality = "HIGH";
hq = 1;
}
}
on (keyPress "Q") {
if (Number(hq) == 1) {
_quality = "LOW";
hq = 0;
} else {
_quality = "HIGH";
hq = 1;
}
}
Symbol 178 Button
on (release) {
stopAllSounds();
if (Number(hq) == 0) {
}
gotoAndPlay (13);
}