Instance of Symbol 16 MovieClip "xiaoyu_loading" in Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
a = Math.floor((40 * _root.getBytesLoaded()) / _root.getBytesTotal());
this.gotoAndStop(a);
_parent.txt.text = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + " %";
}
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
this.play();
_parent.txt.text = "";
}
};
}
Frame 5
Frame 6
stop();
Frame 8
function Re_SetFish() {
var _local2 = 0;
while (_local2 < Fish_supe_num) {
_root["Fish_crabe_" + _local2]._x = -200;
_root["Fish_crabe_" + _local2].vx = 0;
_root["Fish_crabe_" + _local2].vy = 0;
_root["Fish_supe_" + _local2]._x = -200;
_root["Fish_supe_" + _local2].vx = 0;
_root["Fish_supe_" + _local2].vy = 0;
_local2++;
}
Fish_cuttle._x = -200;
Fish_sayu_mc.Re_set();
Fish_sayu_mc.This_Num = 0;
Fish_HaiTun_mc._x = -200;
Fish_HaiTun_mc.move_b = false;
Fish_HaiTun_mc.This_Num = 0;
Fish_HaiTun_mc.This_Pause = true;
Fish_HaiTun_mc.gotoAndStop(1);
luckly = true;
luckly_defer = true;
}
function Re_Game() {
Play_Timer = getTimer();
minCi = 0;
luckly_can = true;
Ren_mc.gotoAndStop(1);
Re_SetFish();
var _local3 = new Date();
Date_arr[0] = _local3.getMinutes();
Date_arr[1] = _local3.getSeconds();
disagin_line_1.Re_set();
disagin_line_2.Re_set();
var _local2 = 0;
while (_local2 < 5) {
_root.disgin_distance["xiaolian_" + _local2].gotoAndStop(1);
_local2++;
}
Ren_mc._x = Ren_x;
Ren_mc._y = Ren_y;
Ren_up = false;
_root.Consult_distance = -Consult_point;
_local2 = 0;
while (_local2 < 3) {
_root["BG_" + _local2]._x = _root["BG_" + _local2].X;
_root["BG_" + _local2]._y = _root["BG_" + _local2].Y;
_local2++;
}
_root.BG_1.rode_1.gotoAndStop(1);
_root.BG_1.rode_2.gotoAndStop(1);
_root.BG_1.gotoAndStop(1);
_root.Arrange_Fish(BG_2);
}
function Re_Game_1() {
Re_Game();
Speed_endu = 0;
var i = 1;
while (i < 3) {
_root["comp_Ren_" + i]._visible = false;
_root["comp_Ren_" + i].This_Pause = false;
_root["comp_Ren_" + i].This_Pause_d = false;
i++;
}
_root.comp_Ren_0.This_Pause_d = false;
_root.comp_Ren_0._visible = true;
_root.xiaolian_frame = random(3) + 1;
with (_root.comp_Ren_0) {
Re_set();
gotoAndStop(_root.xiaolian_frame);
}
Ren_life_num = 5;
Ren_life_mc.gotoAndStop(Ren_life_num);
_root.disgin_distance.gotoAndPlay(1);
}
function Re_Game_2() {
DistanceLeft_mc.gotoAndStop(1);
if (Center_lever == 1) {
Re_Set_Difficulty(-2);
}
Speed_endu = 0;
Re_Game();
var i = 0;
while (i < 3) {
with (_root["comp_Ren_" + i]) {
Re_set();
_visible = true;
This_Pause_d = false;
gotoAndStop(i + 1);
}
i++;
}
Ren_life_num = 5;
Ren_life_mc.gotoAndStop(Ren_life_num);
_root.disgin_distance.gotoAndPlay(4);
}
function Re_Game_3() {
DistanceLeft_mc.gotoAndStop(2);
Re_Set_Difficulty(1);
Speed_endu = 5;
Ren_life_num = 1;
Ren_life_mc.gotoAndStop(Ren_life_num);
Re_Game();
var _local2 = 0;
while (_local2 < 3) {
_root["comp_Ren_" + _local2].This_Pause = false;
_root["comp_Ren_" + _local2].This_Pause_d = false;
_root["comp_Ren_" + _local2]._visible = false;
_local2++;
}
_root.disgin_distance.gotoAndStop(7);
Fish_HaiTun_mc.move_b = false;
Fish_HaiTun_mc.This_Pause = false;
}
function Re_Set_Game() {
switch (Change_level) {
case 1 :
Re_Game_1();
return;
case 2 :
Re_Game_2();
return;
case 3 :
Re_Game_3();
}
}
function GameOver() {
function ddd(a, b) {
if (a._currentframe > b._currentframe) {
return(-1);
}
if (a._currentframe < b._currentframe) {
return(1);
}
return(0);
}
arr = new Array();
if (Change_level == 2) {
arr = [_root.disgin_distance.xiaolian_0, _root.disgin_distance.xiaolian_1, _root.disgin_distance.xiaolian_2, _root.disgin_distance.xiaolian_3];
} else if (Change_level == 1) {
arr = [_root.disgin_distance.xiaolian_0, _root.disgin_distance.xiaolian_1];
}
arr.sort(ddd);
var _local2 = 0;
while (_local2 < 5) {
if (_root.disgin_distance.xiaolian_0 == arr[_local2]) {
Ren_position = _local2 + 1;
break;
}
_local2++;
}
if (minCi == 0) {
minCi = Ren_position;
} else if (disgin_distance.xiaolian_0._currentframe != disgin_distance.xiaolian_0._totalframes) {
minCi = Ren_position;
}
Root_Pause = false;
YanDong_mc.stop();
_local2 = 0;
while (_local2 < 3) {
_root["comp_Ren_" + _local2].This_Pause = false;
_local2++;
}
}
function subtract_life() {
Ren_life_num--;
Ren_life_mc.gotoAndStop(Ren_life_num);
}
function Victory_Endurance() {
if (Center_lever == 3) {
V_Endur_i++;
if (V_Endur_i > 720) {
V_Endur_lever = V_Endur_lever + 0.5;
if (V_Endur_lever > 7) {
V_Endur_lever = 7;
}
V_Endur_i = 0;
Re_Set_Difficulty(V_Endur_lever);
}
}
}
function Victory() {
Root_Pause = false;
Center_lever++;
if (Change_level == 1) {
main_menu_mc.gotoAndPlay("Vic_End");
} else if (Change_level == 2) {
switch (Center_lever) {
case 1 :
Re_Set_Difficulty(-2);
break;
case 2 :
Re_Set_Difficulty(-1);
break;
case 3 :
Re_Set_Difficulty(0);
break;
case 4 :
Re_Set_Difficulty(1);
break;
case 5 :
Re_Set_Difficulty(3);
}
if (Center_lever == 6) {
main_menu_mc.gotoAndPlay("Vic_End");
} else {
main_menu_mc.gotoAndPlay("Vic");
}
}
}
function Re_Set_Difficulty(Center_lever) {
sayu_num = 4 + Center_lever;
Center_lever = Center_lever * 0.5;
with (Fish_sayu_mc) {
x_speed = 16 + Speed_endu;
vx = x_speed;
}
var i = 0;
while (i < 3) {
_root["comp_Ren_" + i].power = (_root["comp_Ren_" + i].power_0 + (Center_lever * 3)) - 8;
_root["comp_Ren_" + i].x_speed = _root["comp_Ren_" + i].power;
_root["comp_Ren_" + i].vx = _root["comp_Ren_" + i].x_speed;
i++;
}
rand_refurbish = 30 - (Center_lever * 3);
rand_cuttle = 10 - Center_lever;
Fish_HaiTun_mc.vx = (16 + _root.Ren_Vmin) + (Speed_endu * 1.2);
_root.lunck_distance = 100 - (Center_lever * 10);
Rand_float_grass = 3;
}
function Re_Set_Difficulty_2(Center_lever) {
sayu_num = 4 + Center_lever;
Center_lever = Center_lever * 0.5;
with (Fish_sayu_mc) {
x_speed = 16 + Speed_endu;
vx = x_speed;
}
var i = 0;
while (i < 3) {
_root["comp_Ren_" + i].power = 10 + (Center_lever * 1);
_root["comp_Ren_" + i].x_speed = _root["comp_Ren_" + i].power;
_root["comp_Ren_" + i].vx = _root["comp_Ren_" + i].x_speed;
i++;
}
rand_refurbish = 30 - (Center_lever * 3);
rand_cuttle = 10 - Center_lever;
Fish_HaiTun_mc.vx = (16 + _root.Ren_Vmin) + Speed_endu;
_root.lunck_distance = 100 - (Center_lever * 10);
Rand_float_grass = 3;
}
function Ren_Move() {
if (_root.Ren_mc._currentframe == 1) {
if (Ren_up) {
Ren_mc._y = Ren_mc._y - (Ren_up_max * 0.5);
} else {
Ren_mc._y = Ren_mc._y + Ren_up_max;
}
if ((((_root._xmouse > 0) && (_root._xmouse < 600)) && (_root._ymouse > 0)) && (_root._ymouse < 400)) {
if ((Ren_mc._x - _root._xmouse) > Ren_level_move) {
Ren_mc._x = Ren_mc._x - Ren_level_move;
}
if ((_root._xmouse - Ren_mc._x) > Ren_level_move) {
Ren_mc._x = Ren_mc._x + Ren_level_move;
}
}
Ren_Vx = ((Ren_mc._x * 0.02) + Ren_Vmin) + Speed_endu;
if (Hit_BG_grass(Ren_mc)) {
Ren_Vx = Ren_Vx * 0.6;
}
Center_speed = -Ren_Vx;
Consult_distance = Consult_distance + Ren_Vx;
} else {
Center_speed = 0;
}
}
function Hit_hill() {
Hit_hill_Box.splice(3);
var _local2 = 0;
while (_local2 <= 3) {
if (_root["BG_" + _local2].rode_1.hitTest(Ren_mc._x, Ren_mc._y, true)) {
Ren_mc.UpOrDown = true;
Ren_mc.gotoAndPlay("over");
break;
}
if (_root["BG_" + _local2].rode_2.hitTest(Ren_mc._x, Ren_mc._y, true)) {
Ren_mc.UpOrDown = false;
Ren_mc.gotoAndPlay("over");
break;
}
_local2++;
}
}
function Hit_hill_Ren() {
Hit_hill_Ren_B = 0;
var _local2 = 0;
while (_local2 <= 3) {
if (_root["BG_" + _local2].rode_1.hitTest(Ren_mc._x, Ren_mc._y, true)) {
Hit_hill_Ren_B = 1;
break;
}
if (_root["BG_" + _local2].rode_2.hitTest(Ren_mc._x, Ren_mc._y, true)) {
Hit_hill_Ren_B = 2;
break;
}
_local2++;
}
}
function Hit_BG_grass(mc) {
var _local3 = 0;
while (_local3 < 3) {
var _local2 = 0;
while (_local2 < 5) {
if (_root["BG_" + _local3]["float_grass_" + _local2].hitTest(mc.mc)) {
return(true);
}
_local2++;
}
_local3++;
}
}
function Hit_fish() {
Ren_EatOnce = true;
var _local2 = 0;
while (_local2 < Fish_supe_num) {
if (_root["Fish_supe_" + _local2].hitTest(Ren_mc.mc) && (Ren_EatOnce)) {
_root["Fish_supe_" + _local2].gotoAndPlay("attach");
Ren_mc.gotoAndPlay("supe");
Current_Fish = _root["Fish_supe_" + _local2];
Ren_EatOnce = false;
}
if (_root["Fish_crabe_" + _local2].mc.hitTest(Ren_mc.mc) && (Ren_EatOnce)) {
_root["Fish_crabe_" + _local2].gotoAndPlay("attach");
Ren_mc.gotoAndPlay("crabe");
Current_Fish = _root["Fish_crabe_" + _local2];
Ren_EatOnce = false;
}
_local2++;
}
if (((((Ren_mc._x - Fish_sayu_mc._x) < 40) && ((Ren_mc._y - Fish_sayu_mc._y) < 100)) && (Fish_sayu_mc.move_b)) && (Ren_EatOnce)) {
Fish_sayu_mc._y = Ren_mc._y;
Fish_sayu_mc.gotoAndPlay("attach");
Ren_mc.gotoAndPlay("sayu");
Fish_sayu_mc.move_b = false;
trace("Ren_hit_sayu");
Ren_EatOnce = false;
}
}
function Hit_fish_c(Ren_mc) {
var _local3 = 0;
while (_local3 < Fish_supe_num) {
if (_root["Fish_supe_" + _local3].hitTest(Ren_mc)) {
_root["Fish_supe_" + _local3].gotoAndPlay("attach");
Ren_mc.gotoAndPlay("supe");
}
if (_root["Fish_crabe_" + _local3].hitTest(Ren_mc)) {
_root["Fish_crabe_" + _local3].gotoAndPlay("attach");
Ren_mc.gotoAndPlay("crabe");
}
if (Fish_sayu_mc.hitTest(Ren_mc) && (Ren_mc.Sayu_can)) {
Ren_mc.Sayu_can = false;
Fish_sayu_mc.gotoAndPlay("attach");
Ren_mc.gotoAndPlay("sayu");
}
_local3++;
}
}
function Hit_fish_HaiTun() {
if (Fish_HaiTun_mc.hitTest(Ren_mc.mc) && (luckly_can)) {
luckly_defer = false;
luckly = false;
luckly_can = false;
Ren_mc.gotoAndPlay("haitun");
HaiTun_i = 0;
}
}
function Arrange_Fish(mc) {
Left_Fish_supe.splice(0);
Left_Fish_crabe.splice(0);
var _local2 = 0;
while (_local2 < Fish_supe_num) {
if (_root["Fish_supe_" + _local2]._x < -100) {
Left_Fish_supe.unshift(_root["Fish_supe_" + _local2]);
_root["Fish_supe_" + _local2].This_Pause = false;
}
if (_root["Fish_crabe_" + _local2]._x < -100) {
Left_Fish_crabe.unshift(_root["Fish_crabe_" + _local2]);
_root["Fish_crabe_" + _local2].This_Pause = false;
}
_local2++;
}
_local2 = 0;
while (_local2 < mc.fish_i) {
Arrange_Fish_i = random(10) + 1;
if (Arrange_Fish_i <= 3) {
if (random(3) == 0) {
var _local3 = new Object();
_local3.x = 0;
_local3.y = 0;
mc.rode_2["fish_" + _local2].localToGlobal(_local3);
Left_Fish_supe[_local2]._x = _local3.x;
Left_Fish_supe[_local2]._y = _local3.y;
Left_Fish_supe[_local2]._rotation = random(360);
Left_Fish_supe[_local2].This_Pause = true;
Left_Fish_supe[_local2].gotoAndStop(1);
}
if (random(3) == 1) {
var _local3 = new Object();
_local3.x = 0;
_local3.y = 0;
mc.rode_2["fish_" + _local2].localToGlobal(_local3);
Left_Fish_crabe[_local2]._x = _local3.x;
Left_Fish_crabe[_local2]._y = _local3.y;
Left_Fish_crabe[_local2]._rotation = random(360);
Left_Fish_crabe[_local2].This_Pause = true;
Left_Fish_crabe[_local2].gotoAndStop(1);
}
}
if ((random(rand_cuttle) == 1) && (Fish_cuttle._x < -50)) {
var _local3 = new Object();
_local3.x = 0;
_local3.y = 0;
mc.rode_2["fish_" + _local2].localToGlobal(_local3);
Fish_cuttle._x = _local3.x;
Fish_cuttle._y = _local3.y;
Fish_cuttle._rotation = random(360);
Fish_cuttle.gotoAndStop(1);
Fish_cuttle.This_Angle_move = true;
}
_local2++;
}
}
function disagin_line_txt() {
var i = 1;
while (i < 3) {
with (_root["disagin_line_" + i]) {
if (_root["disagin_line_" + i]._x < (-disgagin_width)) {
_x = _x + (disgagin_width * 2);
txt1.text = Number(txt1.text) + (_root.screen_distance * 2.4);
txt2.text = Number(txt2.text) + (_root.screen_distance * 2.4);
txt3.text = Number(txt3.text) + (_root.screen_distance * 2.4);
txt4.text = Number(txt4.text) + (_root.screen_distance * 2.4);
txt5.text = Number(txt5.text) + (_root.screen_distance * 2.4);
txt6.text = Number(txt6.text) + (_root.screen_distance * 2.4);
_root.disagin_line_1.swapDepths(_root.disagin_line_2);
}
if ((_root.Change_level != 3) && (Root_Pause)) {
var j = 1;
while (j <= 6) {
if (_root.Rode_Distance == Number(_root["disagin_line_" + i]["txt" + j].text)) {
finish_mc._x = _root["disagin_line_" + i]["txt" + j]._x;
finish_mc._visible = true;
}
j++;
}
}
_x = _x + _root.Center_speed;
}
i++;
}
}
function BG_Sound() {
underwater_sound.stop();
dingding_Sound.stop();
underwater_sound.start();
if (Sound_Play) {
underwater_sound.setVolume(100);
} else {
underwater_sound.setVolume(0);
}
underwater_sound.onSoundComplete = function () {
BG_Sound_d = true;
};
dingding_Sound.start();
if (Sound_Play) {
dingding_Sound.setVolume(100);
} else {
dingding_Sound.setVolume(0);
}
dingding_Sound.onSoundComplete = function () {
dingding_Sound.start();
if (Sound_Play) {
dingding_Sound.setVolume(100);
} else {
dingding_Sound.setVolume(0);
}
};
}
function sound_Start() {
if ((BG_Sound_d && (random(3) == 0)) && (Sound_Play)) {
underwater_sound.start();
BG_Sound_d = false;
underwater_sound.setVolume((random(8) * 10) + 30);
}
}
stop();
var Root_Pause = false;
var Root_Ren_Pause = false;
var Sound_Play = true;
var Ren_x = Ren_mc._x;
var Ren_y = Ren_mc._y;
var Ren_up = false;
var Center_speed = 0;
var Consult_distance = 0;
var Consult_point = 120;
var Consult_distance_mod = 0.2;
var Hit_hill_Box = new Array();
var Ren_Vx = 0;
var Ren_Vmin = 2;
var Ren_up_max = 12;
var Ren_level_move = 5;
var Ren_life_num;
var Rode_Distance = 200;
var Computer_Ren_num;
var screen_distance = 50;
var Change_level = 1;
var Center_lever = 1;
var Rand_float_grass = 2;
var Difficulty_Num = 5;
var Hight_Score = 0;
var xiaolian_frame;
var xiaolian_frame2;
var xiaolian_frame3;
var luckly = true;
var luckly_can = true;
var lunck_distance = 100;
var BG_Frame = 1;
var minCi = 0;
var Speed_endu = 0;
var sayu_num = 4;
var Date_arr = new Array();
var Play_Timer = 0;
var Ren_EatOnce = false;
var arr = new Array();
var Ren_position = 0;
var V_Endur_i = 0;
var V_Endur_lever = 0;
var Key_P = true;
var keyaddlistener = new Object();
keyaddlistener.onKeyDown = function () {
if (Root_Pause) {
if (Key.isDown(32)) {
Ren_up = true;
}
}
if (Key.isDown(80)) {
if (main_menu_mc.click_num == 520) {
if (!Key_P) {
main_menu_mc.gotoAndPlay("P2");
_root.Ren_up = false;
}
_root.Ren_mc.play();
} else if (Root_Pause && (_root.Ren_mc._currentframe == 1)) {
Root_Pause = false;
Key_P = false;
_root.Ren_mc.stop();
main_menu_mc.gotoAndPlay("P");
}
}
};
keyaddlistener.onKeyUp = function () {
};
Key.addListener(keyaddlistener);
var HaiTun_i = 0;
var Hit_Hill_Fish_i = 0;
var luckly_defer = true;
var distance_Num = 0;
onEnterFrame = function () {
if (DistanceLeft_mc._currentframe == 1) {
distance_Num = Math.floor((((_root.Consult_distance + _root.Ren_mc._x) * _root.screen_distance) / 120000) * 200);
txt3.text = _root.Rode_Distance - Math.floor((((_root.Consult_distance + _root.Ren_mc._x) * _root.screen_distance) / 120000) * 200);
if (Number(txt3.text) < 0) {
txt3.text = 0;
}
} else {
distance_Num = Math.floor((((_root.Consult_distance + _root.Ren_mc._x) * _root.screen_distance) / 120000) * 200);
txt3.text = Math.floor((((_root.Consult_distance + _root.Ren_mc._x) * _root.screen_distance) / 120000) * 200);
}
if ((distance_Num % 1000) == 0) {
Fish_sayu_mc.This_Num = 0;
Fish_sayu_mc.a = 0;
Fish_HaiTun_mc.This_Num = 0;
Fish_HaiTun_mc.a = 0;
}
if (Root_Pause) {
if (!luckly_can) {
HaiTun_i++;
if (HaiTun_i >= _root.lunck_distance) {
Fish_HaiTun_mc.gotoAndStop(1);
Ren_mc.gotoAndStop(1);
luckly = true;
if (HaiTun_i < (_root.lunck_distance + 20)) {
Ren_mc._y = Ren_mc._y - (((HaiTun_i - _root.lunck_distance) / 20) * 12);
}
}
if (HaiTun_i > (_root.lunck_distance + 60)) {
luckly_defer = true;
}
if (HaiTun_i > (200 + _root.lunck_distance)) {
luckly_can = true;
luckly_defer = true;
luckly = true;
HaiTun_i = 0;
}
if (Ren_mc._y > 400) {
Ren_mc._y = 400;
}
}
Ren_up = false;
if (Key.isDown(32)) {
Ren_up = true;
}
if (_root.Ren_mc._currentframe == 1) {
if (luckly) {
if (luckly_defer) {
Hit_Hill_Fish_i++;
if ((Hit_Hill_Fish_i > 2) && (Ren_mc._currentframe == 1)) {
Hit_Hill_Fish_i = 0;
Hit_hill();
Hit_fish();
}
}
Ren_Move();
}
Hit_fish_HaiTun();
} else if (!luckly) {
Ren_Vx = Fish_HaiTun_mc.VX;
Ren_mc._y = Fish_HaiTun_mc._y;
Center_speed = -Fish_HaiTun_mc.VX;
Consult_distance = Consult_distance + Ren_Vx;
}
disagin_line_txt();
}
};
var Hit_hill_Ren_B = 0;
var Current_Fish;
var Arrange_Fish_i = 0;
var Fish_supe_num = 12;
var fish_crabe_num = 12;
var Left_Fish_supe = new Array();
var Left_Fish_crabe = new Array();
var rand_refurbish = 30;
var rand_cuttle = 10;
var supe_num_Frame = 10;
var crabe_num_Frame = 10;
var disgagin_width = 720;
var dingding_Sound = new Sound();
dingding_Sound.attachSound("NG64216.mp3");
var underwater_sound = new Sound("underwater_sou_mc");
underwater_sound.attachSound("underwater.mp3");
var BG_Sound_i = 0;
var BG_Sound_d = false;
BG_Sound();
INBS = setInterval(sound_Start, 2000);
trace(sayu_num);
Instance of Symbol 103 MovieClip "YanDong_mc" in Frame 8
onClipEvent (load) {
stop();
}
Instance of Symbol 254 MovieClip [Computer_Rode] "BG_1" in Frame 8
onClipEvent (load) {
X = _x;
Y = _y;
}
Instance of Symbol 254 MovieClip [Computer_Rode] "BG_2" in Frame 8
onClipEvent (load) {
X = _x;
Y = _y;
}
Instance of Symbol 254 MovieClip [Computer_Rode] "BG_0" in Frame 8
onClipEvent (load) {
X = _x;
Y = _y;
}
Instance of Symbol 261 MovieClip "Fish_sayu_mc" in Frame 8
onClipEvent (load) {
function Re_set() {
a = 0;
b = 0;
f = 0;
move_b = false;
hit_stone = false;
hit_stone_i = 0;
this._x = mc_x;
this._y = mc_y;
gotoAndStop (8);
up_or = false;
down_or = false;
}
var a = 0;
var b = 0;
var c = 0;
var f = 0;
var move_b = false;
var x_speed = (6 + _root.Ren_Vmin);
var y_speed = 6;
var vx = x_speed;
var vy = 0;
var hit_stone = false;
var hit_stone_i = 0;
var ran_frame = 60;
var ran_num = 7;
var mc_x = this._x;
var mc_y = this._y;
var yes_can = false;
var This_Num = 0;
}
onClipEvent (enterFrame) {
if (_root.Root_Pause) {
frames++;
a++;
if ((a > 0) && (This_Num == 0)) {
trace("sayu");
This_Num++;
move_b = true;
yes_can = false;
d = 0;
f = 0;
}
if ((!move_b) && (a > 150)) {
if (random(60) == 0) {
This_Num++;
if (This_Num < 2) {
trace("sayu");
move_b = true;
yes_can = false;
d = 0;
f = 0;
}
}
}
if (move_b) {
b++;
d++;
if (b >= 10) {
b = 0;
up_or = false;
down_or = false;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_5.hitTest(this._x, this._y, true)) {
up_or = true;
}
if (_root["BG_" + i].rode_6.hitTest(this._x, this._y, true)) {
down_or = true;
}
i++;
}
hit_stone = false;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_1.hitTest(this._x, this._y, true)) {
vy = y_speed;
hit_stone = true;
hit_stone_i = 0;
c = 0;
} else if (_root["BG_" + i].rode_2.hitTest(this._x, this._y, true)) {
vy = -y_speed;
hit_stone = true;
hit_stone_i = 0;
c = 0;
}
i++;
}
if (!hit_stone) {
if (up_or && (!down_or)) {
vy = y_speed;
}
if ((!up_or) && (down_or)) {
vy = -y_speed;
}
}
if (_x < -50) {
_x = mc_x;
if (((_root.Ren_mc._x - _x) > 400) && (yes_can)) {
move_b = false;
}
}
if (_x > 800) {
_x = mc_x;
move_b = false;
}
if (_x > 200) {
yes_can = true;
}
}
if (!_root.luckly_defer) {
vx = x_speed * 0.6;
} else {
vx = x_speed;
if (yes_can) {
f++;
if (f > 120) {
vx = x_speed * 0.6;
}
}
}
if ((_root.Ren_mc._x - _x) < 200) {
_y = (_y + ((_root.Ren_mc._y - _y) * 0.1));
} else {
_y = (_y + vy);
}
if ((_root.Ren_mc._x - _x) < 5) {
vx = 0;
}
if (hit_stone) {
_x = (_x + ((vx * 0.3) + _root.Center_speed));
} else {
hit_stone_i++;
if (hit_stone_i > 30) {
_x = (_x + (vx + _root.Center_speed));
} else {
_x = (_x + ((vx * 0.3) + _root.Center_speed));
}
}
}
}
}
Instance of Symbol 288 MovieClip "Fish_cuttle" in Frame 8
onClipEvent (load) {
function Re_set() {
gotoAndStop (8);
a = 0;
b = 0;
move_b = false;
this._x = mc_x;
this._y = mc_y;
}
stop();
a = 0;
b = 0;
r = 0;
move_b = false;
y_speed = 1 + _root.Ren_Vmin;
x_speed = 1 + _root.Ren_Vmin;
vx = 0;
vy = 0;
mc_x = this._x;
mc_y = this._y;
var This_Pause = true;
var This_Angle_move = true;
}
onClipEvent (enterFrame) {
if (This_Pause && (_root.Root_Pause)) {
max_s = Math.sqrt(Math.pow(this._x - _root.Ren_mc._x, 2) + Math.pow(this._y - _root.Ren_mc._y, 2), 2);
if ((max_s < 300) && (max_s > y_speed)) {
if (random(10) == 1) {
mc.play();
this.play();
if (_root.yanwu_mc._currentframe == _root.yanwu_mc._totalframes) {
_root.yanwu_mc._x = this._x;
_root.yanwu_mc._y = this._y;
_root.yanwu_mc._rotation = this._rotation;
_root.yanwu_mc.gotoAndStop(random(5) + 1);
}
}
if (This_Angle_move) {
angle = (Math.atan2(this._y - _root.Ren_mc._y, this._x - _root.Ren_mc._x) / Math.PI) * 180;
this._rotation = angle;
}
b++;
if (b >= 60) {
b = 0;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_1.hitTest(this._x, this._y, true)) {
vy = y_speed;
_x = (_x - (vx * 0.8));
} else if (_root["BG_" + i].rode_2.hitTest(this._x, this._y, true)) {
vy = -y_speed;
_x = (_x - (vx * 0.8));
} else if ((_root.Ren_mc._y - _y) > y_speed) {
vy = y_speed;
} else if ((_root.Ren_mc._y - _y) < (-y_speed)) {
vy = -y_speed;
} else {
vy = 0.1;
}
i++;
}
if ((_root.Ren_mc._x - _x) > x_speed) {
vx = x_speed;
} else if ((_root.Ren_mc._x - _x) < (-x_speed)) {
vx = -x_speed;
} else {
vx = 0;
}
}
_y = (_y + vy);
}
_x = (_x + (vx + _root.Center_speed));
}
}
Instance of Symbol 296 MovieClip "Fish_HaiTun_mc" in Frame 8
onClipEvent (load) {
function Re_set() {
This_Pause = true;
a = 0;
move_b = false;
up_or = false;
down_or = false;
hit_stone = false;
hit_stone_i = 0;
this._x = mc_x;
this._y = mc_y;
vx = x_speed + (_root.Speed_endu * 3);
trace(vx + " vx");
}
var a = 0;
var b = 0;
var c = 0;
var move_b = false;
var x_speed = (15 + _root.Ren_Vmin);
var y_speed = 6;
var vx = x_speed;
var vy = 0;
var VX = 0;
var VY = 0;
var hit_stone = false;
var hit_stone_i = 0;
var ran_frame = 60;
var ran_num = 15;
var mc_x = this._x;
var mc_y = this._y;
var This_Num = 0;
var This_Pause = true;
}
onClipEvent (enterFrame) {
if (_root.Root_Pause && (This_Pause)) {
a++;
if ((a > 500) && (This_Num == 0)) {
This_Num++;
move_b = true;
yes_can = false;
d = 0;
}
if ((!move_b) && (a > 150)) {
if (random(60) == 1) {
This_Num++;
if (This_Num < 2) {
trace("haitun");
move_b = true;
b = 0;
}
}
}
if (move_b) {
b++;
if (b >= 10) {
b = 0;
up_or = false;
down_or = false;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_5.hitTest(this._x, this._y, true)) {
up_or = true;
}
if (_root["BG_" + i].rode_6.hitTest(this._x, this._y, true)) {
down_or = true;
}
i++;
}
hit_stone = false;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_1.hitTest(this._x, this._y, true)) {
vy = y_speed;
hit_stone = true;
hit_stone_i = 0;
c = 0;
} else if (_root["BG_" + i].rode_2.hitTest(this._x, this._y, true)) {
vy = -y_speed;
hit_stone = true;
hit_stone_i = 0;
c = 0;
}
i++;
}
if (!hit_stone) {
if (up_or && (!down_or)) {
vy = y_speed;
}
if ((!up_or) && (down_or)) {
vy = -y_speed;
}
if ((!up_or) && (!down_or)) {
vy = random(10) - 5;
}
}
if (_x > 800) {
_x = mc_x;
move_b = false;
}
}
_y = (_y + vy);
if (_root.luckly) {
if (hit_stone) {
_x = (_x + ((vx * 0.3) + _root.Center_speed));
} else {
hit_stone_i++;
if (hit_stone_i > 10) {
_x = (_x + (vx + _root.Center_speed));
} else {
_x = (_x + ((vx * 0.3) + _root.Center_speed));
}
}
} else if (hit_stone) {
VX = vx * 0.3;
} else {
hit_stone_i++;
if (hit_stone_i > 10) {
VX = vx;
} else {
VX = vx * 0.3;
}
}
}
}
}
Instance of Symbol 261 MovieClip "Fish_sayu_mc" in Frame 8
onClipEvent (load) {
function Re_set() {
a = 0;
b = 0;
f = 0;
move_b = false;
hit_stone = false;
hit_stone_i = 0;
this._x = mc_x;
this._y = mc_y;
gotoAndStop (8);
up_or = false;
down_or = false;
}
var a = 0;
var b = 0;
var c = 0;
var f = 0;
var move_b = false;
var x_speed = (6 + _root.Ren_Vmin);
var y_speed = 6;
var vx = x_speed;
var vy = 0;
var hit_stone = false;
var hit_stone_i = 0;
var ran_frame = 60;
var ran_num = 7;
var mc_x = this._x;
var mc_y = this._y;
var yes_can = false;
var This_Num = 0;
}
onClipEvent (enterFrame) {
if (_root.Root_Pause) {
frames++;
a++;
if ((a > 350) && (This_Num == 0)) {
trace("sayu");
This_Num++;
move_b = true;
yes_can = false;
d = 0;
f = 0;
}
if ((!move_b) && (a > 150)) {
if (random(60) == 0) {
This_Num++;
if (This_Num < 2) {
trace("sayu");
move_b = true;
yes_can = false;
d = 0;
f = 0;
}
}
}
if (move_b) {
b++;
d++;
if (b >= 10) {
b = 0;
up_or = false;
down_or = false;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_5.hitTest(this._x, this._y, true)) {
up_or = true;
}
if (_root["BG_" + i].rode_6.hitTest(this._x, this._y, true)) {
down_or = true;
}
i++;
}
hit_stone = false;
var i = 0;
while (i < 3) {
if (_root["BG_" + i].rode_1.hitTest(this._x, this._y, true)) {
vy = y_speed;
hit_stone = true;
hit_stone_i = 0;
c = 0;
} else if (_root["BG_" + i].rode_2.hitTest(this._x, this._y, true)) {
vy = -y_speed;
hit_stone = true;
hit_stone_i = 0;
c = 0;
}
i++;
}
if (!hit_stone) {
if (up_or && (!down_or)) {
vy = y_speed;
}
if ((!up_or) && (down_or)) {
vy = -y_speed;
}
}
if (_x < -50) {
_x = mc_x;
if (((_root.Ren_mc._x - _x) > 400) && (yes_can)) {
move_b = false;
}
}
if (_x > 800) {
_x = mc_x;
move_b = false;
}
if (_x > 200) {
yes_can = true;
}
}
if (!_root.luckly_defer) {
vx = x_speed * 0.6;
} else {
vx = x_speed;
if (yes_can) {
f++;
if (f > 120) {
vx = x_speed * 0.6;
}
}
}
if ((_root.Ren_mc._x - _x) < 200) {
_y = (_y + ((_root.Ren_mc._y - _y) * 0.1));
} else {
_y = (_y + vy);
}
if ((_root.Ren_mc._x - _x) < 5) {
vx = 0;
}
if (hit_stone) {
_x = (_x + ((vx * 0.3) + _root.Center_speed));
} else {
hit_stone_i++;
if (hit_stone_i > 30) {
_x = (_x + (vx + _root.Center_speed));
} else {
_x = (_x + ((vx * 0.3) + _root.Center_speed));
}
}
}
}
}
Instance of Symbol 352 MovieClip "yanwu_mc" in Frame 8
onClipEvent (load) {
gotoAndStop (13);
}
Instance of Symbol 364 MovieClip "disagin_line_2" in Frame 8
onClipEvent (load) {
function Re_set() {
_x = xx;
_y = yy;
txt1.text = 50;
txt2.text = 60;
txt3.text = 70;
txt4.text = 80;
txt5.text = 90;
txt6.text = 100;
}
xx = _x;
yy = _y;
Re_set();
}
Instance of Symbol 364 MovieClip "disagin_line_1" in Frame 8
onClipEvent (load) {
function Re_set() {
_x = xx;
_y = yy;
txt1.text = -10;
txt2.text = 0;
txt3.text = 10;
txt4.text = 20;
txt5.text = 30;
txt6.text = 40;
finish_mc._visible = false;
}
xx = _x;
yy = _y;
Re_set();
}
Instance of Symbol 386 MovieClip "disgin_distance" in Frame 8
onClipEvent (load) {
gotoAndStop (10);
}
Symbol 16 MovieClip Frame 48
_root.wordmap_mc.play();
delete this.onEnterFrame;
stop();
Symbol 565 MovieClip [__Packages.Fish_crabe] Frame 0
class Fish_crabe extends MovieClip
{
var onLoad, onEnterFrame, a, b, move_b, _x, mc_x, _y, mc_y;
function Fish_crabe () {
super();
onLoad = function () {
this.a = 0;
this.b = 0;
this.r = 0;
this.move_b = false;
this.y_speed = 1 + _root.Ren_Vmin;
this.x_speed = 1 + _root.Ren_Vmin;
this.vx = 0;
this.vy = 0;
this.mc_x = this._x;
this.mc_y = this._y;
};
onEnterFrame = function () {
if (this._x < -100) {
this.This_Pause = false;
}
if (this.This_Pause && (_root.Root_Pause)) {
this.max_s = Math.sqrt(Math.pow(this._x - _root.Ren_mc._x, 2) + Math.pow(this._y - _root.Ren_mc._y, 2), 2);
if ((this.max_s < 300) && (this.max_s > this.y_speed)) {
this.angle = (Math.atan2(this._y - _root.Ren_mc._y, this._x - _root.Ren_mc._x) / Math.PI) * 180;
this._rotation = this.angle;
this.b++;
if (this.b >= 90) {
this.b = 0;
var _local3 = 0;
while (_local3 < 3) {
if (_root["BG_" + _local3].rode_1.hitTest(this._x, this._y, true)) {
this.vy = this.y_speed;
this._x = this._x - (this.vx * 0.8);
} else if (_root["BG_" + _local3].rode_2.hitTest(this._x, this._y, true)) {
this.vy = -this.y_speed;
this._x = this._x - (this.vx * 0.8);
} else if ((_root.Ren_mc._y - this._y) > this.y_speed) {
this.vy = this.y_speed;
} else if ((_root.Ren_mc._y - this._y) < (-this.y_speed)) {
this.vy = -this.y_speed;
} else {
this.vy = 0.1;
}
_local3++;
}
if ((_root.Ren_mc._x - this._x) > this.x_speed) {
this.vx = this.x_speed;
} else if ((_root.Ren_mc._x - this._x) < (-this.x_speed)) {
this.vx = -this.x_speed;
} else {
this.vx = 0;
}
}
this._y = this._y + this.vy;
}
this._x = this._x + (this.vx + _root.Center_speed);
}
};
}
function Re_set() {
a = 0;
b = 0;
move_b = false;
_x = mc_x;
_y = mc_y;
}
}
Symbol 566 MovieClip [__Packages.Fish_supe] Frame 0
class Fish_supe extends MovieClip
{
var onLoad, onEnterFrame, a, b, move_b, _x, mc_x, _y, mc_y;
function Fish_supe () {
super();
onLoad = function () {
this.a = 0;
this.b = 0;
this.r = 0;
this.move_b = false;
this.y_speed = 2 + _root.Ren_Vmin;
this.x_speed = 2 + _root.Ren_Vmin;
this.vx = 0;
this.vy = 0;
this.mc_x = this._x;
this.mc_y = this._y;
this.This_Pause = false;
};
onEnterFrame = function () {
if (this._x < -100) {
this.This_Pause = false;
}
if (this.This_Pause && (_root.Root_Pause)) {
this.max_s = Math.sqrt(Math.pow(this._x - _root.Ren_mc._x, 2) + Math.pow(this._y - _root.Ren_mc._y, 2), 2);
if ((this.max_s < 300) && (this.max_s > this.y_speed)) {
this.angle = (Math.atan2(this._y - _root.Ren_mc._y, this._x - _root.Ren_mc._x) / Math.PI) * 180;
this._rotation = this.angle;
this.b++;
if (this.b >= 30) {
this.b = 0;
var _local3 = 0;
while (_local3 < 3) {
if (_root["BG_" + _local3].rode_1.hitTest(this._x, this._y, true)) {
this.vy = this.y_speed;
this._x = this._x - (this.vx * 0.8);
} else if (_root["BG_" + _local3].rode_2.hitTest(this._x, this._y, true)) {
this.vy = -this.y_speed;
this._x = this._x - (this.vx * 0.8);
} else if ((_root.Ren_mc._y - this._y) > this.y_speed) {
this.vy = this.y_speed;
} else if ((_root.Ren_mc._y - this._y) < (-this.y_speed)) {
this.vy = -this.y_speed;
} else {
this.vy = 0.1;
}
_local3++;
}
if ((_root.Ren_mc._x - this._x) > this.x_speed) {
this.vx = this.x_speed;
} else if ((_root.Ren_mc._x - this._x) < (-this.x_speed)) {
this.vx = -this.x_speed;
} else {
this.vx = 0;
}
}
this._y = this._y + this.vy;
}
this._x = this._x + (this.vx + _root.Center_speed);
}
};
}
function Re_set() {
a = 0;
b = 0;
move_b = false;
_x = mc_x;
_y = mc_y;
}
}
Symbol 567 MovieClip [__Packages.Ren_computer] Frame 0
class Ren_computer extends MovieClip
{
var a, hit_stone, hit_stone_i, power_0, power, y_speed, x_speed, vx, mc_x, _x, mc_y, _y, cheapan, This_Pause, Dead_Flash, Dead_Flash_i, onEnterFrame;
function Ren_computer () {
super();
a = 0;
hit_stone = false;
hit_stone_i = 0;
power_0 = 11 + (random(20) * 0.2);
power = power_0;
y_speed = power_0 * 0.5;
x_speed = power;
vx = x_speed;
mc_x = _x;
mc_y = _y;
cheapan = 10;
This_Pause = true;
up_or = false;
down_or = false;
Cer_Up_or = false;
Cer_Down_or = false;
Dead_Flash = false;
Dead_Flash_i = 0;
Sayu_can = true;
onEnterFrame = function () {
if (_root.Root_Pause && (this.This_Pause_d)) {
this.This_Pause = false;
this._x = this._x + _root.Center_speed;
}
if (_root.Root_Pause && (this.This_Pause)) {
if (this.Dead_Flash) {
this.Dead_Flash_i++;
if (this.Dead_Flash_i < 20) {
this._visible = !this._visible;
} else if ((this.Dead_Flash_i > 20) && (this.Dead_Flash_i <= 30)) {
this._alpha = 30;
} else {
this.Sayu_can = true;
this._alpha = 100;
this._visible = true;
this.Dead_Flash = false;
this.Dead_Flash_i = 0;
}
}
if ((this._x > -200) && (this._x < 700)) {
this.hit_stone = false;
this.up_or = false;
this.down_or = false;
this.Cer_Up_or = false;
this.Cer_Down_or = false;
var _local3 = 0;
while (_local3 < 3) {
if (_root["BG_" + _local3].rode_1.hitTest(this._x, this._y, true)) {
this.Cer_Up_or = true;
}
if (_root["BG_" + _local3].rode_2.hitTest(this._x, this._y, true)) {
this.Cer_Down_or = true;
}
_local3++;
}
_local3 = 0;
while (_local3 < 3) {
if (_root["BG_" + _local3].rode_5.hitTest(this._x, this._y, true)) {
this.up_or = true;
}
if (_root["BG_" + _local3].rode_6.hitTest(this._x, this._y, true)) {
this.down_or = true;
}
_local3++;
}
if ((!this.Cer_Up_or) && (!this.Cer_Down_or)) {
this.a++;
if (this.a >= 90) {
this.a = 0;
this.vy = random(8) - 4;
}
}
if (this.bbb) {
this.bbb_i++;
if (this.bbb_i > 20) {
this.bbb_i = 0;
this.bbb = false;
}
}
if (this.up_or && (!this.down_or)) {
this.bbb = true;
this.vy = this.y_speed;
}
if ((!this.up_or) && (this.down_or)) {
this.bbb = true;
this.vy = -this.y_speed;
}
if (this.Cer_Up_or) {
this.bbb = false;
this.bbb_i = 0;
this.vy = this.y_speed * 1.2;
this.hit_stone = true;
this.hit_stone_i = 0;
}
if (this.Cer_Down_or) {
this.bbb = false;
this.bbb_i = 0;
this.vy = (-this.y_speed) * 1.2;
this.hit_stone = true;
this.hit_stone_i = 0;
}
if (!this.Dead_Flash) {
_local3 = 0;
while (_local3 < _root.Fish_supe_num) {
if (_root["Fish_supe_" + _local3].hitTest(this) && (_root["Fish_supe_" + _local3]._x > -50)) {
_root["Fish_supe_" + _local3].gotoAndPlay("attach");
this.Dead_Flash = true;
this.Dead_Flash_i = 0;
}
if (_root["Fish_crabe_" + _local3].hitTest(this) && (_root["Fish_crabe_" + _local3]._x > -50)) {
_root["Fish_crabe_" + _local3].gotoAndPlay("attach");
this.Dead_Flash = true;
this.Dead_Flash_i = 0;
}
_local3++;
}
}
this._y = this._y + this.vy;
if (this._y < 20) {
this._y = 20;
}
if (this._y > 380) {
this._y = 380;
}
if (this.This_Pause_d) {
this._x = this._x + _root.Center_speed;
} else if (this.hit_stone || (_root.Hit_BG_grass(this))) {
this._x = this._x + ((this.vx * 0.2) + _root.Center_speed);
} else {
this.hit_stone_i++;
if (this.hit_stone_i > this.cheapan) {
this._x = this._x + (this.vx + _root.Center_speed);
} else {
this._x = this._x + ((this.vx * 0.8) + _root.Center_speed);
}
}
} else {
this._x = this._x + _root.Ren_Vmin;
this._y = ((random(6) * 10) + 130) + random(10);
}
}
};
}
function Re_set() {
This_Pause = true;
x_speed = power;
vx = x_speed;
a = 0;
hit_stone = false;
hit_stone_i = 0;
_x = mc_x;
_y = mc_y;
Dead_Flash = false;
Dead_Flash_i = 0;
Sayu_can = true;
}
var bbb = false;
var bbb_i = 0;
var up_or = false;
var down_or = false;
var Cer_Up_or = false;
var Cer_Down_or = false;
var This_Pause_d = false;
var Sayu_can = true;
}
Symbol 568 MovieClip [__Packages.Rode_Computer] Frame 0
class Rode_Computer extends MovieClip
{
var width_0, Sound_d, onEnterFrame, play, _x;
function Rode_Computer () {
super();
width_0 = 830;
Sound_d = true;
onEnterFrame = function () {
if (_root.Root_Pause) {
this._x = this._x + _root.Center_speed;
if (this._x < ((-this._width) - 20)) {
this.Re_set();
}
}
};
}
function Re_set() {
play();
_x = _x + (3 * width_0);
Sound_d = true;
}
}
Symbol 99 MovieClip Frame 32
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
play();
} else {
stop();
}
Symbol 99 MovieClip Frame 155
_root.play();
Symbol 139 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
_parent.paopo_mc._x = 501;
_parent.paopo_mc._y = 200;
trace(_parent.paopo_mc._x);
trace(_parent.paopo_mc._y);
Instance of Symbol 144 MovieClip "fish_0" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_1" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_2" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_3" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_4" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_5" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_6" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_7" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_8" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_9" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_10" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_11" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_12" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_13" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_14" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_15" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_16" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_18" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 144 MovieClip "fish_17" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 146 MovieClip "paopo" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 146 MovieClip "paopo" in Symbol 198 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(6) + 13);
}
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(6) + 7);
}
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(6) + 1);
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 254 MovieClip [Computer_Rode] Frame 1
#initclip 8
Object.registerClass("Computer_Rode", Rode_Computer);
#endinitclip
stop();
a = 1;
Instance of Symbol 203 MovieClip "rode_6" in Symbol 254 MovieClip [Computer_Rode] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 228 MovieClip "rode_5" in Symbol 254 MovieClip [Computer_Rode] Frame 1
onClipEvent (load) {
_alpha = 0;
_visible = false;
}
Instance of Symbol 253 MovieClip "float_grass_0" in Symbol 254 MovieClip [Computer_Rode] Frame 1
onClipEvent (load) {
gotoAndStop(this._totalframes);
}
Instance of Symbol 253 MovieClip "float_grass_1" in Symbol 254 MovieClip [Computer_Rode] Frame 1
onClipEvent (load) {
gotoAndStop(this._totalframes);
}
Instance of Symbol 253 MovieClip "float_grass_2" in Symbol 254 MovieClip [Computer_Rode] Frame 1
onClipEvent (load) {
gotoAndStop(this._totalframes);
}
Symbol 254 MovieClip [Computer_Rode] Frame 2
a = random(29) + 1;
while (a == _root.BG_Frame) {
a = random(29) + 1;
}
_root.BG_Frame = a;
fish_i = 20;
this.rode_2.gotoAndStop(a);
this.rode_1.gotoAndStop(a);
this.rode_5.gotoAndStop(a);
this.rode_6.gotoAndStop(a);
this.rodedis_mc.gotoAndStop(a);
var i = 0;
while (i < 3) {
if (random(_root.Rand_float_grass) == 1) {
this["float_grass_" + i].gotoAndStop(random(21) + 1);
} else {
this["float_grass_" + i].gotoAndStop(22);
}
i++;
}
Symbol 254 MovieClip [Computer_Rode] Frame 3
_root.Arrange_Fish(this);
if (rode_2._currentframe <= 5) {
paopo_mc._x = rode_2._x + rode_2.paopo._x;
paopo_mc._y = rode_2._y + rode_2.paopo._y;
} else {
paopo_mc._y = -10;
}
Instance of Symbol 146 MovieClip "mc" in Symbol 261 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 261 MovieClip Frame 10
play();
Symbol 261 MovieClip Frame 18
gotoAndPlay (19);
Symbol 261 MovieClip Frame 19
stop();
Symbol 271 MovieClip [Fish_crabe] Frame 1
#initclip 5
Object.registerClass("Fish_crabe", Fish_crabe);
#endinitclip
Instance of Symbol 146 MovieClip "mc" in Symbol 271 MovieClip [Fish_crabe] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 279 MovieClip [Fish_supe] Frame 1
#initclip 6
Object.registerClass("Fish_supe", Fish_supe);
#endinitclip
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip "mc" in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(4) + 21);
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(4) + 17);
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(4) + 13);
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(4) + 9);
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(4) + 5);
}
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(4) + 1);
}
Symbol 333 MovieClip [computer_Ren] Frame 1
#initclip 7
Object.registerClass("computer_Ren", Ren_computer);
#endinitclip
stop();
Instance of Symbol 144 MovieClip "mc" in Symbol 333 MovieClip [computer_Ren] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 344 MovieClip Frame 1
stop();
delete this.onEnterFrame;
_root.Root_Ren_Pause = false;
_root.Ren_up = false;
Instance of Symbol 144 MovieClip "mc" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 344 MovieClip Frame 3
gotoAndStop (1);
Symbol 344 MovieClip Frame 10
_root.Center_speed = 0;
_root.Root_Ren_Pause = true;
_root.main_menu_mc.gotoAndStop("hitStone");
_root.subtract_life();
d = 0;
ai = 0;
_root.speed_guid.mc._xscale = 1;
this.onEnterFrame = function () {
_root.Hit_hill_Ren();
if (_root.Hit_hill_Ren_B != 0) {
d = _root.Hit_hill_Ren_B;
} else {
ai++;
if (ai > 10) {
delete this.onEnterFrame;
play();
}
}
if (d == 1) {
_y = (_y + 5);
} else if (d == 2) {
_y = (_y - 6);
}
};
Symbol 344 MovieClip Frame 28
_root.Root_Ren_Pause = false;
_root.Center_speed = 0;
if (_root.Ren_life_num > 0) {
_root.Root_Pause = true;
_root.main_menu_mc.gotoAndStop("Stop");
gotoAndStop (1);
} else {
_root.GameOver();
_root.main_menu_mc.gotoAndPlay("Gameover");
this.gotoAndStop("dead");
}
_root.Ren_up = false;
Symbol 344 MovieClip Frame 29
gotoAndStop (1);
Symbol 344 MovieClip Frame 51
_root.Center_speed = 0;
_root.Root_Ren_Pause = true;
_root.subtract_life();
onEnterFrame = function () {
play();
};
Symbol 344 MovieClip Frame 67
_root.Root_Ren_Pause = false;
_root.Center_speed = 0;
delete this.onEnterFrame;
if (_root.Ren_life_num > 0) {
_root.Current_Fish._x = -30;
_root.Root_Pause = true;
_root.main_menu_mc.gotoAndStop("Stop");
gotoAndStop (1);
} else {
_root.GameOver();
_root.main_menu_mc.gotoAndPlay("Gameover");
gotoAndStop ("dead");
}
_root.Ren_up = false;
Symbol 344 MovieClip Frame 72
_root.Center_speed = 0;
_root.Root_Ren_Pause = true;
onEnterFrame = function () {
play();
};
Symbol 344 MovieClip Frame 89
_root.Root_Ren_Pause = false;
delete this.onEnterFrame;
_root.Current_Fish._x = -30;
_root.Root_Pause = true;
gotoAndStop (1);
_root.Ren_up = false;
Symbol 344 MovieClip Frame 103
_root.subtract_life();
_root.Center_speed = 0;
_root.Root_Ren_Pause = true;
Symbol 344 MovieClip Frame 111
_root.Fish_sayu_mc._x = -50;
Symbol 344 MovieClip Frame 127
_root.Center_speed = 0;
if (_root.Ren_life_num <= 0) {
_root.Root_Ren_Pause = false;
delete this.onEnterFrame;
_root.Ren_up = false;
_root.GameOver();
_root.main_menu_mc.gotoAndPlay("Gameover");
gotoAndStop ("dead");
} else {
_root.Fish_sayu_mc._x = -50;
}
Symbol 344 MovieClip Frame 144
_root.Center_speed = 0;
delete this.onEnterFrame;
if (_root.Ren_life_num > 0) {
_root.Current_Fish._x = -50;
_root.Fish_sayu_mc._x = -50;
_root.Root_Pause = true;
_root.main_menu_mc.gotoAndStop("Stop");
gotoAndStop (1);
} else {
_root.GameOver();
_root.main_menu_mc.gotoAndPlay("Gameover");
gotoAndStop ("dead");
}
_root.Ren_up = false;
_root.Root_Ren_Pause = false;
Symbol 344 MovieClip Frame 151
_root.Fish_sayu_mc._x = -50;
Symbol 344 MovieClip Frame 152
delete this.onEnterFrame;
_root.Fish_HaiTun_mc.gotoAndStop(2);
stop();
Symbol 344 MovieClip Frame 162
delete this.onEnterFrame;
Symbol 351 MovieClip Frame 45
stop();
_parent.gotoAndStop(6);
Instance of Symbol 363 MovieClip "finish_mc" in Symbol 364 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 372 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 6
stop();
Symbol 384 MovieClip Frame 1
stop();
Instance of Symbol 381 MovieClip "mc" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent.d);
}
Symbol 384 MovieClip Frame 1000
_root.minCi++;
d = substring(this._name, 10, 1);
if ((substring(this._name, 10, 1)) == "0") {
if (_root.minCi == 1) {
_root.Victory();
} else {
_root.GameOver();
_root.main_menu_mc.gotoAndPlay("Gameover");
}
} else {
_root["comp_Ren_" + (Number(d) - 1)].This_Pause_d = true;
}
Instance of Symbol 384 MovieClip "xiaolian_1" in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
d = _root.xiaolian_frame;
mc.gotoAndStop(d);
}
Instance of Symbol 384 MovieClip "xiaolian_0" in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
d = 4;
mc.gotoAndStop(4);
}
Symbol 386 MovieClip Frame 3
stop();
xiaolian_1.mc.gotoAndStop(_root.xiaolian_frame);
delete this.onEnterFrame;
arr = new Array();
arr = [_root.Ren_mc, _root.comp_Ren_0];
d = this.xiaolian_0._totalframes;
this.onEnterFrame = function () {
var _local3 = 0;
while (_local3 < 2) {
a = (((_root.Consult_distance + arr[_local3]._x) * _root.screen_distance) / (_root.Rode_Distance * 600)) * d;
a = Math.floor(a);
if (a < 0) {
a = 0;
}
if (a < d) {
this["xiaolian_" + _local3].gotoAndStop(a);
} else {
arr[_local3].This_Pause = false;
this["xiaolian_" + _local3].gotoAndStop(d);
}
_local3++;
}
};
Instance of Symbol 384 MovieClip "xiaolian_3" in Symbol 386 MovieClip Frame 4
onClipEvent (load) {
d = 3;
mc.gotoAndStop(3);
}
Instance of Symbol 384 MovieClip "xiaolian_2" in Symbol 386 MovieClip Frame 4
onClipEvent (load) {
d = 2;
mc.gotoAndStop(2);
}
Instance of Symbol 384 MovieClip "xiaolian_1" in Symbol 386 MovieClip Frame 4
onClipEvent (load) {
d = 1;
mc.gotoAndStop(1);
}
Symbol 386 MovieClip Frame 6
stop();
delete this.onEnterFrame;
arr = new Array();
arr = [_root.Ren_mc, _root.comp_Ren_0, _root.comp_Ren_1, _root.comp_Ren_2];
d = this.xiaolian_0._totalframes;
this.onEnterFrame = function () {
var _local3 = 0;
while (_local3 < 4) {
a = (((_root.Consult_distance + arr[_local3]._x) * _root.screen_distance) / (_root.Rode_Distance * 600)) * d;
a = Math.floor(a);
if (a < 0) {
a = 0;
}
if (a < d) {
this["xiaolian_" + _local3].gotoAndStop(a);
} else {
arr[_local3].This_Pause = false;
this["xiaolian_" + _local3].gotoAndStop(d);
}
_local3++;
}
};
Symbol 386 MovieClip Frame 7
stop();
Symbol 393 MovieClip Frame 1
Symbol 393 MovieClip Frame 12
stop();
Symbol 394 Button
on (press) {
_root.Ren_mc.gotoAndStop(1);
_root.Root_Pause = false;
main_menu_mc.gotoAndPlay("main");
}
Symbol 396 Button
on (press) {
play();
}
Symbol 402 MovieClip Frame 1
stop();
_root.Sound_Play = true;
_root.dingding_Sound.setVolume(100);
_root.underwater_sound.setVolume(100);
Symbol 402 MovieClip Frame 2
stop();
_root.Sound_Play = false;
_root.dingding_Sound.setVolume(0);
_root.underwater_sound.setVolume(0);
Symbol 402 MovieClip Frame 3
gotoAndStop (1);
Symbol 403 Button
on (press) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Symbol 405 MovieClip Frame 1
stop();
Symbol 419 Button
on (release) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 421 Button
on (press) {
getURL ("http://www.ifungames.com", _blank);
}
Symbol 423 Button
on (press) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Symbol 429 Button
on (press) {
_parent.gotoAndPlay("instructions");
}
Symbol 431 Button
on (press) {
_parent.credits_mc.play();
}
Symbol 433 Button
on (press) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 12
Symbol 445 MovieClip Frame 1
var i = 1;
while (i <= 3) {
this["change_" + i].gotoAndStop(1);
this["change_" + i].enabled = true;
this["change_" + i].id = i;
this["change_" + i].onPress = function () {
_root.Center_lever = 1;
var _local4 = 1;
while (_local4 <= 3) {
this._parent["change_" + _local4].gotoAndStop(1);
this._parent["change_" + _local4].enabled = true;
_local4++;
}
this.gotoAndStop(2);
this.enabled = false;
switch (this.id) {
case 1 :
_root.Re_Game_1();
_root.Ren_life_num = 5;
_root.Ren_life_mc.gotoAndStop(_root.Ren_life_num);
_parent.gotoAndPlay("quickplay");
break;
case 2 :
_root.Re_Game_2();
_root.Ren_life_num = 5;
_root.Ren_life_mc.gotoAndStop(_root.Ren_life_num);
_parent.gotoAndPlay("quickplay");
break;
case 3 :
_root.Re_Game_3();
_root.Ren_life_num = 1;
_root.Ren_life_mc.gotoAndStop(_root.Ren_life_num);
_parent.gotoAndPlay("quickplay_1");
}
_root.Change_level = this.id;
};
this["change_" + i].onRollOver = function () {
this.mc.play();
};
i++;
}
PingBi_but.useHandCursor = false;
Symbol 450 Button
on (press) {
_parent.play();
}
Symbol 451 MovieClip Frame 1
PingBi_but.useHandCursor = false;
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 5
stop();
Symbol 456 Button
on (press) {
if (_parent.click_num == 10) {
_parent.play();
}
}
Symbol 458 MovieClip Frame 1
PingBi_but.useHandCursor = false;
Instance of Symbol 485 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (load) {
this._x = this._parent["mc" + _root.Difficulty_Num]._x;
d = 450;
var current_mci;
var DS = 0;
var Ds_mcnum;
var mc_arr = new Array();
mc_arr = [0, 23, 78.1, 133.2, 188.3, 243.4, 298.5, 353.6, 408.9];
this.onPress = function () {
this.startDrag(false, 0, this._y, d, this._y);
current_mci = 1;
DS = 1000;
this.onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, false)) {
this.onRelease();
}
};
};
this.onRelease = function () {
delete this.onEnterFrame;
this.stopDrag();
var _local3 = 1;
while (_local3 <= 8) {
Ds_mcnum = Math.abs(this._x - mc_arr[_local3]);
if (Ds_mcnum <= DS) {
current_mci = _local3;
DS = Ds_mcnum;
}
_local3++;
}
_root.Difficulty_Num = current_mci;
this._x = mc_arr[current_mci];
_root.Re_Game_1();
_root.Re_Set_Difficulty_2(current_mci - 5);
};
this.onRelease();
}
Symbol 490 Button
on (press) {
if (_parent.click_num == 35) {
if (_root.Change_level == 1) {
_parent.gotoAndPlay("quickplay_2");
} else {
_parent.play();
}
}
}
Symbol 491 Button
on (press) {
_root.Ren_mc.gotoAndStop(1);
_root.Root_Pause = false;
_root.main_menu_mc.gotoAndPlay("main");
}
Symbol 506 MovieClip Frame 1
stop();
var i = 1;
while (i <= 6) {
this["click_" + i].id = i;
this["click_" + i].gotoAndStop(((this.id - 1) * 3) + 1);
this["click_" + i].onPress = function () {
var _local3 = 1;
while (_local3 <= 6) {
rcmc = this._parent["click_" + _local3];
rcmc.gotoAndStop(((rcmc.id - 1) * 3) + 1);
rcmc.enabled = true;
_local3++;
}
this.gotoAndStop(((this.id - 1) * 3) + 2);
this.enabled = false;
switch (this.id) {
case 1 :
_root.Rode_Distance = 600;
break;
case 2 :
_root.Rode_Distance = 800;
break;
case 3 :
_root.Rode_Distance = 1000;
break;
case 4 :
_root.Rode_Distance = 1500;
break;
case 5 :
_root.Rode_Distance = 2000;
break;
case 6 :
_root.Rode_Distance = 3000;
}
};
this["click_" + i].onRollOver = function () {
this.mc.play();
};
i++;
}
this.click_1.onPress();
gotoAndStop(_root.Change_level);
stop();
var k = 1;
while (k <= 2) {
this["shark_" + k].id = k;
this["shark_" + k].gotoAndStop(((this.id - 1) * 3) + 1);
this["shark_" + k].onPress = function () {
var _local3 = 1;
while (_local3 <= 2) {
rcmc = this._parent["shark_" + _local3];
rcmc.gotoAndStop(((rcmc.id - 1) * 3) + 1);
rcmc.enabled = true;
_local3++;
}
this.gotoAndStop(((this.id - 1) * 3) + 2);
this.enabled = false;
switch (this.id) {
case 1 :
_root.Fish_sayu_mc.mc_x = -100;
_root.Fish_sayu_mc.mc_y = -50;
trace(_root.Fish_sayu_mc.mc_x);
break;
case 2 :
_root.Fish_sayu_mc.mc_x = -10000;
_root.fish_sayu_mc.mc_y = -10000;
trace(_root.Fish_sayu_mc.mc_x);
}
};
this["shark_" + i].onRollOver = function () {
this.mc.play();
};
k++;
}
this.shark_1.onPress();
gotoAndStop(_root.Change_level);
stop();
var m = 1;
while (m <= 2) {
this["dolphin_" + m].id = m;
this["dolphin_" + m].gotoAndStop(((this.id - 1) * 3) + 1);
this["dolphin_" + m].onPress = function () {
var _local3 = 1;
while (_local3 <= 2) {
rcmc = this._parent["dolphin_" + _local3];
rcmc.gotoAndStop(((rcmc.id - 1) * 3) + 1);
rcmc.enabled = true;
_local3++;
}
this.gotoAndStop(((this.id - 1) * 3) + 2);
this.enabled = false;
switch (this.id) {
case 1 :
_root.Fish_HaiTun_mc._x = -50;
trace(_root.Fish_sayu_mc.mc_x);
break;
case 2 :
_root.Fish_HaiTun_mc._x = -10000;
_root.Fish_HaiTun_mc._y = -10000;
trace(_root.Fish_HaiTun_mc._x);
}
};
this["shark_" + i].onRollOver = function () {
this.mc.play();
};
m++;
}
this.dolphin_1.onPress();
gotoAndStop(_root.Change_level);
PingBi_but.useHandCursor = false;
Symbol 514 MovieClip Frame 1
gotoAndStop(_root.Center_lever);
Symbol 521 MovieClip Frame 34
stop();
Symbol 529 MovieClip Frame 1
PingBi_but.useHandCursor = false;
Symbol 531 Button
on (press) {
if (_parent.click_num == 70) {
_parent.gotoAndPlay("Gover_1");
}
}
Symbol 533 Button
on (press) {
_root.Center_lever = 1;
_root.Re_Set_Game();
if (_parent.click_num == 70) {
if (_root.Change_level == 2) {
_parent.gotoAndPlay("Gover_2");
} else {
_parent.gotoAndPlay("Gover_3");
}
}
}
Symbol 536 MovieClip Frame 1
if (_root.disgin_distance.xiaolian_0._currentframe == _root.disgin_distance.xiaolian_0._totalframes) {
stop();
} else {
gotoAndStop (2);
}
Symbol 547 MovieClip Frame 1
PingBi_but.useHandCursor = false;
Symbol 547 MovieClip Frame 2
switch (_root.Change_level) {
case 1 :
gotoAndPlay (8);
break;
case 2 :
gotoAndPlay (8);
break;
case 3 :
gotoAndPlay (12);
}
Symbol 547 MovieClip Frame 8
switch (_root.minCi) {
case 1 :
txt1.text = "1st";
break;
case 2 :
txt1.text = "2nd";
break;
case 3 :
txt1.text = "3rd";
break;
case 4 :
txt1.text = "4th";
break;
default :
txt1.text = "4th";
}
if (lost_mc._currentframe == 2) {
txt1.text = "DNF";
}
txt3.text = Math.floor((((_root.Consult_distance + _root.Ren_mc._x) * _root.screen_distance) / 120000) * 200);
if (Number(txt3.text) > _root.Rode_Distance) {
txt3.text = _root.Rode_Distance;
}
var my_date = new Date();
d1 = my_date.getMinutes() - _root.Date_arr[0];
d2 = my_date.getSeconds() - _root.Date_arr[1];
if (d2 < 0) {
d2 = d2 + 60;
d1 = d1 - 1;
}
d2 = Math.abs(d2);
d1 = Math.abs(d1);
if ((substring(d1, 2, 1)) == "") {
d1 = "0" + d1;
}
if ((substring(d2, 2, 1)) == "") {
d2 = "0" + d2;
}
txt2.text = (d1 + ":") + d2;
Symbol 547 MovieClip Frame 9
stop();
Symbol 547 MovieClip Frame 12
txt1.text = _root.Center_lever;
txt3.text = Math.floor((((_root.Consult_distance + _root.Ren_mc._x) * _root.screen_distance) / 120000) * 200);
sss = getTimer() - _root.Play_Timer;
trace(sss);
sss = sss / 1000;
mmm = 0;
while (sss > 60) {
mmm = 1 + Number(mmm);
sss = Number(sss) - 60;
}
sss = Math.floor(sss);
if ((substring(sss, 2, 1)) == "") {
sss = "0" + sss;
}
if ((substring(mmm, 2, 1)) == "") {
mmm = "0" + mmm;
}
txt2.text = (mmm + ":") + sss;
if (Number(txt3.text) > _root.Hight_Score) {
_root.Hight_Score = Number(txt3.text);
}
txt4.text = _root.Hight_Score;
Symbol 547 MovieClip Frame 13
stop();
Symbol 551 Button
on (press) {
_parent.play();
}
Symbol 552 MovieClip Frame 1
PingBi_but.useHandCursor = false;
Symbol 556 Button
on (press) {
if (_parent.click_num == 90) {
_parent.gotoAndPlay("Vic_End_1");
}
}
Symbol 557 Button
on (press) {
_root.Center_lever = 1;
if (_parent.click_num == 90) {
if (_root.Change_level == 2) {
_parent.gotoAndPlay("Vic_End_2");
} else {
_parent.gotoAndPlay("Vic_End_3");
}
}
_root.Re_Set_Game();
}
Symbol 562 MovieClip Frame 1
PingBi_but.useHandCursor = false;
txt1.text = "1st";
txt3.text = _root.Rode_Distance;
var my_date = new Date();
d1 = my_date.getMinutes() - _root.Date_arr[0];
d2 = my_date.getSeconds() - _root.Date_arr[1];
if (d2 < 0) {
d2 = d2 + 60;
d1 = d1 - 1;
}
trace((_root.Date_arr[0] + " 2222 ") + _root.Date_arr[1]);
trace((my_date.getMinutes() + " 5555 ") + my_date.getSeconds());
d2 = Math.abs(d2);
d1 = Math.abs(d1);
if ((substring(d1, 2, 1)) == "") {
d1 = "0" + d1;
}
if ((substring(d2, 2, 1)) == "") {
d2 = "0" + d2;
}
sss = getTimer() - _root.Play_Timer;
trace(sss);
sss = sss / 1000;
mmm = 0;
while (sss > 60) {
mmm = 1 + Number(mmm);
sss = Number(sss) - 60;
}
sss = Math.floor(sss);
if ((substring(sss, 2, 1)) == "") {
sss = "0" + sss;
}
if ((substring(mmm, 2, 1)) == "") {
mmm = "0" + mmm;
}
txt5.text = (mmm + ":") + sss;
if (_root.Change_level == 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 563 MovieClip Frame 1
var click_num = 1;
Symbol 563 MovieClip Frame 2
var i = 1;
while (i <= 3) {
main_mc["change_" + i].gotoAndStop(1);
main_mc["change_" + i].enabled = true;
i++;
}
_root.YanDong_mc.stop();
Symbol 563 MovieClip Frame 6
stop();
Symbol 563 MovieClip Frame 19
stop();
click_num = 10;
Symbol 563 MovieClip Frame 25
stop();
click_num = 11;
Symbol 563 MovieClip Frame 57
stop();
click_num = 35;
Symbol 563 MovieClip Frame 72
if (_root.Change_level == 3) {
gotoAndPlay ("quickplay_2");
}
Symbol 563 MovieClip Frame 102
switch (_root.Change_level) {
case 1 :
_root.Re_Game_1();
break;
case 2 :
_root.Re_Game_2();
_root.Re_Set_Difficulty(-2);
break;
case 3 :
_root.Re_Game_3();
}
Instance of Symbol 144 MovieClip in Symbol 563 MovieClip Frame 102
onClipEvent (load) {
_visible = false;
d = 0;
this.onEnterFrame = function () {
d++;
if (d < 20) {
_root.Ren_mc._visible = !_root.Ren_mc._visible;
} else {
d = 0;
_root.Ren_mc._visible = true;
delete this.onEnterFrame;
}
};
}
Instance of Symbol 521 MovieClip in Symbol 563 MovieClip Frame 102
onClipEvent (load) {
if (_root.Change_level == 3) {
_visible = false;
}
}
Symbol 563 MovieClip Frame 131
_root.Root_Pause = true;
gotoAndStop ("Stop");
click_num = 0;
_root.YanDong_mc.play();
var i = 1;
while (i < 3) {
_root["disagin_line_" + i].finish_mc._visible = false;
i++;
}
_root.Fish_sayu_mc.frames = 0;
Symbol 563 MovieClip Frame 153
_root.Root_Pause = false;
_root.YanDong_mc.stop();
Symbol 563 MovieClip Frame 158
click_num = 520;
stop();
Symbol 563 MovieClip Frame 164
_root.Root_Pause = true;
_root.Key_P = true;
click_num = 0;
gotoAndStop ("Stop");
_root.YanDong_mc.play();
Symbol 563 MovieClip Frame 186
_root.YanDong_mc.stop();
Symbol 563 MovieClip Frame 191
stop();
click_num = 70;
Symbol 563 MovieClip Frame 203
gotoAndStop (6);
Symbol 563 MovieClip Frame 244
switch (_root.Change_level) {
case 1 :
_root.Re_Game_1();
break;
case 2 :
_root.Re_Game_2();
Re_Set_Difficulty(-2);
break;
case 3 :
_root.Re_Game_3();
}
Instance of Symbol 144 MovieClip in Symbol 563 MovieClip Frame 244
onClipEvent (load) {
_visible = false;
d = 0;
this.onEnterFrame = function () {
d++;
if (d < 20) {
_root.Ren_mc._visible = !_root.Ren_mc._visible;
} else {
d = 0;
_root.Ren_mc._visible = true;
delete this.onEnterFrame;
}
};
}
Instance of Symbol 521 MovieClip in Symbol 563 MovieClip Frame 244
onClipEvent (load) {
if (_root.Change_level == 3) {
_visible = false;
}
}
Symbol 563 MovieClip Frame 245
Symbol 563 MovieClip Frame 273
_root.Root_Pause = true;
gotoAndStop ("Stop");
click_num = 0;
if (_root.Change_level < 3) {
_root.Ren_life_num = 5;
_root.Ren_life_mc.gotoAndStop(5);
} else {
_root.Ren_life_num = 1;
_root.Ren_life_mc.gotoAndStop(1);
}
_root.YanDong_mc.play();
var i = 1;
while (i < 3) {
_root["disagin_line_" + i].finish_mc._visible = false;
i++;
}
_root.Fish_sayu_mc.frames = 0;
Symbol 563 MovieClip Frame 353
_root.YanDong_mc.stop();
Symbol 563 MovieClip Frame 381
stop();
Symbol 563 MovieClip Frame 382
switch (_root.Change_level) {
case 1 :
_root.Re_Game_1();
break;
case 2 :
_root.Re_Game_2();
Re_Set_Difficulty(-2);
break;
case 3 :
_root.Re_Game_3();
}
Instance of Symbol 144 MovieClip in Symbol 563 MovieClip Frame 418
onClipEvent (load) {
_visible = false;
d = 0;
this.onEnterFrame = function () {
d++;
if (d < 20) {
_root.Ren_mc._visible = !_root.Ren_mc._visible;
} else {
d = 0;
_root.Ren_mc._visible = true;
delete this.onEnterFrame;
}
};
}
Instance of Symbol 521 MovieClip in Symbol 563 MovieClip Frame 418
onClipEvent (load) {
if (_root.Change_level == 3) {
_visible = false;
}
}
Symbol 563 MovieClip Frame 447
_root.Root_Pause = true;
_root.Re_Game();
gotoAndStop ("Stop");
var i = 1;
while (i < 3) {
_root["disagin_line_" + i].finish_mc._visible = false;
i++;
}
_root.Fish_sayu_mc.frames = 0;
_root.YanDong_mc.play();
Symbol 563 MovieClip Frame 455
_root.YanDong_mc.stop();
Symbol 563 MovieClip Frame 460
stop();
click_num = 90;
Symbol 563 MovieClip Frame 471
gotoAndStop (6);
Symbol 563 MovieClip Frame 517
switch (_root.Change_level) {
case 1 :
_root.Re_Game_1();
break;
case 2 :
_root.Re_Game_2();
_root.Ren_life_num = 5;
_root.Ren_life_mc.gotoAndStop(Ren_life_num);
break;
case 3 :
_root.Re_Game_3();
}
Instance of Symbol 144 MovieClip in Symbol 563 MovieClip Frame 517
onClipEvent (load) {
_visible = false;
d = 0;
this.onEnterFrame = function () {
d++;
if (d < 20) {
_root.Ren_mc._visible = !_root.Ren_mc._visible;
} else {
d = 0;
_root.Ren_mc._visible = true;
delete this.onEnterFrame;
}
};
}
Instance of Symbol 521 MovieClip in Symbol 563 MovieClip Frame 517
onClipEvent (load) {
if (_root.Change_level == 3) {
_visible = false;
}
}
Symbol 563 MovieClip Frame 518
Symbol 563 MovieClip Frame 519
switch (_root.Change_level) {
case 1 :
_root.Re_Game_1();
break;
case 2 :
_root.Re_Game_2();
_root.Ren_life_num = 5;
_root.Ren_life_mc.gotoAndStop(Ren_life_num);
Re_Set_Difficulty(-2);
break;
case 3 :
_root.Re_Game_3();
}
Symbol 563 MovieClip Frame 546
_root.Root_Pause = true;
gotoAndStop ("Stop");
click_num = 0;
_root.YanDong_mc.play();
var i = 1;
while (i < 3) {
_root["disagin_line_" + i].finish_mc._visible = false;
i++;
}
_root.Fish_sayu_mc.frames = 0;
Symbol 563 MovieClip Frame 559
if (Key.isDown(32)) {
_root.Ren_up = true;
}
Symbol 563 MovieClip Frame 600
_root.Root_Pause = true;
gotoAndStop ("Stop");