Instance of Symbol 26 MovieClip "Code_mc" in Frame 1
onClipEvent (enterFrame) {
TotalKB = _root.getBytesTotal() / 1000;
LoadedKB = _root.getBytesLoaded() / 1000;
_root.Size_txt.text = ((int(LoadedKB) + "KB/") + int(TotalKB)) + "KB";
LoadedPercent = int((LoadedKB / TotalKB) * 100);
_root.Percent_txt.text = LoadedPercent + "%";
_root.Bar_mc._xscale = LoadedPercent;
DLRate = (_root.getBytesLoaded() / (getTimer() / 1000)) / 1000;
_root.Rate_txt.text = (int(DLRate * 100) / 100) + "KB/s";
SecondsLeft = (TotalKB - LoadedKB) / DLRate;
Minutes = Math.floor(SecondsLeft / 60);
if (Number(Minutes) < 10) {
Minutes = "0" + Minutes;
}
Seconds = int(SecondsLeft - (Minutes * 60));
if (Number(Seconds) < 10) {
Seconds = "0" + Seconds;
}
_root.TimeLeft_txt.text = (Minutes + " : ") + Seconds;
}
Frame 2
if (Number(Code_mc.LoadedPercent) == 100) {
nextFrame();
} else {
gotoAndPlay (1);
}
Frame 3
_root.init_flg = 1;
game_so = SharedObject.getLocal("FlashGamesStudio");
_root.game_so.data.playerName = "";
_root.game_so.data.useremail = "";
_root.gotoAndStop("piantou");
Frame 4
function jishu(bz) {
var _local1 = bz;
var _local2 = _root;
_local2.aa.gotoAndStop(_local1);
if (_local1 == 1) {
_local2.ren_dunxiang = "00";
} else if (_local1 == 2) {
_local2.ren_dunxiang = "01";
} else if (_local1 == 3) {
_local2.ren_dunxiang = "02";
} else if (_local1 == 4) {
_local2.ren_dunxiang = "03";
} else if (_local1 == 5) {
_local2.ren_dunxiang = "04";
}
}
function qu_shu() {
var _local1 = _root;
_local1.bb = _local1.aa._currentframe;
if (_local1.bb == 1) {
_local1.ren_dunxiang = "00";
} else if (_local1.bb == 2) {
_local1.ren_dunxiang = "01";
} else if (_local1.bb == 3) {
_local1.ren_dunxiang = "02";
} else if (_local1.bb == 4) {
_local1.ren_dunxiang = "03";
} else if (_local1.bb == 5) {
_local1.ren_dunxiang = "04";
}
}
function addnum() {
_root.space_num = _root.space_num + 1;
}
function tougun() {
var _local1 = _root;
if (_local1.qiangZHeng._visible) {
} else {
K_Code = Key.getCode();
if (Key.isDown(32)) {
key_cotrol = 32;
}
if ((K_Code == 32) and (key_cotrol == 32)) {
if (_local1.space_flg == 0) {
_local1.space_flg = 1;
} else {
_local1.space_flg = 1;
}
if ((_local1.f_do == 1) and (_local1.space_flg == 1)) {
_local1.f_do = 2;
if (_local1.qiangZHeng._visible) {
} else {
if (_local1.ren_zunbei._visible) {
_local1.ren_shoot._x = _local1.ren_zunbei._x;
_local1.ren_shoot._y = _local1.ren_zunbei._y;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 1;
_local1.ren_shoot.ren_yun._visible = 0;
}
} else {
_local1.ren_shoot.ren_tou._visible = 1;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 0;
}
}
_local1.hit_wflg = 0;
_local1.jsjiaodu();
_local1.gunrunZB1();
}
}
K_Code = 0;
key_cotrol = 0;
}
}
}
function renmove(bz) {
var _local1 = _root;
var _local2 = bz;
var _local3;
if ((_local1.htdu_flg == 1) or (_local1.du_flg == 1)) {
if (_local1.htdu_flg == 1) {
if (_local2 == 1) {
if ((_local1.ren_shoot._x - (_local1.ren_jl * 0.3)) > _local1.Di_Zbj) {
_local1.ren_shoot.gotoAndPlay(1);
_local1.ren_shoot._x = _local1.ren_shoot._x - (_local1.ren_jl * 0.3);
}
} else if (_local2 == 2) {
if ((_local1.ren_shoot._x + (_local1.ren_jl * 0.3)) < _local1.Di_Ybj) {
_local1.ren_shoot.gotoAndPlay(1);
_local1.ren_shoot._x = _local1.ren_shoot._x + (_local1.ren_jl * 0.3);
}
}
_local1.f_do = 1;
} else if (_local1.du_flg == 1) {
_local3 = Math.floor(Math.random() * 2);
if (_local3 == 0) {
if ((_local1.ren_shoot._x - _local1.ren_jl) > _local1.Di_Zbj) {
_local1.ren_shoot.gotoAndPlay(1);
_local1.ren_shoot._x = _local1.ren_shoot._x - _local1.ren_jl;
}
} else if (_local3 == 1) {
if ((_local1.ren_shoot._x + _local1.ren_jl) < _local1.Di_Ybj) {
_local1.ren_shoot.gotoAndPlay(1);
_local1.ren_shoot._x = _local1.ren_shoot._x + _local1.ren_jl;
}
}
_local1.f_do = 1;
}
} else {
if (_local2 == 1) {
if ((_local1.ren_shoot._x - _local1.ren_jl) > _local1.Di_Zbj) {
_local1.ren_shoot.gotoAndPlay(1);
_local1.ren_shoot._x = _local1.ren_shoot._x - _local1.ren_jl;
}
} else if (_local2 == 2) {
if ((_local1.ren_shoot._x + _local1.ren_jl) < _local1.Di_Ybj) {
_local1.ren_shoot.gotoAndPlay(1);
_local1.ren_shoot._x = _local1.ren_shoot._x + _local1.ren_jl;
}
}
_local1.f_do = 1;
}
}
function jsfzjl() {
var _local1 = _root;
var _local2;
var t2;
var t3;
var _local3;
var sp_py;
var hd;
hd = (Math.PI/180) * _local1.jd_yu_1;
_local1.fz_status = 2;
_local1.yu_status = 3;
_local1.jd_yu_sp = Math.floor(_local1.v_yu_2 * Math.cos(hd));
_local1.jd_yu_cz = Math.floor(_local1.v_yu_2 * Math.sin(hd));
_local2 = _local1.jd_yu_cz / _local1.g;
_local3 = (_local1.jd_yu_cz * _local2) - ((_local1.g * (_local2 * _local2)) / 2);
_local1.max_y = _local3;
t2 = Math.sqrt((2 * _local3) / _local1.g);
t3 = _local2 + t2;
sp_py = t3 * _local1.jd_yu_sp;
_local1.sp_py = sp_py;
yupingyipd(1);
_local1.SX_pao_bz = 1;
_local1.s_rotate_time = _local2 * 1000;
_local1.x_rotate_time = t2 * 1000;
_local1.gd_time_num = 0;
}
function yujump() {
var _local1 = _root;
if (_local1.fz_status == 1) {
sjjpd();
} else if (_local1.fz_status == 2) {
sjjpd();
} else if (_local1.fz_status == 4) {
xjjpd();
} else if (_local1.fz_status == 5) {
xjjpd();
}
}
function sjjpd() {
var _local1 = _root;
var _local2;
var _local3;
var py_x;
_local1.gd_time_num = _local1.gd_time_num + 1;
if (_local1.gd_time_num == Math.floor(_local1.s_rotate_time / _local1.rotate_t1)) {
_local1.fz_status = 3;
}
_local2 = (_local1.gd_time_num * _local1.rotate_t1) / 1000;
_local3 = (_local1.jd_yu_cz * _local2) - ((_local1.g * (_local2 * _local2)) / 2);
if ((yu1._y > _local1.sm_y) and ((yu1._y - _local3) <= _local1.sm_y)) {
_local1.fz_status = 1;
} else if (_local1.fz_status == 3) {
} else {
_local1.fz_status = 2;
}
_local1.yu1._y = _local1.yu_y - _local3;
py_x = _local2 * _local1.jd_yu_sp;
if (_local1.yu_FX == 1) {
_local1.yu1._x = _local1.yu_qiangshi_X + py_x;
} else {
_local1.yu1._x = _local1.yu_qiangshi_X - py_x;
}
_local1.yupingyipd(_local1.fz_status);
if (_local1.fz_status == 1) {
_local1.fz_status = 2;
} else if (_local1.fz_status == 2) {
} else if (_local1.fz_status == 3) {
_local1.SX_pao_bz = 2;
_local1.fz_status = 4;
_local1.gd_time_num = 0;
}
}
function xjjpd() {
var _local1 = _root;
var _local3;
var _local2;
var py_x;
_local1.gd_time_num = _local1.gd_time_num + 1;
if (_local1.gd_time_num > Math.floor(_local1.x_rotate_time / _local1.rotate_t2)) {
_local1.yu_qiangshi_X = _local1.yu1._x;
if (_local1.yu_FX == 2) {
_local1.yu_Zuoyi._x = _local1.yu1._x;
_local1.yu_Zuoyi._y = _local1.yu_y;
_local1.yu_Zuoyi._visible = 1;
} else {
_local1.yu_Youyi._x = _local1.yu1._x;
_local1.yu_Youyi._y = _local1.yu_y;
_local1.yu_Youyi._visible = 1;
}
_local1.yu1._visible = 0;
clearInterval(_local1.time2);
time1 = setInterval(yupingyi, _local1.move_t1);
} else {
_local3 = (_local1.gd_time_num * _local1.rotate_t2) / 1000;
_local2 = (_local1.g * (_local3 * _local3)) / 2;
if ((yu1._y < _local1.sm_y) and ((_local1.yu_y - (_local1.max_y - _local2)) >= _local1.sm_y)) {
_local1.midiplay(3);
_local1.fz_status = 5;
}
_local1.yu1._y = _local1.yu_y - (_local1.max_y - _local2);
py_x = (_local3 + (_local1.s_rotate_time / 1000)) * _local1.jd_yu_sp;
if (_local1.yu_FX == 1) {
_local1.yu1._x = _local1.yu_qiangshi_X + py_x;
} else {
_local1.yu1._x = _local1.yu_qiangshi_X - py_x;
}
_local1.yupingyipd(_local1.fz_status);
if (_local1.fz_status == 5) {
_local1.fz_status = 4;
}
if (_local1.gd_time_num == Math.floor(_local1.x_rotate_time / _local1.rotate_t2)) {
if (_local1.yu_FX == 1) {
_local1.yu_qiangshi_X = _local1.yu_qiangshi_X + _local1.sp_py;
} else {
_local1.yu_qiangshi_X = _local1.yu_qiangshi_X - _local1.sp_py;
}
}
}
}
function yujumprangle() {
var _local2 = _root;
var _local1;
_local1 = Math.floor(Math.random() * 4);
if (_local1 == 0) {
_local2.jd_yu_1 = 75 + Math.floor(Math.random() * 5);
} else if (_local1 == 1) {
_local2.jd_yu_1 = 80 + Math.floor(Math.random() * 5);
} else if (_local1 == 2) {
_local2.jd_yu_1 = 85 + Math.floor(Math.random() * 5);
} else if (_local1 == 3) {
_local2.jd_yu_1 = 90;
}
}
function yumovev() {
var _local1 = _root;
var _local2;
var _local3;
_local3 = _local1.yu_num * 0.5;
_local2 = Math.floor(Math.random() * 4);
if (_local2 == 0) {
_local1.v_yu_1 = 250 + Math.floor(Math.random() * 10);
} else if (_local2 == 1) {
_local1.v_yu_1 = 320 + Math.floor(Math.random() * 10);
} else if (_local2 == 2) {
_local1.v_yu_1 = 420 + Math.floor(Math.random() * 10);
} else if (_local2 == 3) {
_local1.v_yu_1 = 550 + Math.floor(Math.random() * 10);
}
_local1.v_yu_1 = _local1.v_yu_1 * (1 + _local3);
}
function yujumpv() {
var _local1 = _root;
var _local2;
_local2 = Math.floor(Math.random() * 4);
if (_local2 == 0) {
_local1.v_yu_2 = 220 + Math.floor(Math.random() * 10);
} else if (_local2 == 1) {
_local1.v_yu_2 = 280 + Math.floor(Math.random() * 10);
} else if (_local2 == 2) {
_local1.v_yu_2 = 320 + Math.floor(Math.random() * 10);
} else if (_local2 == 3) {
_local1.v_yu_2 = 400 + Math.floor(Math.random() * 10);
}
_local1.v_yu_2 = _local1.v_yu_2 + 40;
}
function yupingyi() {
var _local1 = _root;
var _local2;
if ((_local1.yu_FX != 1) and (_local1.yu_FX != 2)) {
} else {
if (_local1.yu_FX == 1) {
if ((_local1.yu_Youyi._x - _local1.yu_qiangshi_X) >= _local1.jl_yu_jump) {
_local2 = Math.floor(Math.random() * 30);
if (_local2 == 0) {
_local1.yu_qiangshi_X = _local1.yu_Youyi._x;
_local1.yu1._x = _local1.yu_Youyi._x;
_local1.yu1._y = _local1.yu_Youyi._y;
_local1.yu_Youyi._visible = 0;
_local1.yu_Zuoyi._visible = 0;
_local1.yu_Youyi.gotoAndStop(1);
_local1.yu1._visible = 1;
_local1.yumovev();
_local1.yujumpv();
_local1.yujumprangle();
_local1.jsfzjl();
clearInterval(_local1.time1);
time2 = setInterval(yujump, _local1.rotate_t1);
return(1);
}
if (_local2 == 1) {
}
}
} else if (_local1.yu_FX == 2) {
if ((_local1.yu_qiangshi_X - _local1.yu_Zuoyi._x) >= _local1.jl_yu_jump) {
_local2 = Math.floor(Math.random() * 30);
if (_local2 == 0) {
_local1.yu_qiangshi_X = yu_Zuoyi._x;
_local1.yu1._x = _local1.yu_Zuoyi._x;
_local1.yu1._y = _local1.yu_Zuoyi._y;
_local1.yu_Zuoyi._visible = 0;
_local1.yu_Youyi._visible = 0;
_local1.yu_Zuoyi.gotoAndStop(1);
_local1.yu1._visible = 1;
_local1.yumovev();
_local1.yujumpv();
_local1.yujumprangle();
_local1.jsfzjl();
clearInterval(_local1.time1);
time2 = setInterval(yujump, _local1.rotate_t1);
return(1);
}
if (_local2 == 1) {
}
}
}
if (_local1.yu_FX == 1) {
if ((_local1.yu_Youyi._x - _local1.yu_qiangshi_X) >= _local1.jl_yu_fz) {
_local2 = Math.floor(Math.random() * 10);
if (_local2 == 0) {
_local1.yu_status = 2;
_local1.yu_qiangshi_X = _local1.yu_Youyi._x;
_local1.yu_Youyi.gotoAndStop(1);
_local1.yu_Youyi._visible = 0;
_local1.yu_youzuan._x = _local1.yu_Youyi._x;
_local1.yu_youzuan._y = _local1.yu_Youyi._y;
_local1.yu_youzuan._visible = 1;
_local1.yu_FX = 2;
_local1.yuZYpingyipd(1);
_local1.yumovev();
_local1.yu_Zuoyi._x = _local1.yu_Youyi._x;
_local1.yu_Zuoyi._y = _local1.yu_Youyi._y;
return(2);
}
if (_local2 == 1) {
}
}
} else if (_local1.yu_FX == 2) {
if ((_local1.yu_qiangshi_X - _local1.yu_Zuoyi._x) >= _local1.jl_yu_fz) {
_local2 = Math.floor(Math.random() * 10);
if (_local2 == 0) {
_local1.yu_status = 2;
_local1.yu_qiangshi_X = _local1.yu_Zuoyi._x;
_local1.yu_Zuoyi.gotoAndStop(1);
_local1.yu_Zuoyi._visible = 0;
_local1.yu_zuozuan._x = _local1.yu_Zuoyi._x;
_local1.yu_zuozuan._y = _local1.yu_Zuoyi._y;
_local1.yu_zuozuan._visible = 1;
_local1.yu_FX = 1;
_local1.yuZYpingyipd(2);
_local1.yumovev();
_local1.yu_Youyi._x = _local1.yu_Zuoyi._x;
_local1.yu_Youyi._y = _local1.yu_Zuoyi._y;
return(2);
}
if (_local2 == 1) {
}
}
}
if (_local1.yu_FX == 1) {
if ((_local1.yu_Youbj - _local1.yu_Youyi._x) < ((_local1.v_yu_1 * _local1.move_t1) / 1000)) {
_local1.yu_status = 2;
_local1.yu_qiangshi_X = _local1.yu_Youyi._x;
_local1.yu_Youyi.gotoAndStop(1);
_local1.yu_Youyi._visible = 0;
_local1.yu_youzuan._x = _local1.yu_Youyi._x;
_local1.yu_youzuan._y = _local1.yu_Youyi._y;
_local1.yu_youzuan._visible = 1;
_local1.yu_FX = 2;
_local1.yuZYpingyipd(1);
_local1.yumovev();
_local1.yu_Zuoyi._x = _local1.yu_Youyi._x;
_local1.yu_Zuoyi._y = _local1.yu_Youyi._y;
return(2);
}
} else if ((_local1.yu_Zuoyi._x - _local1.yu_Zuobj) < ((_local1.v_yu_1 * _local1.move_t1) / 1000)) {
_local1.yu_status = 2;
_local1.yu_qiangshi_X = _local1.yu_Zuoyi._x;
_local1.yu_Zuoyi.gotoAndStop(1);
_local1.yu_Zuoyi._visible = 0;
_local1.yu_zuozuan._x = _local1.yu_Zuoyi._x;
_local1.yu_zuozuan._y = _local1.yu_Zuoyi._y;
_local1.yu_zuozuan._visible = 1;
_local1.yu_FX = 1;
_local1.yuZYpingyipd(2);
_local1.yumovev();
_local1.yu_Youyi._x = _local1.yu_Zuoyi._x;
_local1.yu_Youyi._y = _local1.yu_Zuoyi._y;
return(2);
}
if (_local1.yu_FX == 1) {
_local1.yu_status = 1;
_local1.yu_Youyi._x = _local1.yu_Youyi._x + ((_local1.v_yu_1 * _local1.move_t1) / 1000);
return(3);
}
if (_local1.yu_FX == 2) {
_local1.yu_status = 1;
_local1.yu_Zuoyi._x = _local1.yu_Zuoyi._x - ((_local1.v_yu_1 * _local1.move_t1) / 1000);
return(3);
}
}
return(undefined);
}
function yuZYpingyipd(bz) {
var _local1 = _root;
_local1.yu_FX = _local1.yu_FX + 2;
if (bz == 1) {
_local1.yu_youzuan.gotoAndPlay(1);
} else {
_local1.yu_zuozuan.gotoAndPlay(1);
}
}
function yupingyipd(bz) {
var _local1 = _root;
var _local2 = bz;
if (_local2 == 1) {
_local1.yu_Youyi._visible = 0;
_local1.yu_Zuoyi._visible = 0;
_local1.yu1.gotoAndPlay(1);
} else if (_local2 == 2) {
_local1.yu_Youyi._visible = 0;
_local1.yu_Zuoyi._visible = 0;
_local1.yu1.gotoAndPlay(4);
} else if (_local2 == 3) {
_local1.yu1.gotoAndStop(9);
_local1.yu1.gotoAndStop(10);
_local1.yu1.gotoAndStop(11);
} else if (_local2 == 4) {
_local1.yu1.gotoAndPlay(10);
} else if (_local2 == 5) {
_local1.yu1.gotoAndPlay(11);
_local1.water1._x = _local1.yu1._x;
_local1.water1._y = _local1.yu1._y;
_local1.water1._visible = 1;
_local1.water1.gotoAndPlay(1);
}
}
function yusxpingyi(bz) {
}
function renxuanzhuan(bz) {
var _local1 = _root;
var _local2 = bz;
if (_local2 == 1) {
if (_local1.Bi_jiaodu > _local1.Bi_Sjd) {
_local1.Bi_jiaodu = _local1.Bi_jiaodu - _local1.ren_ds;
_local1.jiaodu = 30 - _local1.Bi_jiaodu;
}
} else if (_local2 == 2) {
if (_local1.Bi_jiaodu < _local1.Bi_Xjd) {
_local1.Bi_jiaodu = _local1.Bi_jiaodu + _local1.ren_ds;
_local1.jiaodu = 30 - _local1.Bi_jiaodu;
}
}
_local1.f_do = 1;
}
function renxuanzhuanZX(bz) {
var _local1 = _root;
if (bz == 1) {
_local1.renxuanzhuan(1);
_local1.ren_shoot.ren_qianbi._rotation = _local1.Bi_jiaodu;
} else if (bz == 2) {
_local1.renxuanzhuan(2);
_local1.ren_shoot.ren_qianbi._rotation = _local1.Bi_jiaodu;
}
_local1.f_do = 1;
}
function jsjiaodu() {
var _local1 = _root;
if (_local1.jiaodu < 90) {
_local1.gun_jiaodu = 90 - _local1.jiaodu;
_local1.gun_jd = 90 - _local1.jiaodu;
_local1.gun_rflg = 1;
} else if (_local1.jiaodu == 90) {
_local1.gun_jiaodu = 0;
_local1.gun_jd = 0;
_local1.gun_rflg = 2;
} else {
_local1.gun_jiaodu = 90 - (180 - _local1.jiaodu);
_local1.gun_jd = -(90 - (180 - _local1.jiaodu));
_local1.gun_rflg = 3;
}
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
_local1.gun_jiaodu = (_local1.gun_jiaodu - 30) - Math.floor(Math.random() * 20);
_local1.gun_jd = (_local1.gun_jd - 30) - Math.floor(Math.random() * 20);
}
}
function gunrunZB1() {
var _local1 = _root;
_local1.ren_shoot._visible = 0;
_local1.ren_shoot_zb._x = _local1.ren_shoot._x;
_local1.ren_shoot_zb._y = _local1.ren_shoot._y;
_local1.ren_shoot_zb._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_shoot_zb.ren_tou._visible = 0;
_local1.ren_shoot_zb.ren_du._visible = 0;
_local1.ren_shoot_zb.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_shoot_zb.ren_tou._visible = 0;
_local1.ren_shoot_zb.ren_du._visible = 1;
_local1.ren_shoot_zb.ren_yun._visible = 0;
}
} else {
_local1.ren_shoot_zb.ren_tou._visible = 1;
_local1.ren_shoot_zb.ren_du._visible = 0;
_local1.ren_shoot_zb.ren_yun._visible = 0;
}
_local1.ren_zunbei._visible = 0;
_local1.ren_shoot_zb.gotoAndPlay(1);
}
function gunrunZB2() {
var _local1 = _root;
_local1.ren_shoot_zb._visible = 0;
_local1.ren_shoot_zb.gotoAndStop(1);
_local1.ren_shoot._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 1;
_local1.ren_shoot.ren_yun._visible = 0;
}
} else {
_local1.ren_shoot.ren_tou._visible = 1;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 0;
}
_local1.ren_shoot.ren_qianbi.gotoAndStop(2);
_local1.ren_shoot.ren_qianbi.qiang1._visible = 0;
_local1.gunrunZB3();
_local1.ren_zunbei._x = _local1.ren_shoot._x;
_local1.ren_zunbei._y = _local1.ren_shoot._y;
}
function gunrunZB3() {
var _local1 = _root;
_local1.LtoG();
_local1.qiangZHeng._rotation = _local1.qiangZHeng._rotation + _local1.gun_jd;
_local1.qiangZHeng._visible = 1;
_local1.qiangZHeng._x = _local1.xx;
_local1.qiangZHeng._y = _local1.yy;
_local1.midiplay(4);
time3 = setInterval(_local1.gunrun2, _local1.move_t17);
}
function gunrun2() {
var _local1 = _root;
var hd;
var _local2;
var gun_cz;
var _local3;
_local3 = _local1.hitpd();
if (_local3 == 1) {
} else {
if (_local3 == 2) {
}
hd = (Math.PI/180) * _local1.gun_jiaodu;
_local2 = Math.floor(_local1.v_qiang * Math.cos(hd));
gun_cz = Math.floor(_local1.v_qiang * Math.sin(hd));
if (_local1.gun_rflg == 1) {
_local1.qiangZHeng._x = _local1.qiangZHeng._x + ((_local2 * _local1.move_t17) / 1000);
_local1.qiangZHeng._y = _local1.qiangZHeng._y + ((gun_cz * _local1.move_t17) / 1000);
} else if (_local1.gun_rflg == 2) {
_local1.qiangZHeng._x = _local1.qiangZHeng._x + ((_local2 * _local1.move_t17) / 1000);
} else if (_local1.gun_rflg == 3) {
_local1.qiangZHeng._x = _local1.qiangZHeng._x - ((_local2 * _local1.move_t17) / 1000);
_local1.qiangZHeng._y = _local1.qiangZHeng._y + ((gun_cz * _local1.move_t17) / 1000);
}
if ((_local1.qiangZHeng._x <= 0) or (_local1.qiangZHeng._x >= 600)) {
_local1.f_do = 1;
_local1.hitwater.gotoAndStop(1);
_local1.hitwater._visible = 0;
_local1.end1();
_local1.ren_zunbei._visible = 1;
clearInterval(_local1.time3);
if ((_local1.gun_num - 1) >= 0) {
_local1.gun_num = _local1.gun_num - 1;
}
_local1.gunnum = _local1.gun_num;
if (_local1.gun_num == 0) {
clearInterval(_local1.time3);
clearInterval(_local1.time13);
clearInterval(time13);
_local1.jieshu();
if (_local1.yu_num == 0) {
_local1.gotoAndStop(8);
} else {
_local1.gotoAndStop(7);
}
} else {
clearInterval(_local1.time4);
_local1.renDeng._visible = 0;
_local1.renCixia._visible = 1;
_local1.renCixia.gotoAndPlay(1);
}
} else if ((_local1.qiangZHeng._y <= 0) or (_local1.qiangZHeng._y >= 450)) {
_local1.f_do = 1;
_local1.hitwater.gotoAndStop(1);
_local1.hitwater._visible = 0;
_local1.end1();
_local1.ren_zunbei._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 1;
_local1.ren_zunbei.ren_yun._visible = 0;
}
} else {
_local1.ren_zunbei.ren_tou._visible = 1;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 0;
}
clearInterval(time3);
clearInterval(_local1.time3);
if ((_local1.gun_num - 1) >= 0) {
_local1.gun_num = _local1.gun_num - 1;
}
_local1.gunnum = _local1.gun_num;
if (_local1.gun_num == 0) {
clearInterval(_local1.time3);
clearInterval(_local1.time13);
clearInterval(time13);
_local1.jieshu();
if (_local1.yu_num == 0) {
_local1.gotoAndStop(8);
} else {
_local1.gotoAndStop(7);
}
} else {
clearInterval(_local1.time4);
_local1.renDeng._visible = 0;
_local1.renCixia._visible = 1;
_local1.renCixia.gotoAndPlay(1);
}
}
}
}
function jsfen(hitlx) {
var _local1 = _root;
var _local3 = hitlx;
var _local2;
var bl2;
if (_local3 == 6) {
_local1.qu_shu();
if (_local1.ren_dunxiang eq "01") {
_local1.fen_num = _local1.fen_num + 250;
} else {
_local1.fen_num = _local1.fen_num + 5;
}
_local1.score = _local1.fen_num;
} else {
_local2 = _local1.yu_num + 1;
bl2 = 1;
if (_local3 == 1) {
_local2 = 1;
_local1.fen_num = Math.floor(_local1.fen_num + (5 * bl2));
} else if (_local3 == 2) {
_local1.fen_num = Math.floor(_local1.fen_num + ((50 * _local2) * bl2));
} else if (_local3 == 3) {
_local1.fen_num = Math.floor(_local1.fen_num + ((100 * _local2) * bl2));
}
_local1.score = _local1.fen_num;
}
}
function hitpd() {
var sp;
var hd;
return(0);
}
function end1() {
var _local1 = _root;
removeMovieClip("_root.ren_shoot");
removeMovieClip("_root.qiangZHeng");
duplicateMovieClip ("_root.qiangZHeng_yun", "qiangZHeng", 6);
_local1.qiangZHeng._visible = 0;
duplicateMovieClip ("_root.ren_shoot_yu", "ren_shoot", 4);
_local1.ren_shoot._visible = 0;
_local1.Bi_jiaodu = 0;
_local1.jiaodu = 30;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 1;
_local1.ren_shoot.ren_yun._visible = 0;
}
} else {
_local1.ren_shoot.ren_tou._visible = 1;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 0;
}
}
function LtoG() {
var _local1 = _root;
var gl;
var _local2;
var _local3;
_local2 = (Math.PI/180) * _local1.gun_jiaodu;
_local3 = Math.floor(40 * Math.cos(_local2));
aobj.x = _local1.ren_shoot.ren_qianbi.qiang1._x - _local3;
aobj.y = _local1.ren_shoot.ren_qianbi.qiang1._y;
_local1.ren_shoot.ren_qianbi.qiang1.localToGlobal(aobj);
_local1.xx = aobj.x;
_local1.yy = aobj.y;
}
function GtoL() {
var _local1 = _root;
var gl;
var hd;
var sp;
aobj.x = _local1.xx;
aobj.y = _local1.yy;
aobj.x = aobj.x - 199;
aobj.y = aobj.y - 210.1;
_local1.ren_shoot.ren_qianbi.qiang1._x = aobj.x;
_local1.ren_shoot.ren_qianbi.qiang1._y = aobj.y;
}
function jzYu() {
removeMovieClip("_root.hityu");
duplicateMovieClip ("_root.hityu_yun", "hityu", 8);
_root.hityu._visible = 0;
}
function jzYu2() {
var _local1 = _root;
_local1.qu_shu();
if (_local1.ren_dunxiang eq "01") {
removeMovieClip("_root.hityu01");
duplicateMovieClip ("_root.hityu02_yun", "hityu02", 13);
_local1.hityu02._visible = 0;
} else if (_local1.ren_dunxiang eq "01") {
removeMovieClip("_root.hityu01");
duplicateMovieClip ("_root.hityu01_yun", "hityu01", 18);
_local1.hityu01._visible = 0;
} else if (_local1.ren_dunxiang eq "03") {
removeMovieClip("_root.hityu03");
duplicateMovieClip ("_root.hityu03_yun", "hityu03", 23);
_local1.hityu03._visible = 0;
} else if (_local1.ren_dunxiang eq "04") {
removeMovieClip("_root.hityu04");
duplicateMovieClip ("_root.hityu04_yun", "hityu04", 28);
_local1.hityu04._visible = 0;
}
}
function qudiaoQiang() {
removeMovieClip("_root.qiangZHeng");
duplicateMovieClip ("_root.qiangZHeng_yun", "qiangZHeng", 6);
_root.qiangZHeng._visible = 0;
}
function LtoG2() {
var _local1 = _root;
var gl;
var _local2;
var _local3;
_local2 = (Math.PI/180) * _local1.gun_jiaodu;
_local3 = Math.floor(40 * Math.cos(_local2));
aobj.x = _local1.qiangZHeng.qiangtai._x - _local3;
aobj.y = _local1.qiangZHeng.qiangtai._y;
_local1.qiangZHeng.qiangtai.localToGlobal(aobj);
_local1.xx = aobj.x;
_local1.yy = _local1.sm_y;
}
function checkstone() {
var _local1 = _root;
var _local2;
if (_local1.yu_status == 1) {
_local2 = Math.floor(Math.random() * 3);
if (_local2 == 0) {
clearInterval(time4);
clearInterval(_local1.time4);
_local1.renDeng._visible = 0;
_local1.RenZaST._visible = 1;
_local1.RenZaST.gotoAndPlay(1);
}
}
}
function stonechangyu() {
var _local1 = _root;
var _local2;
if (_local1.yu_status == 1) {
_local2 = Math.floor(Math.random() * 2);
if (_local2 == 0) {
if (_local1.yu_FX == 1) {
_local1.yu_qiangshi_X = _local1.yu_Youyi._x;
_local1.yu1._x = _local1.yu_Youyi._x;
_local1.yu1._y = _local1.yu_Youyi._y;
_local1.yu_Youyi._visible = 0;
_local1.yu_Zuoyi._visible = 0;
_local1.yu_Youyi.gotoAndStop(1);
_local1.yu1._visible = 1;
_local1.yumovev();
_local1.yujumpv();
_local1.yujumprangle();
_local1.jsfzjl();
clearInterval(_local1.time1);
time2 = setInterval(yujump, _local1.rotate_t1);
return(1);
}
if (_local1.yu_FX == 2) {
_local1.yu_qiangshi_X = yu_Zuoyi._x;
_local1.yu1._x = _local1.yu_Zuoyi._x;
_local1.yu1._y = _local1.yu_Zuoyi._y;
_local1.yu_Zuoyi._visible = 0;
_local1.yu_Youyi._visible = 0;
_local1.yu_Zuoyi.gotoAndStop(1);
_local1.yu1._visible = 1;
_local1.yumovev();
_local1.yujumpv();
_local1.yujumprangle();
_local1.jsfzjl();
clearInterval(_local1.time1);
time2 = setInterval(yujump, _local1.rotate_t1);
return(1);
}
} else {
if (_local1.yu_FX == 1) {
_local1.yu_qiangshi_X = yu_Youyi._x;
_local1.yu_Youyi._visible = 0;
_local1.yu_Youyi.gotoAndStop(1);
_local1.yu_youzuan._x = _local1.yu_Youyi._x;
_local1.yu_youzuan._y = _local1.yu_Youyi._y;
_local1.yu_youzuan._visible = 1;
_local1.yu_FX = 2;
_local1.yuZYpingyipd(1);
_local1.yumovev();
_local1.yu_Zuoyi._x = _local1.yu_Youyi._x;
_local1.yu_Zuoyi._y = _local1.yu_Youyi._y;
return(2);
}
if (_local1.yu_FX == 2) {
_local1.yu_qiangshi_X = yu_Zuoyi._x;
_local1.yu_Zuoyi.gotoAndStop(1);
_local1.yu_Zuoyi._visible = 0;
_local1.yu_zuozuan._x = _local1.yu_Zuoyi._x;
_local1.yu_zuozuan._y = _local1.yu_Zuoyi._y;
_local1.yu_zuozuan._visible = 1;
_local1.yu_FX = 1;
_local1.yuZYpingyipd(2);
_local1.yumovev();
_local1.yu_Youyi._x = _local1.yu_Zuoyi._x;
_local1.yu_Youyi._y = _local1.yu_Zuoyi._y;
return(2);
}
}
}
return(undefined);
}
function stonerun() {
var _local1 = _root;
var _local2;
var gun_sp;
var _local3;
if (_local1.SHitou1.hitTest(_local1.water2)) {
_local1.midiplay(2);
_local1.hitwater1._visible = 1;
_local1.hitwater1._x = _local1.SHitou1._x;
_local1.hitwater1._y = _local1.sm_y;
_local1.hitwater1.gotoAndPlay(1);
_local1.stonechangyu();
_local2 = (Math.PI/180) * _local1.stone_jd;
gun_sp = Math.floor(_local1.v_stone * Math.cos(_local2));
_local3 = Math.floor(_local1.v_stone * Math.sin(_local2));
_local1.SHitou1._x = _local1.SHitou1._x - ((gun_sp * _local1.move_t1) / 1000);
_local1.SHitou1._y = _local1.SHitou1._y + ((_local3 * _local1.move_t1) / 1000);
} else if ((_local1.SHitou1._x <= 0) or (_local1.SHitou1._x >= 600)) {
_local1.SHitou1._visible = 0;
clearInterval(_local1.time5);
_local1.RenZaST._visible = 0;
_local1.renDeng._visible = 1;
_local1.hitwater1._visible = 0;
_local1.hitwater1.gotoAndPlay(1);
time4 = setInterval(checkstone, 200);
} else if ((_local1.SHitou1._y <= 0) or (_local1.SHitou1._y >= 450)) {
_local1.SHitou1._visible = 0;
clearInterval(_local1.time5);
_local1.RenZaST._visible = 0;
_local1.renDeng._visible = 1;
_local1.hitwater1.gotoAndStop(1);
_local1.hitwater1._visible = 0;
time4 = setInterval(checkstone, 1000);
} else {
_local2 = (Math.PI/180) * _local1.stone_jd;
gun_sp = Math.floor(_local1.v_stone * Math.cos(_local2));
_local3 = Math.floor(_local1.v_stone * Math.sin(_local2));
_local1.SHitou1._x = _local1.SHitou1._x - ((gun_sp * _local1.move_t1) / 1000);
_local1.SHitou1._y = _local1.SHitou1._y + ((_local3 * _local1.move_t1) / 1000);
}
}
function timexl() {
time5 = setInterval(stonerun, 50);
}
function numXS(number1, wz) {
}
function numQC() {
var _local1;
_local1 = 1;
while (_local1 <= 5) {
removeMovieClip(strsave[_local1]);
_local1++;
}
}
function SJtime() {
var _local1 = _root;
_local1.timenum = _local1.timenum - 1;
_local1.SJGstr();
if (_local1.timenum == 0) {
clearInterval(_local1.time3);
clearInterval(_local1.time13);
clearInterval(time13);
_local1.jieshu();
if (_local1.yu_num == 0) {
_local1.gotoAndStop(8);
} else {
_local1.gotoAndStop(7);
}
}
}
function SJGstr() {
var _local1 = _root;
var _local2;
var temp2;
var i;
if (_local1._strIntzt == 1) {
_local1.numQC();
}
_local1.strIntzt = 1;
if (_local1.timenum == 120) {
_local2 = "200";
} else if (_local1.timenum >= 60) {
if (_local1.timenum == 60) {
_local2 = "100";
} else if ((_local1.timenum > 60) and (_local1.timenum < 70)) {
_local2 = "10" + (_local1.timenum - 60);
} else {
_local2 = "1" + (_local1.timenum - 60);
}
} else if ((_local1.timenum < 60) and (_local1.timenum >= 10)) {
_local2 = "0" + _local1.timenum;
} else {
_local2 = "00" + _local1.timenum;
}
_local1.txt2 = _local2.charAt(0);
_local1.txt3 = _local2.charAt(1) + _local2.charAt(2);
}
function endyu() {
var _local1 = _root;
if (_local1.gun_num != 0) {
_local1.jzYu();
_local1.ren_zunbei._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 1;
_local1.ren_zunbei.ren_yun._visible = 0;
}
} else {
_local1.ren_zunbei.ren_tou._visible = 1;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 0;
}
_local1.end1();
clearInterval(_local1.time3);
_local1.yu_status = 1;
_local1.yu_Zuoyi._visible = 1;
_local1.f_do = 1;
_local1.yu_qiangshi_X = 550;
_local1.yu_Zuoyi._x = _local1.yu_qiangshi_X;
_local1.yu_Zuoyi._y = 420;
_local1.jiaodu = 30;
_local1.yu_zuozuan._visible = 0;
_local1.yu_FX = 2;
time1 = setInterval(yupingyi, _local1.move_t1);
} else {
_local1.jzYu();
_local1.ren_zunbei._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 1;
_local1.ren_zunbei.ren_yun._visible = 0;
}
} else {
_local1.ren_zunbei.ren_tou._visible = 1;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 0;
}
_local1.f_do = 1;
_local1.end1();
clearInterval(_local1.time3);
clearInterval(_local1.time13);
clearInterval(time13);
_local1.jieshu();
_local1.gotoAndStop(6);
_local1.txt4 = _local1.fen_num;
}
}
function paishou() {
time4 = setInterval(checkstone, 20);
_root.renDeng._visible = 1;
}
function jieshu() {
var _local1 = _root;
if (_local1.qiangZHeng._visible == 1) {
_local1.qudiaoQiang();
}
_local1.f_do = 1;
_local1.midistop(1);
_local1.midistop(2);
_local1.water2._visible = 0;
_local1.water3._visible = 0;
clearInterval(_local1.time0);
clearInterval(_local1.time1);
clearInterval(_local1.time2);
clearInterval(_local1.time4);
clearInterval(_local1.time5);
clearInterval(_local1.time7);
clearInterval(_local1.time11);
clearInterval(_local1.time12);
clearInterval(_local1.time13);
clearInterval(_local1.time21);
clearInterval(_local1.time22);
clearInterval(_local1.time23);
clearInterval(time0);
clearInterval(time1);
clearInterval(time2);
clearInterval(time4);
clearInterval(time5);
clearInterval(time7);
clearInterval(time12);
clearInterval(time13);
clearInterval(time11);
clearInterval(time21);
clearInterval(time22);
clearInterval(time23);
removeMovieClip("_root.ren_zunbei");
removeMovieClip("_root.ren_shoot");
removeMovieClip("_root.yu1");
removeMovieClip("_root.hityu");
removeMovieClip("_root.yu_Youyi");
removeMovieClip("_root.yu_Zuoyi");
removeMovieClip("_root.yu_youzuan");
removeMovieClip("_root.yu_zuozuan");
removeMovieClip("_root.hityu01");
removeMovieClip("_root.yu01_Youyi");
removeMovieClip("_root.yu01_Zuoyi");
removeMovieClip("_root.yu01_youzuan");
removeMovieClip("_root.yu01_zuozuan");
removeMovieClip("_root.hityu02");
removeMovieClip("_root.yu02_Youyi");
removeMovieClip("_root.yu02_Zuoyi");
removeMovieClip("_root.yu02_youzuan");
removeMovieClip("_root.yu02_zuozuan");
removeMovieClip("_root.hityu03");
removeMovieClip("_root.yu03_Youyi");
removeMovieClip("_root.yu03_Zuoyi");
removeMovieClip("_root.yu03_youzuan");
removeMovieClip("_root.yu03_zuozuan");
removeMovieClip("_root.hityu04");
removeMovieClip("_root.yu04_yi");
removeMovieClip("_root.yu04_pen");
_local1.water2.removeMovieClip();
_local1.water3.removeMovieClip();
_local1.d_water_hei.removeMovieClip();
}
function aftersmile() {
time4 = setInterval(checkstone, 20);
_root.renDeng._visible = 1;
}
function restetsys() {
var _local1 = _root;
}
function huntyu() {
var _local1 = _root;
_local1.yu_num = _local1.yu_num + 1;
_local1.yunum = _local1.yu_num;
}
function midiplay(bz) {
var _local1 = bz;
if (_local1 == 1) {
if (_root.sound_flg == 1) {
sound1.attachSound("midi1");
sound1.start("", 60);
}
} else if (_local1 == 2) {
sound2.attachSound("smallwsound");
sound2.start("", 1);
} else if (_local1 == 3) {
sound3.attachSound("bigwsound");
sound3.start("", 1);
} else if (_local1 == 4) {
sound4.attachSound("biao");
sound4.start("", 1);
}
}
function midistop(bz) {
var _local1 = bz;
if (_local1 == 1) {
sound1.stop();
} else if (_local1 == 2) {
sound2.stop();
} else if (_local1 == 3) {
sound3.stop();
} else if (_local1 == 4) {
sound4.stop();
}
}
function yumovev2() {
var _local1 = _root;
var _local2;
var bl;
_local2 = Math.floor(Math.random() * 4);
if (_local2 == 0) {
_local1.v_yu_22 = 150 + Math.floor(Math.random() * 30);
} else if (_local2 == 1) {
_local1.v_yu_22 = 200 + Math.floor(Math.random() * 30);
} else if (_local2 == 2) {
_local1.v_yu_22 = 250 + Math.floor(Math.random() * 30);
} else if (_local2 == 3) {
_local1.v_yu_22 = 300 + Math.floor(Math.random() * 30);
}
_local1.qu_shu();
if (_local1.ren_dunxiang eq "01") {
_local1.v_yu_22 = _local1.v_yu_22 * 3.2;
} else if (_local1.ren_dunxiang eq "02") {
_local1.v_yu_22 = _local1.v_yu_22 + 200;
} else if (_local1.ren_dunxiang eq "03") {
_local1.v_yu_22 = _local1.v_yu_22 + 200;
} else if (_local1.ren_dunxiang eq "04") {
_local1.v_yu_22 = 40 + Math.floor(Math.random() * 25);
}
}
function yupingyi2() {
var _local1 = _root;
var _local2;
_local1.qu_shu();
if (_local1.ren_dunxiang ne "00") {
if ((_local1.yu_FX2 == 1) or (_local1.yu_FX2 == 2)) {
_local1.num_11 = _local1.num_11 + 1;
if (_local1.num_11 < 60) {
if (_local1.yu_FX2 == 1) {
if ((_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x - _local1.yu_qiangshi_X2) >= _local1.jl_yu_fz) {
_local2 = Math.floor(Math.random() * 10);
if (_local2 == 0) {
_local1.yu_status2 = 2;
_local1.yu_qiangshi_X2 = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"].gotoAndStop(1);
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._visible = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y;
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"]._visible = 1;
_local1.yu_FX2 = 2;
_local1.yuZYpingyipd2(1);
_local1.yumovev2();
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y;
return(2);
}
if (_local2 == 1) {
}
}
} else if (_local1.yu_FX2 == 2) {
if ((_local1.yu_qiangshi_X2 - _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x) >= _local1.jl_yu_fz) {
_local2 = Math.floor(Math.random() * 10);
if (_local2 == 0) {
_local1.yu_status2 = 2;
_local1.yu_qiangshi_X2 = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"].gotoAndStop(1);
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._visible = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y;
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"]._visible = 1;
_local1.yu_FX2 = 1;
_local1.yuZYpingyipd2(2);
_local1.yumovev2();
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y;
return(2);
}
if (_local2 == 1) {
}
}
}
if (_local1.yu_FX2 == 1) {
if ((_local1.yu_Youbj - _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x) <= ((_local1.v_yu_22 * _local1.move_t1) / 1000)) {
_local1.yu_status2 = 2;
_local1.yu_qiangshi_X2 = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"].gotoAndStop(1);
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._visible = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y;
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"]._visible = 1;
_local1.yu_FX2 = 2;
_local1.yuZYpingyipd2(1);
_local1.yumovev2();
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y;
return(2);
}
} else if ((_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x - _local1.yu_Zuobj) <= ((_local1.v_yu_22 * _local1.move_t1) / 1000)) {
_local1.yu_status2 = 2;
_local1.yu_qiangshi_X2 = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"].gotoAndStop(1);
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._visible = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y;
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"]._visible = 1;
_local1.yu_FX2 = 1;
_local1.yuZYpingyipd2(2);
_local1.yumovev2();
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y;
return(2);
}
if (_local1.yu_FX2 == 1) {
_local1.yu_status2 = 1;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x + ((_local1.v_yu_22 * _local1.move_t1) / 1000);
return(3);
}
if (_local1.yu_FX2 == 2) {
_local1.yu_status2 = 1;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x - ((_local1.v_yu_22 * _local1.move_t1) / 1000);
return(3);
}
} else {
_local1.yu_status2 = 0;
_local1.yu_FX2 = 0;
if (_local1.ren_dunxiang eq "01") {
_local1.hityu01.removeMovieClip();
_local1.yu01_Youyi.removeMovieClip();
_local1.yu01_Zuoyi.removeMovieClip();
_local1.yu01_youzuan.removeMovieClip();
_local1.yu01_zuozuan.removeMovieClip();
duplicateMovieClip ("_root.hityu01_yun", "hityu01", 18);
_local1.hityu01._visible = 0;
duplicateMovieClip ("_root.yu01_Youyi_yun", "yu01_Youyi", 19);
_local1.yu01_Youyi._visible = 0;
duplicateMovieClip ("_root.yu01_Zuoyi_yun", "yu01_Zuoyi", 20);
_local1.yu01_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu01_youzuan_yun", "yu01_youzuan", 21);
_local1.yu01_youzuan._visible = 0;
duplicateMovieClip ("_root.yu01_zuozuan_yun", "yu01_zuozuan", 22);
_local1.yu01_zuozuan._visible = 0;
} else if (_local1.ren_dunxiang eq "02") {
_local1.hityu02.removeMovieClip();
_local1.yu02_Youyi.removeMovieClip();
_local1.yu02_Zuoyi.removeMovieClip();
_local1.yu02_youzuan.removeMovieClip();
_local1.yu02_zuozuan.removeMovieClip();
duplicateMovieClip ("_root.hityu02_yun", "hityu02", 13);
_local1.hityu02._visible = 0;
duplicateMovieClip ("_root.yu02_Youyi_yun", "yu02_Youyi", 14);
_local1.yu02_Youyi._visible = 0;
duplicateMovieClip ("_root.yu02_Zuoyi_yun", "yu02_Zuoyi", 15);
_local1.yu02_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu02_youzuan_yun", "yu02_youzuan", 16);
_local1.yu02_youzuan._visible = 0;
duplicateMovieClip ("_root.yu02_zuozuan_yun", "yu02_zuozuan", 17);
_local1.yu02_zuozuan._visible = 0;
} else if (_local1.ren_dunxiang eq "03") {
_local1.hityu03.removeMovieClip();
_local1.yu03_Youyi.removeMovieClip();
_local1.yu03_Zuoyi.removeMovieClip();
_local1.yu03_youzuan.removeMovieClip();
_local1.yu03_zuozuan.removeMovieClip();
duplicateMovieClip ("_root.hityu03_yun", "hityu03", 23);
_local1.hityu03._visible = 0;
duplicateMovieClip ("_root.yu03_Youyi_yun", "yu03_Youyi", 24);
_local1.yu03_Youyi._visible = 0;
duplicateMovieClip ("_root.yu03_Zuoyi_yun", "yu03_Zuoyi", 25);
_local1.yu03_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu03_youzuan_yun", "yu03_youzuan", 26);
_local1.yu03_youzuan._visible = 0;
duplicateMovieClip ("_root.yu03_zuozuan_yun", "yu03_zuozuan", 27);
_local1.yu03_zuozuan._visible = 0;
}
_local1.ren_dunxiang = "00";
_local1.jishu(1);
_local1.yuu_flg = 0;
clearInterval(_local1.time11);
clearInterval(time11);
}
}
}
return(undefined);
}
function yuZYpingyipd2(bz) {
var _local1 = _root;
_local1.yu_FX2 = _local1.yu_FX2 + 2;
_local1.qu_shu();
if (bz == 1) {
_local1[("yu" + _local1.ren_dunxiang) + "_youzuan"].gotoAndPlay(1);
} else {
_local1[("yu" + _local1.ren_dunxiang) + "_zuozuan"].gotoAndPlay(1);
}
}
function newyu() {
var _local1 = _root;
var _local3;
var gl1;
var _local2;
_local1.qu_shu();
if ((_local1.ren_dunxiang eq "00") and (_local1.hei_flg == 0)) {
if (_local1.init_yu == 0) {
removeMovieClip("_root.hityu01");
removeMovieClip("_root.yu01_Youyi");
removeMovieClip("_root.yu01_Zuoyi");
removeMovieClip("_root.yu01_youzuan");
removeMovieClip("_root.yu01_zuozuan");
removeMovieClip("_root.hityu02");
removeMovieClip("_root.yu02_Youyi");
removeMovieClip("_root.yu02_Zuoyi");
removeMovieClip("_root.yu02_youzuan");
removeMovieClip("_root.yu02_zuozuan");
removeMovieClip("_root.hityu03");
removeMovieClip("_root.yu03_Youyi");
removeMovieClip("_root.yu03_Zuoyi");
removeMovieClip("_root.yu03_youzuan");
removeMovieClip("_root.yu03_zuozuan");
duplicateMovieClip ("_root.hityu01_yun", "hityu01", 18);
_local1.hityu01._visible = 0;
duplicateMovieClip ("_root.yu01_Youyi_yun", "yu01_Youyi", 19);
_local1.yu01_Youyi._visible = 0;
duplicateMovieClip ("_root.yu01_Zuoyi_yun", "yu01_Zuoyi", 20);
_local1.yu01_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu01_youzuan_yun", "yu01_youzuan", 21);
_local1.yu01_youzuan._visible = 0;
duplicateMovieClip ("_root.yu01_zuozuan_yun", "yu01_zuozuan", 22);
_local1.yu01_zuozuan._visible = 0;
duplicateMovieClip ("_root.hityu02_yun", "hityu02", 13);
_local1.hityu02._visible = 0;
duplicateMovieClip ("_root.yu02_Youyi_yun", "yu02_Youyi", 14);
_local1.yu02_Youyi._visible = 0;
duplicateMovieClip ("_root.yu02_Zuoyi_yun", "yu02_Zuoyi", 15);
_local1.yu02_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu02_youzuan_yun", "yu02_youzuan", 16);
_local1.yu02_youzuan._visible = 0;
duplicateMovieClip ("_root.yu02_zuozuan_yun", "yu02_zuozuan", 17);
_local1.yu02_zuozuan._visible = 0;
duplicateMovieClip ("_root.hityu03_yun", "hityu03", 23);
_local1.hityu03._visible = 0;
duplicateMovieClip ("_root.yu03_Youyi_yun", "yu03_Youyi", 24);
_local1.yu03_Youyi._visible = 0;
duplicateMovieClip ("_root.yu03_Zuoyi_yun", "yu03_Zuoyi", 25);
_local1.yu03_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu03_youzuan_yun", "yu03_youzuan", 26);
_local1.yu03_youzuan._visible = 0;
duplicateMovieClip ("_root.yu03_zuozuan_yun", "yu03_zuozuan", 27);
_local1.yu03_zuozuan._visible = 0;
}
_local1.ren_dunxiang = "00";
_local1.jishu(1);
_local3 = Math.floor(Math.random() * 4);
if (_local3 == 0) {
if (_local1.fen_num >= 800) {
_local2 = 26;
} else if ((_local1.fen_num >= 600) and (_local1.fen_num < 800)) {
_local2 = 25;
} else if ((_local1.fen_num >= 400) and (_local1.fen_num < 600)) {
_local2 = 25;
} else if ((_local1.fen_num >= 200) and (_local1.fen_num < 400)) {
_local2 = 24;
} else {
_local2 = 24;
}
gl1 = Math.floor(Math.random() * _local2);
if (gl1 == 0) {
_local1.ren_dunxiang = "01";
_local1.jishu(2);
}
} else if (_local3 == 1) {
_local2 = 15;
gl1 = Math.floor(Math.random() * _local2);
if (gl1 == 0) {
_local1.ren_dunxiang = "02";
_local1.jishu(3);
}
} else if (_local3 == 2) {
_local2 = 15;
gl1 = Math.floor(Math.random() * _local2);
if (gl1 == 0) {
_local1.ren_dunxiang = "03";
_local1.jishu(4);
}
} else if (_local3 == 3) {
_local2 = 15;
gl1 = Math.floor(Math.random() * _local2);
if (gl1 == 0) {
_local1.ren_dunxiang = "04";
_local1.jishu(5);
}
}
_local1.qu_shu();
if (_local1.ren_dunxiang eq "00") {
} else {
_local1.init_yu = 0;
if (((_local1.ren_dunxiang eq "01") or (_local1.ren_dunxiang eq "02")) or (_local1.ren_dunxiang eq "03")) {
_local3 = Math.floor(Math.random() * 2);
if (_local3 == 0) {
_local1.yu_FX2 = 2;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._visible = 1;
_local1.yu_qiangshi_X2 = 550;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._x = _local1.yu_qiangshi_X2;
_local1[("yu" + _local1.ren_dunxiang) + "_Zuoyi"]._y = 395;
_local1.yu_status2 = 1;
_local1.yuu_flg = 1;
_local1.num_11 = 0;
_local1.yumovev2();
time11 = setInterval(_local1.yupingyi2, _local1.move_t1);
} else if (_local3 == 1) {
_local1.yu_FX2 = 1;
_local1.num_11 = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._visible = 1;
_local1.yu_qiangshi_X2 = 150;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._x = _local1.yu_qiangshi_X2;
_local1[("yu" + _local1.ren_dunxiang) + "_Youyi"]._y = 395;
_local1.yu_status2 = 1;
_local1.yuu_flg = 1;
_local1.yumovev2();
time11 = setInterval(_local1.yupingyi2, _local1.move_t1);
}
} else {
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x = 200 + Math.floor(Math.random() * 200);
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._y = 440;
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._visible = 1;
_local1.yu_FX2 = 0;
_local1.yuu_flg = 1;
_local1.num_13 = 0;
_local3 = Math.floor(Math.random() * 2);
if (_local3 == 0) {
_local1.fh_flg = 1;
} else {
_local1.fh_flg = 2;
}
_local1.yumovev2();
clearInterval(_local1.time13);
clearInterval(time13);
time13 = setInterval(_local1.myurun, 100);
}
}
}
}
function endyu2() {
var _local1 = _root;
if (_local1.gun_num != 0) {
_local1.d_water_hei._visible = 0;
_local1.jzYu2();
_local1.ren_zunbei._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 1;
_local1.ren_zunbei.ren_yun._visible = 0;
}
} else {
_local1.ren_zunbei.ren_tou._visible = 1;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 0;
}
_local1.end1();
clearInterval(_local1.time3);
_local1.f_do = 1;
_local1.ren_dunxiang = "00";
_local1.jishu(1);
} else {
_local1.jzYu2();
_local1.ren_zunbei._visible = 1;
if ((_local1.du_flg == 1) or (_local1.htdu_flg == 1)) {
if (_local1.du_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 1;
} else if (_local1.htdu_flg == 1) {
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 1;
_local1.ren_zunbei.ren_yun._visible = 0;
}
} else {
_local1.ren_zunbei.ren_tou._visible = 1;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 0;
}
_local1.f_do = 1;
_local1.end1();
clearInterval(_local1.time3);
clearInterval(_local1.time13);
clearInterval(time13);
_local1.jieshu();
_local1.gotoAndStop(6);
_local1.txt4 = _local1.fen_num;
}
}
function myurun() {
var _local1 = _root;
var _local2;
var _local3;
_local1.qu_shu();
if (_local1.ren_dunxiang eq "04") {
_local1.yuu_flg = 1;
_local2 = 0;
if ((_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._y - ((_local1.v_yu_3 * _local1.move_t8) / 1000)) <= 385) {
_local2 = 1;
} else if (_local1.fh_flg == 1) {
if ((_local1.yu_Youbj - _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x) < ((_local1.v_yu_22 * _local1.move_t8) / 1000)) {
_local2 = 1;
} else {
_local2 = 2;
}
} else if ((_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x - _local1.yu_Zuobj) < ((_local1.v_yu_22 * _local1.move_t8) / 1000)) {
_local2 = 1;
} else {
_local2 = 2;
}
if (_local2 == 1) {
_local1.yuu_flg = 2;
_local1[("yu" + _local1.ren_dunxiang) + "_yi"].gotoAndStop(1);
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._visible = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_pen"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_pen"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._y;
_local1[("yu" + _local1.ren_dunxiang) + "_pen"].gotoAndPlay(1);
_local1[("yu" + _local1.ren_dunxiang) + "_pen"]._visible = 1;
clearInterval(_local1.time13);
clearInterval(time13);
} else if (_local2 == 2) {
_local3 = Math.floor(Math.random() * 50);
if (_local3 == 0) {
_local1.yuu_flg = 2;
_local1[("yu" + _local1.ren_dunxiang) + "_yi"].gotoAndStop(1);
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._visible = 0;
_local1[("yu" + _local1.ren_dunxiang) + "_pen"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x;
_local1[("yu" + _local1.ren_dunxiang) + "_pen"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._y;
_local1[("yu" + _local1.ren_dunxiang) + "_pen"].gotoAndPlay(1);
_local1[("yu" + _local1.ren_dunxiang) + "_pen"]._visible = 1;
clearInterval(_local1.time13);
clearInterval(time13);
} else {
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._y = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._y - ((_local1.v_yu_3 * _local1.move_t8) / 1000);
if (_local1.fh_flg == 1) {
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x + ((_local1.v_yu_22 * _local1.move_t8) / 1000);
} else {
_local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x = _local1[("yu" + _local1.ren_dunxiang) + "_yi"]._x - ((_local1.v_yu_22 * _local1.move_t8) / 1000);
}
}
}
}
}
function penwater() {
var _local1 = _root;
_local1.num_21 = _local1.num_21 + 1;
if (_local1.num_21 > 10) {
_local1.num_21 = 0;
_local1.yuu_flg = 0;
_local1.d_water_hei.gotoAndPlay(10);
clearInterval(_local1.time21);
clearInterval(time21);
}
}
function checkdu() {
var _local1 = _root;
_local1.num_22 = _local1.num_22 + 1;
if (_local1.num_22 > 10) {
_local1.num_22 = 0;
_local1.du_flg = 0;
_local1.bian_lian(1);
clearInterval(time22);
clearInterval(_local1.time22);
}
}
function checkhtdu() {
var _local1 = _root;
_local1.num_23 = _local1.num_23 + 1;
if (_local1.num_23 > 10) {
clearInterval(_local1.time23);
clearInterval(time23);
_local1.num_23 = -10000;
_local1.htdu_flg = 0;
_local1.bian_lian(1);
}
}
function bian_lian(bz) {
var _local1 = _root;
var _local2 = bz;
if (_local2 == 1) {
_local1.ren_shoot.ren_tou._visible = 1;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 0;
_local1.ren_shoot_zb.ren_tou._visible = 1;
_local1.ren_shoot_zb.ren_du._visible = 0;
_local1.ren_shoot_zb.ren_yun._visible = 0;
_local1.ren_zunbei.ren_tou._visible = 1;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 0;
} else if (_local2 == 2) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 1;
_local1.ren_shoot.ren_yun._visible = 0;
_local1.ren_shoot_zb.ren_tou._visible = 0;
_local1.ren_shoot_zb.ren_du._visible = 1;
_local1.ren_shoot_zb.ren_yun._visible = 0;
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 1;
_local1.ren_zunbei.ren_yun._visible = 0;
} else if (_local2 == 3) {
_local1.ren_shoot.ren_tou._visible = 0;
_local1.ren_shoot.ren_du._visible = 0;
_local1.ren_shoot.ren_yun._visible = 1;
_local1.ren_shoot_zb.ren_tou._visible = 0;
_local1.ren_shoot_zb.ren_du._visible = 0;
_local1.ren_shoot_zb.ren_yun._visible = 1;
_local1.ren_zunbei.ren_tou._visible = 0;
_local1.ren_zunbei.ren_du._visible = 0;
_local1.ren_zunbei.ren_yun._visible = 1;
}
}
stop();
String.prototype.addCommas = function () {
var _local3 = this.length;
var _local2 = "";
var _local1 = 0;
while (_local1 <= _local3) {
_local2 = this.charAt(_local3 - _local1) + _local2;
if ((((_local1 % 3) == 0) && (_local1 > 0)) && (_local1 < _local3)) {
_local2 = "," + _local2;
}
_local1++;
}
return(_local2);
};
_root.quedinW._visible = 0;
_root.quedinW.username.text = "";
_root.quedinW.useremail.text = "";
_root.eaten = false;
_root.gameOn = true;
_root.strIntzt = 0;
_root.gameOver = true;
_root.rnd = Math.random;
_root.aa._visible = 0;
_root.water3_w._visible = 0;
_root.water2_w._visible = 0;
_root.du_flg = 0;
_root.htdu_flg = 0;
_root.yuu_flg = 0;
_root.v_yu_3 = 20;
_root.jg = 4;
_root.old_num = -4;
_root.space_t1 = 100;
_root.space_num = 0;
_root.keyupdownflg = 0;
_root.up_flg = 0;
_root.down_flg = 0;
_root.left_flg = 0;
_root.right_flg = 0;
_root.space_flg = 0;
_root.sound_flg = 1;
_root.score = 0;
_root.f_do = 1;
_root.fen_num = 0;
_root.yu_num = 0;
_root.hei_flg = 0;
_root.yunum = _root.yu_num;
_root.gun_num = 30;
_root.gunnum = _root.gun_num;
_root.tep1 = "01";
_root.tep2 = "01";
_root.timenum = 120;
sound1 = new Sound();
sound2 = new Sound();
sound3 = new Sound();
sound4 = new Sound();
SHiJian = 40;
strsave = new Array(5);
strIntzt = 0;
stone_x = 0;
stone_y = 0;
stone_jd = 45;
v_stone = 1500;
aobj = new Object();
xx = 0;
yy = 0;
gun_jiaodu = 0;
gun_jd = 0;
gun_rflg = 1;
_root.jiaodu = 0;
sm_y = 357;
max_y = 1;
yu_y = 430;
v_bz = 1;
v_yu_1 = 300;
v_yu_2 = 100;
move_t1 = SHiJian;
move_t17 = 20;
v_qiang = 4000;
move_t8 = 100;
s_rotate_time = -10;
x_rotate_time = SHiJian;
rotate_t1 = SHiJian;
rotate_t2 = SHiJian;
SX_pao_bz = 1;
yu_Zuobj = 50;
yu_Youbj = 560;
yu_FX = 2;
yu_qiangshi_X = 550;
Di_Zbj = 40;
Di_Ybj = 420;
Bi_Sjd = -60;
Bi_Xjd = 30;
ren_ds = 15;
ren_jl = 12;
Bi_jiaodu = 0;
jl_yu_jump = 100;
jl_yu_fz = 100;
jd_yu_1 = 80;
jd_yu_sp = 30;
jd_yu_cz = 30;
g = 300;
yu_status = 1;
Frame 5
Text123._accProps = new Object();
Text123._accProps.silent = true;
Text123._accProps = new Object();
Text123._accProps.silent = true;
qiang_Text._accProps = new Object();
qiang_Text._accProps.silent = true;
Text123._accProps = new Object();
Text123._accProps.silent = true;
stop();
_root.ren_shoot._visible = 0;
_root.yu_youzuan.yu_youzuanbz = 1;
_root.yu_zuozuan.yu_youzuanbz = 1;
Instance of Symbol 245 MovieClip "ren_zunbei_yuan" in Frame 5
onClipEvent (enterFrame) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if ((_root.f_do == 1) or (_root.f_do == 0)) {
_root.f_do = 0;
if (_root.ren_zunbei._visible) {
_root.ren_shoot._x = _root.ren_zunbei._x;
_root.ren_shoot._y = _root.ren_zunbei._y;
}
_root.ren_shoot._visible = 1;
if ((_root.du_flg == 1) or (_root.htdu_flg == 1)) {
if (_root.du_flg == 1) {
_root.ren_shoot.ren_tou._visible = 0;
_root.ren_shoot.ren_du._visible = 0;
_root.ren_shoot.ren_yun._visible = 1;
} else if (_root.htdu_flg == 1) {
_root.ren_shoot.ren_tou._visible = 0;
_root.ren_shoot.ren_du._visible = 1;
_root.ren_shoot.ren_yun._visible = 0;
}
} else {
_root.ren_shoot.ren_tou._visible = 1;
_root.ren_shoot.ren_du._visible = 0;
_root.ren_shoot.ren_yun._visible = 0;
}
_root.ren_zunbei._visible = 0;
_root.renmove(1);
}
} else if (Key.isDown(39)) {
if ((_root.f_do == 1) or (_root.f_do == 0)) {
_root.f_do = 0;
if (_root.ren_zunbei._visible) {
_root.ren_shoot._x = _root.ren_zunbei._x;
_root.ren_shoot._y = _root.ren_zunbei._y;
}
_root.ren_shoot._visible = 1;
if ((_root.du_flg == 1) or (_root.htdu_flg == 1)) {
if (_root.du_flg == 1) {
_root.ren_shoot.ren_tou._visible = 0;
_root.ren_shoot.ren_du._visible = 0;
_root.ren_shoot.ren_yun._visible = 1;
} else if (_root.htdu_flg == 1) {
_root.ren_shoot.ren_tou._visible = 0;
_root.ren_shoot.ren_du._visible = 1;
_root.ren_shoot.ren_yun._visible = 0;
}
} else {
_root.ren_shoot.ren_tou._visible = 1;
_root.ren_shoot.ren_du._visible = 0;
_root.ren_shoot.ren_yun._visible = 0;
}
_root.ren_zunbei._visible = 0;
_root.renmove(2);
}
} else if (Key.isDown(32)) {
if (_root.f_do == 1) {
_root.tougun();
}
}
}
Instance of Symbol 252 MovieClip "ren_shoot_yu" in Frame 5
onClipEvent (enterFrame) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if ((_root.f_do == 1) or (_root.f_do == 0)) {
_root.f_do = 0;
if (_root.ren_zunbei._visible) {
_root.ren_shoot._x = _root.ren_zunbei._x;
_root.ren_shoot._y = _root.ren_zunbei._y;
}
_root.ren_shoot._visible = 1;
_root.ren_zunbei._visible = 0;
_root.renmove(1);
}
} else if (Key.isDown(39)) {
if ((_root.f_do == 1) or (_root.f_do == 0)) {
_root.f_do = 0;
if (_root.ren_zunbei._visible) {
_root.ren_shoot._x = _root.ren_zunbei._x;
_root.ren_shoot._y = _root.ren_zunbei._y;
}
_root.ren_shoot._visible = 1;
_root.ren_zunbei._visible = 0;
_root.renmove(2);
}
} else if (Key.isDown(38)) {
if (_root.qiangZHeng._visible) {
} else if ((_root.f_do == 1) or (_root.f_do == 0)) {
_root.f_do = 0;
if (_root.ren_zunbei._visible) {
_root.ren_shoot._x = _root.ren_zunbei._x;
_root.ren_shoot._y = _root.ren_zunbei._y;
}
_root.ren_shoot._visible = 1;
_root.ren_zunbei._visible = 0;
_root.renxuanzhuanZX(1);
}
} else if (Key.isDown(40)) {
if (_root.qiangZHeng._visible) {
} else if ((_root.f_do == 1) or (_root.f_do == 0)) {
_root.f_do = 0;
if (_root.ren_zunbei._visible) {
_root.ren_shoot._x = _root.ren_zunbei._x;
_root.ren_shoot._y = _root.ren_zunbei._y;
}
_root.ren_shoot._visible = 1;
_root.ren_zunbei._visible = 0;
_root.renxuanzhuanZX(2);
}
} else if (Key.isDown(32)) {
if (_root.f_do == 1) {
_root.tougun();
}
}
}
Instance of Symbol 117 MovieClip "yu_Zuoyi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu_Zuoyi") and (_root.hei_flg == 0)) {
if (_root.yu_Zuoyi.hitTest(_root.qiangZHeng.qiangtai) and _root.yu_Zuoyi._visible) {
_root.jsfen(2);
_root.yu_status = 4;
clearInterval(_root.time1);
_root.yu_Zuoyi.gotoAndStop(1);
_root.yu_Zuoyi._visible = 0;
_root.qudiaoQiang();
_root.hityu._visible = 1;
_root.hityu._x = _root.yu_Zuoyi._x;
_root.hityu._y = _root.yu_Zuoyi._y;
_root.hityu.gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
_root.huntyu();
}
}
}
Instance of Symbol 292 MovieClip "yu1_yun" in Frame 5
onClipEvent (enterFrame) {
if (_name eq "yu1") {
if (this.hitTest(_root.qiangZHeng) and _root.yu1._visible) {
_root.jsfen(1);
_root.yu_status = 4;
_root.yu1.gotoAndStop(1);
_root.yu1._visible = 0;
_root.qudiaoQiang();
_root.hityu._visible = 1;
clearInterval(_root.time2);
_root.hityu._x = _root.yu1._x;
_root.hityu._y = _root.yu1._y;
_root.hityu.gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
_root.huntyu();
}
}
}
Instance of Symbol 305 MovieClip "yu_Youyi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu_Youyi") and (_root.hei_flg == 0)) {
if (_root.yu_Youyi.hitTest(_root.qiangZHeng.qiangtai) and _root.yu_Youyi._visible) {
_root.jsfen(2);
_root.yu_status = 4;
clearInterval(_root.time1);
_root.yu_Youyi.gotoAndStop(1);
_root.yu_Youyi._visible = 0;
_root.qudiaoQiang();
_root.hityu._visible = 1;
_root.hityu._x = _root.yu_Youyi._x;
_root.hityu._y = _root.yu_Youyi._y;
_root.hityu.gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
_root.huntyu();
}
}
}
Instance of Symbol 310 MovieClip "yu_youzuan_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu_youzuan") and (_root.hei_flg == 0)) {
if (_root.yu_youzuan.hitTest(_root.qiangZHeng.qiangtai) and _root.yu_youzuan.visible) {
_root.jsfen(3);
_root.yu_status = 4;
clearInterval(_root.time1);
_root.yu_youzuan.gotoAndStop(1);
_root.yu_youzuan._visible = 0;
_root.qudiaoQiang();
_root.hityu._visible = 1;
_root.hityu._x = _root.yu_youzuan._x;
_root.hityu._y = _root.yu_youzuan._y;
_root.hityu.gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
_root.huntyu();
}
}
}
Instance of Symbol 315 MovieClip "yu_zuozuan_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu_zuozuan") and (_root.hei_flg == 0)) {
if (_root.yu_zuozuan.hitTest(_root.qiangZHeng.qiangtai) and _root.yu_zuozuan.visible) {
_root.jsfen(3);
_root.yu_status = 4;
clearInterval(_root.time1);
_root.yu_zuozuan.gotoAndStop(1);
_root.yu_zuozuan._visible = 0;
_root.qudiaoQiang();
_root.hityu._visible = 1;
_root.hityu._x = _root.yu_zuozuan._x;
_root.hityu._y = _root.yu_zuozuan._y;
_root.hityu.gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
_root.huntyu();
}
}
}
Instance of Symbol 18 MovieClip "yu02_Zuoyi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu02_Zuoyi") and (_root.hei_flg == 0)) {
if (_root.yu02_Zuoyi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu02_Zuoyi._visible) {
_root.ren_dunxiang = "02";
_root.jishu(3);
clearInterval(_root.time11);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_Zuoyi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 320 MovieClip "yu02_zuozuan_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu02_zuozuan") and (_root.hei_flg == 0)) {
if (_root.yu02_zuozuan.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu02_zuozuan._visible) {
_root.ren_dunxiang = "02";
_root.jishu(3);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_zuozuan"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 12 MovieClip "yu02_Youyi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu02_Youyi") and (_root.hei_flg == 0)) {
if (_root.yu02_Youyi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu02_Youyi._visible) {
_root.ren_dunxiang = "02";
_root.jishu(3);
clearInterval(_root.time11);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_Youyi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_Youyi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_Youyi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_Youyi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 329 MovieClip "yu02_youzuan_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu02_youzuan") and (_root.hei_flg == 0)) {
if (_root.yu02_youzuan.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu02_youzuan._visible) {
_root.ren_dunxiang = "02";
_root.jishu(3);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_youzuan"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_youzuan"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_youzuan"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_youzuan"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 86 MovieClip "yu01_Zuoyi_yun" in Frame 5
onClipEvent (enterFrame) {
if (_name eq "yu01_Zuoyi") {
if (_root.yu01_Zuoyi.yugYING.hitTest(_root.qiangZHeng.qiangtai)) {
}
if (_root.yu01_Zuoyi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu01_Zuoyi._visible) {
_root.ren_dunxiang = "01";
_root.jishu(2);
clearInterval(_root.time11);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_Zuoyi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 333 MovieClip "yu01_Youyi_yun" in Frame 5
onClipEvent (enterFrame) {
if (_name eq "yu01_Youyi") {
if (_root.yu01_Youyi.yugYING.hitTest(_root.qiangZHeng.qiangtai)) {
}
if (_root.yu01_Youyi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu01_Youyi._visible) {
_root.ren_dunxiang = "01";
_root.jishu(2);
clearInterval(_root.time11);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_Youyi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_Youyi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_Youyi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_Youyi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 339 MovieClip "yu01_zuozuan_yun" in Frame 5
onClipEvent (enterFrame) {
if (_name eq "yu01_zuozuan") {
if (_root.yu01_zuozuan.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu01_zuozuan._visible) {
_root.ren_dunxiang = "01";
_root.jishu(2);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_zuozuan"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 345 MovieClip "yu01_youzuan_yun" in Frame 5
onClipEvent (enterFrame) {
if (_name eq "yu01_youzuan") {
if (_root.yu01_youzuan.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu01_youzuan._visible) {
_root.ren_dunxiang = "01";
_root.jishu(2);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_youzuan"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_youzuan"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_youzuan"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_youzuan"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 107 MovieClip "yu04_yi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu04_yi") and (_root.hei_flg == 0)) {
if (_root.yu04_yi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu04_yi._visible) {
_root.ren_dunxiang = "04";
_root.jishu(5);
clearInterval(_root.time13);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_yi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_yi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_yi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_yi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 89 MovieClip "yu03_Zuoyi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu03_Zuoyi") and (_root.hei_flg == 0)) {
if (_root.yu03_Zuoyi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu03_Zuoyi._visible) {
_root.ren_dunxiang = "03";
_root.jishu(4);
clearInterval(_root.time11);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_Zuoyi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_Zuoyi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 370 MovieClip "yu03_zuozuan_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu03_zuozuan") and (_root.hei_flg == 0)) {
if (_root.yu03_zuozuan.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu03_zuozuan._visible) {
_root.ren_dunxiang = "03";
_root.jishu(4);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_zuozuan"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_zuozuan"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 379 MovieClip "yu03_Youyi_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu03_Youyi") and (_root.hei_flg == 0)) {
if (_root.yu03_Youyi.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu03_Youyi._visible) {
_root.ren_dunxiang = "03";
_root.jishu(4);
clearInterval(_root.time11);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_Youyi"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_Youyi"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_Youyi"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_Youyi"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 385 MovieClip "yu03_youzuan_yun" in Frame 5
onClipEvent (enterFrame) {
if ((_name eq "yu03_youzuan") and (_root.hei_flg == 0)) {
if (_root.yu03_youzuan.yugYING.hitTest(_root.qiangZHeng.qiangtai) and _root.yu03_youzuan._visible) {
_root.ren_dunxiang = "03";
_root.jishu(4);
_root.jsfen(6);
_root.yu_status2 = 4;
clearInterval(_root.time11);
_root[("yu" + _root.ren_dunxiang) + "_youzuan"].gotoAndStop(1);
_root[("yu" + _root.ren_dunxiang) + "_youzuan"]._visible = 0;
_root.qudiaoQiang();
_root["hityu" + _root.ren_dunxiang]._visible = 1;
_root["hityu" + _root.ren_dunxiang]._x = _root[("yu" + _root.ren_dunxiang) + "_youzuan"]._x;
_root["hityu" + _root.ren_dunxiang]._y = _root[("yu" + _root.ren_dunxiang) + "_youzuan"]._y;
_root["hityu" + _root.ren_dunxiang].gotoAndPlay(1);
clearInterval(_root.time3);
clearInterval(_root.time4);
_root.renDeng._visible = 0;
_root.RenJiZH._visible = 1;
_root.RenJiZH.gotoAndPlay(1);
}
}
}
Instance of Symbol 389 MovieClip "water2_w" in Frame 5
onClipEvent (enterFrame) {
if (_name eq "water2") {
if ((this.hitTest(_root.qiangZHeng) and _root.water2._visible) and (_root.hit_wflg == 0)) {
_root.hit_wflg = 1;
_root.hitwater._visible = 1;
_root.midiplay(2);
_root.hitwater._visible = 1;
_root.LtoG2();
_root.hitwater._x = _root.xx;
_root.hitwater._y = _root.yy;
_root.hitwater.gotoAndPlay(1);
}
}
}
Frame 6
stop();
score = _root.score;
showScores = function () {
var _local2 = 10;
while (_local2 > 0) {
var _local3 = scoreboard_lv["name" + (page + _local2)];
var s = scoreboard_lv["score" + (page + _local2)];
var _local1 = this[("line" + _local2) + "_mc"];
_local1.rank_txt.text = (page + _local2) + ".";
_local1.name_txt.text = (_local3.length ? (_local3.toUpperCase()) : "-");
_local1.score_txt.text = (s.length ? (s.addCommas()) : "-");
_local1.rank_txt.textColor = (_local1.name_txt.textColor = (_local1.score_txt.textColor = ((game_so.data.playerName.length && (_local3.toUpperCase() == game_so.data.playerName.toUpperCase())) ? 3407616 : 16777215)));
_local1._visible = true;
loading_mc._visible = false;
_local2--;
}
};
page = 0;
maxScore = 50;
scoreboard_lv = new LoadVars();
if ((score > 0) && (game_so.data.playerName.length > 0)) {
scoreboard_lv.score = score;
scoreboard_lv.name = _root.game_so.data.playerName.toLowerCase();
scoreboard_lv.useremail = _root.game_so.data.useremail.toLowerCase();
}
scoreboard_lv.game = "fish";
scoreboard_lv.sendAndLoad("game_score.php", scoreboard_lv, "POST");
scoreboard_lv.onLoad = function (success) {
if (success) {
if (Boolean(scoreboard_lv.success)) {
if (scoreboard_lv.maxScore.length > 0) {
maxScore = Number(scoreboard_lv.maxScore);
}
showScores();
} else {
loading_mc.errorMsg = scoreboard_lv.errorMsg.toUpperCase();
loading_mc.gotoAndStop(2);
}
} else {
loading_mc.errorMsg = "SCORES ONLY ON T45OL.COM";
loading_mc.gotoAndStop(2);
}
};
score = 0;
last_btn._visible = false;
next_btn._visible = true;
last_btn.onPress = function () {
page = page - 10;
if (page < 0) {
page = 0;
}
if (page < 10) {
last_btn._visible = false;
}
next_btn._visible = true;
showScores();
};
top_btn.onPress = function () {
page = 1;
next_btn._visible = true;
showScores();
};
next_btn.onPress = function () {
page = page + 10;
if (page > maxScore) {
page = maxScore;
}
if (page > (maxScore - 20)) {
next_btn._visible = false;
}
last_btn._visible = true;
showScores();
};
newGame_btn.onRelease = function () {
gotoAndStop (2);
};
ufo_mc.dir = 1;
ufo_mc.onEnterFrame = function () {
var _local1 = this;
if (!_local1._visible) {
_local1.dir = (int(rnd() * 2) * 2) - 1;
_local1._x = 250 - (_local1.dir * 300);
_local1._visible = true;
}
_local1._x = _local1._x + (_local1.dir * 3);
if ((_local1._x > 550) || (_local1._x < -50)) {
_local1._visible = false;
}
};
Frame 7
stop();
_root.quedinW.username.text = _root.game_so.data.playerName;
_root.quedinW.useremail.text = _root.game_so.data.useremail;
Symbol 12 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 38 Button
on (release) {
getURL ("http://www.t45ol.com", "_blank");
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 8
stop();
Symbol 126 Button
on (release) {
_root.hei_flg = 0;
_root.ren_dunxiang = "00";
_root.jishu(1);
_root.du_flg = 0;
_root.htdu_flg = 0;
_root.yuu_flg = 0;
_root.gotoAndStop(5);
duplicateMovieClip ("_root.zb", "zb1", 40);
_root.zb1 = 0;
duplicateMovieClip ("_root.ren_shoot_yu", "ren_shoot", 4);
_root.ren_shoot._visible = 0;
_root.ren_zunbei_yuan._visible = 0;
duplicateMovieClip ("_root.ren_zunbei_yuan", "ren_zunbei", 5);
duplicateMovieClip ("_root.qiangZHeng_yun", "qiangZHeng", 6);
_root.qiangZHeng._visible = 0;
duplicateMovieClip ("_root.yu1_yun", "yu1", 7);
_root.yu1._visible = 0;
duplicateMovieClip ("_root.hityu_yun", "hityu", 8);
_root.hityu._visible = 0;
duplicateMovieClip ("_root.yu_Youyi_yun", "yu_Youyi", 9);
_root.yu_Youyi._visible = 0;
duplicateMovieClip ("_root.yu_Zuoyi_yun", "yu_Zuoyi", 10);
_root.yu_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu_youzuan_yun", "yu_youzuan", 11);
_root.yu_youzuan._visible = 0;
duplicateMovieClip ("_root.yu_zuozuan_yun", "yu_zuozuan", 12);
_root.yu_zuozuan._visible = 0;
duplicateMovieClip ("_root.hityu02_yun", "hityu02", 13);
_root.hityu02._visible = 0;
duplicateMovieClip ("_root.yu02_Youyi_yun", "yu02_Youyi", 14);
_root.yu02_Youyi._visible = 0;
duplicateMovieClip ("_root.yu02_Zuoyi_yun", "yu02_Zuoyi", 15);
_root.yu02_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu02_youzuan_yun", "yu02_youzuan", 16);
_root.yu02_youzuan._visible = 0;
duplicateMovieClip ("_root.yu02_zuozuan_yun", "yu02_zuozuan", 17);
_root.yu02_zuozuan._visible = 0;
duplicateMovieClip ("_root.hityu01_yun", "hityu01", 18);
_root.hityu01._visible = 0;
duplicateMovieClip ("_root.yu01_Youyi_yun", "yu01_Youyi", 19);
_root.yu01_Youyi._visible = 0;
duplicateMovieClip ("_root.yu01_Zuoyi_yun", "yu01_Zuoyi", 20);
_root.yu01_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu01_youzuan_yun", "yu01_youzuan", 21);
_root.yu01_youzuan._visible = 0;
duplicateMovieClip ("_root.yu01_zuozuan_yun", "yu01_zuozuan", 22);
_root.yu01_zuozuan._visible = 0;
duplicateMovieClip ("_root.hityu03_yun", "hityu03", 23);
_root.hityu03._visible = 0;
duplicateMovieClip ("_root.yu03_Youyi_yun", "yu03_Youyi", 24);
_root.yu03_Youyi._visible = 0;
duplicateMovieClip ("_root.yu03_Zuoyi_yun", "yu03_Zuoyi", 25);
_root.yu03_Zuoyi._visible = 0;
duplicateMovieClip ("_root.yu03_youzuan_yun", "yu03_youzuan", 26);
_root.yu03_youzuan._visible = 0;
duplicateMovieClip ("_root.yu03_zuozuan_yun", "yu03_zuozuan", 27);
_root.yu03_zuozuan._visible = 0;
duplicateMovieClip ("_root.hityu04_yun", "hityu04", 28);
_root.hityu04._visible = 0;
duplicateMovieClip ("_root.yu04_yi_yun", "yu04_yi", 29);
_root.yu04_yi._visible = 0;
duplicateMovieClip ("_root.yu04_pen_yun", "yu04_pen", 30);
_root.yu04_pen._visible = 0;
_root.yu_Zuoyi._visible = 1;
_root.yu_Zuoyi._x = _root.yu_qiangshi_X;
_root.yu_Zuoyi._y = 430;
_root.jiaodu = 30;
_root.yu_zuozuan._visible = 0;
_root.init_yu = 1;
if (_root.init_flg == 1) {
duplicateMovieClip ("_root.water3_w", "water3", 101);
duplicateMovieClip ("_root.water2_w", "water2", 100);
duplicateMovieClip ("_root.d_water_hei_w", "d_water_hei", 102);
_root.init_flg = 0;
_root.d_water_hei._visible = 0;
} else {
duplicateMovieClip ("_root.water3_w", "water3", 101);
duplicateMovieClip ("_root.water2_w", "water2", 100);
duplicateMovieClip ("_root.d_water_hei_w", "d_water_hei", 102);
_root.init_flg = 0;
_root.d_water_hei._visible = 0;
_root.yuu_flg = 0;
}
_root.yumovev();
clearInterval(_root.time7);
clearInterval(time7);
time7 = setInterval(addnum, _root.space_t1);
time1 = setInterval(yupingyi, _root.move_t1);
_root.RenJiZH._visible = 0;
_root.renCixia._visible = 0;
_root.RenZaST._visible = 0;
_root.SHitou1._visible = 0;
_root.gun_num = 30;
_root.gunnum = _root.gun_num;
time4 = setInterval(checkstone, 20);
_root.stone_x = _root.SHitou1._x;
_root.stone_y = _root.SHitou1._y;
_root.SJGstr();
_root.bian_lian(1);
time0 = setInterval(SJtime, 1000);
_root.midiplay(1);
clearInterval(_root.time12);
clearInterval(time12);
time12 = setInterval(newyu, 100);
}
Symbol 132 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 3
stop();
_root.hitwater._visible = 0;
_root.hitwater.gotoAndStop(1);
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 9
stop();
_root.water1._visible = 0;
_root.water1.gotoAndStop(1);
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 3
stop();
this.gotoAndStop(1);
_root.hitwater1._visible = 0;
Symbol 207 MovieClip Frame 50
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 9
stop();
_root.timexl();
_root.SHitou1._visible = 1;
_root.SHitou1._x = _root.stone_x;
_root.SHitou1._y = _root.stone_y;
this.gotoAndPlay(10);
Symbol 214 MovieClip Frame 16
stop();
this.gotoAndStop(1);
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 16
stop();
_root.aftersmile();
_root.renCixia._visible = 0;
_root.renCixia.gotoAndStop(1);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 24
stop();
_root.RenJiZH._visible = 0;
_root.paishou();
_root.RenJiZH.gotoAndStop(1);
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 5
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 4
stop();
_root.gunrunZB2();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 8
stop();
if ((_name eq "hityu") and _root.hityu._visible) {
_root.endyu();
_root.hityu.gotoAndStop(1);
_root.hityu._visible = 0;
}
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 3
stop();
Symbol 292 MovieClip Frame 4
stop();
Symbol 292 MovieClip Frame 7
this.gotoAndPlay(5);
Symbol 292 MovieClip Frame 9
stop();
Symbol 292 MovieClip Frame 11
this.gotoAndPlay(10);
Symbol 310 MovieClip Frame 1
stop();
_root.yu_youzuan.yu_youzuanbz = 1;
Symbol 310 MovieClip Frame 7
stop();
_root.yu_youzuan.yu_youzuanbz = 0;
if (_root.yu_FX == 3) {
_root.yu_zuozuan._visible = 0;
_root.yu_Youyi._visible = 1;
_root.yu_youzuan.yu_youzuanbz = 1;
_root.yu_youzuan.gotoAndStop(1);
_root.yu_zuozuan.yu_youzuanbz = 1;
_root.yu_zuozuan.gotoAndStop(1);
_root.yu_FX = 1;
} else if (_root.yu_FX == 4) {
_root.yu_youzuan._visible = 0;
_root.yu_Zuoyi._visible = 1;
_root.yu_youzuan.yu_youzuanbz = 1;
_root.yu_youzuan.gotoAndStop(1);
_root.yu_zuozuan.yu_youzuanbz = 1;
_root.yu_zuozuan.gotoAndStop(1);
_root.yu_FX = 2;
}
Symbol 315 MovieClip Frame 1
stop();
_root.yu_zuozuan.yu_youzuanbz = 1;
Symbol 315 MovieClip Frame 7
stop();
_root.yu_zuozuan.yu_youzuanbz = 0;
if (_root.yu_FX == 3) {
_root.yu_zuozuan._visible = 0;
_root.yu_Youyi._visible = 1;
_root.yu_youzuan.yu_youzuanbz = 1;
_root.yu_youzuan.gotoAndStop(1);
_root.yu_zuozuan.yu_youzuanbz = 1;
_root.yu_zuozuan.gotoAndStop(1);
_root.yu_FX = 1;
} else if (_root.yu_FX == 4) {
_root.yu_youzuan._visible = 0;
_root.yu_Zuoyi._visible = 1;
_root.yu_youzuan.yu_youzuanbz = 1;
_root.yu_youzuan.gotoAndStop(1);
_root.yu_zuozuan.yu_youzuanbz = 1;
_root.yu_zuozuan.gotoAndStop(1);
_root.yu_FX = 2;
}
Symbol 320 MovieClip Frame 1
stop();
_root.yu02_zuozuan.yu02_youzuanbz = 1;
Symbol 320 MovieClip Frame 14
stop();
if (_name ne "yu02_zuozuan_yun") {
_root.yu02_zuozuan.yu02_youzuanbz = 0;
if (_root.yu_FX2 == 3) {
_root.yu02_zuozuan._visible = 0;
_root.yu02_Youyi._visible = 1;
_root.yu02_youzuan.yu02_youzuanbz = 1;
_root.yu02_youzuan.gotoAndStop(1);
_root.yu02_zuozuan.yu02_youzuanbz = 1;
_root.yu02_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 1;
} else if (_root.yu_FX2 == 4) {
_root.yu02_youzuan._visible = 0;
_root.yu02_Zuoyi._visible = 1;
_root.yu02_youzuan.yu02_youzuanbz = 1;
_root.yu02_youzuan.gotoAndStop(1);
_root.yu02_zuozuan.yu02_youzuanbz = 1;
_root.yu02_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 2;
}
}
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 7
stop();
if ((_name eq "hityu02") and _root.hityu02._visible) {
_root.hityu02.gotoAndStop(1);
_root.hityu02.visible = 0;
_root.du_flg = 1;
_root.num_22 = 0;
_root.bian_lian(3);
time22 = setInterval(_root.checkdu, 1000);
_root.endyu2();
}
Symbol 329 MovieClip Frame 1
stop();
_root.yu02_youzuan.yu02_youzuanbz = 1;
Symbol 329 MovieClip Frame 14
stop();
if (_name ne "yu01_youzuan_yun") {
_root.yu02_youzuan.yu02_youzuanbz = 0;
if (_root.yu_FX2 == 3) {
_root.yu02_zuozuan._visible = 0;
_root.yu02_youyi._visible = 1;
_root.yu02_youzuan.yu02_youzuanbz = 1;
_root.yu02_youzuan.gotoAndStop(1);
_root.yu02_zuozuan.yu02_youzuanbz = 1;
_root.yu02_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 1;
} else if (_root.yu_FX2 == 4) {
_root.yu02_youzuan._visible = 0;
_root.yu02_zuoyi._visible = 1;
_root.yu02_youzuan.yu02_youzuanbz = 1;
_root.yu02_youzuan.gotoAndStop(1);
_root.yu02_zuozuan.yu02_youzuanbz = 1;
_root.yu02_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 2;
}
}
Symbol 333 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
_root.yu01_zuozuan.yu01_youzuanbz = 1;
Symbol 339 MovieClip Frame 15
stop();
if ((_name eq "yu01_zuozuan") and _root.yu01_zuozuan._visible) {
_root.yu01_zuozuan.yu01_youzuanbz = 0;
if (_root.yu_FX2 == 3) {
_root.yu01_zuozuan._visible = 0;
_root.yu01_Youyi._visible = 1;
_root.yu01_youzuan.yu01_youzuanbz = 1;
_root.yu01_youzuan.gotoAndStop(1);
_root.yu01_zuozuan.yu01_youzuanbz = 1;
_root.yu01_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 1;
} else if (_root.yu_FX2 == 4) {
_root.yu01_youzuan._visible = 0;
_root.yu01_Zuoyi._visible = 1;
_root.yu01_youzuan.yu01_youzuanbz = 1;
_root.yu01_youzuan.gotoAndStop(1);
_root.yu01_zuozuan.yu01_youzuanbz = 1;
_root.yu01_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 2;
}
}
Symbol 345 MovieClip Frame 1
stop();
_root.yu01_youzuan.yu01_youzuanbz = 1;
Symbol 345 MovieClip Frame 15
stop();
if ((_name eq "yu01_youzuan") and _root.yu01_youzuan._visible) {
_root.yu01_youzuan.yu01_youzuanbz = 0;
if (_root.yu_FX2 == 3) {
_root.yu01_zuozuan._visible = 0;
_root.yu01_Youyi._visible = 1;
_root.yu01_youzuan.yu01_youzuanbz = 1;
_root.yu01_youzuan.gotoAndStop(1);
_root.yu01_zuozuan.yu01_youzuanbz = 1;
_root.yu01_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 1;
} else if (_root.yu_FX2 == 4) {
_root.yu01_youzuan._visible = 0;
_root.yu01_Zuoyi._visible = 1;
_root.yu01_youzuan.yu01_youzuanbz = 1;
_root.yu01_youzuan.gotoAndStop(1);
_root.yu01_zuozuan.yu01_youzuanbz = 1;
_root.yu01_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 2;
}
}
Symbol 349 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 4
stop();
if ((_name eq "hityu01") and _root.hityu01._visible) {
_root.hityu01.gotoAndStop(1);
_root.hityu01.visible = 0;
_root.endyu2();
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 25
stop();
if ((_name eq "hityu04") and _root.hityu04._visible) {
this.gotoAndStop(1);
this.visible = 0;
_root.endyu2();
}
Symbol 364 MovieClip Frame 1
stop();
clearInterval(_root.time13);
clearInterval(time13);
Symbol 364 MovieClip Frame 43
stop();
if ((_name eq "yu04_pen") and _root.yu04_pen._visible) {
this.gotoAndStop(1);
this._visible = 0;
clearInterval(_root.time21);
clearInterval(time21);
_root.num_21 = 0;
time21 = setInterval(_root.penwater, 1000);
_root.hei_flg = 1;
_root.water2._visible = 0;
_root.water3._visible = 0;
_root.d_water_hei._visible = 1;
_root.d_water_hei.gotoAndPlay(2);
}
Symbol 370 MovieClip Frame 1
stop();
_root.yu03_zuozuan.yu03_youzuanbz = 1;
Symbol 370 MovieClip Frame 14
stop();
if (_name ne "yu03_zuozuan_yun") {
_root.yu03_zuozuan.yu03_youzuanbz = 0;
if (_root.yu_FX2 == 3) {
_root.yu03_zuozuan._visible = 0;
_root.yu03_youyi._visible = 1;
_root.yu03_youzuan.yu03_youzuanbz = 1;
_root.yu03_youzuan.gotoAndStop(1);
_root.yu03_zuozuan.yu03_youzuanbz = 1;
_root.yu03_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 1;
} else if (_root.yu_FX2 == 4) {
_root.yu03_youzuan._visible = 0;
_root.yu03_zuoyi._visible = 1;
_root.yu03_youzuan.yu03_youzuanbz = 1;
_root.yu03_youzuan.gotoAndStop(1);
_root.yu03_zuozuan.yu03_youzuanbz = 1;
_root.yu03_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 2;
}
}
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 12
stop();
if ((_name eq "hityu03") and _root.hityu03._visible) {
_root.hityu03.gotoAndStop(1);
_root.hityu03.visible = 0;
_root.htdu_flg = 1;
_root.num_23 = 0;
_root.bian_lian(2);
clearInterval(_root.time23);
clearInterval(time23);
time23 = setInterval(_root.checkhtdu, 1000);
_root.endyu2();
}
Symbol 379 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 1
stop();
_root.yu03_youzuan.yu03_youzuanbz = 1;
Symbol 385 MovieClip Frame 14
stop();
if (_name ne "yu03_youzuan_yun") {
_root.yu03_youzuan.yu03_youzuanbz = 0;
if (_root.yu_FX2 == 3) {
_root.yu03_zuozuan._visible = 0;
_root.yu03_Youyi._visible = 1;
_root.yu03_youzuan.yu03_youzuanbz = 1;
_root.yu03_youzuan.gotoAndStop(1);
_root.yu03_zuozuan.yu03_youzuanbz = 1;
_root.yu03_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 1;
} else if (_root.yu_FX2 == 4) {
_root.yu03_youzuan._visible = 0;
_root.yu03_Zuoyi._visible = 1;
_root.yu03_youzuan.yu03_youzuanbz = 1;
_root.yu03_youzuan.gotoAndStop(1);
_root.yu03_zuozuan.yu03_youzuanbz = 1;
_root.yu03_zuozuan.gotoAndStop(1);
_root.yu_FX2 = 2;
}
}
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 10
stop();
Symbol 390 MovieClip Frame 20
stop();
if (((_name eq "d_water_hei") and _root.d_water_hei._visible) and (_root.hei_flg == 1)) {
clearInterval(_root.time21);
clearInterval(time21);
_root.ren_dunxiang = "00";
_root.hei_flg = 0;
_root.jishu(1);
_root.water2._visible = 1;
_root.water3._visible = 1;
_root.d_water_hei.gotoAndStop(1);
_root.d_water_hei._visible = 0;
}
Symbol 412 Button
on (release) {
if (_root.sound_flg == 1) {
_root.sound_flg = 0;
_root.midistop(1);
} else {
_root.sound_flg = 1;
}
play();
}
Symbol 416 Button
on (release) {
if (_root.sound_flg == 1) {
_root.sound_flg = 0;
_root.midistop(1);
} else {
_root.sound_flg = 1;
_root.midiplay(1);
}
play();
}
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
stop();
Symbol 476 Button
on (release) {
getURL ("http://www.t45ol.com/", "_blank");
}
Symbol 478 Button
on (release) {
getURL ("http://www.t45ol.com/play_flash.php?ID=956", "_blank");
}
Symbol 483 Button
on (release) {
getURL ("http://www.frontnetwork.net", "_blank");
}
Symbol 485 MovieClip Frame 1
stop();
errorMsg = "";
i = 0;
alien_mc.onEnterFrame = function () {
i = i + 0.25;
i = i % 2;
this.gotoAndStop(i + 1);
};
Symbol 499 Button
on (release) {
_root.restetsys();
_root.gotoAndStop(4);
}
Symbol 505 Button
on (press) {
if ((_root.quedinW.username.text.length != 0) and (_root.quedinW.useremail.text.length != 0)) {
_root.game_so.data.playerName = _root.quedinW.username.text;
_root.game_so.data.useremail = _root.quedinW.useremail.text;
_root.gotoAndStop("ph");
}
}
Symbol 528 Button
on (release) {
_root.restetsys();
_root.gotoAndStop(4);
}
Symbol 529 MovieClip Frame 52
stop();
Symbol 539 Button
on (release) {
getURL ("http://www.frontnetwork.com");
}
Symbol 545 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 615 MovieClip Frame 136
stop();
_root.gotoAndStop(4);
Symbol 616 MovieClip Frame 162
stop();