Frame 1
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 2
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 3
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 4
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 5
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 6
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 7
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 8
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 9
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 10
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 11
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 12
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 13
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 14
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 15
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 16
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 17
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 18
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 19
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 20
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 21
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 22
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 23
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 24
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 25
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 26
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 27
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 28
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 29
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 30
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 31
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 32
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 33
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 34
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 35
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 36
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 37
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 38
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 39
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 40
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 41
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 42
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 43
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 44
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 45
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 46
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 47
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 48
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 49
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 50
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 51
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 52
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 53
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 54
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 55
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 56
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 57
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 58
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 59
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 60
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 61
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 62
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 63
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 64
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 65
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 66
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 67
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 68
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 69
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 70
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 71
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 72
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 73
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 74
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 75
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 76
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 77
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 78
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
}
Frame 79
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded == total) {
gotoAndPlay (80);
} else {
gotoAndPlay (1);
}
Frame 80
function goGame() {
gotoAndPlay (130);
}
stop();
Frame 98
stop();
Frame 130
function eatplay() {
eat_num = Math.round(Math.random() * 2) + 1;
if (eat_num == 1) {
eat1_sound.start();
}
if (eat_num == 2) {
eat2_sound.start();
}
if (eat_num == 3) {
eat3_sound.start();
}
}
function initGame() {
bouble_num = 0;
eat1_sound.attachSound("eat1");
eat2_sound.attachSound("eat2");
eat3_sound.attachSound("eat3");
no_sound.attachSound("no_mc");
game_start = false;
hoon_life = 3;
m_speed = 15;
fish_num = 10;
mission_mc.f_score.gotoAndStop(fish_num + 1);
T_score = 0;
hoon_level = 1;
move_pos = "left";
hoon_mc._x = 250;
hoon_mc._y = 180;
hoon_goX = 250;
hoon_goY = 180;
level_mc.gotoAndStop(2);
i = 1;
while (i <= 3) {
movie_mc.attachMovie(("fish" + hoon_level) + "_mc", (("fish" + hoon_level) + "_mc") + i, i + (hoon_level * 1000));
movie_mc[(("fish" + hoon_level) + "_mc") + i].m_level = hoon_level;
i++;
}
copyFish();
}
function lifeM() {
hoon_life--;
if (hoon_life == 2) {
hoon_life3._visible = false;
}
if (hoon_life == 1) {
hoon_life2._visible = false;
}
if (hoon_life == 0) {
hoon_life1._visible = false;
}
if (hoon_life < 0) {
hf = hoon_mc._currentframe;
hoon_mc.gotoAndStop(hf);
hoon_mc._yscale = -100;
hoon_mc._y = 360;
hoon_life1._visible = false;
endGame();
gotoAndPlay (268);
}
}
function copyFish() {
i = 1;
while (i <= 3) {
movie_mc.attachMovie(("fish" + (hoon_level + 1)) + "_mc", (("fish" + (hoon_level + 1)) + "_mc") + i, i + ((hoon_level + 1) * 1000));
movie_mc[(("fish" + (hoon_level + 1)) + "_mc") + i].m_level = hoon_level + 1;
i++;
}
}
function endGame() {
i = 1;
while (i <= 3) {
movie_mc["fish1_mc" + i].removeMovieClip();
movie_mc["fish2_mc" + i].removeMovieClip();
movie_mc["fish3_mc" + i].removeMovieClip();
movie_mc["fish4_mc" + i].removeMovieClip();
movie_mc["fish5_mc" + i].removeMovieClip();
movie_mc["fish6_mc" + i].removeMovieClip();
i++;
}
game_start = false;
}
function goMain() {
gotoAndPlay (80);
}
function replay() {
gotoAndPlay (279);
}
function levelUp() {
if (hoon_level == 5) {
endGame();
hoon_mc._visible = false;
gotoAndPlay ("game_clear");
} else {
hoon_mc._xscale = hoon_mc._xscale + 7;
hoon_mc._yscale = hoon_mc._yscale + 7;
m_speed = m_speed - 2;
level_mc.gotoAndStop(hoon_level + 1);
hoon_mc.light_mc.play();
if (hoon_level == 1) {
gotoAndPlay (131);
}
if (hoon_level == 2) {
gotoAndPlay (154);
}
if (hoon_level == 3) {
gotoAndPlay (179);
}
if (hoon_level == 4) {
gotoAndPlay (204);
}
if (hoon_level == 5) {
gotoAndPlay (229);
}
hoon_level++;
if (hoon_level == 2) {
fish_num = 15;
}
if (hoon_level == 3) {
fish_num = 20;
}
if (hoon_level == 4) {
fish_num = 25;
}
if (hoon_level == 5) {
fish_num = 30;
}
mission_mc.gotoAndPlay("mission0" + hoon_level);
mission_mc.f_score.gotoAndStop(fish_num + 1);
copyFish();
}
}
var hoon_goX;
var hoon_goY;
var move_pos;
var hoon_level;
var hoon_life;
var T_score;
var fish_num;
var m_speed;
var game_start;
var eat1_sound = new Sound();
var eat2_sound = new Sound();
var eat3_sound = new Sound();
var no_sound = new Sound();
var bouble_num;
initGame();
this.onEnterFrame = function () {
if (game_start == true) {
if (Key.isDown(37)) {
if ((hoon_goX - 15) <= 0) {
hoon_goX = 0;
} else {
hoon_goX = hoon_goX - m_speed;
}
}
if (Key.isDown(39)) {
if (((hoon_goX + 15) + hoon_mc._width) >= 500) {
hoon_goX = 500 - hoon_mc._width;
} else {
hoon_goX = hoon_goX + m_speed;
}
}
if (Key.isDown(38)) {
if ((hoon_goY - 15) <= 28) {
hoon_goY = 28;
} else {
hoon_goY = hoon_goY - m_speed;
}
}
if (Key.isDown(40)) {
if ((hoon_goY + 15) >= 326) {
hoon_goY = 326;
} else {
hoon_goY = hoon_goY + m_speed;
}
}
if (hoon_mc._x != hoon_goX) {
if (hoon_mc._x > hoon_goX) {
if (move_pos == "right") {
move_pos = "left";
hoon_mc.gotoAndPlay("level" + hoon_level);
}
if ((hoon_mc._x - hoon_goX) <= 1) {
hoon_mc._x = hoon_goX;
}
hoon_mc._x = hoon_mc._x - ((hoon_mc._x - hoon_goX) * 0.1);
} else if (hoon_mc._x < hoon_goX) {
if (move_pos == "left") {
move_pos = "right";
hoon_mc.gotoAndPlay(("level" + hoon_level) + "_2");
}
if ((hoon_goX - hoon_mc._x) <= 1) {
hoon_mc._x = hoon_goX;
}
hoon_mc._x = hoon_mc._x + ((hoon_goX - hoon_mc._x) * 0.1);
}
}
if (hoon_mc._y != hoon_goY) {
if (hoon_mc._y > hoon_goY) {
if ((hoon_mc._y - hoon_goY) <= 1) {
hoon_mc._y = hoon_goY;
}
hoon_mc._y = hoon_mc._y - ((hoon_mc._y - hoon_goY) * 0.1);
} else if (hoon_mc._y < hoon_goY) {
if ((hoon_goY - hoon_mc._y) <= 1) {
hoon_mc._y = hoon_goY;
}
hoon_mc._y = hoon_mc._y + ((hoon_goY - hoon_mc._y) * 0.1);
}
}
if ((Math.abs(Math.abs(hoon_goX) - Math.abs(hoon_mc._x)) < 20) and (Math.abs(Math.abs(hoon_goY) - Math.abs(hoon_mc._Y)) < 20)) {
hf = hoon_mc._currentframe;
hoon_mc.gotoAndStop(hf);
} else {
hoon_mc.play();
}
m_score_str = String(T_score);
if (m_score_str.length == 3) {
m_score_str = "0" + m_score_str;
}
if (m_score_str.length == 2) {
m_score_str = "00" + m_score_str;
}
if (m_score_str.length == 1) {
m_score_str = "000" + m_score_str;
}
var _local2 = 1;
while (_local2 < (m_score_str.length + 1)) {
this[("num" + _local2) + "_mc"].gotoAndStop(int(m_score_str.substr(_local2 - 1, 1)) + 1);
_local2++;
}
}
};
stop();
Frame 153
stop();
stop();
Frame 178
stop();
stop();
Frame 203
stop();
stop();
Frame 228
stop();
stop();
Frame 253
stop();
stop();
Frame 254
stopAllSounds();
Frame 259
stop();
Frame 267
stop();
Frame 268
stopAllSounds();
if (hoon_level == 1) {
background_mc._y = 0;
}
if (hoon_level == 2) {
background_mc._y = -100;
}
if (hoon_level == 3) {
background_mc._y = -200;
}
if (hoon_level == 4) {
background_mc._y = -300;
}
Frame 278
stop();
Frame 279
gotoAndPlay (130);
Symbol 21 MovieClip [bscore_mc] Frame 1
Symbol 21 MovieClip [bscore_mc] Frame 31
this.removeMovieClip();
stop();
Symbol 21 MovieClip [bscore_mc] Frame 62
this.removeMovieClip();
stop();
Symbol 21 MovieClip [bscore_mc] Frame 93
this.removeMovieClip();
stop();
Symbol 21 MovieClip [bscore_mc] Frame 124
this.removeMovieClip();
stop();
Symbol 21 MovieClip [bscore_mc] Frame 155
this.removeMovieClip();
stop();
Symbol 25 MovieClip [fish1_mc] Frame 1
function reset() {
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (13);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
function initFish() {
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (13);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
initFish();
this.onEnterFrame = function () {
if (_parent._parent.game_start == true) {
if (this._x < goX) {
if ((goX - this._x) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = -50 - this._width;
initFish();
gotoAndPlay (2);
}
this._x = this._x + m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs(_parent._parent.hoon_mc._x - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (13);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
} else if (this._x > goX) {
if ((this._x - goX) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = 550;
initFish();
gotoAndPlay (13);
}
this._x = this._x - m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs((_parent._parent.hoon_mc._x + _parent._parent.hoon_mc._width) - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (13);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
}
if (this.hitTest(_parent._parent.hoon_mc.hit_mc)) {
if (m_level <= _parent._parent.hoon_level) {
reset();
_parent._parent.eatplay();
if (m_level == _parent._parent.hoon_level) {
_parent._parent.fish_num--;
}
_parent._parent.mission_mc.f_score.gotoAndStop(_parent._parent.fish_num + 1);
if (_parent._parent.fish_num <= 0) {
_parent._parent.levelUp();
}
bnum = _parent._parent.bouble_num;
_parent.attachMovie("bscore_mc", "bscore_mc" + bnum, 20000 + bnum);
_parent["bscore_mc" + bnum]._x = _parent._parent.hoon_mc._x;
_parent["bscore_mc" + bnum]._y = _parent._parent.hoon_mc._y;
_parent["bscore_mc" + bnum].gotoAndPlay(3);
_parent._parent.bouble_num++;
_parent._parent.T_score = _parent._parent.T_score + 10;
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
} else {
reset();
}
}
}
};
Symbol 25 MovieClip [fish1_mc] Frame 3
if (goX == 550) {
gotoAndPlay (13);
}
Symbol 25 MovieClip [fish1_mc] Frame 12
gotoAndPlay (2);
Symbol 25 MovieClip [fish1_mc] Frame 14
if (goX == -50) {
gotoAndPlay (2);
}
Symbol 25 MovieClip [fish1_mc] Frame 23
gotoAndPlay (13);
Symbol 29 MovieClip [fish2_mc] Frame 1
function reset() {
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (30);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
function initFish() {
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (30);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
initFish();
this.onEnterFrame = function () {
if (_parent._parent.game_start == true) {
if (this._x < goX) {
if ((goX - this._x) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = -50 - this._width;
initFish();
gotoAndPlay (2);
}
this._x = this._x + m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs(_parent._parent.hoon_mc._x - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (30);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
} else if (this._x > goX) {
if ((this._x - goX) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = 550;
initFish();
gotoAndPlay (30);
}
this._x = this._x - m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs((_parent._parent.hoon_mc._x + _parent._parent.hoon_mc._width) - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (30);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
}
if (this.hitTest(_parent._parent.hoon_mc.hit_mc)) {
reset();
if (m_level <= _parent._parent.hoon_level) {
_parent._parent.eatplay();
if (m_level == _parent._parent.hoon_level) {
_parent._parent.fish_num--;
}
_parent._parent.mission_mc.f_score.gotoAndStop(_parent._parent.fish_num + 1);
if (_parent._parent.fish_num <= 0) {
_parent._parent.levelUp();
}
bnum = _parent._parent.bouble_num;
_parent.attachMovie("bscore_mc", "bscore_mc" + bnum, 20000 + bnum);
_parent["bscore_mc" + bnum]._x = _parent._parent.hoon_mc._x;
_parent["bscore_mc" + bnum]._y = _parent._parent.hoon_mc._y;
_parent["bscore_mc" + bnum].gotoAndPlay(32);
_parent._parent.bouble_num++;
_parent._parent.T_score = _parent._parent.T_score + 20;
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
} else {
_parent._parent.no_sound.start();
reset();
_parent._parent.lifeM();
}
}
}
};
Symbol 29 MovieClip [fish2_mc] Frame 3
if (goX == 550) {
gotoAndPlay (30);
}
Symbol 29 MovieClip [fish2_mc] Frame 28
gotoAndPlay (2);
Symbol 29 MovieClip [fish2_mc] Frame 31
if (goX == -50) {
gotoAndPlay (2);
}
Symbol 29 MovieClip [fish2_mc] Frame 57
gotoAndPlay (30);
Symbol 34 MovieClip [fish4_mc] Frame 1
function reset() {
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (26);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
function initFish() {
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (26);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
initFish();
this.onEnterFrame = function () {
if (_parent._parent.game_start == true) {
if (this._x < goX) {
if ((goX - this._x) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = -50 - this._width;
initFish();
gotoAndPlay (2);
}
this._x = this._x + m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs(_parent._parent.hoon_mc._x - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (26);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
} else if (this._x > goX) {
if ((this._x - goX) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = 550;
initFish();
gotoAndPlay (26);
}
this._x = this._x - m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs((_parent._parent.hoon_mc._x + _parent._parent.hoon_mc._width) - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (26);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
}
if (this.hitTest(_parent._parent.hoon_mc.hit_mc)) {
if (m_level <= _parent._parent.hoon_level) {
reset();
_parent._parent.eatplay();
if (m_level == _parent._parent.hoon_level) {
_parent._parent.fish_num--;
}
_parent._parent.mission_mc.f_score.gotoAndStop(_parent._parent.fish_num + 1);
if (_parent._parent.fish_num <= 0) {
_parent._parent.levelUp();
}
bnum = _parent._parent.bouble_num;
_parent.attachMovie("bscore_mc", "bscore_mc" + bnum, 20000 + bnum);
_parent["bscore_mc" + bnum]._x = _parent._parent.hoon_mc._x;
_parent["bscore_mc" + bnum]._y = _parent._parent.hoon_mc._y;
_parent["bscore_mc" + bnum].gotoAndPlay(94);
_parent._parent.bouble_num++;
_parent._parent.T_score = _parent._parent.T_score + 80;
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
} else {
_parent._parent.no_sound.start();
reset();
_parent._parent.lifeM();
}
}
}
};
Symbol 34 MovieClip [fish4_mc] Frame 3
if (goX == 550) {
gotoAndPlay (26);
}
Symbol 34 MovieClip [fish4_mc] Frame 24
gotoAndPlay (2);
Symbol 34 MovieClip [fish4_mc] Frame 27
if (goX == -50) {
gotoAndPlay (2);
}
Symbol 34 MovieClip [fish4_mc] Frame 49
gotoAndPlay (26);
Symbol 37 MovieClip [fish5_mc] Frame 1
function reset() {
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (36);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
function initFish() {
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (36);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
initFish();
this.onEnterFrame = function () {
if (_parent._parent.game_start == true) {
if (this._x < goX) {
if ((goX - this._x) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = -50 - this._width;
initFish();
gotoAndPlay (2);
}
this._x = this._x + m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs(_parent._parent.hoon_mc._x - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (36);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
} else if (this._x > goX) {
if ((this._x - goX) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = 550;
initFish();
gotoAndPlay (36);
}
this._x = this._x - m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs((_parent._parent.hoon_mc._x + _parent._parent.hoon_mc._width) - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (36);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
}
if (this.hitTest(_parent._parent.hoon_mc.hit_mc)) {
if (m_level <= _parent._parent.hoon_level) {
reset();
_parent._parent.eatplay();
if (m_level == _parent._parent.hoon_level) {
_parent._parent.fish_num--;
}
_parent._parent.mission_mc.f_score.gotoAndStop(_parent._parent.fish_num + 1);
if (_parent._parent.fish_num <= 0) {
_parent._parent.levelUp();
}
bnum = _parent._parent.bouble_num;
_parent.attachMovie("bscore_mc", "bscore_mc" + bnum, 20000 + bnum);
_parent["bscore_mc" + bnum]._x = _parent._parent.hoon_mc._x;
_parent["bscore_mc" + bnum]._y = _parent._parent.hoon_mc._y;
_parent["bscore_mc" + bnum].gotoAndPlay(125);
_parent._parent.bouble_num++;
_parent._parent.T_score = _parent._parent.T_score + 100;
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
} else {
_parent._parent.no_sound.start();
reset();
_parent._parent.lifeM();
}
}
}
};
Symbol 37 MovieClip [fish5_mc] Frame 3
if (goX == 550) {
gotoAndPlay (36);
}
Symbol 37 MovieClip [fish5_mc] Frame 34
gotoAndPlay (2);
Symbol 37 MovieClip [fish5_mc] Frame 37
if (goX == -50) {
gotoAndPlay (2);
}
Symbol 37 MovieClip [fish5_mc] Frame 69
gotoAndPlay (36);
Symbol 42 MovieClip [fish6_mc] Frame 1
function reset() {
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (57);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
function initFish() {
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (57);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
initFish();
this.onEnterFrame = function () {
if (_parent._parent.game_start == true) {
if (this._x < goX) {
if ((goX - this._x) <= 15) {
if (m_level < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = -50 - this._width;
initFish();
gotoAndPlay (2);
}
this._x = this._x + m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs(_parent._parent.hoon_mc._x - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (57);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
} else if (this._x > goX) {
if ((this._x - goX) <= 15) {
if (m_level < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = 550;
initFish();
gotoAndPlay (57);
}
this._x = this._x - m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs((_parent._parent.hoon_mc._x + _parent._parent.hoon_mc._width) - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (57);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
}
if (this.hitTest(_parent._parent.hoon_mc.hit_mc)) {
_parent._parent.no_sound.start();
reset();
_parent._parent.lifeM();
}
}
};
Symbol 42 MovieClip [fish6_mc] Frame 3
if (goX == 550) {
gotoAndPlay (57);
}
Symbol 42 MovieClip [fish6_mc] Frame 55
gotoAndPlay (2);
Symbol 42 MovieClip [fish6_mc] Frame 58
if (goX == -50) {
gotoAndPlay (2);
}
Symbol 42 MovieClip [fish6_mc] Frame 112
gotoAndPlay (57);
Symbol 46 MovieClip [fish3_mc] Frame 1
function reset() {
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (41);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
function initFish() {
this._y = Math.round(Math.random() * 310) + 30;
m_speed = (Math.random() * 4) + 1;
}
if (Math.round(Math.random() * 10) < 5) {
this._x = -50 - this._width;
goX = 550;
gotoAndPlay (41);
} else {
this._x = 550;
goX = -50 - this._width;
gotoAndPlay (2);
}
initFish();
this.onEnterFrame = function () {
if (_parent._parent.game_start == true) {
if (this._x < goX) {
if ((goX - this._x) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = -50 - this._width;
initFish();
gotoAndPlay (2);
}
this._x = this._x + m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs(_parent._parent.hoon_mc._x - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (41);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
} else if (this._x > goX) {
if ((this._x - goX) <= 15) {
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
this._x = goX;
goX = 550;
initFish();
gotoAndPlay (41);
}
this._x = this._x - m_speed;
if (m_level <= _parent._parent.hoon_level) {
if (Math.abs(_parent._parent.hoon_mc._y - this._y) < 30) {
if (Math.abs((_parent._parent.hoon_mc._x + _parent._parent.hoon_mc._width) - this._x) < 100) {
if (this._x > _parent._parent.hoon_mc._x) {
goX = 550;
gotoAndPlay (41);
} else {
goX = -50 - this._width;
gotoAndPlay (2);
}
m_speed = 5;
}
}
}
}
if (this.hitTest(_parent._parent.hoon_mc.hit_mc)) {
if (m_level <= _parent._parent.hoon_level) {
reset();
_parent._parent.eatplay();
if (m_level == _parent._parent.hoon_level) {
_parent._parent.fish_num--;
}
_parent._parent.mission_mc.f_score.gotoAndStop(_parent._parent.fish_num + 1);
if (_parent._parent.fish_num <= 0) {
_parent._parent.levelUp();
}
bnum = _parent._parent.bouble_num;
_parent.attachMovie("bscore_mc", "bscore_mc" + bnum, 20000 + bnum);
_parent["bscore_mc" + bnum]._x = _parent._parent.hoon_mc._x;
_parent["bscore_mc" + bnum]._y = _parent._parent.hoon_mc._y;
_parent["bscore_mc" + bnum].gotoAndPlay(63);
_parent._parent.bouble_num++;
_parent._parent.T_score = _parent._parent.T_score + 50;
if ((m_level + 1) < _parent._parent.hoon_level) {
this.removeMovieClip();
}
} else {
_parent._parent.no_sound.start();
reset();
_parent._parent.lifeM();
}
}
}
};
Symbol 46 MovieClip [fish3_mc] Frame 3
if (goX == 550) {
gotoAndPlay (41);
}
Symbol 46 MovieClip [fish3_mc] Frame 39
gotoAndPlay (2);
Symbol 46 MovieClip [fish3_mc] Frame 42
if (goX == -50) {
gotoAndPlay (2);
}
Symbol 46 MovieClip [fish3_mc] Frame 79
gotoAndPlay (41);
Symbol 57 MovieClip Frame 65
stop();
Symbol 66 Button
on (release) {
getURL ("javascript:gotoHome()");
}
Symbol 77 Button
on (release) {
gotoAndPlay ("howto");
}
Symbol 80 Button
on (release) {
stopAllSounds();
goGame();
}
Symbol 84 Button
on (release) {
stopAllSounds();
gotoAndPlay (130);
}
Symbol 96 MovieClip Frame 56
stop();
Symbol 143 MovieClip Frame 8
gotoAndPlay ("level1");
Symbol 143 MovieClip Frame 16
gotoAndPlay ("level2");
Symbol 143 MovieClip Frame 24
gotoAndPlay ("level3");
Symbol 143 MovieClip Frame 32
gotoAndPlay ("level4");
Symbol 143 MovieClip Frame 40
gotoAndPlay ("level5");
Symbol 143 MovieClip Frame 48
gotoAndPlay ("level1_2");
Symbol 143 MovieClip Frame 56
gotoAndPlay ("level2_2");
Symbol 143 MovieClip Frame 64
gotoAndPlay ("level3_2");
Symbol 143 MovieClip Frame 72
gotoAndPlay ("level4_2");
Symbol 143 MovieClip Frame 80
gotoAndPlay ("level5_2");
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 70
_parent.game_start = true;
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
stop();
Symbol 223 MovieClip Frame 3
stop();
Symbol 223 MovieClip Frame 4
stop();
Symbol 223 MovieClip Frame 5
stop();
Symbol 223 MovieClip Frame 6
stop();
Symbol 223 MovieClip Frame 7
stop();
Symbol 223 MovieClip Frame 8
stop();
Symbol 223 MovieClip Frame 9
stop();
Symbol 223 MovieClip Frame 10
stop();
Symbol 223 MovieClip Frame 11
stop();
Symbol 223 MovieClip Frame 12
stop();
Symbol 223 MovieClip Frame 13
stop();
Symbol 223 MovieClip Frame 14
stop();
Symbol 223 MovieClip Frame 15
stop();
Symbol 223 MovieClip Frame 16
stop();
Symbol 223 MovieClip Frame 17
stop();
Symbol 223 MovieClip Frame 18
stop();
Symbol 223 MovieClip Frame 19
stop();
Symbol 223 MovieClip Frame 20
stop();
Symbol 223 MovieClip Frame 21
stop();
Symbol 223 MovieClip Frame 22
stop();
Symbol 223 MovieClip Frame 23
stop();
Symbol 223 MovieClip Frame 24
stop();
Symbol 223 MovieClip Frame 25
stop();
Symbol 223 MovieClip Frame 26
stop();
Symbol 223 MovieClip Frame 27
stop();
Symbol 223 MovieClip Frame 28
stop();
Symbol 223 MovieClip Frame 29
stop();
Symbol 223 MovieClip Frame 30
stop();
Symbol 223 MovieClip Frame 31
stop();
Symbol 231 MovieClip Frame 13
stop();
Symbol 231 MovieClip Frame 26
stop();
Symbol 231 MovieClip Frame 39
stop();
Symbol 231 MovieClip Frame 51
stop();
Symbol 231 MovieClip Frame 62
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 3
stop();
Symbol 239 MovieClip Frame 4
stop();
Symbol 239 MovieClip Frame 5
stop();
Symbol 239 MovieClip Frame 6
stop();
Symbol 239 MovieClip Frame 7
stop();
Symbol 239 MovieClip Frame 8
stop();
Symbol 239 MovieClip Frame 9
stop();
Symbol 239 MovieClip Frame 10
stop();
Symbol 247 MovieClip Frame 1
_parent.game_start = false;
Symbol 247 MovieClip Frame 70
_parent.game_start = true;
stop();
Symbol 249 MovieClip Frame 1
_parent.game_start = false;
Symbol 249 MovieClip Frame 70
_parent.game_start = true;
stop();
Symbol 251 MovieClip Frame 1
_parent.game_start = false;
Symbol 251 MovieClip Frame 70
_parent.game_start = true;
stop();
Symbol 253 MovieClip Frame 1
_parent.game_start = false;
Symbol 253 MovieClip Frame 70
_parent.game_start = true;
stop();
Symbol 260 MovieClip Frame 39
stop();
Symbol 279 MovieClip Frame 45
stop();
Symbol 285 Button
on (release) {
_parent.goMain();
}
Symbol 286 MovieClip Frame 40
stop();
Symbol 290 Button
on (release) {
_parent._parent.goMain();
}
Symbol 293 Button
on (release) {
_parent._parent.replay();
}
Symbol 295 MovieClip Frame 17
stop();