Frame 1
function GotoRankView() {
getURL ((_root.dir + "rank_view.") + _root.scripttype);
}
function DispatchGameData() {
var _local1 = _root;
_local1.score = _local1.score + 969696;
this.loadVariables((_local1.dir + "game_record.") + _local1.scripttype, "POST");
}
function clearMc() {
var _local1 = _root;
i = 11;
while (i < 36) {
_local1["hookMc" + i].removeMovieClip();
_local1["xitemSet" + i].removeMovieClip();
_local1["xfishMc" + i].removeMovieClip();
i++;
}
}
var score = 0;
Instance of Symbol 45 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (/:playM) {
_x = (_x - 2);
if (_x <= -1099) {
_x = 0;
}
}
}
Instance of Symbol 48 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (/:playM) {
_x = (_x - 3);
if (_x <= -1100) {
_x = 0;
}
}
}
Frame 51
startM = false;
_root.house.removeMovieClip();
_root.fishMc.removeMovieClip();
stop();
a1 = 100;
a2 = 80;
a3 = 150;
level = 1;
point = 0;
bxspeed = 9;
byspeed = 6;
xspeed = 4;
Frame 52
stop();
_root.c1.onRelease = function () {
_root.c1.gotoAndStop(2);
_root.c2.gotoAndStop(1);
v = 2;
startM = true;
};
_root.c2.onRelease = function () {
_root.c2.gotoAndStop(2);
_root.c1.gotoAndStop(1);
v = 1;
startM = true;
};
Frame 53
stopAllSounds();
bxspeed = bxspeed + 1;
byspeed = byspeed + 1;
xspeed = xspeed + 1;
levelScore = 0;
Frame 73
function faildck() {
if (lifeMc.bar._xscale <= 0) {
lifeMc.bar._xscale = 0;
_root.gotoAndPlay("faild");
_root.fishMc.gotoAndPlay("end");
playM = false;
}
}
stop();
endM = false;
Instance of Symbol 132 MovieClip "fishMc" in Frame 73
onClipEvent (load) {
this.swapDepths(40);
i = 41;
}
onClipEvent (enterFrame) {
if (/:playM) {
if (/:endM) {
_x = (_x + ((250 - _x) / 20));
_y = (_y + ((200 - _y) / 20));
} else {
_x = (_x + ((_root._xmouse - _x) / 10));
_y = (_y + ((_root._ymouse - _y) / 10));
}
updateAfterEvent();
}
}
onClipEvent (mouseDown) {
if (/:playM) {
_root.attachMovie("shootMc", "shootMc" + i, i);
_root["shootMc" + i]._x = _x;
_root["shootMc" + i]._y = _y;
i = i + 1;
if (i >= 50) {
i = 41;
}
}
}
Frame 74
stopAllSounds();
_root.score = point;
if (_root.dbconnect == "yes") {
_root.DispatchGameData();
}
Frame 90
stop();
Instance of Symbol 142 MovieClip in Frame 90
onClipEvent (load) {
this.swapDepths(50);
}
Frame 91
stopAllSounds();
bonus = random(50) + 100;
point = point + bonus;
_root.score = point;
_root.levelScore = _root.levelScore + bonus;
if (_root.dbconnect == "yes") {
_root.DispatchGameData();
}
Frame 157
stop();
_root.house.removeMovieClip();
Instance of Symbol 157 MovieClip in Frame 157
onClipEvent (load) {
this.swapDepths(50);
}
Symbol 6 MovieClip [hookMc] Frame 1
function ck() {
var _local1 = _root;
if (hitM && (hitMc.hitTest(_local1.fishMc))) {
Set("/:playM", false);
_local1.fishMc.gotoAndPlay("no");
_local1.lifeMc.bar._xscale = _local1.lifeMc.bar._xscale - 50;
_local1.faildck();
hitM = false;
}
if (_x < 0) {
this.removeMovieClip();
}
}
hitM = true;
xspeed = random(/:xspeed);
Symbol 6 MovieClip [hookMc] Frame 2
if (/:playM) {
_x = (_x - xspeed);
_y = (_y - 1);
i = i + 1;
ck();
if (i > 20) {
gotoAndPlay ("down");
i = 0;
}
}
Symbol 6 MovieClip [hookMc] Frame 3
gotoAndPlay ("up");
Symbol 6 MovieClip [hookMc] Frame 6
if (/:playM) {
_x = (_x - xspeed);
_y = (_y + 1);
i = i + 1;
ck();
if (i > 20) {
gotoAndPlay ("up");
i = 0;
}
}
Symbol 6 MovieClip [hookMc] Frame 7
gotoAndPlay ("down");
Symbol 15 MovieClip [xitemSet] Frame 1
function ck() {
var _local1 = _root;
if (hitM && (hitMc.hitTest(_local1.fishMc))) {
Set("/:playM", false);
_local1.fishMc.gotoAndPlay("no");
_local1.lifeMc.bar._xscale = _local1.lifeMc.bar._xscale - 20;
_local1.faildck();
hitM = false;
}
if (_x < 0) {
this.removeMovieClip();
}
if (life <= 0) {
_local1.point = _local1.point + 10;
_local1.levelScore = _local1.levelScore + 10;
r = new Sound();
r.attachSound("rS");
r.start();
this.removeMovieClip();
}
}
hitM = true;
life = 5;
xspeed = random(/:xspeed) + 1;
trace(xspeed);
Instance of Symbol 14 MovieClip [xitemMc] in Symbol 15 MovieClip [xitemSet] Frame 1
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 15 MovieClip [xitemSet] Frame 2
if (/:playM) {
_x = (_x - xspeed);
_rotation = (_rotation - xspeed);
ck();
}
Symbol 15 MovieClip [xitemSet] Frame 3
gotoAndPlay (2);
Symbol 17 MovieClip [xfishMc] Frame 1
function ck() {
var _local1 = _root;
if (hitM && (hitMc.hitTest(_local1.fishMc))) {
Set("/:playM", false);
_local1.fishMc.gotoAndPlay("no");
_local1.lifeMc.bar._xscale = _local1.lifeMc.bar._xscale - 30;
_local1.faildck();
hitM = false;
}
if (_x < 0) {
this.removeMovieClip();
}
if (life <= 0) {
_local1.point = _local1.point + 30;
_local1.levelScore = _local1.levelScore + 30;
r = new Sound();
r.attachSound("rS");
r.start();
this.removeMovieClip();
}
}
hitM = true;
life = 10;
Symbol 17 MovieClip [xfishMc] Frame 2
xspeed = random(/:bxspeed);
yspeed = random(/:byspeed);
p = random(2) + 1;
gotoAndPlay("pos" + p);
Symbol 17 MovieClip [xfishMc] Frame 3
if (/:playM) {
_x = (_x - xspeed);
_y = (_y - yspeed);
i = i + 1;
ck();
if (i > 20) {
gotoAndPlay (2);
i = 0;
}
if (_y < 10) {
gotoAndPlay ("pos2");
}
}
Symbol 17 MovieClip [xfishMc] Frame 4
gotoAndPlay ("pos1");
Symbol 17 MovieClip [xfishMc] Frame 7
if (/:playM) {
_x = (_x - xspeed);
_y = (_y + yspeed);
i = i + 1;
ck();
if (i > 20) {
gotoAndPlay (2);
i = 0;
}
if (_y > 350) {
gotoAndPlay ("pos1");
}
}
Symbol 17 MovieClip [xfishMc] Frame 8
gotoAndPlay ("pos2");
Symbol 20 MovieClip [shootMc] Frame 1
function boom() {
var _local1 = _root;
_local1.attachMovie("boom", "boom" + n, n);
_local1["boom" + n]._x = _x;
_local1["boom" + n]._y = _y;
n = n + 1;
if (n > 60) {
n = 51;
}
}
function ck() {
var _local1 = _root;
var _local2 = this;
_x = (_x + ((newX - _x) / 5));
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
i = 21;
while (i < 36) {
if (hitMc.hitTest(_local1["xitemSet" + i].hitMc)) {
_local1["xitemSet" + i].life = _local1["xitemSet" + i].life - 1;
boom();
_local2.removeMovieClip();
}
if (hitMc.hitTest(_local1["xfishMc" + i].hitMc)) {
_local1["xfishMc" + i].life = _local1["xfishMc" + i].life - 1;
boom();
_local2.removeMovieClip();
}
i++;
}
if (_x >= (newX - 5)) {
gotoAndPlay ("up");
}
}
newX = _x + 200;
n = 51;
Symbol 20 MovieClip [shootMc] Frame 3
ck();
Symbol 20 MovieClip [shootMc] Frame 4
gotoAndPlay ("x");
Symbol 20 MovieClip [shootMc] Frame 11
_y = (_y - 3);
_alpha = (_alpha - 5);
if (_alpha < 5) {
this.removeMovieClip();
}
Symbol 20 MovieClip [shootMc] Frame 12
gotoAndPlay ("up");
Symbol 24 MovieClip [boom] Frame 10
stop();
this.removeMovieClip();
Symbol 39 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 5
gotoAndPlay("v" + /:v);
Instance of Symbol 39 MovieClip in Symbol 41 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(/:v);
}
Symbol 41 MovieClip Frame 50
stop();
Symbol 41 MovieClip Frame 95
stop();
Symbol 42 MovieClip [house] Frame 1
if (/:playM) {
_x = (_x - 3);
if (_x < 275) {
_x = 275;
Set("/:playM", false);
_root.gotoAndPlay("success");
_root.fishMc.removeMovieClip();
house.play();
stop();
}
}
Symbol 42 MovieClip [house] Frame 2
gotoAndPlay (1);
Symbol 67 Button
on (release) {
getURL ("http://www.game24.co.kr", "_blank");
}
Symbol 77 Button
on (release) {
_root.play();
}
Symbol 88 Button
on (release) {
if (startM) {
_root.play();
}
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 115 MovieClip "bar" in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
_xscale = 0;
m = true;
}
onClipEvent (enterFrame) {
if (/:playM) {
_xscale = (_xscale + 0.08);
if (m && (_xscale >= 80)) {
i = 1;
while (i < 4) {
_root["con" + i].gotoAndStop(1);
i++;
}
}
if (m && (_xscale >= 90)) {
_root.clearMc();
_root.attachMovie("house", "house", 39);
_root.house._x = 700;
_root.house._y = 200;
m = false;
Set("/:endM", true);
}
}
}
Instance of Symbol 117 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/:playM) {
_x = (_x + 0.18);
}
}
Symbol 122 MovieClip Frame 1
i = 0;
a = /:a1;
n = 11;
Symbol 122 MovieClip Frame 2
time = random(a) + a;
Symbol 122 MovieClip Frame 3
if (/:playM) {
i = i + 1;
if (i > time) {
i = 0;
_root.attachMovie("hookMc", "hookMc" + n, n);
_root["hookMc" + n]._x = 560;
_root["hookMc" + n]._y = random(200);
n = n + 1;
if (n > 20) {
n = 11;
}
gotoAndPlay (2);
}
}
Symbol 122 MovieClip Frame 4
gotoAndPlay (3);
Symbol 123 MovieClip Frame 1
i = 0;
a = /:a2;
n = 21;
Symbol 123 MovieClip Frame 2
time = random(a) + a;
Symbol 123 MovieClip Frame 3
if (/:playM) {
i = i + 1;
if (i > time) {
i = 0;
_root.attachMovie("xitemSet", "xitemSet" + n, n);
_root["xitemSet" + n]._x = 560;
_root["xitemSet" + n]._y = random(350);
n = n + 1;
if (n > 30) {
n = 21;
}
gotoAndPlay (2);
}
}
Symbol 123 MovieClip Frame 4
gotoAndPlay (3);
Symbol 124 MovieClip Frame 1
i = 0;
a = /:a3;
n = 31;
Symbol 124 MovieClip Frame 2
time = random(a) + a;
Symbol 124 MovieClip Frame 3
if (/:playM) {
i = i + 1;
if (i > time) {
i = 0;
_root.attachMovie("xfishMc", "xfishMc" + n, n);
_root["xfishMc" + n]._x = 560;
_root["xfishMc" + n]._y = random(350);
n = n + 1;
if (n > 35) {
n = 31;
}
gotoAndPlay (2);
}
}
Symbol 124 MovieClip Frame 4
gotoAndPlay (3);
Symbol 127 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Set("/:playM", true);
Instance of Symbol 39 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(/:v);
}
Symbol 132 MovieClip Frame 30
gotoAndStop (1);
Instance of Symbol 127 MovieClip in Symbol 132 MovieClip Frame 31
onClipEvent (load) {
gotoAndStop(/:v);
}
Symbol 132 MovieClip Frame 53
gotoAndStop (1);
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip Frame 54
onClipEvent (load) {
gotoAndStop(/:v);
}
Symbol 132 MovieClip Frame 82
stop();
Symbol 141 Button
on (release) {
Set("/:bxspeed", /:bxspeed - 1);
Set("/:byspeed", /:byspeed - 1);
Set("/:xspeed", /:xspeed - 1);
_root.clearMc();
Set("/:point", 0);
_root.lifeMc.bar._xscale = 100;
_root.gotoAndPlay("re");
this.removeMovieClip();
}
Symbol 149 Button
on (release) {
_root.clearMc();
if (_root.lifeMc.bar._xscale < 90) {
_root.lifeMc.bar._xscale = _root.lifeMc.bar._xscale + 10;
}
_root.gotoAndPlay("next");
if (/:a1 > 40) {
Set("/:a1", /:a1 - 20);
}
if (/:a2 > 20) {
Set("/:a2", /:a2 - 20);
}
if (/:a3 > 40) {
Set("/:a3", /:a3 - 20);
}
Set("/:level", /:level + 1);
this.removeMovieClip();
}