Frame 1
function fwAd_onClickStartBtn() {
trace("start game");
}
FWAd_AS2.showAd({container:this, x:0, y:0, wid:600, hei:400, starPoolID:"13381", starSubPoolID:"27", adType:"loading", onClickStartBtn:fwAd_onClickStartBtn});
Frame 2
stop();
onEnterFrame = function () {
var _local2 = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_local2 >= 100) {
_root.loadedmc._visible = false;
delete onEnterFrame;
_root.nextFrame();
_root.play();
} else {
_root.loadedmc.gotoAndStop(_local2);
}
};
Frame 3
Instance of Symbol 1209 MovieClip in Frame 4
onClipEvent (enterFrame) {
this.swapDepths(999999999);
}
Frame 5
Frame 18
j = 2000;
for (var i in _root) {
_root[i].swapDepths(j);
_root[i].removeMovieClip();
}
Frame 19
function addmoto() {
_root.attachMovie("moto", "drr" + shendu, _root.shendu++);
}
function addzid() {
_root.attachMovie("zid", "zid", _root.shendu++);
}
function adddizid() {
_root.attachMovie("dizid", "dizid", _root.shendu++);
}
function addbomb() {
_root.attachMovie("bomb", "bomb", _root.shendu++);
}
function adddibomb() {
_root.attachMovie("dibomb", "dibomb", _root.shendu++);
}
function addrocket() {
_root.attachMovie("rocket", "rocket", _root.shendu++);
}
function addaddmoto() {
_root.attachMovie("moto2", "mtmt" + shendu, _root.shendu++);
}
function addzdbw(x, y, myname) {
var _local2 = _root.attachMovie("zdbw", "zdbw" + myname, _root.shendu++);
if (x < 20) {
_local2._x = 20;
} else if (x > 550) {
_local2._x = 550;
} else {
_local2._x = x;
}
_local2._y = y + 135;
_local2.swapDepths(_local2._y - 30);
}
function addzdbwsl(x, y, myname) {
var _local2 = _root.attachMovie("zdbwsl", "zdbwsl" + myname, _root.shendu++);
if (x < 20) {
_local2._x = 20;
} else if (x > 550) {
_local2._x = 550;
} else {
_local2._x = x;
}
_local2._y = y + 120;
_local2.swapDepths(_local2._y - 30);
}
function addzdbwsd(x, y, myname) {
var _local2 = _root.attachMovie("zdbwsd", "zdbwsd" + myname, _root.shendu++);
if (x < 20) {
_local2._x = 20;
} else if (x > 550) {
_local2._x = 550;
} else {
_local2._x = x;
}
_local2._y = y + 120;
_local2.swapDepths(_local2._y - 30);
}
function addgolds2(x, y, myname) {
if (_root.score > 0) {
var _local7 = random(30);
y = y - 50;
if (_root.boy._xscale < 0) {
x = x + (20 + random(100));
} else if (_root.boy._xscale > 0) {
x = x - (20 + random(100));
}
_root.scoreMC.addscores(-20);
if (_local7 > _root.lucknum) {
var _local6 = random(5);
switch (_local6) {
case 4 :
var _local3 = _root.attachMovie("gold", ("gold" + myname) + _root.goldshu, _root.shendu++);
_local3._x = x;
_local3._y = y + 150;
_local3._xscale = (_local3._yscale = 50);
_local3.style = 0;
break;
case 0 :
_local3 = _root.attachMovie("gold", ("gold" + myname) + _root.goldshu, _root.shendu++);
_local3._x = x;
_local3._y = y + 150;
_local3._xscale = (_local3._yscale = 50);
_local3.style = 0;
break;
case 1 :
_local3 = _root.attachMovie("gold", ("gold" + myname) + _root.goldshu, _root.shendu++);
_local3._x = x;
_local3._y = y + 150;
_local3._xscale = (_local3._yscale = 50);
_local3.style = 0;
break;
case 2 :
_local3 = _root.attachMovie("gold", ("gold" + myname) + _root.goldshu, _root.shendu++);
_local3._x = x;
_local3._y = y + 150;
_local3._xscale = (_local3._yscale = 50);
_local3.style = 0;
break;
case 3 :
_local3 = _root.attachMovie("gold", ("gold" + myname) + _root.goldshu, _root.shendu++);
_local3._x = x;
_local3._y = y + 150;
_local3._xscale = (_local3._yscale = 50);
_local3.style = 0;
}
}
}
}
function addgolds(x, y, myname) {
var _local8 = random(30);
y = y + 10;
if (_local8 > _root.lucknum) {
var _local7 = random(5);
switch (_local7) {
case 4 :
break;
case 0 :
var _local4 = _root.attachMovie("gold", "gold" + myname, _root.shendu++);
_local4._x = x;
_local4._y = y + 150;
_local4._xscale = (_local4._yscale = 50);
_local4.style = 0;
break;
case 1 :
_local4 = _root.attachMovie("gold", "gold" + myname, _root.shendu++);
_local4._x = x;
_local4._y = y + 150;
_local4._xscale = (_local4._yscale = 70);
_local4.style = 1;
break;
case 2 :
_local4 = _root.attachMovie("gold", "gold" + myname, _root.shendu++);
_local4._x = x;
_local4._y = y + 150;
_local4.style = 2;
break;
case 3 :
var _local3 = 0;
for(;;){
if (_local3 >= 4) {
break;
}
_local4 = _root.attachMovie("gold", ("gold" + _local3) + myname, _root.shendu++);
_local4._xscale = (_local4._yscale = 50);
_local4.style = 0;
if (_local3 != 0) {
_root[("gold" + _local3) + myname]._x = (_root[("gold" + int(_local3 - 1)) + myname]._x + random(10)) + 5;
_root[("gold" + _local3) + myname]._y = (_root[("gold" + int(_local3 - 1)) + myname]._y + random(5)) - 3;
} else {
_root[("gold" + _local3) + myname]._x = x - 15;
_root[("gold" + _local3) + myname]._y = y + 150;
}
_local3++;
};
}
} else {
var _local3 = 0;
while (_local3 < 15) {
var _local4 = _root.attachMovie("gold", ("gold" + _local3) + myname, _root.shendu++);
_local4._xscale = (_local4._yscale = 50);
_local4.style = 0;
if (_local3 != 0) {
_root[("gold" + _local3) + myname]._x = (_root[("gold" + int(_local3 - 1)) + myname]._x + random(30)) - 15;
_root[("gold" + _local3) + myname]._y = (_root[("gold" + int(_local3 - 1)) + myname]._y + random(30)) - 10;
} else {
_root[("gold" + _local3) + myname]._x = x - 15;
_root[("gold" + _local3) + myname]._y = y + 150;
}
_local3++;
}
}
}
function addenemy() {
if (_root.stage == 1) {
var _local3 = ["long", "long", "long"];
var _local2 = random(3);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
return(undefined);
}
if (_root.stage == 15) {
var _local3 = ["yellow", "yellow", "long", "redred", "redred", "long", "long"];
var _local2 = random(7);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
return(undefined);
}
if (_root.stage == 25) {
var _local3 = ["redredweidui", "redredweidui", "redredweidui", "redweidui", "redweidui", "redweidui", "redweidui"];
var _local2 = random(7);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
return(undefined);
}
if (_root.stage == 3) {
var _local3 = ["dhf", "dhf", "dhf", "dhf", "dhf", "long", "long"];
var _local2 = random(7);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
return(undefined);
}
if (_root.stage == 5) {
var _local3 = ["fox", "fox", "long", "bangzi"];
var _local2 = random(4);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
} else if (_root.stage == 55) {
var _local3 = ["yellow", "yellow", "long", "long"];
var _local2 = random(4);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
} else if (_root.stage == 6) {
var _local3 = ["dhf", "dhf", "xxg3", "xxg2"];
var _local2 = random(4);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
} else if (_root.stage == 61) {
var _local3 = ["xxg2", "xxg2", "xxg", "xxg"];
var _local2 = random(4);
if (_root.alived < _root.allenemy) {
_root.attachMovie(_local3[_local2], "tdz" + _root.drs, shendu++);
_root.alived++;
_root.drs++;
return(undefined);
}
}
}
stopAllSounds();
_root.jiuming = 5;
_root.tv = false;
stage = 0;
_root.hard = 1;
_root.boylv = 1;
_root.attacknum = 2;
_root.speednum = 7;
_root.defendnum = 4;
_root.lucknum = 1;
_root.zhiliao = 0;
_root.kocount = 0;
_root.wuqiarray = [0, 0, 0, 0, 0, 0, 0, 0];
_root.score = 0;
_root.expnum = 0;
var findfood = new Sound();
findfood.attachSound("life");
var shendu = 1999;
_root.bounce = false;
_root.aidatrue == false;
_root.sha = false;
_root.aida = false;
_root.hitcount = 0;
_root.hit1 == false;
_root.hit2 == false;
_root.hit3 == false;
_root.hit4 == false;
_root.maplock = true;
_root.energy = 0;
Instance of Symbol 1215 MovieClip "tvmc" in Frame 19
onClipEvent (load) {
_visible = false;
}
Frame 21
gotoAndStop (132);
Frame 132
stop();
Frame 149
stop();
Frame 164
if (m == 1) {
play();
}
if (m == 2) {
gotoAndPlay (192);
}
if (m == 3) {
gotoAndPlay (209);
}
Frame 170
stop();
Frame 191
gotoAndStop (149);
Frame 200
stop();
Frame 208
gotoAndPlay (180);
Instance of Symbol 1575 MovieClip in Frame 217
on (press) {
play();
}
Frame 221
stop();
Frame 230
stop();
Frame 242
stopAllSounds();
Frame 243
gotoAndStop ("shopmc");
Frame 246
stopAllSounds();
aa = SharedObject.getLocal("ssbrsave");
_root.zhiliao = aa.data.zhiliao;
_root.score = aa.data.score;
_root.jiuming = aa.data.jiuming;
_root.dya = aa.data.dya;
_root.dyb = aa.data.dyb;
_root.dyc = aa.data.dyc;
_root.dyd = aa.data.dyd;
_root.stage = aa.data.stage;
_root.boylv = aa.data.boylv;
_root.attacknum = aa.data.attacknum;
_root.speednum = aa.data.speednum;
_root.defendnum = aa.data.defendnum;
_root.lucknum = aa.data.lucknum;
_root.kocount = aa.data.kocount;
_root.wuqiarray = aa.data.wuqiarray;
_root.expnum = aa.data.expnum;
Frame 247
stop();
scoreMC._visible = false;
_root.combo._visible = false;
_root.statemc.gotoAndStop(1);
_root.power._visible = false;
_root.power.removeMovieClip();
_root.hq.removeMovieClip();
_root.kuang._visible = false;
_root.energymc._visible = false;
_root.bounceclear.removeMovieClip();
_root.box1.removeMovieClip();
_root.feng.gotoAndStop("ting");
_root.rain.removeMovieClip();
_root.rain.gotoAndStop("ting");
_root.jiuming = _root.jiuming;
Instance of Symbol 1682 MovieClip "shopping" in Frame 247
/* no clip actions */
Instance of Symbol 1209 MovieClip in Frame 247
onClipEvent (enterFrame) {
this.swapDepths(999999999);
}
Instance of Symbol 1714 MovieClip in Frame 247
onClipEvent (enterFrame) {
_root.jiuming = _root.jiuming;
}
Frame 248
_root.attachMovie("hq", "hq", shendu++);
_root.maosi = 0;
_root.wuqiarray[0] = 0;
_root.wuqiarray[1] = 0;
_root.wuqiarray[2] = 0;
_root.wuqiarray[3] = 0;
_root.drs = 1;
_root.goldshu = 1;
_root.fangytime = 0;
_root.lbs = 0;
_root.gun = 1;
_root.dya = 20;
_root.dyb = 20;
_root.dyc = 20;
_root.dyd = 20;
_root.power.dy1 = 20;
_root.power.dy2 = 20;
_root.power.dy3 = 20;
_root.power.dy4 = 20;
_root.foxshu = 0;
stop();
_root.stage = 1;
_root.combo._visible = true;
_root.combo.swapDepths(21096);
_root.deadcount = 0;
_root.gameover.swapDepths(1019995);
_root.lvmc.gotoAndStop(_root.boylv);
scoreMC._visible = true;
_root.score = 0;
switch (_root.hard) {
case 1 :
i = 1;
while (i < 2) {
_root.allenemy = 3;
_root.alived = 2;
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("long", "long2", shendu++);
i++;
}
break;
case 2 :
i = 1;
while (i < 2) {
_root.allenemy = 6;
_root.alived = 3;
_root.attachMovie("yellowf", "dr" + i, shendu++);
_root.attachMovie("long", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 8;
_root.alived = 3;
i = 1;
for(;;){
if (i >= 2) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box1._x = box1._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Instance of Symbol 1175 MovieClip [boy] "boy" in Frame 248
onClipEvent (load) {
speed = _root.speednum;
hp = 500;
expnum = 0;
_root.lock = false;
_root.run = false;
_root.timerlock = false;
}
Instance of Symbol 1003 MovieClip [hq] in Frame 248
onClipEvent (load) {
this.swapDepths(152276);
this.removeMovieClip();
}
Instance of Symbol 1808 MovieClip [levelup] in Frame 248
onClipEvent (load) {
this.swapDepths(13111);
this.removeMovieClip();
}
Instance of Symbol 1714 MovieClip in Frame 248
onClipEvent (enterFrame) {
_root.jiuming = _root.jiuming;
}
Instance of Symbol 1818 MovieClip "box" in Frame 248
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y));
}
Instance of Symbol 1874 MovieClip "statemc" in Frame 248
onClipEvent (load) {
this.swapDepths(78995);
}
Instance of Symbol 1876 MovieClip "kuang" in Frame 248
onClipEvent (load) {
this.swapDepths(7999);
}
Instance of Symbol 1880 MovieClip "energymc" in Frame 248
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.energy = _root.energy - 1;
if (_root.energy > 100) {
_root.energy = 100;
this._xscale = 100;
this.gotoAndStop(2);
} else {
this._xscale = _root.energy;
if (_root.energy < 0) {
_root.energy = 0;
this._xscale = 0;
}
}
}
Instance of Symbol 2144 MovieClip "talk" in Frame 248
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 2166 MovieClip "gameover" in Frame 248
onClipEvent (load) {
this.swapDepths(119999);
}
Instance of Symbol 2174 MovieClip "go" in Frame 248
onClipEvent (enterFrame) {
this.swapDepths(91999);
}
Instance of Symbol 2177 MovieClip "guochang" in Frame 248
onClipEvent (load) {
this.swapDepths(19999);
}
Instance of Symbol 2193 MovieClip in Frame 248
onClipEvent (load) {
this.swapDepths(69887);
}
Instance of Symbol 1215 MovieClip "tv" in Frame 248
onClipEvent (load) {
if (_root.tv == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2196 MovieClip [yellow] in Frame 248
onClipEvent (load) {
this.swapDepths(1111);
this.removeMovieClip();
}
Instance of Symbol 938 MovieClip [dog] in Frame 248
onClipEvent (load) {
this.swapDepths(1111);
this.removeMovieClip();
}
Instance of Symbol 920 MovieClip [yellowf] in Frame 248
onClipEvent (load) {
this.swapDepths(2111);
this.removeMovieClip();
}
Instance of Symbol 2198 MovieClip [long] in Frame 248
onClipEvent (load) {
this.swapDepths(1171);
this.removeMovieClip();
}
Instance of Symbol 835 MovieClip [br] in Frame 248
onClipEvent (load) {
this.swapDepths(121131);
this.removeMovieClip();
}
Instance of Symbol 820 MovieClip [br2] in Frame 248
onClipEvent (load) {
this.swapDepths(121151);
this.removeMovieClip();
}
Instance of Symbol 815 MovieClip [br3] in Frame 248
onClipEvent (load) {
this.swapDepths(161151);
this.removeMovieClip();
}
Instance of Symbol 2206 MovieClip [gunzi] in Frame 248
onClipEvent (load) {
this.swapDepths(12131);
this.removeMovieClip();
}
Instance of Symbol 804 MovieClip [long2] in Frame 248
onClipEvent (load) {
this.swapDepths(1173);
this.removeMovieClip();
}
Instance of Symbol 2235 MovieClip [guang] in Frame 248
onClipEvent (load) {
this.swapDepths(11131);
this.removeMovieClip();
}
Instance of Symbol 2243 MovieClip [bangzi] in Frame 248
onClipEvent (load) {
this.swapDepths(132171);
this.removeMovieClip();
}
Instance of Symbol 769 MovieClip [xxg] in Frame 248
onClipEvent (load) {
this.swapDepths(132171);
this.removeMovieClip();
}
Instance of Symbol 766 MovieClip [xxg2] in Frame 248
onClipEvent (load) {
this.swapDepths(136171);
this.removeMovieClip();
}
Instance of Symbol 765 MovieClip [xxg3] in Frame 248
onClipEvent (load) {
this.swapDepths(156171);
this.removeMovieClip();
}
Instance of Symbol 698 MovieClip [dhf3] in Frame 248
onClipEvent (load) {
this.swapDepths(186171);
this.removeMovieClip();
}
Instance of Symbol 2248 MovieClip [red] in Frame 248
onClipEvent (load) {
this.swapDepths(142271);
this.removeMovieClip();
}
Instance of Symbol 697 MovieClip [redred] in Frame 248
onClipEvent (load) {
this.swapDepths(142276);
this.removeMovieClip();
}
Instance of Symbol 695 MovieClip [redweidui] in Frame 248
onClipEvent (load) {
this.swapDepths(142281);
this.removeMovieClip();
}
Instance of Symbol 675 MovieClip [redredweidui] in Frame 248
onClipEvent (load) {
this.swapDepths(142291);
this.removeMovieClip();
}
Instance of Symbol 618 MovieClip [slb] in Frame 248
onClipEvent (load) {
this.swapDepths(142381);
this.removeMovieClip();
}
Instance of Symbol 568 MovieClip [cat] in Frame 248
onClipEvent (load) {
this.swapDepths(12131);
this.removeMovieClip();
}
Instance of Symbol 530 MovieClip [bomb] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 525 MovieClip [dibomb] in Frame 248
onClipEvent (load) {
this.swapDepths(random(712991));
this.removeMovieClip();
}
Instance of Symbol 520 MovieClip [rocket] "rocket" in Frame 248
onClipEvent (load) {
this.swapDepths(random(712996));
this.removeMovieClip();
}
Instance of Symbol 1684 MovieClip [0] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1686 MovieClip [1] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1688 MovieClip [2] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1690 MovieClip [3] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1692 MovieClip [4] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1694 MovieClip [5] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1696 MovieClip [6] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1698 MovieClip [7] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1702 MovieClip [9] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 2250 MovieClip [ball] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1267 MovieClip [box] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 503 MovieClip [zdbw] in Frame 248
onClipEvent (load) {
this.swapDepths(random(81299));
this.removeMovieClip();
}
Instance of Symbol 496 MovieClip [zdbwsl] in Frame 248
onClipEvent (load) {
this.swapDepths(random(81299));
this.removeMovieClip();
}
Instance of Symbol 487 MovieClip [zdbwsd] in Frame 248
onClipEvent (load) {
this.swapDepths(random(81299));
this.removeMovieClip();
}
Instance of Symbol 2173 MovieClip [go] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 2253 MovieClip [gold] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 2257 MovieClip [hpup] in Frame 248
onClipEvent (load) {
this.swapDepths(random(71299));
this.removeMovieClip();
}
Instance of Symbol 1267 MovieClip [box] "box1" in Frame 248
onClipEvent (load) {
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Instance of Symbol 1254 MovieClip "rain" in Frame 248
onClipEvent (load) {
this.swapDepths(1121331);
}
Instance of Symbol 2259 MovieClip in Frame 248
onClipEvent (load) {
this.swapDepths(1121339);
}
Frame 249
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 3;
_root.alived = 2;
i = 3;
while (i < 4) {
_root.attachMovie("long", "long1", shendu++);
_root.attachMovie("guang", "guangzid", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 6;
_root.alived = 3;
i = 3;
while (i < 4) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 8;
_root.alived = 3;
i = 3;
for(;;){
if (i >= 4) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 0)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box1._x = box1._x - boy.speed;
}
if (bg._x <= 0) {
_root.guochang.gotoAndStop(2);
}
}
};
Instance of Symbol 2144 MovieClip "talk" in Frame 249
onClipEvent (load) {
this.swapDepths(999199999);
}
Frame 250
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.box1.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 4;
_root.alived = 3;
i = 5;
while (i < 6) {
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("yellow", "yellowww", shendu++);
_root.attachMovie("yellow", "dr" + i, shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 5;
while (i < 6) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 5;
for(;;){
if (i >= 6) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Frame 251
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.deadcount = 0;
delete onEnterFrame;
switch (_root.hard) {
case 1 :
_root.allenemy = 5;
_root.alived = 3;
i = 9;
while (i < 10) {
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("yellow", "yellowl", shendu++);
_root.attachMovie("slb", "brbr", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 4;
i = 9;
while (i < 10) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
_root.attachMovie("long", "drdd2" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 13;
_root.alived = 4;
i = 9;
for(;;){
if (i >= 10) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
_root.attachMovie("long", "drdd2" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -100)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= -100) {
nextFrame();
}
}
};
Frame 252
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.box1.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 3;
_root.alived = 3;
i = 5;
while (i < 6) {
_root.attachMovie("long", "long1", shendu++);
_root.attachMovie("yellow", "drdd" + i, shendu++);
_root.attachMovie("yellow", "drdddfdf", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 5;
while (i < 6) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 5;
for(;;){
if (i >= 6) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -300)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= -300) {
nextFrame();
}
}
};
Frame 253
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.box1.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 3;
_root.alived = 3;
i = 5;
while (i < 6) {
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("long", "long1", shendu++);
_root.attachMovie("slb", "brbr", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 5;
while (i < 6) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 5;
for(;;){
if (i >= 6) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -500)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= -500) {
nextFrame();
}
}
};
Frame 254
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
talk.gotoAndPlay(2);
onEnterFrame = function () {
};
Instance of Symbol 2263 MovieClip "jzbr" in Frame 254
onClipEvent (load) {
this.swapDepths(shendu++);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(_parent._y + 55));
}
Frame 255
_root.drs = 1;
_root.goldshu = 1;
_root.deadcount = 0;
delete onEnterFrame;
_root.jzbr.removeMovieClip();
_root.jzbr.unloadMovie();
_root.jzbr.gotoAndStop(2);
switch (_root.hard) {
case 1 :
_root.allenemy = 7;
_root.alived = 3;
_root.attachMovie("br", "brbr", shendu++);
i = 13;
while (i < 14) {
_root.attachMovie("long", "long1", shendu++);
_root.attachMovie("long", "long2", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 15;
_root.alived = 6;
_root.attachMovie("boss1", "boss", shendu++);
i = 13;
while (i < 15) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
_root.attachMovie("red", "drreddd", shendu++);
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
_root.attachMovie("boss1", "boss", shendu++);
i = 13;
while (i < 15) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
_root.attachMovie("red", "drreddd", shendu++);
}
stop();
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
_root.rain.gotoAndStop("ting");
_root.talk.gotoAndPlay("lost");
_root.hq.removeMovieClip;
_root.power.removeMovieClip;
_root.deadcount = 0;
delete onEnterFrame;
}
};
Instance of Symbol 1267 MovieClip [box] "box1" in Frame 255
onClipEvent (load) {
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Frame 256
_root.attachMovie("hq", "hq", shendu++);
if (_root.speednum > 8) {
_root.speednum = 8;
}
_root.wuqiarray[0] = 0;
_root.wuqiarray[1] = 0;
_root.wuqiarray[2] = 0;
_root.wuqiarray[3] = 0;
_root.drs = 1;
_root.goldshu = 1;
_root.gun = 1;
_root.power.dy1 = _root.dya;
_root.power.dy2 = _root.dyb;
_root.power.dy3 = _root.dyc;
_root.power.dy4 = _root.dyd;
s = 0;
_root.gameover.swapDepths(1019992);
guochang.swapDepths(829);
go.swapDepths(892999);
statemc.swapDepths(8796);
_root.combo.swapDepths(28096);
_root.lvmc.gotoAndStop(_root.boylv);
_root.stage = 15;
_root.deadcount = 0;
_root.allenemy = 15;
_root.alived = 6;
_root.bg.gotoAndStop(3);
_root.scoreMC.addscores(100);
scoreMC._visible = true;
talk.swapDepths(1008576);
stop();
boy._x = 200;
boy._y = 150;
boy.hp = 100;
bg._x = 530;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 2;
i = 16;
while (i < 17) {
_root.attachMovie("yellow", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "guangzid", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("long", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 16;
for(;;){
if (i >= 17) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("yellow", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
box3._x = box3._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Instance of Symbol 1267 MovieClip [box] "box3" in Frame 256
onClipEvent (load) {
this.swapDepths(1260);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Frame 257
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.sha = true;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 2;
i = 16;
while (i < 17) {
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("redred", "red1", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("long", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 16;
for(;;){
if (i >= 17) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("yellow", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 0)) {
boy._x = 550;
box3._x = box3._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 0) {
nextFrame();
}
}
};
Frame 258
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.sha = true;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 4;
_root.alived = 4;
i = 20;
while (i < 21) {
_root.attachMovie("red", "red1", shendu++);
_root.attachMovie("red", "red2", shendu++);
_root.attachMovie("red", "red3", shendu++);
_root.attachMovie("red", "red4" + i, shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 12;
_root.alived = 6;
i = 20;
while (i < 22) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "dr11dd" + i, shendu++);
_root.attachMovie("yellow", "dd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
i = 20;
for(;;){
if (i >= 22) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "dr11dd" + i, shendu++);
_root.attachMovie("yellow", "dd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -325)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
}
if (bg._x <= -325) {
_root.guochang.gotoAndStop(2);
}
}
};
Frame 259
_root.drs = 1;
_root.goldshu = 1;
stop();
box3.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.alived = 3;
_root.allenemy = 7;
i = 105;
while (i < 106) {
_root.attachMovie("redred", "red1", shendu++);
_root.attachMovie("redred", "red2", shendu++);
_root.attachMovie("long", "long1", shendu++);
i++;
}
break;
case 2 :
_root.alived = 4;
_root.allenemy = 10;
i = 105;
while (i < 109) {
_root.attachMovie("red", "drs" + i, shendu++);
i++;
}
break;
case 3 :
_root.alived = 5;
_root.allenemy = 13;
i = 105;
while (i < 109) {
_root.attachMovie("bangzi", "drs" + i, shendu++);
i++;
}
_root.attachMovie("boss1", "drs678", shendu++);
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Frame 260
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 7;
_root.alived = 4;
i = 109;
while (i < 110) {
_root.attachMovie("yellow", "yellow1", shendu++);
_root.attachMovie("redred", "red2", shendu++);
_root.attachMovie("red", "red3", shendu++);
_root.attachMovie("yellow", "yellow2", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 109;
while (i < 111) {
_root.attachMovie("guang", "dr34dd" + i, shendu++);
_root.attachMovie("yellow", "drdcaod" + i, shendu++);
_root.attachMovie("long", "drdsbd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
i = 109;
for(;;){
if (i >= 111) {
break;
}
_root.attachMovie("guang", "dr34dd" + i, shendu++);
_root.attachMovie("yellow", "drdcaod" + i, shendu++);
_root.attachMovie("long", "drdsbd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -100)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= -30) {
nextFrame();
}
}
};
Frame 261
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.lock = true;
delete onEnterFrame;
_root.deadcount = 0;
_root.stage = 25;
talk.gotoAndPlay("gungun");
Instance of Symbol 2269 MovieClip "jzbr2" in Frame 261
onClipEvent (load) {
this.swapDepths(shendu++);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(_parent._y + 55));
}
Frame 262
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.brsi = 0;
delete onEnterFrame;
_root.deadcount = 0;
_root.jzbr2.removeMovieClip();
_root.jzbr2.unloadMovie();
_root.jzbr2.gotoAndStop(2);
switch (_root.hard) {
case 1 :
_root.allenemy = 9;
_root.alived = 3;
i = 24;
while (i < 25) {
_root.attachMovie("redredweidui", "red1", shendu++);
_root.attachMovie("redweidui", "red3", shendu++);
i++;
}
_root.attachMovie("br2", "brbr", shendu++);
break;
case 2 :
_root.allenemy = 15;
_root.alived = 7;
i = 24;
while (i < 26) {
_root.attachMovie("long", "d23r" + i, shendu++);
_root.attachMovie("bangzi", "drdr111d" + i, shendu++);
_root.attachMovie("red", "dr11dd" + i, shendu++);
i++;
}
_root.attachMovie("gunzi", "aaaddbspp", shendu++);
break;
case 3 :
_root.allenemy = 20;
_root.alived = 7;
i = 24;
while (i < 26) {
_root.attachMovie("yellow", "d23r" + i, shendu++);
_root.attachMovie("bangzi", "drdr111d" + i, shendu++);
_root.attachMovie("red", "dr11dd" + i, shendu++);
i++;
}
_root.attachMovie("gunzi", "aaaddbspp", shendu++);
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
nextFrame();
}
};
Instance of Symbol 1267 MovieClip [box] "box1" in Frame 262
onClipEvent (load) {
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Frame 263
_root.hq.removeMovieClip;
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.stage = 15;
_root.lock = true;
delete onEnterFrame;
talk.play();
Frame 264
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
stage = 4;
_root.gameover.swapDepths(1019495);
_root.carcontrol = true;
boy.swapDepths(10012);
boy.removeMovieClip();
bg._x = 530;
bg.gotoAndStop(5);
_root.bounce = true;
_root.lvmc.gotoAndStop(_root.boylv);
_root.scoreMC.addscores(100);
scoreMC._visible = true;
Instance of Symbol 2283 MovieClip "car" in Frame 264
onClipEvent (load) {
var speed = 5;
}
onClipEvent (enterFrame) {
if (_x < 50) {
_x = 50;
}
if (_x > 300) {
_x = 300;
}
if (_y < 100) {
_y = 100;
}
if (_y > 250) {
_y = 250;
}
this.swapDepths(Math.floor(this._y) - 60);
if (_root.carcontrol == true) {
if (Key.isDown(87)) {
this._y = this._y - speed;
}
if (Key.isDown(83)) {
this._y = this._y + speed;
}
if (Key.isDown(65)) {
this._x = this._x - speed;
}
if (Key.isDown(68)) {
this._x = this._x + speed;
}
}
}
Instance of Symbol 2290 MovieClip "bounceclear" in Frame 264
onClipEvent (load) {
this.swapDepths(199789);
}
Frame 265
_root.attachMovie("hq", "hq", shendu++);
if (_root.speednum > 9) {
_root.speednum = 9;
}
_root.wuqiarray[0] = 0;
_root.wuqiarray[1] = 0;
_root.wuqiarray[2] = 0;
_root.wuqiarray[3] = 0;
_root.drs = 1;
_root.goldshu = 1;
_root.gun = 1;
_root.power.dy1 = _root.dya;
_root.power.dy2 = _root.dyb;
_root.power.dy3 = _root.dyc;
_root.power.dy4 = _root.dyd;
if (_root.speednum > 11) {
_root.speednum = 11;
}
if (_root.attacknum > 15) {
_root.attacknum = 15;
}
if (_root.defendnum > 7) {
_root.defendnum = 7;
}
_root.rain.gotoAndStop(9);
_root.statemc.state.defend = _root.defendnum;
_root.statemc.state.attack = _root.attacknum;
_root.statemc.state.speed = _root.speednum;
_root.gameover.swapDepths(1019991);
_root.lvmc.gotoAndStop(_root.boylv);
_root.scoreMC.addscores(100);
scoreMC._visible = true;
talk.swapDepths(1008888);
guochang.swapDepths(2799);
_root.combo.swapDepths(48056);
_root.combo.swapDepths(7716);
go.swapDepths(97799);
statemc.swapDepths(78799);
_root.stage = 3;
_root.deadcount = 0;
stop();
boy._x = 200;
boy._y = 300;
boy.hp = 500;
bg._x = 520;
bg.gotoAndStop(6);
_root.lock = false;
delete onEnterFrame;
switch (_root.hard) {
case 1 :
_root.allenemy = 5;
_root.alived = 3;
i = 127;
while (i < 128) {
_root.attachMovie("red", "red1", shendu++);
_root.attachMovie("dhf", "dhf2", shendu++);
_root.attachMovie("dhf", "dhf1", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 127;
while (i < 133) {
_root.attachMovie("long", "dr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 12;
_root.alived = 6;
i = 127;
for(;;){
if (i >= 133) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box2._x = box2._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Instance of Symbol 1175 MovieClip [boy] "boy" in Frame 265
onClipEvent (load) {
speed = 4;
hp = 500;
exp = 0;
_root.lock = false;
_root.run = false;
_root.timerlock = false;
}
Instance of Symbol 1267 MovieClip [box] "box2" in Frame 265
onClipEvent (load) {
this.swapDepths(1660);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Frame 266
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 4;
i = 230;
while (i < 231) {
_root.attachMovie("dhf", "dhf1", shendu++);
_root.attachMovie("dhf", "dhf2", shendu++);
_root.attachMovie("dhf", "dhf3", shendu++);
_root.attachMovie("guang", "guangzid", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 230;
while (i < 236) {
_root.attachMovie("long", "dr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 12;
_root.alived = 6;
i = 230;
for(;;){
if (i >= 236) {
break;
}
_root.attachMovie("red", "dr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 0)) {
boy._x = 550;
box2._x = box2._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 0) {
nextFrame();
}
}
};
Frame 267
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 3;
i = 333;
while (i < 334) {
_root.attachMovie("dhf", "dhf1", shendu++);
_root.attachMovie("dhf2", "brbr", shendu++);
_root.attachMovie("dhf", "dhf2", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 333;
while (i < 339) {
_root.attachMovie("bangzi", "dr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 15;
_root.alived = 6;
i = 333;
for(;;){
if (i >= 336) {
break;
}
_root.attachMovie("bangzi", "dr" + i, shendu++);
_root.attachMovie("red", "drxr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -50)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box2._x = box2._x - boy.speed;
}
if (bg._x <= -50) {
_root.guochang.gotoAndStop(2);
}
}
};
Frame 268
_root.drs = 1;
_root.goldshu = 1;
stop();
box2.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 8;
_root.alived = 3;
i = 440;
while (i < 441) {
_root.attachMovie("dhf2", "brbr", shendu++);
_root.attachMovie("long2", "long1", shendu++);
_root.attachMovie("long2", "long2", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 440;
while (i < 446) {
_root.attachMovie("red", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 15;
_root.alived = 6;
i = 440;
for(;;){
if (i >= 443) {
break;
}
_root.attachMovie("red", "drdd" + i, shendu++);
_root.attachMovie("bangzi", "drddio" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 200)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
}
if (bg._x <= 200) {
nextFrame();
}
}
};
Instance of Symbol 1267 MovieClip [box] "box3" in Frame 268
onClipEvent (load) {
this.swapDepths(1260);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Frame 269
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 7;
_root.alived = 3;
i = 44;
while (i < 45) {
_root.attachMovie("dhf", "dhf1", shendu++);
_root.attachMovie("dhf2", "brbr", shendu++);
_root.attachMovie("guang", "guangzid", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 44;
while (i < 46) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 20;
_root.alived = 6;
i = 44;
for(;;){
if (i >= 46) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("red", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -100)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
}
if (bg._x <= -100) {
nextFrame();
}
}
};
Frame 270
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
_root.allenemy = 6;
_root.alived = 4;
var i = 119;
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("dhf2", "brbr", shendu++);
_root.attachMovie("yellow", "yellow" + i, shendu++);
_root.attachMovie("yellow", "yelloww" + i, shendu++);
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -350)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
}
if (bg._x <= -300) {
nextFrame();
}
}
};
Frame 271
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
_root.talk.gotoAndPlay("final");
_root.lock = true;
Instance of Symbol 2296 MovieClip "qtzjz" in Frame 271
onClipEvent (load) {
this.swapDepths(shendu++);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(_parent._y + 5));
}
Frame 272
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.qtzjz.gotoAndStop(2);
_root.deadcount = 0;
_root.allenemy = 6;
_root.alived = 2;
i = 52;
while (i < 53) {
_root.attachMovie("dhf", "dhf1", shendu++);
i++;
}
_root.attachMovie("qtz", "brbr", shendu++);
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
nextFrame();
}
};
Instance of Symbol 1267 MovieClip [box] "box1" in Frame 272
onClipEvent (load) {
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(this._y - 45));
}
Frame 273
_root.hq.removeMovieClip;
_root.drs = 1;
_root.goldshu = 1;
delete onEnterFrame;
talk.play();
stop();
_root.deadcount = 0;
_root.stage = 5;
Frame 276
_root.attachMovie("hq", "hq", shendu++);
_root.wuqiarray[0] = 0;
_root.wuqiarray[1] = 0;
_root.wuqiarray[2] = 0;
_root.wuqiarray[3] = 0;
_root.feng.gotoAndPlay(1);
_root.drs = 1;
_root.goldshu = 1;
_root.power.dy1 = _root.dya;
_root.power.dy2 = _root.dyb;
_root.power.dy3 = _root.dyc;
_root.power.dy4 = _root.dyd;
_root.gun = 1;
_root.rain.removeMovieClip();
_root.rain.gotoAndStop(9);
_root.gameover.swapDepths(1019295);
delete onEnterFrame;
_root.scoreMC.addscores(100);
scoreMC._visible = true;
talk.swapDepths(1008573);
_root.combo._visible = true;
_root.combo.swapDepths(21096);
guochang.swapDepths(1199);
go.swapDepths(1284199);
statemc.swapDepths(1296);
_root.stage = 5;
_root.lvmc.gotoAndStop(_root.boylv);
_root.deadcount = 0;
stop();
boy._x = 200;
boy._y = 300;
boy.hp = 100;
bg._x = 520;
bg.gotoAndStop(8);
_root.lock = false;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 4;
i = 127;
while (i < 131) {
_root.attachMovie("yellowf", "dr" + i, shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 127;
while (i < 133) {
_root.attachMovie("long", "dr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 12;
_root.alived = 6;
i = 127;
for(;;){
if (i >= 133) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box1._x = box1._x - boy.speed;
box2._x = box2._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Instance of Symbol 1175 MovieClip [boy] "boy" in Frame 276
onClipEvent (load) {
speed = 4;
hp = 500;
exp = 0;
_root.lock = false;
_root.run = false;
_root.timerlock = false;
}
Instance of Symbol 2303 MovieClip in Frame 276
onClipEvent (enterFrame) {
_root.boy._x = _root.boy._x - 1;
}
Instance of Symbol 2309 MovieClip "feng" in Frame 276
onClipEvent (load) {
this.swapDepths(1121332);
}
Frame 277
_root.drs = 1;
_root.goldshu = 1;
_root.rain.removeMovieClip();
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 4;
i = 230;
while (i < 234) {
_root.attachMovie("fox", "dr" + i, shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 12;
_root.alived = 6;
i = 230;
while (i < 236) {
_root.attachMovie("long", "dr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 15;
_root.alived = 6;
i = 230;
for(;;){
if (i >= 236) {
break;
}
_root.attachMovie("red", "dr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 0)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 0) {
nextFrame();
}
}
};
Frame 278
_root.drs = 1;
_root.goldshu = 1;
_root.rain.removeMovieClip();
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 5;
_root.alived = 3;
i = 333;
while (i < 334) {
_root.attachMovie("bangzi", "bangzi1", shendu++);
_root.attachMovie("bangzi", "bangzi2", shendu++);
_root.attachMovie("bangzi", "bangzi3", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 12;
_root.alived = 5;
i = 333;
while (i < 338) {
_root.attachMovie("yellow", "dr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 15;
_root.alived = 6;
i = 333;
for(;;){
if (i >= 336) {
break;
}
_root.attachMovie("long", "dr" + i, shendu++);
_root.attachMovie("red", "drxr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -50)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= -50) {
_root.guochang.gotoAndStop(2);
}
}
};
Frame 279
_root.drs = 1;
_root.goldshu = 1;
_root.rain.removeMovieClip();
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 4;
_root.alived = 4;
i = 440;
while (i < 441) {
_root.attachMovie("bangzi", "bangzi1", shendu++);
_root.attachMovie("bangzi", "bangzi2", shendu++);
_root.attachMovie("bangzi", "bangzi3", shendu++);
_root.attachMovie("bangzi", "bangzi4", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 440;
while (i < 446) {
_root.attachMovie("yellow", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 15;
_root.alived = 6;
i = 440;
for(;;){
if (i >= 443) {
break;
}
_root.attachMovie("red", "drdd" + i, shendu++);
_root.attachMovie("long", "drddio" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 200)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 200) {
nextFrame();
}
}
};
Frame 280
_root.drs = 1;
_root.goldshu = 1;
_root.rain.removeMovieClip();
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 4;
i = 44;
while (i < 46) {
_root.attachMovie("yellowf", "drdrd" + i, shendu++);
_root.attachMovie("yellowf", "drdd" + i, shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 15;
_root.alived = 6;
i = 44;
while (i < 46) {
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("guang", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 20;
_root.alived = 6;
i = 44;
for(;;){
if (i >= 46) {
break;
}
_root.attachMovie("yellow", "dr" + i, shendu++);
_root.attachMovie("red", "drdrd" + i, shendu++);
_root.attachMovie("long", "drdd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -100)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= -100) {
nextFrame();
}
}
};
Frame 281
_root.drs = 1;
_root.goldshu = 1;
_root.rain.removeMovieClip();
stop();
delete onEnterFrame;
_root.deadcount = 0;
talk.gotoAndPlay("15guan");
_root.lock = true;
Instance of Symbol 2313 MovieClip "laofox" in Frame 281
onClipEvent (load) {
this.swapDepths(shendu++);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(_parent._y + 55));
}
Frame 282
_root.drs = 1;
_root.goldshu = 1;
_root.rain.removeMovieClip();
stop();
_root.laofox.removeMovieClip();
_root.laofox.unloadMovie();
_root.laofox.gotoAndStop(2);
_root.foxshu = 0;
_root.lbs = 0;
delete onEnterFrame;
_root.deadcount = 0;
_root.allenemy = 1;
_root.alived = 1;
_root.attachMovie("frboss", "fr", shendu++);
_root.attachMovie("foxc", "foxc", shendu++);
_root.attachMovie("foxa", "foxa", shendu++);
_root.attachMovie("foxb", "foxb", shendu++);
_root.attachMovie("foxd", "foxd", shendu++);
_root.attachMovie("foxc", "foxc", shendu++);
_root.frss._x = 380;
_root.frss._y = 160;
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
_root.feng.gotoAndStop("ting");
_root.hq.removeMovieClip;
_root.talk.gotoAndPlay("gaoding");
delete onEnterFrame;
}
};
Frame 283
_root.attachMovie("hq", "hq", shendu++);
if (_root.speednum > 11) {
_root.speednum = 11;
}
_root.wuqiarray[0] = 0;
_root.wuqiarray[1] = 0;
_root.wuqiarray[2] = 0;
_root.wuqiarray[3] = 0;
_root.drs = 1;
_root.goldshu = 1;
_root.gun = 1;
_root.power.dy1 = _root.dya;
_root.power.dy2 = _root.dyb;
_root.power.dy3 = _root.dyc;
_root.power.dy4 = _root.dyd;
s = 0;
_root.gameover.swapDepths(1019992);
guochang.swapDepths(829);
go.swapDepths(892999);
statemc.swapDepths(8796);
_root.combo.swapDepths(28096);
_root.lvmc.gotoAndStop(_root.boylv);
_root.stage = 55;
_root.deadcount = 0;
_root.allenemy = 15;
_root.alived = 6;
_root.bg.gotoAndStop("5g");
_root.scoreMC.addscores(100);
scoreMC._visible = true;
talk.swapDepths(1018576);
talk.swapDepths(_root.getNextHighestDepth());
stop();
boy._x = 200;
boy._y = 150;
boy.hp = 100;
bg._x = 530;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 5;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("slb", "brbr", shendu++);
_root.attachMovie("xxg2", "xxg1", shendu++);
_root.attachMovie("xxg2", "xxg2", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("long", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 16;
for(;;){
if (i >= 17) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("yellow", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
box3._x = box3._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Frame 284
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.sha = true;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 5;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("xxg2", "xxg3", shendu++);
_root.attachMovie("xxg2", "xxg1", shendu++);
_root.attachMovie("xxg2", "xxg2", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("long", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 16;
for(;;){
if (i >= 17) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("yellow", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 0)) {
boy._x = 550;
box3._x = box3._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 0) {
nextFrame();
}
}
};
Frame 285
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.sha = true;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 4;
i = 20;
while (i < 21) {
_root.attachMovie("slb", "brbr", shendu++);
_root.attachMovie("xxg2", "xxg1", shendu++);
_root.attachMovie("xxg2", "xxg2", shendu++);
_root.attachMovie("xxg2", "xxg3", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 12;
_root.alived = 6;
i = 20;
while (i < 22) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "dr11dd" + i, shendu++);
_root.attachMovie("yellow", "dd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
i = 20;
for(;;){
if (i >= 22) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "dr11dd" + i, shendu++);
_root.attachMovie("yellow", "dd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -325)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
}
if (bg._x <= -325) {
_root.guochang.gotoAndStop(2);
}
}
};
Frame 286
_root.drs = 1;
_root.goldshu = 1;
stop();
box3.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.alived = 3;
_root.allenemy = 6;
i = 105;
while (i < 106) {
_root.attachMovie("long", "long1", shendu++);
_root.attachMovie("dhf", "dhf1", shendu++);
_root.attachMovie("slb", "brbr", shendu++);
i++;
}
break;
case 2 :
_root.alived = 4;
_root.allenemy = 10;
i = 105;
while (i < 109) {
_root.attachMovie("red", "drs" + i, shendu++);
i++;
}
break;
case 3 :
_root.alived = 5;
_root.allenemy = 13;
i = 105;
while (i < 109) {
_root.attachMovie("bangzi", "drs" + i, shendu++);
i++;
}
_root.attachMovie("boss1", "drs678", shendu++);
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Frame 287
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 8;
_root.alived = 4;
i = 109;
while (i < 110) {
_root.attachMovie("dhf2", "brbr", shendu++);
_root.attachMovie("xxg2", "xxg1", shendu++);
_root.attachMovie("xxg2", "xxg2", shendu++);
_root.attachMovie("xxg2", "xxg3", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 109;
while (i < 111) {
_root.attachMovie("guang", "dr34dd" + i, shendu++);
_root.attachMovie("yellow", "drdcaod" + i, shendu++);
_root.attachMovie("long", "drdsbd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
i = 109;
for(;;){
if (i >= 111) {
break;
}
_root.attachMovie("guang", "dr34dd" + i, shendu++);
_root.attachMovie("yellow", "drdcaod" + i, shendu++);
_root.attachMovie("long", "drdsbd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -100)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= -30) {
nextFrame();
}
}
};
Frame 288
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.lock = true;
delete onEnterFrame;
_root.deadcount = 0;
_root.stage = 25;
talk.gotoAndPlay("5guan");
Instance of Symbol 2322 MovieClip "maomao" in Frame 288
onClipEvent (load) {
this.swapDepths(shendu++);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(_parent._y + 55));
}
Frame 289
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.brsi = 0;
delete onEnterFrame;
_root.deadcount = 0;
_root.maomao.removeMovieClip();
_root.maomao.unloadMovie();
_root.maomao.gotoAndStop(2);
switch (_root.hard) {
case 1 :
_root.allenemy = 8;
_root.alived = 2;
i = 24;
while (i < 25) {
_root.attachMovie("slb", "brbr", shendu++);
i++;
}
_root.attachMovie("cat", "guangzid", shendu++);
break;
case 2 :
_root.allenemy = 15;
_root.alived = 7;
i = 24;
while (i < 26) {
_root.attachMovie("long", "d23r" + i, shendu++);
_root.attachMovie("bangzi", "drdr111d" + i, shendu++);
_root.attachMovie("red", "dr11dd" + i, shendu++);
i++;
}
_root.attachMovie("gunzi", "aaaddbspp", shendu++);
break;
case 3 :
_root.allenemy = 20;
_root.alived = 7;
i = 24;
while (i < 26) {
_root.attachMovie("yellow", "d23r" + i, shendu++);
_root.attachMovie("bangzi", "drdr111d" + i, shendu++);
_root.attachMovie("red", "dr11dd" + i, shendu++);
i++;
}
_root.attachMovie("gunzi", "aaaddbspp", shendu++);
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
nextFrame();
}
};
Frame 290
_root.hq.removeMovieClip();
_root.boy._visible = false;
_root.boss5p.gotoAndStop(2);
_root.power._visible = false;
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.stage = 6;
_root.lock = true;
delete onEnterFrame;
talk.gotoAndPlay("gaoding5g");
Frame 291
if (_root.speednum > 11) {
_root.speednum = 11;
}
_root.wuqiarray[0] = 0;
_root.wuqiarray[1] = 0;
_root.wuqiarray[2] = 0;
_root.wuqiarray[3] = 0;
_root.drs = 1;
_root.goldshu = 1;
_root.gun = 1;
_root.power.dy1 = _root.dya;
_root.power.dy2 = _root.dyb;
_root.power.dy3 = _root.dyc;
_root.power.dy4 = _root.dyd;
s = 0;
_root.gameover.swapDepths(1019992);
guochang.swapDepths(829);
go.swapDepths(892999);
statemc.swapDepths(8796);
_root.combo.swapDepths(28096);
_root.lvmc.gotoAndStop(_root.boylv);
_root.stage = 6;
_root.deadcount = 0;
_root.allenemy = 15;
_root.alived = 6;
_root.bg.gotoAndStop("6g");
_root.scoreMC.addscores(100);
scoreMC._visible = true;
talk.swapDepths(1028576);
talk.swapDepths(_root.getNextHighestDepth());
stop();
boy._x = 200;
boy._y = 150;
boy.hp = 100;
bg._x = 530;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 6;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("xxg2", "xxg1", shendu++);
_root.attachMovie("xxg2", "xxg2", shendu++);
_root.attachMovie("xxg", "xxg3", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("long", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 16;
for(;;){
if (i >= 17) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("yellow", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
box3._x = box3._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Instance of Symbol 1175 MovieClip [boy] "boy" in Frame 291
onClipEvent (load) {
speed = 4;
hp = 500;
exp = 0;
_root.lock = false;
_root.run = false;
_root.timerlock = false;
}
Frame 292
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.sha = true;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("red", "red1", shendu++);
_root.attachMovie("red", "red2", shendu++);
_root.attachMovie("xxg", "xxg1", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 7;
_root.alived = 3;
i = 16;
while (i < 17) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("long", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 10;
_root.alived = 3;
i = 16;
for(;;){
if (i >= 17) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("yellow", "drdr11" + i, shendu++);
_root.attachMovie("bangzi", "dr11ddr" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 0)) {
boy._x = 550;
box3._x = box3._x - boy.speed;
_root.bg._x = _root.bg._x - boy.speed;
}
if (bg._x <= 0) {
nextFrame();
}
}
};
Frame 293
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.sha = true;
_root.lock = false;
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 7;
_root.alived = 4;
i = 20;
while (i < 21) {
_root.attachMovie("dhf3", "dhf1", shendu++);
_root.attachMovie("dhf", "dhf4", shendu++);
_root.attachMovie("xxg", "xxg1", shendu++);
_root.attachMovie("dhf", "dhf3", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 12;
_root.alived = 6;
i = 20;
while (i < 22) {
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "dr11dd" + i, shendu++);
_root.attachMovie("yellow", "dd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
i = 20;
for(;;){
if (i >= 22) {
break;
}
_root.attachMovie("long", "drdr111d" + i, shendu++);
_root.attachMovie("guang", "dr11dd" + i, shendu++);
_root.attachMovie("yellow", "dd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -325)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
}
if (bg._x <= -325) {
_root.guochang.gotoAndStop(2);
}
}
};
Frame 294
_root.drs = 1;
_root.goldshu = 1;
stop();
box3.removeMovieClip();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.alived = 4;
_root.allenemy = 7;
i = 105;
while (i < 106) {
_root.attachMovie("slb", "brbr", shendu++);
_root.attachMovie("guang", "guangzid", shendu++);
_root.attachMovie("xxg", "xxg1", shendu++);
_root.attachMovie("dhf", "dhf4", shendu++);
i++;
}
break;
case 2 :
_root.alived = 4;
_root.allenemy = 10;
i = 105;
while (i < 109) {
_root.attachMovie("red", "drs" + i, shendu++);
i++;
}
break;
case 3 :
_root.alived = 5;
_root.allenemy = 13;
i = 105;
while (i < 109) {
_root.attachMovie("bangzi", "drs" + i, shendu++);
i++;
}
_root.attachMovie("boss1", "drs678", shendu++);
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > 250)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= 250) {
nextFrame();
}
}
};
Frame 295
_root.drs = 1;
_root.goldshu = 1;
stop();
delete onEnterFrame;
_root.deadcount = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 8;
_root.alived = 4;
i = 109;
while (i < 110) {
_root.attachMovie("dhf2", "dhf1", shendu++);
_root.attachMovie("dhf", "dhf4", shendu++);
_root.attachMovie("dhf", "dhf5", shendu++);
_root.attachMovie("xxg", "xxg3", shendu++);
i++;
}
break;
case 2 :
_root.allenemy = 10;
_root.alived = 6;
i = 109;
while (i < 111) {
_root.attachMovie("guang", "dr34dd" + i, shendu++);
_root.attachMovie("yellow", "drdcaod" + i, shendu++);
_root.attachMovie("long", "drdsbd" + i, shendu++);
i++;
}
break;
case 3 :
_root.allenemy = 16;
_root.alived = 6;
i = 109;
for(;;){
if (i >= 111) {
break;
}
_root.attachMovie("guang", "dr34dd" + i, shendu++);
_root.attachMovie("yellow", "drdcaod" + i, shendu++);
_root.attachMovie("long", "drdsbd" + i, shendu++);
i++;
};
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
go.gotoAndStop(2);
_root.maplock = false;
if ((boy._x > 550) && (bg._x > -100)) {
boy._x = 550;
_root.bg._x = _root.bg._x - boy.speed;
box3._x = box3._x - boy.speed;
box4._x = box4._x - boy.speed;
}
if (bg._x <= -30) {
nextFrame();
}
}
};
Frame 296
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.lock = true;
delete onEnterFrame;
_root.deadcount = 0;
_root.stage = 61;
talk.gotoAndPlay("6guan");
Instance of Symbol 2326 MovieClip "brhemm" in Frame 296
onClipEvent (load) {
this.swapDepths(shendu++);
}
onClipEvent (enterFrame) {
this.swapDepths(Math.floor(_parent._y + 55));
}
Frame 297
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.brsi = 0;
delete onEnterFrame;
_root.deadcount = 0;
_root.brhemm.removeMovieClip();
_root.brhemm.unloadMovie();
_root.brhemm.gotoAndStop(2);
_root.maosi = 0;
switch (_root.hard) {
case 1 :
_root.allenemy = 2;
_root.alived = 2;
i = 24;
while (i < 25) {
_root.attachMovie("gunzi", "gunzi", shendu++);
i++;
}
_root.attachMovie("br3", "brbr", shendu++);
break;
case 2 :
_root.allenemy = 15;
_root.alived = 7;
i = 24;
while (i < 26) {
_root.attachMovie("long", "d23r" + i, shendu++);
_root.attachMovie("bangzi", "drdr111d" + i, shendu++);
_root.attachMovie("red", "dr11dd" + i, shendu++);
i++;
}
_root.attachMovie("gunzi", "aaaddbspp", shendu++);
break;
case 3 :
_root.allenemy = 20;
_root.alived = 7;
i = 24;
while (i < 26) {
_root.attachMovie("yellow", "d23r" + i, shendu++);
_root.attachMovie("bangzi", "drdr111d" + i, shendu++);
_root.attachMovie("red", "dr11dd" + i, shendu++);
i++;
}
_root.attachMovie("gunzi", "aaaddbspp", shendu++);
}
onEnterFrame = function () {
if (_root.deadcount >= _root.allenemy) {
nextFrame();
}
};
Frame 298
_root.hq.removeMovieClip;
_root.boss6p.gotoAndStop(2);
_root.power._visible = false;
_root.boy._visible = false;
_root.drs = 1;
_root.goldshu = 1;
stop();
_root.stage = 8;
_root.lock = true;
delete onEnterFrame;
talk.gotoAndPlay("gaoding6g");
Symbol 7 MovieClip [FWAd_AS2] Frame 1
#initclip 2
Object.registerClass("FWAd_AS2", FWAd_AS2);
#endinitclip
Symbol 10 MovieClip Frame 21
gotoAndPlay (1);
Symbol 28 MovieClip [power] Frame 1
stop();
Symbol 28 MovieClip [power] Frame 5
stop();
Symbol 28 MovieClip [power] Frame 10
stop();
Symbol 28 MovieClip [power] Frame 15
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 6
stop();
Symbol 94 MovieClip Frame 5
stop();
Symbol 103 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 57 MovieClip "shoushang" in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 61 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.shoushang.gotoAndStop(1);
}
Instance of Symbol 71 MovieClip in Symbol 103 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_parent.shoushang.gotoAndStop(2);
}
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.gongji3.hit)) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.gongji4.hit)) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.pao.hit)) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.boy.bisha.move)) {
this.gotoAndPlay(2);
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(3);
} else if (this.hitTest(_root.bomb.lei.bo)) {
_root.bomb.gotoAndStop(2);
}
}
Symbol 103 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 73 MovieClip in Symbol 103 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 1;
} else {
_parent._parent._x = _parent._parent._x - 1;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 30) && (Math.abs(_parent._parent._x - x) < 65)) {
_parent.gotoAndPlay(39);
}
}
}
Symbol 103 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 61 MovieClip in Symbol 103 MovieClip Frame 34
onClipEvent (enterFrame) {
_parent.shoushang.gotoAndStop(1);
}
Symbol 103 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 103 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 109) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 103 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 81 MovieClip in Symbol 103 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Instance of Symbol 57 MovieClip "shoushang" in Symbol 103 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 103 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Symbol 103 MovieClip Frame 69
_root.addrocket();
Symbol 103 MovieClip Frame 128
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 103 MovieClip Frame 129
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 103 MovieClip Frame 151
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 103 MovieClip Frame 166
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Instance of Symbol 98 MovieClip "bo" in Symbol 103 MovieClip Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 103 MovieClip Frame 186
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 98 MovieClip "bo" in Symbol 103 MovieClip Frame 232
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 103 MovieClip Frame 237
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 98 MovieClip "bo" in Symbol 103 MovieClip Frame 296
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 103 MovieClip Frame 302
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 108 MovieClip [qtz] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 108 MovieClip [qtz] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 433;
_parent._y = 82;
hp = 300;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 109 MovieClip [qtzbf] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 109 MovieClip [qtzbf] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 433;
_parent._y = 82;
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 123 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 57 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 123 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 73 MovieClip in Symbol 123 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 1;
} else {
_parent._parent._x = _parent._parent._x - 1;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 30) && (Math.abs(_parent._parent._x - x) < 65)) {
_parent.gotoAndPlay(39);
}
}
}
Symbol 123 MovieClip Frame 33
gotoAndPlay (1);
Symbol 123 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 123 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 109) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 123 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 81 MovieClip in Symbol 123 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Instance of Symbol 57 MovieClip in Symbol 123 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 123 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 55 MovieClip in Symbol 123 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 123 MovieClip Frame 53
_root.addrocket();
Symbol 123 MovieClip Frame 58
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 123 MovieClip Frame 59
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 123 MovieClip Frame 81
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (97);
}
Symbol 123 MovieClip Frame 96
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Instance of Symbol 98 MovieClip "bo" in Symbol 123 MovieClip Frame 110
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 123 MovieClip Frame 116
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 98 MovieClip "bo" in Symbol 123 MovieClip Frame 162
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 123 MovieClip Frame 167
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 98 MovieClip "bo" in Symbol 123 MovieClip Frame 226
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 123 MovieClip Frame 232
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 57 MovieClip in Symbol 123 MovieClip Frame 233
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 123 MovieClip Frame 233
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 123 MovieClip Frame 265
gotoAndPlay (1);
Symbol 124 MovieClip [dhf2] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 124 MovieClip [dhf2] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 125 MovieClip [dhf2bf] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 125 MovieClip [dhf2bf] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 130 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 57 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 130 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 73 MovieClip in Symbol 130 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 30) && (Math.abs(_parent._parent._x - x) < 65)) {
_parent.gotoAndPlay(39);
}
}
}
Symbol 130 MovieClip Frame 33
gotoAndPlay (1);
Symbol 130 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 130 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 109) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 130 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 81 MovieClip in Symbol 130 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 5;
} else {
_parent._parent._x = _parent._parent._x - 5;
}
}
Instance of Symbol 57 MovieClip in Symbol 130 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 130 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 55 MovieClip in Symbol 130 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 55 MovieClip in Symbol 130 MovieClip Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (6 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (6 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Symbol 130 MovieClip Frame 58
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 130 MovieClip Frame 59
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 130 MovieClip Frame 81
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (97);
}
Symbol 130 MovieClip Frame 96
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Instance of Symbol 98 MovieClip "bo" in Symbol 130 MovieClip Frame 110
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 130 MovieClip Frame 116
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 98 MovieClip "bo" in Symbol 130 MovieClip Frame 162
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 130 MovieClip Frame 167
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 98 MovieClip "bo" in Symbol 130 MovieClip Frame 226
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 130 MovieClip Frame 232
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 57 MovieClip in Symbol 130 MovieClip Frame 233
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 130 MovieClip Frame 233
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 130 MovieClip Frame 265
gotoAndPlay (1);
Symbol 131 MovieClip [dhf] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 131 MovieClip [dhf] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 132 MovieClip [dhfbf] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 132 MovieClip [dhfbf] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 180 MovieClip Frame 5
stop();
Symbol 183 MovieClip Frame 6
stop();
Symbol 184 MovieClip [mapi] Frame 2
gotoAndPlay (1);
Symbol 184 MovieClip [mapi] Frame 22
_parent.unloadMovie();
Symbol 184 MovieClip [mapi] Frame 23
Symbol 184 MovieClip [mapi] Frame 24
Symbol 191 MovieClip Frame 5
stop();
Symbol 200 MovieClip [stonebox] Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 200 MovieClip [stonebox] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit)) {
_parent.gotoAndPlay(2);
}
}
Symbol 200 MovieClip [stonebox] Frame 17
if (_root.bounce == false) {
play();
} else {
this.removeMovieClip();
}
Symbol 200 MovieClip [stonebox] Frame 18
a = 1;
gotoAndStop(_currentframe + a);
Instance of Symbol 193 MovieClip in Symbol 200 MovieClip [stonebox] Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy)) {
}
}
Instance of Symbol 197 MovieClip in Symbol 200 MovieClip [stonebox] Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.yingzi)) {
_root.findfood.start(0, 1);
_root.attachMovie("hpup", "hpup", _root.i + 10100);
_root.hpup._x = _root.boy._x + 10;
_root.hpup._y = _root.boy._y;
_root.boy.hp = _root.boy.hp + (100 - hp);
removeMovieClip(_parent);
}
}
Instance of Symbol 198 MovieClip in Symbol 200 MovieClip [stonebox] Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy)) {
}
}
Instance of Symbol 199 MovieClip in Symbol 200 MovieClip [stonebox] Frame 21
onClipEvent (enterFrame) {
if (((Math.abs(_parent._parent._y - _root.boy._y) < 30) && (Math.abs(_parent._parent._x - _root.boy._x) < 30)) && (Key.isDown(74))) {
}
}
Symbol 212 MovieClip Frame 5
stop();
Symbol 238 MovieClip [wtouqs] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 205 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 206 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("dao");
}
}
Symbol 238 MovieClip [wtouqs] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
play();
}
Instance of Symbol 207 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 130));
y = (_root.boy._y - a) - 20;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 40) || (Math.abs(_parent._parent._x - x) > 70)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 5;
} else {
_parent._parent._x = _parent._parent._x - 5;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else if (_parent._parent._y > y) {
_parent._parent._y = _parent._parent._y - 1;
} else {
_parent._parent._y = y;
}
} else if ((a > 0) && (a < 40)) {
_parent.gotoAndPlay(41);
} else {
_parent.gotoAndPlay(41);
}
}
Symbol 238 MovieClip [wtouqs] Frame 33
gotoAndPlay (1);
Symbol 238 MovieClip [wtouqs] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Symbol 238 MovieClip [wtouqs] Frame 40
c = random(3);
if (c == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
Instance of Symbol 210 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 40
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 6;
} else {
_parent._parent._x = _parent._parent._x - 6;
}
}
Instance of Symbol 205 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 45
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 205 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 5;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 5;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 238 MovieClip [wtouqs] Frame 52
c = random(3);
if (c == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (41);
}
Instance of Symbol 205 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 53
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 238 MovieClip [wtouqs] Frame 75
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (92);
}
Symbol 238 MovieClip [wtouqs] Frame 90
b = random(2);
if (b == 0) {
gotoAndPlay (41);
} else {
gotoAndPlay (1);
}
Symbol 238 MovieClip [wtouqs] Frame 106
_root.boy.exp = _root.boy.exp + (10 - _root.boylv);
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_parent.removeMovieClip();
Instance of Symbol 206 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 206 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 205 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 142
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp + 5;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp + 5;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 205 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 144
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp + 5;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp + 5;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 206 MovieClip in Symbol 238 MovieClip [wtouqs] Frame 155
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("dao");
}
}
Symbol 238 MovieClip [wtouqs] Frame 169
c = random(3);
if (c == 0) {
gotoAndPlay (41);
} else if (c == 1) {
gotoAndPlay ("sha");
} else if (c == 2) {
gotoAndPlay (1);
}
Symbol 241 MovieClip [dadaowt] Frame 1
stop();
Instance of Symbol 240 MovieClip "xuechao" in Symbol 241 MovieClip [dadaowt] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
_parent.swapDepths(Math.floor(_parent._y + 65));
}
Symbol 337 MovieClip Frame 6
stop();
Symbol 339 MovieClip [foxbodya] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 258 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 1
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Symbol 339 MovieClip [foxbodya] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 3;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 2;
} else {
_parent._parent._y = _parent._parent._y - 2;
}
if ((Math.abs(_parent._parent._y - y) < 70) && (Math.abs(_parent._parent._x - x) < 70)) {
b = random(2);
if (b == 0) {
_parent.gotoAndPlay(1);
} else {
_parent.gotoAndPlay(298);
}
}
}
}
Symbol 339 MovieClip [foxbodya] Frame 33
gotoAndPlay (1);
Symbol 339 MovieClip [foxbodya] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 339 MovieClip [foxbodya] Frame 38
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 339 MovieClip [foxbodya] Frame 72
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 73
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 30;
} else {
_parent._parent._x = _parent._parent._x + 30;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 339 MovieClip [foxbodya] Frame 95
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (111);
}
Symbol 339 MovieClip [foxbodya] Frame 110
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (298);
}
Symbol 339 MovieClip [foxbodya] Frame 126
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 3;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.foxshu = _root.foxshu + 1;
_root.addenemy();
_parent.removeMovieClip();
_parent.unloadMovie();
Symbol 339 MovieClip [foxbodya] Frame 177
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 3;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 228
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 339 MovieClip [foxbodya] Frame 276
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Instance of Symbol 59 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 277
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 303
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 81 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 303
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 20;
} else {
_parent._parent._x = _parent._parent._x - 20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
}
Instance of Symbol 258 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 303
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 317
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 339 MovieClip [foxbodya] Frame 320
a = random(1);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (298);
}
Symbol 339 MovieClip [foxbodya] Frame 335
gotoAndPlay (1);
Symbol 339 MovieClip [foxbodya] Frame 341
_parent._visible = false;
Instance of Symbol 260 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 341
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 1;
} else {
_parent._parent._x = _parent._parent._x - 1;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 339 MovieClip [foxbodya] Frame 341
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 339 MovieClip [foxbodya] Frame 349
stop();
Symbol 339 MovieClip [foxbodya] Frame 356
_parent._visible = true;
Symbol 339 MovieClip [foxbodya] Frame 369
gotoAndPlay (1);
Symbol 342 MovieClip [foxb] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 342 MovieClip [foxb] Frame 1
onClipEvent (load) {
_parent.cc.gotoAndPlay("xiaoshi");
_parent._x = ((random(2) == 0) ? 150 : 350);
_parent._y = random(400);
hp = 100;
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._y > 550) {
_parent._y = 550;
}
_parent.swapDepths(Math.floor(_parent._y + 35));
}
Symbol 343 MovieClip [foxbodyd] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 258 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 1
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Symbol 343 MovieClip [foxbodyd] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 3;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 2;
} else {
_parent._parent._y = _parent._parent._y - 2;
}
if ((Math.abs(_parent._parent._y - y) < 60) && (Math.abs(_parent._parent._x - x) < 50)) {
b = random(2);
if (b == 0) {
_parent.gotoAndPlay(1);
} else {
_parent.gotoAndPlay(298);
}
}
}
}
Symbol 343 MovieClip [foxbodyd] Frame 33
gotoAndPlay (1);
Symbol 343 MovieClip [foxbodyd] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 343 MovieClip [foxbodyd] Frame 38
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 100;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 343 MovieClip [foxbodyd] Frame 72
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 73
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 30;
} else {
_parent._parent._x = _parent._parent._x + 30;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 343 MovieClip [foxbodyd] Frame 95
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (111);
}
Symbol 343 MovieClip [foxbodyd] Frame 110
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (298);
}
Symbol 343 MovieClip [foxbodyd] Frame 126
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 3;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.foxshu++;
_root.addenemy();
_parent.removeMovieClip();
_parent.unloadMovie();
Symbol 343 MovieClip [foxbodyd] Frame 177
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 3;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 228
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 343 MovieClip [foxbodyd] Frame 276
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Instance of Symbol 59 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 277
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 303
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 81 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 303
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 20;
} else {
_parent._parent._x = _parent._parent._x - 20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
}
Instance of Symbol 258 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 303
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 317
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 343 MovieClip [foxbodyd] Frame 320
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (298);
}
Symbol 343 MovieClip [foxbodyd] Frame 335
gotoAndPlay (1);
Symbol 343 MovieClip [foxbodyd] Frame 341
_parent._visible = false;
Instance of Symbol 260 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 341
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 1;
} else {
_parent._parent._x = _parent._parent._x - 1;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 343 MovieClip [foxbodyd] Frame 341
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 343 MovieClip [foxbodyd] Frame 349
stop();
Symbol 343 MovieClip [foxbodyd] Frame 356
_parent._visible = true;
Symbol 343 MovieClip [foxbodyd] Frame 369
gotoAndPlay (1);
Symbol 344 MovieClip [foxd] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 344 MovieClip [foxd] Frame 1
onClipEvent (load) {
_parent.cc.gotoAndPlay("xiaoshi");
_parent._x = ((random(2) == 0) ? 100 : 400);
_parent._y = random(400);
hp = 100;
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._y > 550) {
_parent._y = 550;
}
_parent.swapDepths(Math.floor(_parent._y + 35));
}
Symbol 345 MovieClip [foxc] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 345 MovieClip [foxc] Frame 1
onClipEvent (load) {
_parent.cc.gotoAndPlay("xiaoshi");
_parent._x = ((random(2) == 0) ? 100 : 400);
_parent._y = random(400);
hp = 100;
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._y > 550) {
_parent._y = 550;
}
_parent.swapDepths(Math.floor(_parent._y + 35));
}
Symbol 346 MovieClip [foxa] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 346 MovieClip [foxa] Frame 1
onClipEvent (load) {
_parent.cc.gotoAndPlay("xiaoshi");
_parent._x = ((random(2) == 0) ? 100 : 400);
_parent._y = random(400);
hp = 100;
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
if (_parent._y > 120) {
_parent._y = 120;
}
if (_parent._y < -20) {
_parent._y = -20;
}
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._y > 550) {
_parent._y = 550;
}
_parent.swapDepths(Math.floor(_parent._y + 35));
}
Symbol 347 MovieClip [foxbody] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip in Symbol 347 MovieClip [foxbody] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 258 MovieClip in Symbol 347 MovieClip [foxbody] Frame 1
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Symbol 347 MovieClip [foxbody] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 347 MovieClip [foxbody] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 3;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 2;
} else {
_parent._parent._y = _parent._parent._y - 2;
}
if ((Math.abs(_parent._parent._y - y) < 40) && (Math.abs(_parent._parent._x - x) < 50)) {
b = random(2);
if (b == 0) {
_parent.gotoAndPlay(1);
} else {
_parent.gotoAndPlay(298);
}
}
}
}
Symbol 347 MovieClip [foxbody] Frame 33
gotoAndPlay (1);
Symbol 347 MovieClip [foxbody] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 347 MovieClip [foxbody] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 347 MovieClip [foxbody] Frame 38
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 347 MovieClip [foxbody] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 100;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 347 MovieClip [foxbody] Frame 72
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 73
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 30;
} else {
_parent._parent._x = _parent._parent._x + 30;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 347 MovieClip [foxbody] Frame 95
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (111);
}
Symbol 347 MovieClip [foxbody] Frame 110
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (298);
}
Symbol 347 MovieClip [foxbody] Frame 126
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 3;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Symbol 347 MovieClip [foxbody] Frame 177
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 3;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 228
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 347 MovieClip [foxbody] Frame 276
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
Instance of Symbol 59 MovieClip in Symbol 347 MovieClip [foxbody] Frame 277
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 100;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip in Symbol 347 MovieClip [foxbody] Frame 298
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 258 MovieClip in Symbol 347 MovieClip [foxbody] Frame 298
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 303
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 81 MovieClip in Symbol 347 MovieClip [foxbody] Frame 303
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 15;
} else {
_parent._parent._x = _parent._parent._x - 15;
}
}
Instance of Symbol 256 MovieClip in Symbol 347 MovieClip [foxbody] Frame 317
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 347 MovieClip [foxbody] Frame 320
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("pu");
}
Symbol 347 MovieClip [foxbody] Frame 335
gotoAndPlay (1);
Symbol 348 MovieClip [fox] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 348 MovieClip [fox] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 384 MovieClip [boss4jx] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 365 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
if (_parent._parent._x < 0) {
_parent._parent._x = 0;
}
if (_parent._parent._x > 550) {
_parent._parent._x = 550;
}
}
Instance of Symbol 59 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Symbol 384 MovieClip [boss4jx] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 50) && (Math.abs(_parent._parent._x - x) < 60)) {
if (_root.dadaosi == false) {
_parent.gotoAndPlay(39);
} else if (_root.dadaosi == true) {
_parent.gotoAndPlay(141);
}
}
}
}
Symbol 384 MovieClip [boss4jx] Frame 33
gotoAndPlay (1);
Symbol 384 MovieClip [boss4jx] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((2 + _root.boylv) / 5);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((5 + _root.boylv) / 5);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 384 MovieClip [boss4jx] Frame 38
gotoAndPlay (1);
Symbol 384 MovieClip [boss4jx] Frame 39
var c = random(3);
if (c == 0) {
gotoAndPlay (141);
} else {
play();
}
Instance of Symbol 260 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 40
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 30;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y - 30;
} else {
_parent._parent._y = _parent._parent._y + 20;
}
}
}
Symbol 384 MovieClip [boss4jx] Frame 50
_parent._x = random(500);
Instance of Symbol 260 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 51
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 30;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y - 30;
} else {
_parent._parent._y = _parent._parent._y + 20;
}
}
}
Instance of Symbol 59 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Symbol 384 MovieClip [boss4jx] Frame 75
_root.dadaokll.xuechao.hp = _root.dadaokll.xuechao.hp + 400;
_root.dadaokll.dabu.gotoAndPlay(2);
if (_root.dadaokll.xuechao.hp > 500) {
_root.dadaokll.xuechao.hp = 500;
}
Symbol 384 MovieClip [boss4jx] Frame 86
gotoAndPlay (16);
Instance of Symbol 365 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 87
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 384 MovieClip [boss4jx] Frame 109
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (127);
}
Symbol 384 MovieClip [boss4jx] Frame 124
if (_root.dadaosi == false) {
gotoAndPlay (39);
} else if (_root.dadaosi == true) {
gotoAndPlay (141);
}
Symbol 384 MovieClip [boss4jx] Frame 127
_root.xiao.gotoAndPlay(2);
Symbol 384 MovieClip [boss4jx] Frame 140
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 8;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.boy.exp = _root.boy.exp + 12;
}
_root.kocount++;
_root.deadcount++;
_root.xqsi = 1;
_root.score = _root.score + 100;
_parent.removeMovieClip();
Instance of Symbol 365 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 145
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 59 MovieClip in Symbol 384 MovieClip [boss4jx] Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Symbol 385 MovieClip [gunzi2] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 385 MovieClip [gunzi2] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 300;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 389 MovieClip [guangwt] Frame 1
stop();
Instance of Symbol 388 MovieClip "xuechao" in Symbol 389 MovieClip [guangwt] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 452 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 411 MovieClip in Symbol 452 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 412 MovieClip in Symbol 452 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Symbol 452 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 413 MovieClip in Symbol 452 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 75) && (Math.abs(_parent._parent._x - x) < 80)) {
if (a > 10) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 452 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 411 MovieClip in Symbol 452 MovieClip Frame 34
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 452 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 452 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((2 + _root.boylv) / 3);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((5 + _root.boylv) / 3);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 452 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 412 MovieClip in Symbol 452 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 412 MovieClip in Symbol 452 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 413 MovieClip in Symbol 452 MovieClip Frame 44
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 35;
} else {
_parent._parent._x = _parent._parent._x - 35;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
}
}
Symbol 452 MovieClip Frame 55
_root.bg._x = _root.bg._x + 5;
_root.bg._y = _root.bg._y + 5;
Instance of Symbol 411 MovieClip in Symbol 452 MovieClip Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 452 MovieClip Frame 57
_root.bg._x = _root.bg._x - 7;
_root.bg._y = _root.bg._y - 7;
Instance of Symbol 412 MovieClip in Symbol 452 MovieClip Frame 57
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Symbol 452 MovieClip Frame 59
_root.bg._x = _root.bg._x + 1;
_root.bg._y = _root.bg._y + 1;
Symbol 452 MovieClip Frame 61
_root.bg._x = _root.bg._x + 1;
_root.bg._y = _root.bg._y + 1;
Symbol 452 MovieClip Frame 67
gotoAndPlay (1);
Instance of Symbol 411 MovieClip in Symbol 452 MovieClip Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 452 MovieClip Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (106);
}
Symbol 452 MovieClip Frame 105
gotoAndPlay (1);
Symbol 452 MovieClip Frame 121
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 8;
} else {
_root.expnum = _root.expnum + ((15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 12;
}
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
_root.box1.removeMovieClip;
stop();
Symbol 452 MovieClip Frame 140
_parent._visible = false;
_root.foxa.cc.gotoAndPlay("chuxian");
_root.foxd.cc.gotoAndPlay("chuxian");
_root.foxb.cc.gotoAndPlay("chuxian");
_root.foxc.cc.gotoAndPlay("chuxian");
Symbol 452 MovieClip Frame 143
Instance of Symbol 413 MovieClip in Symbol 452 MovieClip Frame 143
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
}
}
Instance of Symbol 411 MovieClip in Symbol 452 MovieClip Frame 143
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 452 MovieClip Frame 159
stop();
Symbol 452 MovieClip Frame 167
_parent._visible = true;
Symbol 452 MovieClip Frame 170
_root.foxd.cc.gotoAndPlay("xiaoshi");
_root.foxa.cc.gotoAndPlay("xiaoshi");
_root.foxb.cc.gotoAndPlay("xiaoshi");
_root.foxc.cc.gotoAndPlay("xiaoshi");
Symbol 452 MovieClip Frame 188
gotoAndPlay (1);
Symbol 452 MovieClip Frame 198
_parent.hp = 0;
gotoAndPlay (107);
Symbol 454 MovieClip Frame 1
Symbol 454 MovieClip Frame 39
stop();
Symbol 455 MovieClip [ss] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 455 MovieClip [ss] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 380;
_parent._y = 160;
hp = 50;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
_root.sun.gotoAndPlay(2);
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 466 MovieClip [47] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 411 MovieClip in Symbol 466 MovieClip [47] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 412 MovieClip in Symbol 466 MovieClip [47] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Symbol 466 MovieClip [47] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 413 MovieClip in Symbol 466 MovieClip [47] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 75) && (Math.abs(_parent._parent._x - x) < 80)) {
if (a > 10) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 466 MovieClip [47] Frame 33
gotoAndPlay (1);
Symbol 466 MovieClip [47] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 466 MovieClip [47] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((2 + _root.boylv) / 3);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((5 + _root.boylv) / 3);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 466 MovieClip [47] Frame 38
gotoAndPlay (1);
Instance of Symbol 412 MovieClip in Symbol 466 MovieClip [47] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 412 MovieClip in Symbol 466 MovieClip [47] Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 413 MovieClip in Symbol 466 MovieClip [47] Frame 44
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if (_parent._x < 20) {
_parent._x = 20;
}
if (_parent._x > 550) {
_parent._x = 550;
}
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 35;
} else {
_parent._parent._x = _parent._parent._x - 35;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
}
}
Symbol 466 MovieClip [47] Frame 55
_root.bg._x = _root.bg._x + 5;
_root.bg._y = _root.bg._y + 5;
Instance of Symbol 411 MovieClip in Symbol 466 MovieClip [47] Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Symbol 466 MovieClip [47] Frame 57
_root.bg._x = _root.bg._x - 7;
_root.bg._y = _root.bg._y - 7;
Symbol 466 MovieClip [47] Frame 59
_root.bg._x = _root.bg._x + 1;
_root.bg._y = _root.bg._y + 1;
Instance of Symbol 411 MovieClip in Symbol 466 MovieClip [47] Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Symbol 466 MovieClip [47] Frame 61
_root.bg._x = _root.bg._x + 1;
_root.bg._y = _root.bg._y + 1;
Symbol 466 MovieClip [47] Frame 67
gotoAndPlay (1);
Instance of Symbol 411 MovieClip in Symbol 466 MovieClip [47] Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 466 MovieClip [47] Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (106);
}
Symbol 466 MovieClip [47] Frame 105
gotoAndPlay (1);
Symbol 466 MovieClip [47] Frame 121
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 8;
} else {
_root.expnum = _root.expnum + ((15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 12;
}
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
_root.box1.removeMovieClip;
stop();
Symbol 466 MovieClip [47] Frame 140
_parent._visible = false;
_root.foxa.cc.gotoAndPlay("chuxian");
_root.foxd.cc.gotoAndPlay("chuxian");
_root.foxb.cc.gotoAndPlay("chuxian");
_root.foxc.cc.gotoAndPlay("chuxian");
Symbol 466 MovieClip [47] Frame 143
Instance of Symbol 413 MovieClip in Symbol 466 MovieClip [47] Frame 143
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
}
}
Instance of Symbol 411 MovieClip in Symbol 466 MovieClip [47] Frame 143
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 466 MovieClip [47] Frame 159
stop();
Symbol 466 MovieClip [47] Frame 167
_parent._visible = true;
Symbol 466 MovieClip [47] Frame 170
_root.foxd.cc.gotoAndPlay("xiaoshi");
_root.foxa.cc.gotoAndPlay("xiaoshi");
_root.foxb.cc.gotoAndPlay("xiaoshi");
_root.foxc.cc.gotoAndPlay("xiaoshi");
Symbol 466 MovieClip [47] Frame 188
gotoAndPlay (1);
Symbol 466 MovieClip [47] Frame 198
_parent.hp = 0;
gotoAndPlay (107);
Symbol 467 MovieClip Frame 173
_parent.cc.gotoAndPlay("huan");
Symbol 467 MovieClip Frame 372
_parent.cc.gotoAndPlay("hui");
Symbol 467 MovieClip Frame 390
this.gotoAndPlay(1);
Symbol 467 MovieClip Frame 394
_parent.cc.gotoAndPlay("hui");
Symbol 467 MovieClip Frame 404
stop();
Symbol 467 MovieClip Frame 405
this.removeMovieClip();
Symbol 468 MovieClip [frboss] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 468 MovieClip [frboss] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
if (_root.foxshu == 4) {
_parent.timer.gotoAndPlay(392);
_root.foxshu = 5;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 470 MovieClip [frss] Frame 1
onEnterFrame = function () {
this.swapDepths(Math.floor(_parent._y + 55));
if (_root.boss22.xuechao.hp == 0) {
_root.attachMovie("ss", "sss", _root.shendu++);
this.removeMovieClip();
}
};
stop();
Symbol 473 MovieClip Frame 21
_parent.removeMovieClip();
stop();
Instance of Symbol 473 MovieClip in Symbol 474 MovieClip [weiyan] Frame 1
onClipEvent (load) {
if (_root.rocket._xscale > 0) {
_parent._x = _root.rocket._x + 50;
_parent._y = _root.rocket._y;
} else if (_root.rocket._xscale < 0) {
_parent._x = _root.rocket._x - 70;
_parent._y = _root.rocket._y;
}
}
Symbol 486 MovieClip Frame 21
_parent.removeMovieClip();
stop();
Symbol 487 MovieClip [zdbwsd] Frame 1
stop();
Instance of Symbol 197 MovieClip in Symbol 487 MovieClip [zdbwsd] Frame 1
onClipEvent (load) {
_parent._xscale = 20;
_parent._yscale = 18;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.jiandx)) {
_parent.gotoAndStop(2);
}
if (_root.deadcount >= _root.allenemy) {
_parent.gotoAndStop(2);
}
}
Symbol 487 MovieClip [zdbwsd] Frame 2
_root.findfood.start(0, 1);
_root.power.dy3 = _root.power.dy3 + 3;
_root.dyc = _root.dyc + 3;
stop();
Symbol 495 MovieClip Frame 21
_parent.removeMovieClip();
stop();
Symbol 496 MovieClip [zdbwsl] Frame 1
stop();
Instance of Symbol 197 MovieClip in Symbol 496 MovieClip [zdbwsl] Frame 1
onClipEvent (load) {
_parent._xscale = 20;
_parent._yscale = 18;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.jiandx)) {
_parent.gotoAndStop(2);
}
if (_root.deadcount >= _root.allenemy) {
_parent.gotoAndStop(2);
}
}
Symbol 496 MovieClip [zdbwsl] Frame 2
_root.findfood.start(0, 1);
_root.power.dy2 = _root.power.dy2 + 2;
_root.dyb = _root.dyb + 2;
stop();
Symbol 500 MovieClip [jiazidan1] Frame 21
_parent.removeMovieClip();
stop();
Symbol 503 MovieClip [zdbw] Frame 1
stop();
Instance of Symbol 197 MovieClip in Symbol 503 MovieClip [zdbw] Frame 1
onClipEvent (load) {
_parent._xscale = 20;
_parent._yscale = 18;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.jiandx)) {
_parent.gotoAndStop(2);
}
if (_root.deadcount >= _root.allenemy) {
_parent.gotoAndStop(2);
}
}
Symbol 503 MovieClip [zdbw] Frame 2
_root.findfood.start(0, 1);
_root.power.dy1 = _root.power.dy1 + 10;
_root.dya = _root.dya + 5;
stop();
Symbol 515 MovieClip [leibaorocket] Frame 61
Instance of Symbol 98 MovieClip "bo" in Symbol 515 MovieClip [leibaorocket] Frame 61
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.rocket._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.rocket.removeMovieClip();
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 3) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
_root.rocket.removeMovieClip();
} else if ((_root.fangytime = 3)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
_root.rocket.removeMovieClip();
}
}
Instance of Symbol 98 MovieClip "bo" in Symbol 515 MovieClip [leibaorocket] Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.rocket._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.rocket.removeMovieClip();
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 3) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
_root.rocket.removeMovieClip();
} else if ((_root.fangytime = 3)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
_root.rocket.removeMovieClip();
}
}
Symbol 515 MovieClip [leibaorocket] Frame 63
Symbol 515 MovieClip [leibaorocket] Frame 65
Symbol 515 MovieClip [leibaorocket] Frame 67
Symbol 515 MovieClip [leibaorocket] Frame 68
_parent._parent.removeMovieClip();
_parent.removeMovieClip();
this.removeMovieClip();
_parent.unloadMovie();
this.unloadMovie();
Symbol 515 MovieClip [leibaorocket] Frame 69
_parent.removeMovieClip();
_root.rocket.removeMovieClip();
_root.rocket.unloadMovie();
Symbol 515 MovieClip [leibaorocket] Frame 80
stop();
Symbol 519 MovieClip Frame 1
Symbol 519 MovieClip Frame 2
cdtime = 0;
Symbol 519 MovieClip Frame 8
cdtime = 2;
Symbol 519 MovieClip Frame 15
cdtime = 3;
Symbol 519 MovieClip Frame 19
cdtime = 1;
stop();
Symbol 520 MovieClip [rocket] Frame 1
stop();
Instance of Symbol 517 MovieClip in Symbol 520 MovieClip [rocket] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(Math.floor(_parent._y + 15));
}
Instance of Symbol 515 MovieClip [leibaorocket] "lei" in Symbol 520 MovieClip [rocket] Frame 1
onClipEvent (load) {
_parent._x = _root.brbr._x;
_parent._y = _root.brbr._y + 50;
if (_root.brbr._xscale == 100) {
_parent._xscale = 100;
} else if (_root.brbr._xscale == -100) {
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_parent._x < _root.boy._x) {
_parent._x = _parent._x + (random(4) + 2);
_parent._xscale = -100;
} else if (_parent._x > _root.boy._x) {
_parent._x = _parent._x - (random(4) + 2);
_parent._xscale = 100;
}
if (_parent._y < _root.boy._y) {
_parent._y = _parent._y + (random(2) + 1);
} else if (_parent._y > _root.boy._y) {
_parent._y = _parent._y - (random(2) + 1);
}
if (_parent._x < 10) {
_parent._x = 10;
}
if (_parent._x > 580) {
_parent._x = 580;
}
if (_parent.jtime.cdtime == 0) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 3;
_parent._y = _parent._y - 3;
} else {
_parent._x = _parent._x - 2;
_parent._y = _parent._y - 2;
}
} else if (_parent.jtime.cdtime == 2) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 2;
_parent._y = _parent._y + 2;
} else {
_parent._x = _parent._x - 2;
_parent._y = _parent._y + 2;
}
} else if (_parent.jtime.cdtime == 3) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 1;
_parent._y = _parent._y + 1;
} else {
_parent._x = _parent._x - 1;
_parent._y = _parent._y + 1;
}
}
}
Symbol 524 MovieClip [dileibao2] Frame 61
Instance of Symbol 98 MovieClip "bo" in Symbol 524 MovieClip [dileibao2] Frame 61
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 3) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
_root.dibomb.removeMovieClip();
} else if ((_root.fangytime = 3)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
_root.dibomb.removeMovieClip();
}
}
Instance of Symbol 98 MovieClip "bo" in Symbol 524 MovieClip [dileibao2] Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.dibomb._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_root.dibomb.removeMovieClip();
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 3) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
_root.dibomb.removeMovieClip();
} else if ((_root.fangytime = 3)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
_root.dibomb.removeMovieClip();
}
}
Symbol 524 MovieClip [dileibao2] Frame 63
Symbol 524 MovieClip [dileibao2] Frame 65
Symbol 524 MovieClip [dileibao2] Frame 67
Symbol 524 MovieClip [dileibao2] Frame 68
_parent._parent.removeMovieClip();
_parent.removeMovieClip();
this.removeMovieClip();
_parent.unloadMovie();
this.unloadMovie();
Symbol 524 MovieClip [dileibao2] Frame 69
_root.dibomb.removeMovieClip();
_root.dibomb.unloadMovie();
Symbol 524 MovieClip [dileibao2] Frame 80
gotoAndStop (2);
stop();
Symbol 525 MovieClip [dibomb] Frame 1
stop();
Instance of Symbol 517 MovieClip in Symbol 525 MovieClip [dibomb] Frame 1
/* no clip actions */
Instance of Symbol 524 MovieClip [dileibao2] "lei" in Symbol 525 MovieClip [dibomb] Frame 1
onClipEvent (load) {
speed = 10;
_parent._x = _root.brbr._x;
_parent._y = _root.brbr._y + 120;
if (_root.brbr._xscale == 100) {
_parent._xscale = 100;
} else if (_root.brbr._xscale == -100) {
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_parent._x < 10) {
_parent._x = 10;
}
if (_parent._x > 580) {
_parent._x = 580;
}
if (_parent._y > 300) {
_parent._y = 300;
}
if (_parent.jtime.cdtime == 0) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 18;
_parent._y = _parent._y - 2;
} else {
_parent._x = _parent._x - 18;
_parent._y = _parent._y - 2;
}
} else if (_parent.jtime.cdtime == 2) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 15;
_parent._y = _parent._y + 6;
} else {
_parent._x = _parent._x - 15;
_parent._y = _parent._y + 6;
}
} else if (_parent.jtime.cdtime == 3) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 12;
_parent._y = _parent._y + 15;
} else {
_parent._x = _parent._x - 12;
_parent._y = _parent._y + 15;
}
}
_parent.swapDepths(Math.floor(_parent._y - 90));
}
Symbol 526 MovieClip Frame 61
Symbol 526 MovieClip Frame 63
Symbol 526 MovieClip Frame 65
Symbol 526 MovieClip Frame 67
Symbol 526 MovieClip Frame 70
_parent._parent.removeMovieClip();
_parent.removeMovieClip();
stop();
Symbol 529 MovieClip Frame 6
_parent.removeMovieClip();
stop();
Symbol 530 MovieClip [bomb] Frame 1
stop();
Instance of Symbol 517 MovieClip in Symbol 530 MovieClip [bomb] Frame 1
/* no clip actions */
Instance of Symbol 526 MovieClip "lei" in Symbol 530 MovieClip [bomb] Frame 1
onClipEvent (load) {
speed = 10;
_parent._x = _root.boy._x;
_parent._y = _root.boy._y + 5;
if (_root.boy._xscale == 100) {
_parent._xscale = 100;
} else if (_root.boy._xscale == -100) {
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_parent._x < 10) {
_parent._x = 10;
}
if (_parent._x > 580) {
_parent._x = 580;
}
if (_parent._y > 300) {
_parent._y = 300;
}
if (_parent.jtime.cdtime == 0) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 18;
_parent._y = _parent._y - 2;
} else {
_parent._x = _parent._x - 18;
_parent._y = _parent._y - 2;
}
} else if (_parent.jtime.cdtime == 2) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 15;
_parent._y = _parent._y + 6;
} else {
_parent._x = _parent._x - 15;
_parent._y = _parent._y + 6;
}
} else if (_parent.jtime.cdtime == 3) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + 12;
_parent._y = _parent._y + 15;
} else {
_parent._x = _parent._x - 12;
_parent._y = _parent._y + 15;
}
}
_parent.swapDepths(Math.floor(_parent._y - 90));
}
Symbol 530 MovieClip [bomb] Frame 2
stop();
Symbol 567 MovieClip [jqmkl] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 557 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 558 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 567 MovieClip [jqmkl] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Symbol 567 MovieClip [jqmkl] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 559 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 100) && (Math.abs(_parent._parent._x - x) < 95)) {
if (a > 5) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 567 MovieClip [jqmkl] Frame 33
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 567 MovieClip [jqmkl] Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Symbol 567 MovieClip [jqmkl] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Symbol 567 MovieClip [jqmkl] Frame 38
gotoAndPlay (1);
Instance of Symbol 560 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((2 + _root.boylv) / 3);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((5 + _root.boylv) / 3);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Instance of Symbol 558 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 559 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 45
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 5;
} else {
_parent._parent._y = _parent._parent._y - 5;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
}
Symbol 567 MovieClip [jqmkl] Frame 61
_root.adddizid();
Instance of Symbol 559 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 61
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x - 30;
} else {
_parent._parent._x = _parent._parent._x + 30;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 5;
} else {
_parent._parent._y = _parent._parent._y - 5;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
}
Symbol 567 MovieClip [jqmkl] Frame 78
g = random(3);
if (g == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 557 MovieClip in Symbol 567 MovieClip [jqmkl] Frame 79
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 567 MovieClip [jqmkl] Frame 95
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (118);
}
Symbol 567 MovieClip [jqmkl] Frame 117
g = random(2);
if (g == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
gotoAndPlay (39);
Symbol 567 MovieClip [jqmkl] Frame 131
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 8;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.boy.exp = _root.boy.exp + 10;
}
_root.kocount++;
_root.deadcount++;
_root.maosi = 1;
_root.score = _root.score + 100;
_root.addenemy();
_root.box1.removeMovieClip;
_parent.removeMovieClip();
stop();
Symbol 568 MovieClip [cat] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 568 MovieClip [cat] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 433;
_parent._y = 82;
hp = 400;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 615 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 592 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 79 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 593 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 615 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 595 MovieClip in Symbol 615 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 80) && (Math.abs(_parent._parent._x - x) < 90)) {
if (a > 80) {
_parent.gotoAndPlay("shoulei");
} else if ((a > 10) && (a < 80)) {
_parent.gotoAndPlay("shoulei");
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 615 MovieClip Frame 33
gotoAndPlay (1);
Symbol 615 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 615 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 615 MovieClip Frame 38
var c = random(4);
if (_root.bsing == false) {
if (c == 0) {
gotoAndPlay ("shoulei");
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Instance of Symbol 79 MovieClip in Symbol 615 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bullet2.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 81 MovieClip in Symbol 615 MovieClip Frame 48
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Symbol 615 MovieClip Frame 64
_root.addrocket();
Instance of Symbol 81 MovieClip in Symbol 615 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Instance of Symbol 592 MovieClip in Symbol 615 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 70
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 615 MovieClip Frame 76
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 615 MovieClip Frame 83
c = random(4);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 592 MovieClip in Symbol 615 MovieClip Frame 84
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 615 MovieClip Frame 106
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (122);
}
Symbol 615 MovieClip Frame 121
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("shoulei");
}
Symbol 615 MovieClip Frame 136
_root.addzdbwsl(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.brsi = 1;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 1;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 615 MovieClip Frame 161
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 615 MovieClip Frame 184
_root.addzdbwsl(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.brsi = 1;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 10;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 615 MovieClip Frame 238
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 9;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
Instance of Symbol 79 MovieClip in Symbol 615 MovieClip Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 615 MovieClip Frame 239
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 615 MovieClip Frame 266
_root.adddibomb();
Symbol 615 MovieClip Frame 281
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 282
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Symbol 615 MovieClip Frame 292
_root.bomb.removeMovieClip();
Symbol 615 MovieClip Frame 303
gotoAndPlay (256);
Symbol 615 MovieClip Frame 306
stop();
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 317
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 615 MovieClip Frame 328
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Symbol 615 MovieClip Frame 333
gotoAndPlay (1);
Symbol 618 MovieClip [slb] Frame 1
stop();
Instance of Symbol 617 MovieClip "xuechao" in Symbol 618 MovieClip [slb] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 671 MovieClip [cfqweiduibody] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 638 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 0;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 671 MovieClip [cfqweiduibody] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
play();
}
Instance of Symbol 641 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 16
onClipEvent (load) {
a = random(100);
if (_root.brsi == 0) {
x = ((a > 50) ? (_root.brbr._x - 100) : (_root.brbr._x + 130));
y = (_root.brbr._y - a) - 30;
} else if (_root.brsi == 1) {
x = ((a > 50) ? (_root.boy._x - 90) : (_root.boy._x + 120));
y = (_root.boy._y - a) - 30;
}
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 40) || (Math.abs(_parent._parent._x - x) > 70)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else if (_parent._parent._y > y) {
_parent._parent._y = _parent._parent._y - 1;
} else {
_parent._parent._y = y;
}
} else if ((a > 0) && (a < 90)) {
_parent.gotoAndPlay("shoot");
} else {
_parent.gotoAndPlay("sha");
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 33
gotoAndPlay (1);
Symbol 671 MovieClip [cfqweiduibody] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 38
c = random(3);
if (c == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
Symbol 671 MovieClip [cfqweiduibody] Frame 39
play();
Instance of Symbol 638 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 671 MovieClip [cfqweiduibody] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 642 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 50
onClipEvent (enterFrame) {
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Instance of Symbol 638 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 638 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 65
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
}
_parent._parent._xscale = 100;
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 67
c = random(3);
if (c == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Instance of Symbol 638 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 12;
} else {
_parent._parent._x = _parent._parent._x + 12;
}
if (_parent._parent._x > 610) {
_parent._parent._x = 610;
} else if (_parent._parent._x < -10) {
_parent._parent._x = -10;
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 671 MovieClip [cfqweiduibody] Frame 105
b = random(3);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Symbol 671 MovieClip [cfqweiduibody] Frame 121
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 122
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 671 MovieClip [cfqweiduibody] Frame 123
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 638 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 639 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 131
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 135
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else if (c == 1) {
gotoAndPlay ("sha");
} else if (c == 2) {
gotoAndPlay (1);
}
Symbol 671 MovieClip [cfqweiduibody] Frame 191
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 4;
}
} else {
_root.expnum = _root.expnum + 5;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 671 MovieClip [cfqweiduibody] Frame 249
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 3;
}
} else {
_root.expnum = _root.expnum + 4;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 671 MovieClip [cfqweiduibody] Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 671 MovieClip [cfqweiduibody] Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 671 MovieClip [cfqweiduibody] Frame 272
gotoAndPlay (1);
Symbol 675 MovieClip [redredweidui] Frame 1
stop();
Instance of Symbol 674 MovieClip "xuechao" in Symbol 675 MovieClip [redredweidui] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 694 MovieClip [redwd] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 694 MovieClip [redwd] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 0;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 694 MovieClip [redwd] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 694 MovieClip [redwd] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
play();
}
Instance of Symbol 641 MovieClip in Symbol 694 MovieClip [redwd] Frame 16
onClipEvent (load) {
a = random(100);
if (_root.brsi == 0) {
x = ((a > 50) ? (_root.brbr._x - 100) : (_root.brbr._x + 130));
y = (_root.brbr._y - a) - 20;
} else if (_root.brsi == 1) {
x = ((a > 50) ? (_root.boy._x - 90) : (_root.boy._x + 120));
y = (_root.boy._y - a) - 20;
}
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 40) || (Math.abs(_parent._parent._x - x) > 70)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else if (_parent._parent._y > y) {
_parent._parent._y = _parent._parent._y - 1;
} else {
_parent._parent._y = y;
}
} else if ((a > 0) && (a < 90)) {
_parent.gotoAndPlay("shoot");
} else {
_parent.gotoAndPlay("sha");
}
}
Symbol 694 MovieClip [redwd] Frame 33
gotoAndPlay (1);
Symbol 694 MovieClip [redwd] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 694 MovieClip [redwd] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 694 MovieClip [redwd] Frame 38
c = random(3);
if (c == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
Symbol 694 MovieClip [redwd] Frame 39
play();
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 694 MovieClip [redwd] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 694 MovieClip [redwd] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 642 MovieClip in Symbol 694 MovieClip [redwd] Frame 50
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x - 10;
} else {
_parent._parent._x = _parent._parent._x + 10;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 65
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
}
_parent._parent._xscale = 100;
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 694 MovieClip [redwd] Frame 67
c = random(3);
if (c == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 13;
} else {
_parent._parent._x = _parent._parent._x + 13;
}
if (_parent._parent._x > 610) {
_parent._parent._x = 610;
} else if (_parent._parent._x < -10) {
_parent._parent._x = -10;
}
}
Symbol 694 MovieClip [redwd] Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 694 MovieClip [redwd] Frame 105
b = random(3);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Symbol 694 MovieClip [redwd] Frame 121
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 694 MovieClip [redwd] Frame 122
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 694 MovieClip [redwd] Frame 123
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 638 MovieClip in Symbol 694 MovieClip [redwd] Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 639 MovieClip in Symbol 694 MovieClip [redwd] Frame 131
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
}
Symbol 694 MovieClip [redwd] Frame 135
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else if (c == 1) {
gotoAndPlay ("sha");
} else if (c == 2) {
gotoAndPlay (1);
}
Symbol 694 MovieClip [redwd] Frame 191
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 4;
}
} else {
_root.expnum = _root.expnum + 5;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 694 MovieClip [redwd] Frame 249
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 3;
}
} else {
_root.expnum = _root.expnum + 4;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 694 MovieClip [redwd] Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 694 MovieClip [redwd] Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 694 MovieClip [redwd] Frame 272
gotoAndPlay (1);
Symbol 695 MovieClip [redweidui] Frame 1
stop();
Instance of Symbol 674 MovieClip "xuechao" in Symbol 695 MovieClip [redweidui] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 696 MovieClip [jgqred] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 638 MovieClip in Symbol 696 MovieClip [jgqred] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 696 MovieClip [jgqred] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 0;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 696 MovieClip [jgqred] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 696 MovieClip [jgqred] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
play();
}
Instance of Symbol 641 MovieClip in Symbol 696 MovieClip [jgqred] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 130));
y = (_root.boy._y - a) - 20;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 40) || (Math.abs(_parent._parent._x - x) > 70)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else if (_parent._parent._y > y) {
_parent._parent._y = _parent._parent._y - 1;
} else {
_parent._parent._y = y;
}
} else if ((a > 0) && (a < 90)) {
_parent.gotoAndPlay("shoot");
} else {
_parent.gotoAndPlay("sha");
}
}
Symbol 696 MovieClip [jgqred] Frame 33
gotoAndPlay (1);
Symbol 696 MovieClip [jgqred] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 696 MovieClip [jgqred] Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 696 MovieClip [jgqred] Frame 38
c = random(3);
if (c == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
Symbol 696 MovieClip [jgqred] Frame 39
play();
Instance of Symbol 638 MovieClip in Symbol 696 MovieClip [jgqred] Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 696 MovieClip [jgqred] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 696 MovieClip [jgqred] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 642 MovieClip in Symbol 696 MovieClip [jgqred] Frame 50
onClipEvent (enterFrame) {
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Instance of Symbol 638 MovieClip in Symbol 696 MovieClip [jgqred] Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 638 MovieClip in Symbol 696 MovieClip [jgqred] Frame 65
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
}
_parent._parent._xscale = 100;
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 696 MovieClip [jgqred] Frame 67
c = random(3);
if (c == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Instance of Symbol 638 MovieClip in Symbol 696 MovieClip [jgqred] Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 12;
} else {
_parent._parent._x = _parent._parent._x + 12;
}
if (_parent._parent._x > 610) {
_parent._parent._x = 610;
} else if (_parent._parent._x < -20) {
_parent._parent._x = -20;
}
}
Symbol 696 MovieClip [jgqred] Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 696 MovieClip [jgqred] Frame 105
b = random(3);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Symbol 696 MovieClip [jgqred] Frame 121
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 696 MovieClip [jgqred] Frame 122
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 696 MovieClip [jgqred] Frame 123
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 638 MovieClip in Symbol 696 MovieClip [jgqred] Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 639 MovieClip in Symbol 696 MovieClip [jgqred] Frame 131
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
}
Symbol 696 MovieClip [jgqred] Frame 135
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else if (c == 1) {
gotoAndPlay ("sha");
} else if (c == 2) {
gotoAndPlay (1);
}
Symbol 696 MovieClip [jgqred] Frame 191
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 4;
}
} else {
_root.expnum = _root.expnum + 5;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 696 MovieClip [jgqred] Frame 249
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 3;
}
} else {
_root.expnum = _root.expnum + 4;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 696 MovieClip [jgqred] Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 696 MovieClip [jgqred] Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 696 MovieClip [jgqred] Frame 272
gotoAndPlay (1);
Symbol 697 MovieClip [redred] Frame 1
stop();
Instance of Symbol 674 MovieClip "xuechao" in Symbol 697 MovieClip [redred] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 698 MovieClip [dhf3] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 698 MovieClip [dhf3] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 400;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 762 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 39
stop();
Symbol 764 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 120;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 210;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 258 MovieClip in Symbol 764 MovieClip Frame 1
/* no clip actions */
Symbol 764 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 764 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 70) && (Math.abs(_parent._parent._x - x) < 70)) {
b = random(4);
if (b == 0) {
_parent.gotoAndPlay("bian");
} else {
_parent.gotoAndPlay(39);
}
}
}
}
Symbol 764 MovieClip Frame 33
gotoAndPlay (1);
Symbol 764 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 764 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 764 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 764 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 764 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 41
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 764 MovieClip Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 47
/* no clip actions */
Instance of Symbol 642 MovieClip in Symbol 764 MovieClip Frame 47
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 20;
} else {
_parent._parent._x = _parent._parent._x - 20;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Symbol 764 MovieClip Frame 64
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 65
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 20;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 764 MovieClip Frame 87
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 764 MovieClip Frame 102
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("bian");
}
Symbol 764 MovieClip Frame 118
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 3;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 764 MovieClip Frame 146
if (_parent.xuechao.hp <= 0) {
play();
} else if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
}
Symbol 764 MovieClip Frame 169
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 3;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 764 MovieClip Frame 213
if (_parent.xuechao.hp <= 0) {
play();
} else if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
}
Symbol 764 MovieClip Frame 268
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 59 MovieClip in Symbol 764 MovieClip Frame 269
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 81 MovieClip in Symbol 764 MovieClip Frame 295
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 13;
} else {
_parent._parent._x = _parent._parent._x - 13;
}
}
Instance of Symbol 258 MovieClip in Symbol 764 MovieClip Frame 295
/* no clip actions */
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 301
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 0;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 0;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 764 MovieClip Frame 309
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 764 MovieClip Frame 312
a = random(3);
if (a == 0) {
gotoAndPlay ("bian");
} else {
gotoAndPlay (16);
}
Symbol 764 MovieClip Frame 327
gotoAndPlay (1);
Symbol 764 MovieClip Frame 328
_root.boy._visible = false;
Symbol 764 MovieClip Frame 337
if (_parent.xuechao.hp < 200) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 200) {
_parent.xuechao.hp = 200;
}
Symbol 764 MovieClip Frame 347
if (_parent.xuechao.hp < 200) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 200) {
_parent.xuechao.hp = 200;
}
Symbol 764 MovieClip Frame 359
if (_parent.xuechao.hp < 200) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 200) {
_parent.xuechao.hp = 200;
}
Symbol 764 MovieClip Frame 368
_root.boy.gotoAndPlay(1);
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_root.lock = false;
_root.boy._visible = true;
gotoAndPlay (1);
Symbol 764 MovieClip Frame 369
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 764 MovieClip Frame 370
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 120;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 764 MovieClip Frame 370
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 210;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 764 MovieClip Frame 403
gotoAndPlay (1);
Symbol 765 MovieClip [xxg3] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 765 MovieClip [xxg3] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 400;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 766 MovieClip [xxg2] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 766 MovieClip [xxg2] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 768 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 768 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip in Symbol 768 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 120;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 768 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 210;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 258 MovieClip in Symbol 768 MovieClip Frame 1
/* no clip actions */
Symbol 768 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 768 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 70) && (Math.abs(_parent._parent._x - x) < 70)) {
b = random(4);
if (b == 0) {
_parent.gotoAndPlay("bian");
} else {
_parent.gotoAndPlay(39);
}
}
}
}
Symbol 768 MovieClip Frame 33
gotoAndPlay (1);
Symbol 768 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 768 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 768 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 768 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 768 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 256 MovieClip in Symbol 768 MovieClip Frame 41
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 768 MovieClip Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 256 MovieClip in Symbol 768 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.lock = true;
_root.boy.gotoAndStop("jiangshi");
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_parent.gotoAndPlay("xixue");
}
}
Instance of Symbol 642 MovieClip in Symbol 768 MovieClip Frame 47
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 20;
} else {
_parent._parent._x = _parent._parent._x - 20;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Symbol 768 MovieClip Frame 64
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 768 MovieClip Frame 65
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 20;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 768 MovieClip Frame 87
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 768 MovieClip Frame 102
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("bian");
}
Symbol 768 MovieClip Frame 118
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 3;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 768 MovieClip Frame 146
if (_parent.xuechao.hp <= 0) {
play();
} else if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
}
Symbol 768 MovieClip Frame 169
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 3;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 768 MovieClip Frame 213
if (_parent.xuechao.hp <= 0) {
play();
} else if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
}
Symbol 768 MovieClip Frame 268
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 59 MovieClip in Symbol 768 MovieClip Frame 269
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 81 MovieClip in Symbol 768 MovieClip Frame 295
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 13;
} else {
_parent._parent._x = _parent._parent._x - 13;
}
}
Instance of Symbol 258 MovieClip in Symbol 768 MovieClip Frame 295
/* no clip actions */
Instance of Symbol 256 MovieClip in Symbol 768 MovieClip Frame 301
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 0;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 0;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 256 MovieClip in Symbol 768 MovieClip Frame 309
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 768 MovieClip Frame 312
a = random(3);
if (a == 0) {
gotoAndPlay ("bian");
} else {
gotoAndPlay (16);
}
Symbol 768 MovieClip Frame 327
gotoAndPlay (1);
Symbol 768 MovieClip Frame 328
_root.boy._visible = false;
Symbol 768 MovieClip Frame 337
if (_parent.xuechao.hp < 300) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 300) {
_parent.xuechao.hp = 300;
}
Symbol 768 MovieClip Frame 347
if (_parent.xuechao.hp < 300) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 300) {
_parent.xuechao.hp = 300;
}
Symbol 768 MovieClip Frame 359
if (_parent.xuechao.hp < 300) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 300) {
_parent.xuechao.hp = 300;
}
Symbol 768 MovieClip Frame 368
_root.boy.gotoAndPlay(1);
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_root.lock = false;
_root.boy._visible = true;
gotoAndPlay (1);
Symbol 768 MovieClip Frame 369
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 768 MovieClip Frame 370
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 120;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 768 MovieClip Frame 370
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 210;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 768 MovieClip Frame 403
gotoAndPlay (1);
Symbol 769 MovieClip [xxg] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 769 MovieClip [xxg] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 772 MovieClip Frame 20
stop();
Symbol 773 MovieClip [dizid] Frame 1
stop();
Instance of Symbol 59 MovieClip "hit" in Symbol 773 MovieClip [dizid] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_parent.gotoAndStop(2);
_parent.removeMovieClip();
_parent.unloadMovie();
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
_parent.gotoAndStop(2);
_parent.removeMovieClip();
_parent.unloadMovie();
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 3) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
_parent.gotoAndStop(2);
_parent.removeMovieClip();
_parent.unloadMovie();
} else if ((_root.fangytime = 3)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
_parent.gotoAndStop(2);
_parent.removeMovieClip();
_parent.unloadMovie();
}
}
Instance of Symbol 772 MovieClip in Symbol 773 MovieClip [dizid] Frame 1
onClipEvent (load) {
speed = 40;
_parent._x = _root.guangzid._x;
_parent._y = _root.guangzid._y + 115;
if (_root.guangzid._xscale == 100) {
_parent._xscale = 100;
} else if (_root.guangzid._xscale == -100) {
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_parent._x < -50) {
_parent.removeMovieClip();
}
if (_parent._x > 620) {
_parent.removeMovieClip();
}
if (_parent._xscale == -100) {
_parent._x = _parent._x + speed;
} else {
_parent._x = _parent._x - speed;
}
_parent.swapDepths(Math.floor(_parent._y + 10));
}
Symbol 773 MovieClip [dizid] Frame 2
this.removeMovieClip();
stop();
Symbol 775 MovieClip Frame 6
_parent.removeMovieClip();
stop();
Symbol 776 MovieClip [zid] Frame 1
stop();
Instance of Symbol 59 MovieClip "hit" in Symbol 776 MovieClip [zid] Frame 1
/* no clip actions */
Instance of Symbol 772 MovieClip in Symbol 776 MovieClip [zid] Frame 1
onClipEvent (load) {
speed = 40;
_parent._x = _root.boy._x;
_parent._y = _root.boy._y + 50;
if (_root.boy._xscale == 100) {
_parent._xscale = 100;
} else if (_root.boy._xscale == -100) {
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_parent._x < -50) {
_parent.removeMovieClip();
}
if (_parent._x > 620) {
_parent.removeMovieClip();
}
if (_parent._xscale == -100) {
_parent._x = _parent._x + speed;
} else {
_parent._x = _parent._x - speed;
}
_parent.swapDepths(Math.floor(_parent._y + 10));
}
Symbol 776 MovieClip [zid] Frame 2
stop();
Symbol 776 MovieClip [zid] Frame 3
stop();
Symbol 803 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 592 MovieClip in Symbol 803 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x - 40)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 79 MovieClip in Symbol 803 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 803 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 803 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 595 MovieClip in Symbol 803 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 70) && (Math.abs(_parent._parent._x - x) < 70)) {
if (a > 10) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 803 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 803 MovieClip Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Symbol 803 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 803 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 803 MovieClip Frame 38
var c = random(4);
if (_root.bsing == false) {
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Instance of Symbol 79 MovieClip in Symbol 803 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 803 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 81 MovieClip in Symbol 803 MovieClip Frame 48
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 15;
} else {
_parent._parent._x = _parent._parent._x - 15;
}
}
Instance of Symbol 592 MovieClip in Symbol 803 MovieClip Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Symbol 803 MovieClip Frame 67
c = random(2);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 592 MovieClip in Symbol 803 MovieClip Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 803 MovieClip Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (107);
}
Symbol 803 MovieClip Frame 105
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 803 MovieClip Frame 120
_root.addzdbwsl(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 1;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 803 MovieClip Frame 145
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 803 MovieClip Frame 168
_root.addzdbwsl(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 10;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 803 MovieClip Frame 222
_root.addzdbwsl(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 9;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Instance of Symbol 79 MovieClip in Symbol 803 MovieClip Frame 223
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 803 MovieClip Frame 223
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Symbol 803 MovieClip Frame 240
gotoAndPlay (1);
Symbol 804 MovieClip [long2] Frame 1
stop();
Instance of Symbol 617 MovieClip "xuechao" in Symbol 804 MovieClip [long2] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 200;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 814 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 79 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 593 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 814 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 595 MovieClip in Symbol 814 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 3;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 80) && (Math.abs(_parent._parent._x - x) < 90)) {
if (a > 80) {
_parent.gotoAndPlay(39);
} else if ((a > 10) && (a < 80)) {
_parent.gotoAndPlay("shoulei");
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 814 MovieClip Frame 33
gotoAndPlay (1);
Symbol 814 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 814 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 814 MovieClip Frame 38
var c = random(4);
if (_root.bsing == false) {
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Instance of Symbol 79 MovieClip in Symbol 814 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bullet2.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 256 MovieClip in Symbol 814 MovieClip Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.lock = true;
_root.boy.gotoAndStop("jiangshi");
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_parent.gotoAndPlay("xixue");
}
}
Instance of Symbol 81 MovieClip in Symbol 814 MovieClip Frame 54
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 20;
} else {
_parent._parent._x = _parent._parent._x - 20;
}
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 55
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 59
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 814 MovieClip Frame 64
Instance of Symbol 81 MovieClip in Symbol 814 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 70
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 76
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 814 MovieClip Frame 83
c = random(4);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 84
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 814 MovieClip Frame 106
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (122);
}
Symbol 814 MovieClip Frame 121
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 814 MovieClip Frame 136
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.brsi = 1;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 1;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 814 MovieClip Frame 161
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 814 MovieClip Frame 184
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.brsi = 1;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 10;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 814 MovieClip Frame 238
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 9;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
Instance of Symbol 79 MovieClip in Symbol 814 MovieClip Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 814 MovieClip Frame 239
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 814 MovieClip Frame 266
_root.adddibomb();
Symbol 814 MovieClip Frame 281
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 282
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Symbol 814 MovieClip Frame 292
_root.bomb.removeMovieClip();
Symbol 814 MovieClip Frame 303
gotoAndPlay (256);
Symbol 814 MovieClip Frame 306
stop();
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 317
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 814 MovieClip Frame 328
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Symbol 814 MovieClip Frame 333
gotoAndPlay (1);
Symbol 814 MovieClip Frame 334
_root.boy._visible = false;
Symbol 814 MovieClip Frame 343
if (_parent.xuechao.hp < 500) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 500) {
_parent.xuechao.hp = 500;
}
Symbol 814 MovieClip Frame 353
if (_parent.xuechao.hp < 500) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
_root.boy.hp = _root.boy.hp - 4;
} else if (_parent.xuechao.hp >= 500) {
_parent.xuechao.hp = 500;
}
Symbol 814 MovieClip Frame 365
if (_parent.xuechao.hp < 500) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 500) {
_parent.xuechao.hp = 500;
}
Symbol 814 MovieClip Frame 374
_root.boy.gotoAndPlay(1);
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_root.lock = false;
_root.boy._visible = true;
gotoAndPlay (1);
Symbol 814 MovieClip Frame 375
gotoAndPlay (1);
Symbol 815 MovieClip [br3] Frame 1
stop();
Instance of Symbol 617 MovieClip "xuechao" in Symbol 815 MovieClip [br3] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 433;
_parent._y = 82;
hp = 400;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 819 MovieClip [bir2] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 592 MovieClip in Symbol 819 MovieClip [bir2] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 79 MovieClip in Symbol 819 MovieClip [bir2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 593 MovieClip in Symbol 819 MovieClip [bir2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 819 MovieClip [bir2] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 595 MovieClip in Symbol 819 MovieClip [bir2] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 3;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 80) && (Math.abs(_parent._parent._x - x) < 90)) {
if (a > 80) {
_parent.gotoAndPlay(39);
} else if ((a > 10) && (a < 80)) {
_parent.gotoAndPlay("shoulei");
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 819 MovieClip [bir2] Frame 33
gotoAndPlay (1);
Symbol 819 MovieClip [bir2] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 819 MovieClip [bir2] Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 819 MovieClip [bir2] Frame 38
var c = random(4);
if (_root.bsing == false) {
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Instance of Symbol 79 MovieClip in Symbol 819 MovieClip [bir2] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bullet2.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 81 MovieClip in Symbol 819 MovieClip [bir2] Frame 48
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Symbol 819 MovieClip [bir2] Frame 64
_root.addrocket();
Instance of Symbol 81 MovieClip in Symbol 819 MovieClip [bir2] Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 0;
} else {
_parent._parent._x = _parent._parent._x - 0;
}
}
Instance of Symbol 592 MovieClip in Symbol 819 MovieClip [bir2] Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 70
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 819 MovieClip [bir2] Frame 76
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 819 MovieClip [bir2] Frame 83
c = random(4);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 592 MovieClip in Symbol 819 MovieClip [bir2] Frame 84
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 819 MovieClip [bir2] Frame 106
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (122);
}
Symbol 819 MovieClip [bir2] Frame 121
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 819 MovieClip [bir2] Frame 136
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.brsi = 1;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 1;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 819 MovieClip [bir2] Frame 161
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 819 MovieClip [bir2] Frame 184
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.brsi = 1;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 10;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 819 MovieClip [bir2] Frame 238
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 9;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
Instance of Symbol 79 MovieClip in Symbol 819 MovieClip [bir2] Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 819 MovieClip [bir2] Frame 239
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 819 MovieClip [bir2] Frame 266
_root.adddibomb();
Symbol 819 MovieClip [bir2] Frame 281
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 282
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Symbol 819 MovieClip [bir2] Frame 292
_root.bomb.removeMovieClip();
Symbol 819 MovieClip [bir2] Frame 303
gotoAndPlay (256);
Symbol 819 MovieClip [bir2] Frame 306
stop();
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 317
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 819 MovieClip [bir2] Frame 328
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Symbol 819 MovieClip [bir2] Frame 333
gotoAndPlay (1);
Symbol 820 MovieClip [br2] Frame 1
stop();
Instance of Symbol 617 MovieClip "xuechao" in Symbol 820 MovieClip [br2] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 433;
_parent._y = 82;
hp = 400;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 826 MovieClip Frame 1
stop();
Symbol 834 MovieClip [bir] Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 79 MovieClip in Symbol 834 MovieClip [bir] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 593 MovieClip in Symbol 834 MovieClip [bir] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 834 MovieClip [bir] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 595 MovieClip in Symbol 834 MovieClip [bir] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 3;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 80) && (Math.abs(_parent._parent._x - x) < 90)) {
if (a > 40) {
_parent.gotoAndPlay(39);
} else if ((a > 10) && (a < 40)) {
_parent.gotoAndPlay("shoulei");
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 834 MovieClip [bir] Frame 33
gotoAndPlay (1);
Symbol 834 MovieClip [bir] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 834 MovieClip [bir] Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 834 MovieClip [bir] Frame 38
var c = random(4);
if (_root.bsing == false) {
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Instance of Symbol 79 MovieClip in Symbol 834 MovieClip [bir] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bullet2.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(85);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 81 MovieClip in Symbol 834 MovieClip [bir] Frame 48
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 15;
} else {
_parent._parent._x = _parent._parent._x - 15;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 81 MovieClip in Symbol 834 MovieClip [bir] Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 25;
} else {
_parent._parent._x = _parent._parent._x - 25;
}
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 70
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 70
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 70
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 76
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + 80)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 834 MovieClip [bir] Frame 83
c = random(4);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 84
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 10) {
_parent._parent._x = 10;
}
}
Symbol 834 MovieClip [bir] Frame 106
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (122);
}
Symbol 834 MovieClip [bir] Frame 121
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 834 MovieClip [bir] Frame 136
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 1;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 834 MovieClip [bir] Frame 161
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 834 MovieClip [bir] Frame 184
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 10;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 834 MovieClip [bir] Frame 238
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 9;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
Instance of Symbol 79 MovieClip in Symbol 834 MovieClip [bir] Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 239
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 592 MovieClip in Symbol 834 MovieClip [bir] Frame 239
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 834 MovieClip [bir] Frame 266
_root.adddibomb();
Symbol 834 MovieClip [bir] Frame 281
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 282
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
}
}
Symbol 834 MovieClip [bir] Frame 292
_root.bomb.removeMovieClip();
Symbol 834 MovieClip [bir] Frame 303
gotoAndPlay (256);
Symbol 834 MovieClip [bir] Frame 306
stop();
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 317
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 834 MovieClip [bir] Frame 328
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Symbol 834 MovieClip [bir] Frame 333
gotoAndPlay (1);
Symbol 835 MovieClip [br] Frame 1
stop();
Instance of Symbol 617 MovieClip "xuechao" in Symbol 835 MovieClip [br] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 433;
_parent._y = 82;
hp = 300;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Instance of Symbol 57 MovieClip in Symbol 869 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 100;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Symbol 919 MovieClip [sprite 9432] Frame 1
a = random(1);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x - 20)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 851 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(60);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 258 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 1
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Symbol 919 MovieClip [sprite 9432] Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 73 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 4;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 2;
} else {
_parent._parent._y = _parent._parent._y - 2;
}
if ((Math.abs(_parent._parent._y - y) < 30) && (Math.abs(_parent._parent._x - x) < 65)) {
_parent.gotoAndPlay(39);
}
}
}
Symbol 919 MovieClip [sprite 9432] Frame 33
gotoAndPlay (1);
Symbol 919 MovieClip [sprite 9432] Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 109) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 919 MovieClip [sprite 9432] Frame 38
gotoAndPlay (1);
Instance of Symbol 81 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 5;
} else {
_parent._parent._x = _parent._parent._x - 5;
}
}
Instance of Symbol 851 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(60);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 55 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 55 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (6 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (6 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 919 MovieClip [sprite 9432] Frame 58
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 59
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 40;
} else {
_parent._parent._x = _parent._parent._x + 40;
}
if (_parent._parent._x > 610) {
_parent._parent._x = 610;
} else if (_parent._parent._x < -10) {
_parent._parent._x = -10;
}
}
Instance of Symbol 258 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 69
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 2;
}
Symbol 919 MovieClip [sprite 9432] Frame 81
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (97);
}
Symbol 919 MovieClip [sprite 9432] Frame 96
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 919 MovieClip [sprite 9432] Frame 116
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 919 MovieClip [sprite 9432] Frame 117
gotoAndPlay ("dao");
Instance of Symbol 57 MovieClip in Symbol 919 MovieClip [sprite 9432] Frame 117
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Symbol 919 MovieClip [sprite 9432] Frame 167
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 919 MovieClip [sprite 9432] Frame 232
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 920 MovieClip [yellowf] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 920 MovieClip [yellowf] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 937 MovieClip Frame 1
a = random(1);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 937 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x - 20)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 851 MovieClip in Symbol 937 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(60);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 3;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Symbol 937 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 73 MovieClip in Symbol 937 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 4;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 2;
} else {
_parent._parent._y = _parent._parent._y - 2;
}
if ((Math.abs(_parent._parent._y - y) < 30) && (Math.abs(_parent._parent._x - x) < 65)) {
_parent.gotoAndPlay(39);
}
}
}
Symbol 937 MovieClip Frame 33
gotoAndPlay (1);
Symbol 937 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 937 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 109) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 937 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 81 MovieClip in Symbol 937 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 5;
} else {
_parent._parent._x = _parent._parent._x - 5;
}
}
Instance of Symbol 851 MovieClip in Symbol 937 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(60);
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 55 MovieClip in Symbol 937 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 55 MovieClip in Symbol 937 MovieClip Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (6 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (6 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 937 MovieClip Frame 58
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 55 MovieClip in Symbol 937 MovieClip Frame 59
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 40;
} else {
_parent._parent._x = _parent._parent._x + 40;
}
if (_parent._parent._x > 610) {
_parent._parent._x = 610;
} else if (_parent._parent._x < -10) {
_parent._parent._x = -10;
}
}
Symbol 937 MovieClip Frame 81
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (97);
}
Symbol 937 MovieClip Frame 96
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 937 MovieClip Frame 116
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
stop();
Symbol 937 MovieClip Frame 167
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 937 MovieClip Frame 232
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 938 MovieClip [dog] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 938 MovieClip [dog] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 962 MovieClip Frame 5
stop();
Symbol 1001 MovieClip Frame 1
if (_root.zhiliao == 1) {
a = random(40);
if (a == 0) {
gotoAndPlay (2);
} else if (a == 1) {
gotoAndPlay ("jiaxue");
} else {
gotoAndPlay (16);
}
} else if (_root.zhiliao == 0) {
b = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
}
Instance of Symbol 940 MovieClip in Symbol 1001 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x + random(1))) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 941 MovieClip in Symbol 1001 MovieClip Frame 1
/* no clip actions */
Symbol 1001 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 73 MovieClip in Symbol 1001 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 4;
} else {
_parent._parent._x = _parent._parent._x - 3;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 2;
} else {
_parent._parent._y = _parent._parent._y - 2;
}
if ((Math.abs(_parent._parent._y - y) < 30) && (Math.abs(_parent._parent._x - x) < 65)) {
_parent.gotoAndPlay(39);
}
}
}
Symbol 1001 MovieClip Frame 33
gotoAndPlay (1);
Symbol 1001 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 1001 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 109) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 1001 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 941 MovieClip in Symbol 1001 MovieClip Frame 39
/* no clip actions */
Instance of Symbol 940 MovieClip in Symbol 1001 MovieClip Frame 45
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 940 MovieClip "hit" in Symbol 1001 MovieClip Frame 47
/* no clip actions */
Instance of Symbol 81 MovieClip in Symbol 1001 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 15;
} else {
_parent._parent._x = _parent._parent._x - 15;
}
}
Instance of Symbol 940 MovieClip "hit" in Symbol 1001 MovieClip Frame 51
/* no clip actions */
Instance of Symbol 81 MovieClip in Symbol 1001 MovieClip Frame 57
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
rpao = random(2);
if (rpao == 0) {
_parent._parent._x = _parent._parent._x + 20;
} else if (rpao == 1) {
_parent._parent._x = _parent._parent._x + 40;
} else if (rpao == 2) {
_parent._parent._x = _parent._parent._x + 13;
}
} else {
rpao2 = random(2);
if (rpao2 == 0) {
_parent._parent._x = _parent._parent._x - 20;
} else if (rpao2 == 1) {
_parent._parent._x = _parent._parent._x - 35;
} else if (rpao2 == 2) {
_parent._parent._x = _parent._parent._x - 13;
}
}
}
Instance of Symbol 81 MovieClip in Symbol 1001 MovieClip Frame 71
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 10;
} else {
_parent._parent._x = _parent._parent._x - 10;
}
}
Symbol 1001 MovieClip Frame 85
c = random(5);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 940 MovieClip in Symbol 1001 MovieClip Frame 86
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 1001 MovieClip Frame 108
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (97);
}
Symbol 1001 MovieClip Frame 123
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 1001 MovieClip Frame 143
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 1001 MovieClip Frame 194
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 1001 MovieClip Frame 259
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
_root.deadcount++;
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.kocount++;
_parent.removeMovieClip();
Symbol 1001 MovieClip Frame 276
if (_root.boy.hp > 5) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1001 MovieClip Frame 303
_root.boy.dabu.gotoAndPlay(2);
_root.boy.hp = _root.boy.hp + 5;
if (_root.boy.hp > 100) {
_root.boy.hp = 100;
}
Symbol 1001 MovieClip Frame 305
gotoAndPlay (1);
Symbol 1003 MovieClip [hq] Frame 1
stop();
Instance of Symbol 1002 MovieClip "xuechao" in Symbol 1003 MovieClip [hq] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 1000;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 1028 MovieClip Frame 1
dadada = random(3);
if (dadada == 0) {
gotoAndPlay (7);
} else if (dadada == 1) {
play();
} else if (dadada == 2) {
gotoAndPlay (13);
}
Symbol 1028 MovieClip Frame 6
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1028 MovieClip Frame 12
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1028 MovieClip Frame 18
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1036 MovieClip Frame 1
stop();
Instance of Symbol 638 MovieClip in Symbol 1036 MovieClip Frame 2
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 2;
} else {
a = 1;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 2;
} else {
_parent._parent._x = _parent._parent._x + 2;
}
if (_parent._parent._x > 600) {
_parent._parent._x = 600;
} else if (_parent._parent._x < 0) {
_parent._parent._x = 0;
}
}
Instance of Symbol 1038 MovieClip in Symbol 1040 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(74)) {
_parent.bb.gotoAndPlay(2);
}
}
Instance of Symbol 638 MovieClip in Symbol 1040 MovieClip Frame 3
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 2;
} else {
a = 1;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_root.boy._x = _root.boy._x - 5;
} else {
_root.boy._x = _root.boy._x + 5;
}
if (_parent._parent._x > 600) {
_root.boy._x = 600;
} else if (_parent._parent._x < 0) {
_root.boy._x = 0;
}
}
Symbol 1040 MovieClip Frame 24
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Instance of Symbol 1042 MovieClip in Symbol 1049 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(74)) {
_root.lock = true;
_parent.gotoAndPlay(9);
}
if (Key.isDown(87)) {
_root.boy._y = _root.boy._y - _root.speednum;
}
if (Key.isDown(83)) {
_root.boy._y = _root.boy._y + _root.speednum;
}
}
Symbol 1049 MovieClip Frame 8
gotoAndPlay ("gungun");
Instance of Symbol 1042 MovieClip in Symbol 1049 MovieClip Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(74)) {
_root.lock = true;
_parent.gotoAndPlay(9);
}
}
Symbol 1049 MovieClip Frame 12
x = 16;
onEnterFrame = function () {
if (_root.boy._xscale == 100) {
_root.boy._x = _root.boy._x - x;
} else {
_root.boy._x = _root.boy._x + x;
}
x = x - 1;
};
Instance of Symbol 81 MovieClip in Symbol 1049 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
rpao = random(2);
if (rpao == 0) {
_parent._parent._x = _parent._parent._x + 2;
} else if (rpao == 1) {
_parent._parent._x = _parent._parent._x - 5;
} else if (rpao == 2) {
_parent._parent._x = _parent._parent._x + 7;
}
} else {
rpao2 = random(2);
if (rpao2 == 0) {
_parent._parent._x = _parent._parent._x - 2;
} else if (rpao2 == 1) {
_parent._parent._x = _parent._parent._x + 4;
} else if (rpao2 == 2) {
_parent._parent._x = _parent._parent._x - 6;
}
}
}
Symbol 1049 MovieClip Frame 42
delete eval (onEnterFrame());
_root.timer.gotoAndStop(1);
_root.run = false;
_root.lock = false;
Instance of Symbol 1035 MovieClip "hit" in Symbol 1053 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.box)) {
_root.box.gotoAndPlay(2);
}
}
Symbol 1053 MovieClip Frame 6
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1057 MovieClip Frame 1
dadadada = random(2);
if (dadadada == 0) {
gotoAndPlay (12);
} else if (dadadada == 1) {
play();
}
Instance of Symbol 1035 MovieClip "hit" in Symbol 1057 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.box)) {
_root.box.gotoAndPlay(2);
}
}
Symbol 1057 MovieClip Frame 11
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Instance of Symbol 1035 MovieClip "hit" in Symbol 1057 MovieClip Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.box)) {
_root.box.gotoAndPlay(2);
}
}
Symbol 1057 MovieClip Frame 24
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1071 MovieClip Frame 2
_root.lock = true;
_root.aida = true;
_root.energy = 0;
Symbol 1071 MovieClip Frame 5
if (_root.boy.hp <= 0) {
gotoAndPlay ("hit2");
}
Symbol 1071 MovieClip Frame 6
_root.lock = false;
_root.aida = false;
_parent.gotoAndStop(1);
stop();
Symbol 1071 MovieClip Frame 8
onEnterFrame = function () {
if (_root.boy._xscale == -100) {
_parent._x = _parent._x - 8;
} else {
_parent._x = _parent._x + 8;
}
};
_root.lock = true;
Symbol 1071 MovieClip Frame 13
_root.addgolds2(_parent._x, _parent._y, _parent._name);
_root.goldshu++;
Symbol 1071 MovieClip Frame 25
delete onEnterFrame;
Symbol 1071 MovieClip Frame 33
if (_root.boy.hp > 1) {
play();
} else {
gotoAndPlay ("dead");
}
Symbol 1071 MovieClip Frame 48
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1071 MovieClip Frame 50
_root.gameover.swapDepths(_root.getNextHighestDepth());
_root.gameover.gotoAndPlay(2);
_root.lock = true;
Symbol 1071 MovieClip Frame 73
stop();
Symbol 1083 MovieClip Frame 9
_root.bg._x = _root.bg._x + 2;
_root.bg._y = _root.bg._y - 2;
Symbol 1083 MovieClip Frame 11
_root.bg._x = _root.bg._x - 2;
_root.bg._y = _root.bg._y + 2;
Symbol 1083 MovieClip Frame 15
_root.bg._x = _root.bg._x + 2;
_root.bg._y = _root.bg._y - 2;
Symbol 1083 MovieClip Frame 17
_root.bg._x = _root.bg._x - 2;
_root.bg._y = _root.bg._y + 2;
Symbol 1083 MovieClip Frame 21
_root.bg._x = _root.bg._x + 2;
_root.bg._y = _root.bg._y - 2;
Symbol 1083 MovieClip Frame 23
_root.bg._x = _root.bg._x - 2;
_root.bg._y = _root.bg._y + 2;
Symbol 1083 MovieClip Frame 28
_root.lock = false;
_parent.gotoAndStop(1);
stop();
Symbol 1086 MovieClip Frame 1
_root.lock = true;
_root.energy = 0;
Symbol 1086 MovieClip Frame 16
Symbol 1086 MovieClip Frame 20
_root.lock = false;
stop();
Symbol 1106 MovieClip Frame 1
_root.lock = true;
Symbol 1106 MovieClip Frame 2
_root.bsing = true;
Instance of Symbol 1103 MovieClip in Symbol 1106 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.boy._xscale == 100) {
_root.boy._x = _root.boy._x - 25;
if (_root.boy._x <= 10) {
gotoAndPlay ("start");
}
} else {
_root.boy._x = _root.boy._x + 25;
if (_root.boy._x >= 390) {
gotoAndPlay ("start");
}
}
}
Symbol 1106 MovieClip Frame 120
stop();
_root.bsing = false;
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1108 MovieClip Frame 6
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1110 MovieClip Frame 7
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1116 MovieClip Frame 1
onEnterFrame = function () {
if (Key.isDown(76)) {
if (_root.hat == true) {
_root.energy = _root.energy + 5;
} else if (_root.boylv <= 2) {
_root.energy = _root.energy + 2.5;
} else {
_root.energy = _root.energy + 3;
}
} else {
gotoAndPlay (7);
}
};
Symbol 1116 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1116 MovieClip Frame 7
stop();
delete onEnterFrame;
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1118 MovieClip Frame 22
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1163 MovieClip Frame 1
if (_root.gun == 1) {
gotoAndPlay ("gun");
} else if (_root.gun == 2) {
gotoAndPlay ("bomb");
} else if (_root.gun == 3) {
gotoAndPlay ("gun3");
} else if (_root.gun == 4) {
gotoAndPlay ("gun4");
} else if (_root.gun == 0) {
_root.lock = false;
_parent.gotoAndStop(1);
}
Symbol 1163 MovieClip Frame 2
if (_root.power.dy1 > 0) {
play();
_root.power.dy1 = _root.power.dy1 - 1;
_root.dya = _root.dya - 1;
} else {
_root.lock = false;
_parent.gotoAndStop(1);
}
Symbol 1163 MovieClip Frame 20
_root.addzid();
Symbol 1163 MovieClip Frame 21
Symbol 1163 MovieClip Frame 40
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1163 MovieClip Frame 42
if (_root.power.dy2 > 0) {
play();
_root.power.dy2 = _root.power.dy2 - 1;
_root.dyb = _root.dyb - 1;
} else {
_root.lock = false;
_parent.gotoAndStop(1);
}
Symbol 1163 MovieClip Frame 62
_root.addbomb();
Symbol 1163 MovieClip Frame 71
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1163 MovieClip Frame 73
if (_root.power.dy3 > 0) {
play();
_root.power.dy3 = _root.power.dy3 - 1;
_root.dyc = _root.dyc - 1;
} else {
_root.lock = false;
_parent.gotoAndStop(1);
}
Instance of Symbol 642 MovieClip in Symbol 1163 MovieClip Frame 98
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x - 15;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Symbol 1163 MovieClip Frame 121
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1163 MovieClip Frame 123
if (_root.power.dy4 > 0) {
play();
_root.power.dy4 = _root.power.dy4 - 1;
_root.dyd = _root.dyd - 1;
} else {
_root.lock = false;
_parent.gotoAndStop(1);
}
Instance of Symbol 642 MovieClip in Symbol 1163 MovieClip Frame 159
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x - 12;
} else {
_parent._parent._x = _parent._parent._x + 12;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Symbol 1163 MovieClip Frame 191
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1164 MovieClip Frame 1
Symbol 1164 MovieClip Frame 8
_root.boy.hp = _root.boy.hp - 1;
Symbol 1164 MovieClip Frame 12
_root.boy.hp = _root.boy.hp - 1;
Symbol 1164 MovieClip Frame 19
_root.boy.hp = _root.boy.hp - 1;
Symbol 1164 MovieClip Frame 23
_root.boy.hp = _root.boy.hp - 1;
Symbol 1164 MovieClip Frame 27
stop();
Symbol 1168 MovieClip Frame 1
stop();
Symbol 1168 MovieClip Frame 6
gotoAndStop (1);
Symbol 1169 MovieClip Frame 8
stop();
_root.lock = false;
_parent.gotoAndStop(1);
Symbol 1173 MovieClip Frame 1
Symbol 1173 MovieClip Frame 20
_root.lock = false;
Symbol 1173 MovieClip Frame 21
_parent.gotoAndPlay(1);
stop();
Symbol 1174 MovieClip Frame 101
stop();
Symbol 1175 MovieClip [boy] Frame 1
_root.hp.expmc._xscale = _root.expnum % 100;
onEnterFrame = function () {
if (_root.run == false) {
speed = _root.speednum;
} else {
speed = _root.speednum * 2;
}
if ((_root.cure == true) && (this.hp < 100)) {
this.hp = this.hp + 0.03;
}
if (_x < 10) {
_x = 10;
} else if (_x > 580) {
_x = 580;
}
if (hp > 0) {
_root.hp.hp._xscale = hp;
}
if (hp >= 100) {
hp = 100;
}
if (hp <= 0) {
_root.hp.hp._xscale = (hp = 0);
}
if (_root.expnum < 100) {
_root.hp.expmc._xscale = _root.expnum;
} else {
_root.lock = true;
var _local4 = _root.attachMovie("levelup", "levelup" + _root.shendu, _root.shendu + 1877);
_local4._x = this._x - 50;
_local4._y = this._y + 10;
this.gotoAndStop("levelup");
_root.statemc.gotoAndStop(1);
_root.hp.expmc._xscale = (_root.expnum = 0);
}
if (this._y > 185) {
this._y = 185;
}
if (this._y < 50) {
this._y = 50;
}
this.swapDepths(Math.floor(this._y - 10));
if (Key.isDown(49) && (_root.timerlock == false)) {
_root.gun = 1;
_root.power.gotoAndStop("guna");
}
if (Key.isDown(50) && (_root.timerlock == false)) {
_root.gun = 2;
_root.power.gotoAndStop("gunb");
}
if (Key.isDown(51) && (_root.timerlock == false)) {
_root.gun = 3;
_root.power.gotoAndStop("gunc");
}
if (Key.isDown(52) && (_root.timerlock == false)) {
_root.gun = 4;
_root.power.gotoAndStop("gund");
}
if (_root.lock == false) {
if (Key.isDown(87) && (_root.timerlock == false)) {
this.gotoAndStop(2);
this._y = this._y - 4;
}
if (Key.isDown(83) && (_root.timerlock == false)) {
this.gotoAndStop(2);
this._y = this._y + 4;
}
if (Key.isDown(65)) {
this._xscale = 100;
this._x = this._x - speed;
if (_root.timerlock == false) {
_root.timer.gotoAndPlay(2);
this.gotoAndStop(2);
speed = _root.speednum;
}
}
if (Key.isDown(68)) {
this._xscale = -100;
this._x = this._x + speed;
if (_root.timerlock == false) {
_root.timer.gotoAndPlay(2);
this.gotoAndStop(2);
speed = _root.speednum;
}
}
if (((((!Key.isDown(68)) && (!Key.isDown(65))) && (!Key.isDown(87))) && (!Key.isDown(83))) && (!Key.isDown(74))) {
this.gotoAndStop(1);
}
if (Key.isDown(74)) {
_root.run = false;
_root.timer.gotoAndStop(1);
_root.lock = true;
this.gotoAndStop(3);
}
if ((_root.hit1 == true) && (Key.isDown(74))) {
this.gotoAndStop(6);
}
if ((_root.hit2 == true) && (Key.isDown(74))) {
this.gotoAndStop(12);
}
if ((_root.hit3 == true) && (Key.isDown(74))) {
this.gotoAndStop(13);
}
if ((_root.hit4 == true) && (Key.isDown(74))) {
this.gotoAndStop(7);
}
if (Key.isDown(75)) {
_root.run = false;
_root.timer.gotoAndStop(1);
_root.lock = true;
this.gotoAndStop(4);
}
if (Key.isDown(75) && (Key.isDown(74))) {
if (_root.boy.hp > 6) {
hp = hp - 5;
_root.lock = true;
this.gotoAndStop(9);
} else {
_root.lock = false;
this.gotoAndPlay(1);
}
}
if (Key.isDown(187)) {
hp = 100;
}
if (Key.isDown(189)) {
hp = 1;
}
if (Key.isDown(39)) {
for (var _local3 in _root) {
_root[_local3].hp = 1;
_root.boy.hp = 100;
}
}
if (Key.isDown(73)) {
_root.run = false;
_root.timer.gotoAndStop(1);
_root.lock = true;
this.gotoAndStop(20);
}
if (Key.isDown(77)) {
if ((_root.statemc._currentframe == 1) && (_root.statemc.lock == false)) {
_root.statemc.gotoAndPlay("in");
} else if ((_root.statemc._currentframe != 1) && (_root.statemc.lock == false)) {
_root.statemc.gotoAndPlay("out");
}
_root.statemc.state.attack = _root.attacknum;
_root.statemc.state.defend = _root.defendnum;
_root.statemc.state.speed = _root.speednum;
_root.statemc.state.level = _root.boylv;
_root.statemc.state.luck = _root.lucknum;
_root.statemc.state.ko = _root.kocount;
}
if (Key.isDown(76)) {
_root.timer.gotoAndStop(1);
_root.lock = true;
this.gotoAndStop("fangy");
}
}
};
stop();
Instance of Symbol 1018 MovieClip "hurt" in Symbol 1175 MovieClip [boy] Frame 1
/* no clip actions */
Symbol 1175 MovieClip [boy] Frame 2
stop();
Symbol 1175 MovieClip [boy] Frame 3
stop();
Symbol 1175 MovieClip [boy] Frame 4
stop();
Instance of Symbol 1040 MovieClip "jump" in Symbol 1175 MovieClip [boy] Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_parent._xscale = 100;
_parent._x = _parent._x - 4;
}
if (Key.isDown(68)) {
_parent._xscale = -100;
_parent._x = _parent._x + 4;
}
}
Symbol 1175 MovieClip [boy] Frame 5
stop();
Instance of Symbol 1018 MovieClip "hurt" in Symbol 1175 MovieClip [boy] Frame 5
/* no clip actions */
Symbol 1175 MovieClip [boy] Frame 6
stop();
Symbol 1175 MovieClip [boy] Frame 7
stop();
Symbol 1175 MovieClip [boy] Frame 8
stop();
Symbol 1175 MovieClip [boy] Frame 9
stop();
Symbol 1175 MovieClip [boy] Frame 10
stop();
Symbol 1175 MovieClip [boy] Frame 11
stop();
Symbol 1175 MovieClip [boy] Frame 12
stop();
Symbol 1175 MovieClip [boy] Frame 13
stop();
Symbol 1175 MovieClip [boy] Frame 14
stop();
Instance of Symbol 1018 MovieClip "hurt" in Symbol 1175 MovieClip [boy] Frame 14
/* no clip actions */
Symbol 1175 MovieClip [boy] Frame 15
_root.lock = true;
_root.boylv++;
_root.boy.hp = 100;
var lucktemp = random(5);
_root.lvmc.gotoAndStop(_root.boylv);
if (_root.attacknum < 15) {
_root.attacknum = _root.attacknum + 1;
}
if (lucktemp == 0) {
_root.lucknum = _root.lucknum + 1;
}
if (_root.speednum < 11) {
_root.speednum = _root.speednum + 1;
}
stop();
stop();
Symbol 1175 MovieClip [boy] Frame 20
stop();
Instance of Symbol 1018 MovieClip "hurt" in Symbol 1175 MovieClip [boy] Frame 20
/* no clip actions */
Symbol 1175 MovieClip [boy] Frame 26
stop();
Symbol 1175 MovieClip [boy] Frame 30
stop();
Instance of Symbol 1018 MovieClip "hurt2" in Symbol 1175 MovieClip [boy] Frame 30
/* no clip actions */
Symbol 1175 MovieClip [boy] Frame 35
stop();
Instance of Symbol 1018 MovieClip "hurt" in Symbol 1175 MovieClip [boy] Frame 35
/* no clip actions */
Symbol 1175 MovieClip [boy] Frame 41
stop();
Symbol 2329 MovieClip [__Packages.FWAd_AS2] Frame 0
class FWAd_AS2 extends MovieClip
{
static var xx, yy, wid, hei, id, ifIsLoadingAdShowStartBtn, noShowLogo, noShowForbidden, onClickStartBtn, fwAd, frameworkLoader, lc, loadFrameworkSuccess, loadFrameworkFailed, frameworkInitFinished, loadGameCompleted, restLoadFrameworkTimes, xml, newsLoader, newsMcl, news_lc, lc_sendName, lc_connName, canNotShowAd, onLoadXML;
var adValues, _FWAd, createEmptyMovieClip, getNextHighestDepth, mcl, loadingBar, loadingBar_bar, onEnterFrame, removeMovieClip, _parent, swapDepths, _visible, _x;
function FWAd_AS2 () {
super();
xx = adValues.x;
yy = adValues.y;
wid = adValues.wid;
hei = adValues.hei;
id = adValues.id;
adType = adValues.adType;
ifIsLoadingAdShowStartBtn = adValues.ifIsLoadingAdShowStartBtn;
noShowLogo = adValues.noShowLogo;
noShowForbidden = adValues.noShowForbidden;
if (adValues.onClickCloseBtn) {
onClickStartBtn = adValues.onClickCloseBtn;
} else {
onClickStartBtn = adValues.onClickStartBtn;
}
fwAd = this;
_FWAd = FWAd_AS2;
frameworkLoader = null;
lc = null;
loadFrameworkSuccess = false;
loadFrameworkFailed = false;
frameworkInitFinished = false;
System.security.allowDomain(swfDomain);
System.security.allowInsecureDomain(swfDomain);
fscommand ("showMenu", "false");
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
_root.menu = my_cm;
fscommand ("trapallkeys", "true");
loadGameCompleted = _root.getBytesLoaded() == _root.getBytesTotal();
frameworkLoader = createEmptyMovieClip("frameworkLoader", getNextHighestDepth());
frameworkLoader.createEmptyMovieClip("content", frameworkLoader.getNextHighestDepth());
mcl = new MovieClipLoader();
mcl.onLoadInit = function () {
FWAd_AS2.fwAd.loadFrameworkComplete();
};
mcl.onLoadError = function () {
FWAd_AS2.fwAd.loadFrameworkError();
};
restLoadFrameworkTimes = loadFrameworkTimes;
loadFramework();
var txt_sp = createEmptyMovieClip("txt_sp", getNextHighestDepth());
var DropShadowFilterClassName = "flash.filters.DropShadowFilter";
var DropShadowFilterClass = eval (DropShadowFilterClassName);
if (DropShadowFilterClass) {
txt_sp.filters = [new DropShadowFilterClass(0, 0, 0, 1, 2, 2, 4)];
}
var loadingBar_hei = 8;
var loadingBar_x = 10;
var loadingBar_wid = (wid - (2 * loadingBar_x));
loadingBar = createEmptyMovieClip("loadingBar", getNextHighestDepth());
loadingBar._x = loadingBar_x;
loadingBar._y = (hei - loadingBar_hei) - 6;
var loadingBar_bottom = loadingBar.createEmptyMovieClip("loadingBar_bottom", loadingBar.getNextHighestDepth());
loadingBar_bar = loadingBar.createEmptyMovieClip("loadingBar_bar", loadingBar.getNextHighestDepth());
var loadingBar_line = loadingBar.createEmptyMovieClip("loadingBar_line", loadingBar.getNextHighestDepth());
loadingBar_bottom.clear();
loadingBar_bottom.beginFill(3355443);
loadingBar_bottom.moveTo(0, 0);
loadingBar_bottom.lineTo(loadingBar_wid, 0);
loadingBar_bottom.lineTo(loadingBar_wid, loadingBar_hei);
loadingBar_bottom.lineTo(0, loadingBar_hei);
loadingBar_bottom.lineTo(0, 0);
loadingBar_bottom.endFill();
loadingBar_bar.clear();
var MatrixClassName = "flash.geom.Matrix";
var MatrixClass = eval (MatrixClassName);
if (MatrixClass) {
loadingBar_bar.beginGradientFill("linear", [16777215, 16750950], [100, 100], [63, 255], new MatrixClass(0.006, 0, 0, 1, 0, 0));
} else {
loadingBar_bar.beginFill(16750950);
}
loadingBar_bar._rotation = 90;
loadingBar_bar.moveTo(0, -loadingBar_wid);
loadingBar_bar.lineTo(loadingBar_hei, -loadingBar_wid);
loadingBar_bar.lineTo(loadingBar_hei, 0);
loadingBar_bar.lineTo(0, 0);
loadingBar_bar.lineTo(0, -loadingBar_wid);
loadingBar_bar.endFill();
loadingBar_line.clear();
loadingBar_line.lineStyle(1, 6710886);
loadingBar_line.moveTo(0, 0);
loadingBar_line.lineTo(loadingBar_wid, 0);
loadingBar_line.lineTo(loadingBar_wid, loadingBar_hei);
loadingBar_line.lineTo(0, loadingBar_hei);
loadingBar_line.lineTo(0, 0);
loadingBar_line.endFill();
loadingBar_bar._width = 1;
loadingBar_bar._xscale = 100;
switch (adType) {
case AD_TYPE_LOADING :
break;
default :
loadingBar._visible = false;
}
if (loadGameCompleted) {
loadingBar._visible = false;
} else {
loadingBar.onEnterFrame = function () {
FWAd_AS2.fwAd.loadGameProgress();
};
}
}
static function getParam(paramName) {
if (xml) {
return(String(xml.firstChild.attributes[paramName]));
}
trace("xml\u672A\u52A0\u8F7D\u5B8C\u6BD5, \u6216xml\u52A0\u8F7D\u5931\u8D25");
return(null);
}
static function showNews(_newsValues) {
clearInterval(checkNewsFirstInitIntervalId);
newsValues.wid = wid;
for (var _local3 in _newsValues) {
newsValues[_local3] = _newsValues[_local3];
}
if (newsValues.id) {
} else {
newsValues.id = id + "_news";
}
var _local4 = newsValues.container || _root;
if (_local4) {
newsLoader = _local4.createEmptyMovieClip("newsLoader", _local4.getNextHighestDepth());
newsLoader.createEmptyMovieClip("content", newsLoader.getNextHighestDepth());
newsLoader.x = newsValues.x;
newsLoader.y = newsValues.y;
newsMcl = new MovieClipLoader();
newsMcl.onLoadInit = function () {
FWAd_AS2.loadNewsComplete();
};
newsMcl.loadClip(newsSWFPath, newsLoader.content);
} else {
trace("\u672A\u6307\u5B9A\u5BB9\u5668,\u8BF7\u6539\u6210\u4F8B\u5982: FWAd_AS2.showNews({container:_root}");
}
news_lc = new LocalConnection();
}
static function loadNewsComplete() {
clearInterval(checkNewsFirstInitIntervalId);
checkNewsFirstInitIntervalId = setInterval(checkNewsFirstInit, 100);
}
static function checkNewsFirstInit() {
var _local1 = Math.round(newsLoader.getBounds(newsLoader).xMin / 10);
if (_local1 < -1000) {
clearInterval(checkNewsFirstInitIntervalId);
news_lc.send("_News" + _local1, "that2this", "newsValues", newsValues);
}
}
static function showAd(_adValues) {
var _local6 = {x:xx, y:yy, wid:wid, hei:hei, id:id, adType:AD_TYPE_CONTAINER};
for (var _local3 in _adValues) {
_local6[_local3] = _adValues[_local3];
}
if (_adValues) {
if (_adValues.starPoolID && (_adValues.starSubPoolID)) {
_local6.id = (_adValues.starPoolID + newline) + _adValues.starSubPoolID;
}
}
var _local4 = _local6.container || _root;
if (_local4) {
if (_local6.adType == AD_TYPE_LOADING) {
if (hasLoadOnce) {
trace("\u7F13\u51B2\u5E7F\u544A\u4E0D\u5141\u8BB8\u77ED\u65F6\u95F4\u5185\u91CD\u590D\u521D\u59CB\u5316");
return(undefined);
}
hasLoadOnce = true;
}
} else {
trace("\u672A\u6307\u5B9A\u5BB9\u5668,\u8BF7\u6539\u6210\u4F8B\u5982: FWAd_AS2.showAd({container:_root}");
return(undefined);
}
_local4.attachMovie("FWAd_AS2", "fwAd", _local4.getNextHighestDepth(), {adValues:_local6});
}
function loadFramework() {
mcl.loadClip(frameworkSWFPath, frameworkLoader.content);
_global.clearTimeout(timeoutId);
timeoutId = _global.setTimeout(loadFrameworkTimeout, loadFrameworkTimeoutTime * 1000);
}
function loadGameProgress() {
switch (adType) {
case AD_TYPE_LOADING :
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
loadingBar_bar._xscale = 100;
loadingBar_bar._yscale = _local3 * 100;
if (_local3 >= 1) {
loadingBar.onEnterFrame = null;
loadGameComplete();
}
break;
default :
loadingBar.onEnterFrame = null;
}
}
function loadGameComplete() {
hasLoadOnce = false;
loadGameCompleted = true;
loadingBar._visible = false;
checkLoadGameCompleteAndTryStart();
if (frameworkInitFinished) {
lc.send(lc_sendName, "that2this", "loadGameCompleted");
}
}
function loadFrameworkComplete() {
onEnterFrame = checkFrameworkFirstInit;
}
function checkFrameworkFirstInit() {
var _local4 = Math.round(frameworkLoader.getBounds(frameworkLoader).xMin / 10);
if (_local4 < -1000) {
onEnterFrame = null;
lc_connName = "_FWAd" + _local4;
lc_sendName = "_Framework" + _local4;
lc = new LocalConnection();
lc.allowDomain = function () {
return(true);
};
lc.allowInsecureDomain = function () {
return(true);
};
lc.onStatus = function () {
var _local2 = arguments[0];
if (!(_local2.level === "error")) {
} else {
trace("lc error");
}
};
lc.connect(lc_connName);
lc.that2this = function () {
FWAd_AS2.fwAd.Framework2FWAd.apply(FWAd_AS2.fwAd, arguments);
};
_global.clearTimeout(timeoutId);
loadFrameworkSuccess = true;
checkLoadGameCompleteAndTryStart();
}
}
function loadFrameworkTimeout() {
trace("loadFrameworkTimeout");
fwAd.loadFrameworkError();
}
function loadFrameworkError() {
trace("\u5269\u4F59\u5C1D\u8BD5\u52A0\u8F7D\u6B21\u6570:" + restLoadFrameworkTimes);
_global.clearTimeout(timeoutId);
if ((--restLoadFrameworkTimes) < 0) {
loadFrameworkFailed = true;
checkLoadGameCompleteAndTryStart();
} else {
mcl.uploadClip();
loadFramework();
}
}
function Framework2FWAd() {
switch (arguments[0]) {
case "initFinished" :
frameworkInitFinished = true;
lc.send(lc_sendName, "that2this", "confirmInitFinished", getFWAdValuesByNameArr(arguments.slice(1)));
break;
case "clickStartBtn" :
clickStartBtn();
break;
case "canNotShowAd" :
case "noId" :
canNotShowAd = true;
checkLoadGameCompleteAndTryStart();
break;
case "xml" :
xml = new XML(arguments[1]);
onLoadXML();
}
}
function getFWAdValuesByNameArr(nameArr) {
var _local3 = new Object();
for (var _local4 in nameArr) {
var _local1 = nameArr[_local4];
_local3[_local1] = FWAd_AS2[_local1];
}
return(_local3);
}
function checkLoadGameCompleteAndTryStart() {
if (loadGameCompleted) {
if (loadFrameworkFailed) {
trace("\u52A0\u8F7D framework \u5931\u8D25");
if (ifLoadFrameworkErrorCanPlayGame || (checkIsOurDomain())) {
trace("\u81EA\u52A8\u8DF3\u5230\u6E38\u620F");
clickStartBtn();
} else {
trace("\u4E0D\u81EA\u52A8\u8DF3\u5230\u6E38\u620F");
}
} else if (canNotShowAd) {
if (checkIsOurDomain()) {
clickStartBtn();
}
}
}
}
function checkIsOurDomain() {
if (_root._url) {
var _local2 = _root._url.toLowerCase();
return((((_local2.indexOf(".youyouwin.com/") > 0) || (_local2.indexOf(".7k7k.com/") > 0)) || (_local2.indexOf(".flash8.net/") > 0)) || (_local2.indexOf("file:///") == 0));
}
return(true);
}
function clickStartBtn() {
if (onClickStartBtn != null) {
onClickStartBtn();
onClickStartBtn = null;
}
removeMovieClip();
var _local4 = new Array();
for (var _local5 in _parent) {
var _local3 = _parent[_local5];
if (_local3 instanceof MovieClip) {
var _local2 = _local3.getDepth();
if (_local2 >= 0) {
_local4[_local2] = true;
}
}
}
var _local2 = 65535;
while (_local2 >= 0) {
if (_local4[_local2]) {
} else {
swapDepths(_local2);
break;
}
_local2--;
}
removeMovieClip();
_visible = false;
_x = -10000;
}
function closeAd() {
clickStartBtn();
}
static var ifLoadFrameworkErrorCanPlayGame = true;
static var loadFrameworkTimeoutTime = 8;
static var loadFrameworkTimes = 2;
static var ifAdFailCanPlayGame = true;
static var ifAddCallBackErrorCanPlayGame = false;
static var swfDomain = "www.freegameswow.com";
static var swfFolder = ("http://" + swfDomain) + "/fgAds/";
static var frameworkSWFPath = swfFolder + "Framework.swf";
static var newsSWFPath = swfFolder + "News.swf";
static var AD_TYPE_LOADING = "loading";
static var AD_TYPE_CONTAINER = "container";
static var adType = AD_TYPE_LOADING;
static var hasLoadOnce = false;
static var newsValues = {x:0, y:0};
static var checkNewsFirstInitIntervalId = -1;
var timeoutId = -1;
}
Symbol 1193 MovieClip Frame 1
stop();
Symbol 1254 MovieClip Frame 8
gotoAndPlay (1);
Symbol 1254 MovieClip Frame 9
stop();
Symbol 1259 Button
on (press) {
stopAllSounds();
_root.play();
}
Symbol 1260 MovieClip Frame 70
stop();
Symbol 1267 MovieClip [box] Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 1267 MovieClip [box] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit)) {
_parent.gotoAndPlay(2);
}
}
Symbol 1267 MovieClip [box] Frame 17
if (_root.bounce == false) {
play();
} else {
this.removeMovieClip();
}
Symbol 1267 MovieClip [box] Frame 18
a = 1;
gotoAndStop(_currentframe + a);
Instance of Symbol 193 MovieClip in Symbol 1267 MovieClip [box] Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy)) {
}
}
Instance of Symbol 197 MovieClip in Symbol 1267 MovieClip [box] Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.yingzi)) {
_root.findfood.start(0, 1);
_root.attachMovie("hpup", "hpup", _root.i + 10100);
_root.hpup._x = _root.boy._x + 10;
_root.hpup._y = _root.boy._y;
_root.boy.hp = _root.boy.hp + (100 - hp);
removeMovieClip(_parent);
}
}
Instance of Symbol 198 MovieClip in Symbol 1267 MovieClip [box] Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy)) {
}
}
Instance of Symbol 199 MovieClip in Symbol 1267 MovieClip [box] Frame 21
onClipEvent (enterFrame) {
if (((Math.abs(_parent._parent._y - _root.boy._y) < 30) && (Math.abs(_parent._parent._x - _root.boy._x) < 30)) && (Key.isDown(74))) {
}
}
Symbol 1330 Button
on (press) {
nextFrame();
}
Symbol 1375 Button
on (press) {
stopAllSounds();
_root.play();
}
Symbol 1376 MovieClip Frame 1
stop();
stop();
stop();
Instance of Symbol 1254 MovieClip "rain" in Symbol 1376 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(1121331);
}
Instance of Symbol 1209 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(999999999);
}
Instance of Symbol 593 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 1376 MovieClip Frame 2
stop();
Symbol 1376 MovieClip Frame 3
stop();
Symbol 1376 MovieClip Frame 4
stop();
Symbol 1376 MovieClip Frame 5
stop();
Symbol 1376 MovieClip Frame 6
stop();
Symbol 1376 MovieClip Frame 7
stop();
Instance of Symbol 1018 MovieClip "hurt" in Symbol 1376 MovieClip Frame 7
/* no clip actions */
Symbol 1376 MovieClip Frame 8
stop();
Symbol 1376 MovieClip Frame 9
stop();
Symbol 1376 MovieClip Frame 10
stop();
Symbol 1376 MovieClip Frame 11
stop();
Symbol 1376 MovieClip Frame 12
stop();
Symbol 1376 MovieClip Frame 13
stop();
Instance of Symbol 593 MovieClip in Symbol 1376 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 1376 MovieClip Frame 14
stop();
Symbol 1376 MovieClip Frame 15
stop();
Symbol 1376 MovieClip Frame 16
stop();
Symbol 1376 MovieClip Frame 17
stop();
Symbol 1376 MovieClip Frame 18
stop();
Symbol 1376 MovieClip Frame 19
stop();
Symbol 1376 MovieClip Frame 20
stop();
Symbol 1376 MovieClip Frame 21
play();
Symbol 1376 MovieClip Frame 32
stopAllSounds();
Symbol 1376 MovieClip Frame 774
stop();
Symbol 1376 MovieClip Frame 775
stop();
Symbol 1376 MovieClip Frame 776
stop();
Symbol 1376 MovieClip Frame 777
stop();
Symbol 1376 MovieClip Frame 778
stop();
Symbol 1376 MovieClip Frame 779
stop();
Symbol 1376 MovieClip Frame 780
stop();
Symbol 1376 MovieClip Frame 781
stop();
Symbol 1376 MovieClip Frame 782
stop();
Symbol 1376 MovieClip Frame 783
stop();
Symbol 1376 MovieClip Frame 784
stop();
Symbol 1376 MovieClip Frame 785
stop();
Symbol 1376 MovieClip Frame 786
stop();
Symbol 1376 MovieClip Frame 787
stop();
Symbol 1376 MovieClip Frame 788
stop();
Symbol 1376 MovieClip Frame 789
stop();
Symbol 1376 MovieClip Frame 790
stop();
Symbol 1376 MovieClip Frame 3325
stop();
_root.play();
Symbol 1383 MovieClip Frame 1
Instance of Symbol 59 MovieClip in Symbol 1395 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 593 MovieClip in Symbol 1414 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 1497 MovieClip Frame 1
Symbol 1497 MovieClip Frame 36
stop();
Symbol 1500 Button
on (release) {
getURL ("http://www.twitter.com/freegameswow", "_blank");
}
Symbol 1504 Button
on (release) {
getURL ("http://www.facebook.com/freegameswow", "_blank");
}
Symbol 1507 Button
on (release) {
getURL ("http://www.freegameswow.com", "_blank");
}
Symbol 1514 Button
on (release) {
gotoAndStop (1);
}
Symbol 1516 MovieClip Frame 1
stop();
Symbol 1516 MovieClip Frame 2
stop();
Symbol 1517 Button
on (release) {
cre.gotoAndStop(3);
}
Symbol 1524 Button
on (press) {
play();
m = 2;
}
Symbol 1528 Button
on (press) {
play();
m = 3;
}
Symbol 1530 Button
on (press) {
play();
}
Symbol 1541 Button
on (press) {
_root.hard = 1;
}
Symbol 1544 Button
on (press) {
_root.hard = 2;
}
Symbol 1547 Button
on (press) {
_root.hard = 3;
}
Symbol 1550 Button
on (press) {
_root._quality = "LOW";
}
Symbol 1552 Button
on (press) {
_root._quality = "MEDIUM";
}
Symbol 1555 Button
on (press) {
_root._quality = "HIGH";
}
Symbol 1558 Button
on (press) {
_root.tv = false;
_root.tvmc._visible = false;
}
Symbol 1561 Button
on (press) {
_root.tv = true;
_root.tvmc._visible = true;
}
Symbol 1564 Button
on (press) {
_root.play();
}
Symbol 1566 Button
on (press) {
play();
m = 2;
}
Symbol 1573 Button
on (press) {
play();
}
Symbol 1578 Button
on (press) {
play();
}
Symbol 1579 Button
on (press) {
aa = SharedObject.getLocal("ssbrsave");
if (aa.data.stage != undefined) {
_root.gotoAndPlay("readsave");
} else {
play();
}
}
Symbol 1602 Button
on (press) {
play();
_root._quality = "MEDIUM";
}
Symbol 1605 Button
on (press) {
play();
}
Instance of Symbol 593 MovieClip in Symbol 1612 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 1626 MovieClip Frame 1
stop();
Symbol 1631 MovieClip Frame 1
this.select = false;
Symbol 1631 MovieClip Frame 2
stop();
this.select = true;
Symbol 1631 MovieClip Frame 3
stop();
Symbol 1646 MovieClip Frame 1
stop();
Symbol 1646 MovieClip Frame 2
stop();
Instance of Symbol 1640 MovieClip in Symbol 1646 MovieClip Frame 2
onClipEvent (load) {
var i = 0;
}
onClipEvent (enterFrame) {
i++;
if (Key.isDown(75) && (i >= 10)) {
_parent.gotoAndStop(1);
}
if (Key.isDown(74) && (i >= 10)) {
i = 0;
if ((_root.score >= _parent._parent.pricearray[_parent._parent.arrowmc.i]) && (_root.wuqiarray[_parent._parent.arrowmc.i] != 1)) {
_parent._parent.scmc.mc1 = _parent._parent.scmc.mc1 - _parent._parent.pricearray[_parent._parent.arrowmc.i];
_parent._parent.scmc.mc2 = _parent._parent.scmc.mc2 - _parent._parent.pricearray[_parent._parent.arrowmc.i];
_root.wuqiarray[_parent._parent.arrowmc.i] = 1;
_root.score = _root.score - _parent._parent.pricearray[_parent._parent.arrowmc.i];
_parent.gotoAndStop(4);
} else {
_parent.gotoAndStop(3);
}
}
}
Symbol 1646 MovieClip Frame 3
stop();
Instance of Symbol 1643 MovieClip in Symbol 1646 MovieClip Frame 3
onClipEvent (load) {
var i = 0;
}
onClipEvent (enterFrame) {
i++;
if (Key.isDown(74) && (i >= 10)) {
_parent.gotoAndPlay(5);
} else if (Key.isDown(75) && (i >= 10)) {
_parent.gotoAndPlay(5);
} else if (Key.isDown(83) && (i >= 10)) {
_parent.gotoAndPlay(5);
} else if (Key.isDown(87) && (i >= 10)) {
_parent.gotoAndPlay(5);
}
}
Symbol 1646 MovieClip Frame 4
stop();
Symbol 1649 MovieClip Frame 1
stop();
Symbol 1657 Button
on (press) {
_root.boy._visible = true;
_root.combo._visible = true;
_root.gameover._visible = true;
_root.power._visible = true;
_root.power.removeMovieClip;
_root.power.gotoAndStop("guna");
_root.kuang._visible = true;
_root.energymc._visible = true;
stopAllSounds();
if (_root.wuqiarray[0] == 1) {
_root.power.dy1 = _root.power.dy1 + 20;
_root.dya = _root.dya + 20;
}
if (_root.wuqiarray[1] == 1) {
_root.power.dy2 = _root.power.dy2 + 10;
_root.dyb = _root.dyb + 10;
}
if (_root.wuqiarray[2] == 1) {
_root.power.dy3 = _root.power.dy3 + 20;
_root.dyc = _root.dyc + 20;
}
if (_root.wuqiarray[3] == 1) {
_root.power.dy4 = _root.power.dy4 + 20;
_root.dyd = _root.dyd + 20;
}
if (_root.wuqiarray[4] == 1) {
_root.speednum = _root.speednum + 1;
}
if (_root.wuqiarray[5] == 1) {
_root.zhiliao = 1;
}
if (_root.wuqiarray[6] == 1) {
_root.boylv++;
_root.attacknum = _root.attacknum + 1;
_root.defendnum++;
}
if (_root.wuqiarray[7] == 1) {
_root.lucknum = _root.lucknum + 3;
_root.luckring = true;
}
mysave = SharedObject.getLocal("ssbrsave");
mysave.data.zhiliao = _root.zhiliao;
mysave.data.score = _root.score;
mysave.data.jiuming = _root.jiuming;
mysave.data.dya = _root.dya;
mysave.data.dyb = _root.dyb;
mysave.data.dyc = _root.dyc;
mysave.data.dyd = _root.dyd;
mysave.data.stage = _root.stage;
mysave.data.boylv = _root.boylv;
mysave.data.attacknum = _root.attacknum;
mysave.data.speednum = _root.speednum;
mysave.data.defendnum = _root.defendnum;
mysave.data.lucknum = _root.lucknum;
mysave.data.kocount = _root.kocount;
mysave.data.wuqiarray = _root.wuqiarray;
mysave.data.expnum = _root.expnum;
mysave.flush();
_root.attachMovie("power", "power", shendu++);
_root.power._x = 340;
_root.power._y = 335;
_root.power._visible = true;
if (_root.stage == 0) {
_root.gotoAndStop("1guan");
} else if (_root.stage == 1) {
_root.gotoAndStop("2guan");
_root.combo.removeMovieClip();
} else if (_root.stage == 2) {
_root.gotoAndStop("bounceguan");
_root.bg.gotoAndStop("bouns");
} else if (_root.stage == 4) {
_root.gotoAndStop("3guan");
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg.nextFrame();
_root.bg._x = 532;
} else if (_root.stage == 15) {
_root.gotoAndStop("15guan");
} else if (_root.stage == 5) {
_root.gotoAndStop("5guan");
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg._x = 532;
} else if (_root.stage == 6) {
_root.gotoAndStop("6guan");
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg._x = 532;
}
}
Symbol 1668 MovieClip Frame 1
_visible = false;
Instance of Symbol 1668 MovieClip in Symbol 1675 MovieClip Frame 1
onClipEvent (enterFrame) {
a = random(20);
if (a == 1) {
_parent.play();
}
}
Symbol 1682 MovieClip Frame 1
function unselectitem(num) {
tempitemarray = ["item0", "item1", "item2", "item3", "item4", "item5", "item6", "item7"];
tempitemarray.splice(num, 1);
}
_root.boy.swapDepths(999);
_root.boy.removeMovieClip();
_root.bg.swapDepths(1999);
_root.bg.removeMovieClip();
_root.bg.swapDepths(19349);
stop();
itemarray = ["item0", "item1", "item2", "item3", "item4", "item5", "item6", "item7"];
pricearray = [300, 300, 1000, 2000, 500, 1000, 2000, 3000];
Yarray = [-151.6, -116, -80.3, -44.8, -9.2, 26.4, 62, 97.7];
var i = 0;
while (i < 8) {
if (_root.wuqiarray[i] == 1) {
_root.shopping["item" + i].gotoAndStop(3);
} else if ((i != 0) && (_root.wuqiarray[i] == 0)) {
_root.shopping["item" + i].gotoAndStop(1);
}
i++;
}
var i = 0;
while (i < 8) {
_root.shopping[itemarray[i]].onEnterFrame = function () {
if (submit._currentframe == 1) {
if (Key.isDown(74)) {
if (this.select == true) {
submit.gotoAndStop(2);
}
} else if (Key.isDown(75)) {
submit.gotoAndStop(1);
}
}
};
i++;
}
arrowmc.i = 0;
arrowmc.j = 0;
arrowmc._y = Yarray[0];
arrowmc.onEnterFrame = function () {
inform.gotoAndStop(this.i + 1);
this.j++;
if ((Key.isDown(68) && (this.j > 3)) && (submit._currentframe == 1)) {
music.gotoAndPlay(2);
this.i++;
this.j = 0;
if (this.i >= 8) {
this.i = 0;
}
this._y = _root.shopping.Yarray[this.i];
_root.shopping[itemarray[this.i]].gotoAndStop(2);
unselectitem(this.i);
var _local3 = 0;
while (_local3 < 8) {
_root.shopping[tempitemarray[_local3]].gotoAndStop(1);
_local3++;
}
} else if ((Key.isDown(65) && (this.j > 3)) && (submit._currentframe == 1)) {
submit.gotoAndStop(1);
music.gotoAndPlay(2);
this.i--;
this.j = 0;
if (this.i <= -1) {
this.i = 7;
}
this._y = _root.shopping.Yarray[this.i];
_root.shopping[itemarray[this.i]].gotoAndStop(2);
unselectitem(this.i);
var _local3 = 0;
while (_local3 < 8) {
_root.shopping[tempitemarray[_local3]].gotoAndStop(1);
_local3++;
}
}
};
if (_root.stage == 0) {
_root.guanka = 1;
} else if (_root.stage == 1) {
_root.guanka = 2;
} else if (_root.stage == 2) {
} else if (_root.stage == 4) {
} else if (_root.stage == 15) {
_root.guanka = 3;
} else if (_root.stage == 5) {
_root.guanka = 4;
} else if (_root.stage == 6) {
_root.guanka = 5;
}
Instance of Symbol 1631 MovieClip "item0" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[0] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item1" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[1] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item2" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[2] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item3" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[3] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item4" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[4] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item5" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[5] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item6" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[6] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1631 MovieClip "item7" in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wuqiarray[7] == 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1655 MovieClip in Symbol 1682 MovieClip Frame 1
on (keyPress "l") {
_root.boy._visible = true;
_root.combo._visible = true;
_root.gameover._visible = true;
_root.power._visible = true;
_root.power.removeMovieClip;
_root.power.gotoAndStop("guna");
_root.kuang._visible = true;
_root.energymc._visible = true;
stopAllSounds();
if (_root.wuqiarray[0] == 1) {
_root.power.dy1 = _root.power.dy1 + 20;
_root.dya = _root.dya + 20;
}
if (_root.wuqiarray[1] == 1) {
_root.power.dy2 = _root.power.dy2 + 10;
_root.dyb = _root.dyb + 10;
}
if (_root.wuqiarray[2] == 1) {
_root.power.dy3 = _root.power.dy3 + 20;
_root.dyc = _root.dyc + 20;
}
if (_root.wuqiarray[3] == 1) {
_root.power.dy4 = _root.power.dy4 + 20;
_root.dyd = _root.dyd + 20;
}
if (_root.wuqiarray[4] == 1) {
_root.speednum = _root.speednum + 1;
}
if (_root.wuqiarray[5] == 1) {
_root.zhiliao = 1;
}
if (_root.wuqiarray[6] == 1) {
_root.boylv++;
_root.attacknum = _root.attacknum + 1;
_root.defendnum++;
}
if (_root.wuqiarray[7] == 1) {
_root.lucknum = _root.lucknum + 3;
_root.luckring = true;
}
mysave = SharedObject.getLocal("ssbrsave");
mysave.data.zhiliao = _root.zhiliao;
mysave.data.score = _root.score;
mysave.data.jiuming = _root.jiuming;
mysave.data.dya = _root.dya;
mysave.data.dyb = _root.dyb;
mysave.data.dyc = _root.dyc;
mysave.data.dyd = _root.dyd;
mysave.data.stage = _root.stage;
mysave.data.boylv = _root.boylv;
mysave.data.attacknum = _root.attacknum;
mysave.data.speednum = _root.speednum;
mysave.data.defendnum = _root.defendnum;
mysave.data.lucknum = _root.lucknum;
mysave.data.kocount = _root.kocount;
mysave.data.wuqiarray = _root.wuqiarray;
mysave.data.expnum = _root.expnum;
mysave.flush();
_root.attachMovie("power", "power", shendu++);
_root.power._x = 340;
_root.power._y = 335;
_root.power._visible = true;
if (_root.stage == 0) {
_root.gotoAndStop("1guan");
} else if (_root.stage == 1) {
_root.gotoAndStop("2guan");
_root.combo.removeMovieClip();
} else if (_root.stage == 2) {
_root.gotoAndStop("bounceguan");
_root.bg.gotoAndStop("bouns");
} else if (_root.stage == 4) {
_root.gotoAndStop("3guan");
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg.nextFrame();
_root.bg._x = 532;
} else if (_root.stage == 15) {
_root.gotoAndStop("15guan");
} else if (_root.stage == 5) {
_root.gotoAndStop("5guan");
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg._x = 532;
} else if (_root.stage == 6) {
_root.gotoAndStop("6guan");
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg._x = 532;
}
}
Instance of Symbol 1680 MovieClip "scmc" in Symbol 1682 MovieClip Frame 1
onClipEvent (load) {
this.mc1 = _root.score;
this.mc2 = _root.score;
}
Symbol 1703 MovieClip Frame 1
stop();
Symbol 1704 MovieClip Frame 1
function addscores(num) {
_root.score = _root.score + num;
score = _root.score;
var _local2 = String(score).slice(-1);
var _local3 = String(score).slice(-2, -1);
var _local4 = String(score).slice(-3, -2);
var _local5 = String(score).slice(-4, -3);
var _local6 = String(score).slice(-5, -4);
num1.gotoAndStop(int(_local2) + 1);
num10.gotoAndStop(int(_local3) + 1);
num100.gotoAndStop(int(_local4) + 1);
num1000.gotoAndStop(int(_local5) + 1);
num10000.gotoAndStop(int(_local6) + 1);
}
Symbol 1709 MovieClip Frame 1
aaa = _root.hitcount;
bbb = aaa;
Symbol 1710 MovieClip Frame 1
stop();
Instance of Symbol 1709 MovieClip "suzhi" in Symbol 1710 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hitcount > 0) {
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 1713 MovieClip Frame 1
stop();
Symbol 1713 MovieClip Frame 3
_root.hitcount++;
Symbol 1713 MovieClip Frame 4
_root.combo.suzhi._xscale = (_root.combo.suzhi._yscale = 150);
Symbol 1713 MovieClip Frame 6
_root.combo.suzhi._xscale = (_root.combo.suzhi._yscale = 80);
Symbol 1713 MovieClip Frame 15
_root.hitcount = 0;
Symbol 1777 MovieClip Frame 1
stop();
Symbol 1777 MovieClip Frame 2
stop();
Symbol 1777 MovieClip Frame 3
stop();
Symbol 1777 MovieClip Frame 4
stop();
Symbol 1777 MovieClip Frame 5
stop();
Symbol 1777 MovieClip Frame 6
stop();
Symbol 1777 MovieClip Frame 7
stop();
Symbol 1777 MovieClip Frame 8
stop();
Symbol 1777 MovieClip Frame 9
stop();
Symbol 1777 MovieClip Frame 10
stop();
Symbol 1777 MovieClip Frame 11
stop();
Symbol 1777 MovieClip Frame 12
stop();
Symbol 1777 MovieClip Frame 13
stop();
Symbol 1784 MovieClip Frame 1
stop();
_root.timerlock = false;
Symbol 1784 MovieClip Frame 4
_root.timerlock = true;
Instance of Symbol 1783 MovieClip in Symbol 1784 MovieClip Frame 4
onClipEvent (load) {
var temp = _root.speednum;
}
onClipEvent (enterFrame) {
if ((Key.isDown(65) && (_root.boy._xscale == 100)) || (Key.isDown(68) && (_root.boy._xscale == -100))) {
_parent.stop();
_root.run = true;
_root.boy.gotoAndStop(5);
} else {
_root.run = false;
_parent.gotoAndStop(1);
}
}
Symbol 1785 MovieClip Frame 1
stop();
Symbol 1789 MovieClip Frame 1
stop();
Symbol 1789 MovieClip Frame 2
_root.hit1 = true;
Symbol 1789 MovieClip Frame 11
_root.hit1 = false;
Symbol 1790 MovieClip Frame 1
stop();
Symbol 1790 MovieClip Frame 2
_root.hit2 = true;
Symbol 1790 MovieClip Frame 11
_root.hit2 = false;
Symbol 1792 MovieClip Frame 1
stop();
Symbol 1792 MovieClip Frame 6
_root.hit1 = false;
Symbol 1795 MovieClip Frame 1
stop();
Symbol 1795 MovieClip Frame 47
_root.lock = false;
Symbol 1796 MovieClip Frame 1
stop();
Symbol 1796 MovieClip Frame 2
_root.hit3 = true;
Symbol 1796 MovieClip Frame 11
_root.hit3 = false;
Symbol 1797 MovieClip Frame 1
stop();
Symbol 1797 MovieClip Frame 2
_root.hit4 = true;
Symbol 1797 MovieClip Frame 11
_root.hit4 = false;
Symbol 1804 MovieClip Frame 1
onEnterFrame = function () {
hit1 = _root.hit1;
hit2 = _root.hit2;
hit3 = _root.hit3;
hit4 = _root.hit4;
hit5 = _root.hit5;
};
Symbol 1808 MovieClip [levelup] Frame 22
this.removeMovieClip();
stop();
Symbol 1818 MovieClip Frame 1
stop();
Symbol 1841 MovieClip Frame 1
stop();
Symbol 1874 MovieClip Frame 1
lock = false;
stop();
Symbol 1874 MovieClip Frame 2
lock = true;
Symbol 1874 MovieClip Frame 10
lock = false;
var i = 1;
while (i < 10) {
this["s" + i] = "\u65E0";
i++;
}
if (_root.wuqiarray[0] == 1) {
s1 = "\u94C1\u624B\u5957";
}
if (_root.wuqiarray[1] == 1) {
s2 = "\u519B\u5927\u8863";
}
if (_root.wuqiarray[2] == 1) {
s3 = "\u75BE\u6B65\u9774";
s9 = "\u75BE\u6B65\u9774";
}
if (_root.wuqiarray[3] == 1) {
s4 = "\u56DE\u590D\u624B\u956F";
}
if (_root.wuqiarray[4] == 1) {
s5 = "\u884C\u8005\u5E3D";
}
if (_root.wuqiarray[5] == 1) {
s6 = "\u9B45\u529B\u9879\u94FE";
}
if (_root.wuqiarray[6] == 1) {
s7 = "\u5E78\u8FD0\u6212\u6307";
}
if (_root.wuqiarray[7] == 1) {
s8 = "\u6740\u9E21\u5C0F\u5200";
}
stop();
Symbol 1874 MovieClip Frame 11
lock = true;
Symbol 1880 MovieClip Frame 1
stop();
Symbol 1880 MovieClip Frame 2
stop();
Instance of Symbol 1878 MovieClip in Symbol 1880 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.energy <= 0) {
_root.energy = 0;
_root.energymc.gotoAndStop(1);
}
}
Symbol 1901 Button
on (keyPress "j") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
on (keyPress "k") {
play();
}
on (keyPress "J") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
on (keyPress "K") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
Symbol 1910 Button
on (keyPress "j") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
on (keyPress "k") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
on (keyPress "J") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
on (keyPress "K") {
_root.lock = true;
j++;
if ((bb == str) || ((j % 2) == 0)) {
play();
} else {
bb = str;
delete onEnterFrame;
}
}
Symbol 1918 MovieClip Frame 1
this.gotoAndStop(random(4) + 1);
Symbol 1919 Button
on (keyPress "j") {
play();
}
on (keyPress "k") {
play();
}
on (keyPress "J") {
play();
}
Symbol 1962 Button
on (keyPress "j") {
play();
}
on (keyPress "k") {
play();
}
on (keyPress "J") {
play();
}
on (keyPress "K") {
play();
}
Symbol 1992 MovieClip Frame 1
stop();
Symbol 1994 MovieClip Frame 38
stop();
Symbol 2029 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay(16);
j = 2000;
for (var i in _root) {
_root[i].swapDepths(j);
_root[i].removeMovieClip();
}
}
Symbol 2132 MovieClip Frame 1
stop();
Symbol 2136 MovieClip Frame 1
stop();
Symbol 2144 MovieClip Frame 1
stop();
Symbol 2144 MovieClip Frame 2
_root.lock = true;
_root.boy.gotoAndStop(1);
stopAllSounds();
Symbol 2144 MovieClip Frame 11
stop();
var i = 0;
var j = 0;
str = "\u5C0F\u5B50\uFF0C\u4F60\u7ADF\u6562\u6765\u8FD9\u627E\u6B7B\uFF01\u90A3\u4ECA\u5929\u672C\u5927\u7237\u5C31\u6765\u966A\u4F60\u73A9\u73A9\u597D\u4E86\uFF0C\u5F1F\u5144\u4EEC\uFF0C\u7ED9\u6211\u4E0A\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 12
bb = "";
Symbol 2144 MovieClip Frame 21
stop();
var i = 0;
var j = 0;
str = "\u54FC\uFF0C\u5E9F\u8BDD\u5C11\u8BF4\uFF0C\u8BA9\u4F60\u5148\u5C1D\u5C1D\u6211\u7684\u201C\u65E0\u5F0F\u7206\u88C2\u62F3\u201D\u548C\u201C\u4EA4\u5927\u65E0\u5F71\u817F\u201D";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 22
bb = "";
Symbol 2144 MovieClip Frame 30
Symbol 2144 MovieClip Frame 36
stop();
Symbol 2144 MovieClip Frame 41
_root.lock = false;
Symbol 2144 MovieClip Frame 45
_root.nextFrame();
stop();
Symbol 2144 MovieClip Frame 50
stopAllSounds();
Symbol 2144 MovieClip Frame 71
_root.deadcount = 50;
_root.allenemy = 0;
Symbol 2144 MovieClip Frame 72
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u545C\u2026\u545C\u2026\u545C\u2026\u8BF7\u5927\u4FA0\u653E\u8FC7\u6211\u4EEC\u5427\u2026";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 73
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u6211\u4FDD\u8BC1\u4E0B\u6B21\u518D\u4E5F\u4E0D\u6562\u4E86\u2026\u2026";
onEnterFrame = function () {
if (i < str.length) {
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 82
bb = "";
Symbol 2144 MovieClip Frame 108
Symbol 2144 MovieClip Frame 117
_root.statemc.gotoAndStop(1);
Symbol 2144 MovieClip Frame 131
stop();
Symbol 2144 MovieClip Frame 155
stop();
Symbol 2144 MovieClip Frame 156
stop();
Symbol 2144 MovieClip Frame 157
stop();
Symbol 2144 MovieClip Frame 187
stop();
delete onEnterFrame;
Symbol 2144 MovieClip Frame 223
stopAllSounds();
Symbol 2144 MovieClip Frame 225
_root.gotoAndStop("shopmc");
Symbol 2144 MovieClip Frame 260
_root.guanshu.nextFrame();
delete onEnterFrame;
Symbol 2144 MovieClip Frame 261
stop();
Symbol 2144 MovieClip Frame 291
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u98DE\u8F66\u515A\u7684\u5730\u76D8\u5C31\u662F\u8FD9\u91CC\u4E86\uFF0C\u4F46\u662F\u5F88\u5947\u602A\u4E00\u4E2A\u4EBA\u4E5F\u6CA1\u770B\u5230\uFF0C\u6069\uFF0C\u4E0D\u7BA1\u600E\u4E48\u6837\uFF0C\u8FD8\u662F\u5C0F\u5FC3\u70B9\u5427\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 292
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u6CE8\u610F\uFF1A\u98DE\u8F66\u515A\u7684\u6469\u6258\u961F\u5FC5\u987B\u7528\u98DE\u817F\uFF08K,J\uFF09\u6765\u653B\u51FB\u624D\u6709\u6548";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
stop();
bb = "";
Symbol 2144 MovieClip Frame 305
_root.lock = false;
stop();
bb = "";
Symbol 2144 MovieClip Frame 306
stopAllSounds();
Symbol 2144 MovieClip Frame 307
_root.lock = true;
bb = "";
Symbol 2144 MovieClip Frame 320
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u54C8\u54C8\u54C8\u2026\u2026\u60F3\u4E0D\u5230\u65E2\u7136\u8DD1\u8FD9\u6765\u9001\u6B7B\u6765\u4E86\uFF0C\u8BA9\u4F60\u5C1D\u5C1D\u68CD\u5B50\u7684\u6ECB\u5473\u597D\u4E86\uFF0C\u54C8\u54C8\u54C8\u2026\u2026";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 321
bb = "";
Symbol 2144 MovieClip Frame 333
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u53EF\u6076\u2026\u2026\u90A3\u597D\u5427\uFF0C\u5C31\u8BA9\u6211\u6765\u770B\u770B\u4F60\u5230\u5E95\u6709\u591A\u5927\u672C\u4E8B\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 334
bb = "";
Symbol 2144 MovieClip Frame 346
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u64CD\uFF01\u5988\u7684\uFF01\u5C0F\u5B50\u4F60\u6562\u5C0F\u77A7\u6211\uFF0C\u770B\u68CD\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 347
bb = "";
Symbol 2144 MovieClip Frame 361
delete onEnterFrame;
_root.lock = false;
_root.nextFrame();
delete onEnterFrame;
bb = "";
Symbol 2144 MovieClip Frame 363
bb = "";
stop();
Symbol 2144 MovieClip Frame 365
stopAllSounds();
Symbol 2144 MovieClip Frame 377
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u6069\u2026\u4EA4\u5927\u65E0\u5F71\u817F\u679C\u7136\u540D\u4E0D\u865A\u4F20\uFF0C\u65E0\u5F0F\u7206\u88C2\u62F3\u4E5F\u975E\u6D6A\u5F97\u865A\u540D\uFF0C\u5728\u4E0B\u4F69\u670D\uFF0C\u4F69\u670D\u2026\u597D\u6C57\u4E0D\u5403\u5F53\u524D\u4E8F\uFF0C\u6211\u95EA\u5148\uFF0C\u4E0D\u8FC7\uFF0C\u6211\u4EEC\u4F1A\u518D\u89C1\u7684\uFF0C\u54C8\u54C8\u54C8\u2026\u2026";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 411
_root.statemc.gotoAndStop(1);
Symbol 2144 MovieClip Frame 420
stop();
Symbol 2144 MovieClip Frame 432
stop();
Symbol 2144 MovieClip Frame 433
stop();
Symbol 2144 MovieClip Frame 434
stop();
Symbol 2144 MovieClip Frame 490
stopAllSounds();
bb = "";
Symbol 2144 MovieClip Frame 491
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u5C0F\u767D\u9F99\u51FB\u8D25\u4E86\u98DE\u8F66\u515A\u540E\u5F00\u4E0A\u4E86\u4E00\u90E8\u6851\u5854\u7EB3\u7EE7\u7EED\u524D\u8FDB\uFF0C\u5728\u524D\u65B9\u4F3C\u4E4E\u5F25\u6F2B\u7740\u66F4\u6D53\u7684\u6740\u6C14\uFF0C\u524D\u8FDB\u5427\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 0.5;
bb = str.substr(0, i);
} else {
nextFrame();
}
};
Symbol 2144 MovieClip Frame 492
delete onEnterFrame;
stop();
Symbol 2144 MovieClip Frame 555
delete onEnterFrame;
_root.gotoAndStop("shopmc");
Symbol 2144 MovieClip Frame 584
_root.guanshu.nextFrame();
delete onEnterFrame;
Symbol 2144 MovieClip Frame 585
stop();
bb = "";
delete onEnterFrame;
Symbol 2144 MovieClip Frame 586
stopAllSounds();
Symbol 2144 MovieClip Frame 587
stopAllSounds();
Symbol 2144 MovieClip Frame 600
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u2026\u2026\u2026\u7948\u7977\u4F60\u7684\u547D\u8FD0\u5427\u2026\u2026\u2026\u2026";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 0.5;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 0.5;
}
};
Symbol 2144 MovieClip Frame 601
delete onEnterFrame;
bb = "";
Symbol 2144 MovieClip Frame 612
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u8001\u5927\uFF0C\u8FD9\u5BB6\u4F19\u592A\u96BE\u5BF9\u4ED8\u4E86\uFF0C\u4ECA\u5929\u6211\u4EEC\u8054\u624B\u641E\u5B9A\u4ED6\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 613
delete onEnterFrame;
bb = "";
Symbol 2144 MovieClip Frame 623
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u4F60\u7ED9\u6211\u722C\u5F00\uFF01\uFF01\u8138\u90FD\u7ED9\u4F60\u4E22\u5149\u4E86\uFF01\uFF01\u5144\u5F1F\u4EEC\uFF0C\u7ED9\u6211\u4E0A\uFF01\uFF01\uFF01\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 1;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 1;
}
};
Symbol 2144 MovieClip Frame 624
delete onEnterFrame;
bb = "";
Symbol 2144 MovieClip Frame 636
stop();
_root.lock = false;
_root.nextFrame();
bb = "";
Symbol 2144 MovieClip Frame 637
stopAllSounds();
Symbol 2144 MovieClip Frame 649
stop();
_root.lock = true;
var i = 0;
var j = 0;
str = "\u2026\u2026\u53EF\u6076\u2026\u2026\u6211\u2026\u65E2\u7136\u2026\u2026\u2026\u8F93\u4E86\u2026\u2026\u2026";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i = i + 0.5;
bb = str.substr(0, i);
bb.scroll = bb.scroll + 0.5;
}
};
Symbol 2144 MovieClip Frame 734
stop();
Symbol 2144 MovieClip Frame 735
stop();
Symbol 2144 MovieClip Frame 736
stop();
Symbol 2144 MovieClip Frame 737
stop();
Symbol 2144 MovieClip Frame 738
stop();
Symbol 2144 MovieClip Frame 739
stop();
Symbol 2144 MovieClip Frame 740
stop();
Symbol 2144 MovieClip Frame 741
stop();
Symbol 2144 MovieClip Frame 742
stop();
Symbol 2144 MovieClip Frame 743
stop();
Symbol 2144 MovieClip Frame 744
stop();
Symbol 2144 MovieClip Frame 745
stop();
Symbol 2144 MovieClip Frame 746
stop();
Symbol 2144 MovieClip Frame 747
stop();
_root.dyd = _root.dyd + 20;
_root.power.dy4 = _root.power.dy4 + 20;
Symbol 2144 MovieClip Frame 748
stop();
Symbol 2144 MovieClip Frame 749
stop();
Symbol 2144 MovieClip Frame 750
stop();
Symbol 2144 MovieClip Frame 751
stop();
Symbol 2144 MovieClip Frame 752
stop();
Symbol 2144 MovieClip Frame 754
lvv = _root.statemc.state.level;
jin = _root.score;
Symbol 2144 MovieClip Frame 756
_root.statemc.gotoAndStop(1);
Symbol 2144 MovieClip Frame 758
delete onEnterFrame;
stopAllSounds();
_root.gotoAndStop("shopmc");
Symbol 2144 MovieClip Frame 760
stop();
Symbol 2144 MovieClip Frame 764
stopAllSounds();
Symbol 2144 MovieClip Frame 774
stop();
var i = 0;
var j = 0;
str = "\u54FC\u54FC\u54FC\u2026\u2026\u7B49\u4F60\u7B49\u5F97\u6211\u597D\u8F9B\u82E6\u554A\uFF01\u5C0FDD";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 775
bb = "";
Symbol 2144 MovieClip Frame 784
stop();
var i = 0;
var j = 0;
str = "\u563F\u563F\uFF0C\u6211\u8FD9\u4E0D\u6765\u4E86\u5417\uFF1F\u51FA\u62DB\u5427\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 785
bb = "";
delete onEnterFrame;
Symbol 2144 MovieClip Frame 791
stop();
Symbol 2144 MovieClip Frame 793
_root.lock = false;
_root.nextFrame();
stop();
Symbol 2144 MovieClip Frame 794
stopAllSounds();
Symbol 2144 MovieClip Frame 815
_root.statemc.gotoAndStop(1);
Symbol 2144 MovieClip Frame 823
stop();
Symbol 2144 MovieClip Frame 831
stop();
Symbol 2144 MovieClip Frame 837
stop();
Instance of Symbol 412 MovieClip in Symbol 2144 MovieClip Frame 837
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Symbol 2144 MovieClip Frame 838
stop();
Symbol 2144 MovieClip Frame 839
stop();
Symbol 2144 MovieClip Frame 840
stop();
Symbol 2144 MovieClip Frame 841
stop();
Symbol 2144 MovieClip Frame 842
stop();
Symbol 2144 MovieClip Frame 843
stop();
Symbol 2144 MovieClip Frame 844
stop();
Symbol 2144 MovieClip Frame 863
stopAllSounds();
delete onEnterFrame;
_root.gotoAndStop("shopmc");
stop();
Symbol 2144 MovieClip Frame 864
Symbol 2144 MovieClip Frame 865
stopAllSounds();
Symbol 2144 MovieClip Frame 875
stop();
var i = 0;
var j = 0;
str = "\u54FC\u54FC\u54FC\u2026\u2026\u7B49\u4F60\u7B49\u5F97\u6211\u597D\u8F9B\u82E6\u554A\uFF01\u5C0FDD";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 876
bb = "";
Symbol 2144 MovieClip Frame 885
stop();
var i = 0;
var j = 0;
str = "\u563F\u563F\uFF0C\u6211\u8FD9\u4E0D\u6765\u4E86\u5417\uFF1F\u51FA\u62DB\u5427\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 886
bb = "";
delete onEnterFrame;
Symbol 2144 MovieClip Frame 892
stop();
Symbol 2144 MovieClip Frame 894
_root.lock = false;
_root.nextFrame();
stop();
Symbol 2144 MovieClip Frame 895
stopAllSounds();
Symbol 2144 MovieClip Frame 916
_root.statemc.gotoAndStop(1);
Symbol 2144 MovieClip Frame 922
stop();
Symbol 2144 MovieClip Frame 923
stop();
Symbol 2144 MovieClip Frame 924
stop();
Symbol 2144 MovieClip Frame 925
stop();
Symbol 2144 MovieClip Frame 926
stop();
Symbol 2144 MovieClip Frame 927
stop();
Symbol 2144 MovieClip Frame 928
stop();
Symbol 2144 MovieClip Frame 929
stop();
Symbol 2144 MovieClip Frame 930
stop();
Symbol 2144 MovieClip Frame 931
stop();
Symbol 2144 MovieClip Frame 932
stop();
Symbol 2144 MovieClip Frame 933
stop();
Symbol 2144 MovieClip Frame 934
stop();
Symbol 2144 MovieClip Frame 935
stop();
Symbol 2144 MovieClip Frame 936
stop();
Symbol 2144 MovieClip Frame 937
stop();
Symbol 2144 MovieClip Frame 938
stop();
Symbol 2144 MovieClip Frame 939
stop();
Symbol 2144 MovieClip Frame 940
stop();
Symbol 2144 MovieClip Frame 941
stop();
Symbol 2144 MovieClip Frame 942
stop();
Symbol 2144 MovieClip Frame 946
stop();
Symbol 2144 MovieClip Frame 964
stopAllSounds();
delete onEnterFrame;
_root.gotoAndStop("shopmc");
_root.hard = 1;
_root.stage = 6;
Symbol 2144 MovieClip Frame 965
stop();
Symbol 2144 MovieClip Frame 966
Symbol 2144 MovieClip Frame 967
stopAllSounds();
Symbol 2144 MovieClip Frame 977
stop();
var i = 0;
var j = 0;
str = "\u54FC\u54FC\u54FC\u2026\u2026\u7B49\u4F60\u7B49\u5F97\u6211\u597D\u8F9B\u82E6\u554A\uFF01\u5C0FDD";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 978
bb = "";
Symbol 2144 MovieClip Frame 987
stop();
var i = 0;
var j = 0;
str = "\u563F\u563F\uFF0C\u6211\u8FD9\u4E0D\u6765\u4E86\u5417\uFF1F\u51FA\u62DB\u5427\uFF01";
onEnterFrame = function () {
if (i < str.length) {
music.gotoAndPlay(2);
i++;
bb = str.substr(0, i);
bb.scroll++;
}
};
Symbol 2144 MovieClip Frame 988
bb = "";
delete onEnterFrame;
Symbol 2144 MovieClip Frame 994
stop();
Symbol 2144 MovieClip Frame 996
_root.lock = false;
_root.nextFrame();
stop();
Symbol 2144 MovieClip Frame 997
stopAllSounds();
Symbol 2144 MovieClip Frame 1018
_root.statemc.gotoAndStop(1);
Symbol 2144 MovieClip Frame 1026
stop();
Symbol 2144 MovieClip Frame 1030
stop();
Symbol 2144 MovieClip Frame 1031
stop();
lvv = _root.statemc.state.level;
jin = _root.score;
Symbol 2144 MovieClip Frame 1032
stop();
Symbol 2144 MovieClip Frame 1033
stop();
Symbol 2144 MovieClip Frame 1034
stop();
Symbol 2144 MovieClip Frame 1035
stop();
Symbol 2144 MovieClip Frame 1036
stop();
Symbol 2144 MovieClip Frame 1037
stop();
Symbol 2144 MovieClip Frame 1038
stop();
Instance of Symbol 412 MovieClip in Symbol 2144 MovieClip Frame 1038
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv + 2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Symbol 2144 MovieClip Frame 1039
stop();
Symbol 2144 MovieClip Frame 1040
stop();
Symbol 2144 MovieClip Frame 1041
stop();
Symbol 2144 MovieClip Frame 1042
stop();
Symbol 2144 MovieClip Frame 1043
stop();
Symbol 2144 MovieClip Frame 1068
stopAllSounds();
delete onEnterFrame;
_root.gotoAndStop("shopmc");
_root.hard = 1;
_root.stage = 6;
Symbol 2144 MovieClip Frame 1069
stop();
Symbol 2155 Button
on (release) {
if (_root.jiuming > 0) {
_root.jiuming = _root.jiuming - 1;
_root.lock = false;
_root.boy.hp = 100;
_root.boy.gotoAndPlay(1);
mSound = new Sound();
mSound.attachSound("fuhuo");
mSound.start(0, 1);
_root.gameover.gotoAndStop(1);
} else if (_root.jiuming == 0) {
_root.boy.hp = 0;
_parent.qiangjiu.gotoAndStop(6);
}
}
Symbol 2164 MovieClip Frame 1
stop();
Symbol 2164 MovieClip Frame 2
stop();
Symbol 2164 MovieClip Frame 3
stop();
Symbol 2164 MovieClip Frame 4
stop();
Symbol 2164 MovieClip Frame 5
stop();
Symbol 2164 MovieClip Frame 6
stop();
Instance of Symbol 2146 MovieClip in Symbol 2165 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.boy.gotoAndStop("siw");
_root.lock = true;
}
Symbol 2165 MovieClip Frame 3
Symbol 2165 MovieClip Frame 19
stop();
Instance of Symbol 2164 MovieClip "qiangjiu" in Symbol 2165 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.jiuming == 5) {
this.gotoAndStop(1);
} else if (_root.jiuming == 4) {
this.gotoAndStop(2);
} else if (_root.jiuming == 3) {
this.gotoAndStop(3);
} else if (_root.jiuming == 2) {
this.gotoAndStop(4);
} else if (_root.jiuming == 1) {
this.gotoAndStop(5);
} else if (_root.jiuming == 0) {
this.gotoAndStop(6);
}
}
Symbol 2165 MovieClip Frame 37
stop();
Symbol 2166 MovieClip Frame 1
stop();
Symbol 2166 MovieClip Frame 2
stop();
Symbol 2173 MovieClip [go] Frame 75
_parent.gotoAndStop(1);
Symbol 2174 MovieClip Frame 1
stop();
Symbol 2174 MovieClip Frame 2
stop();
Symbol 2176 MovieClip Frame 2
_root.go.gotoAndStop(1);
Symbol 2176 MovieClip Frame 10
stopAllSounds();
Symbol 2176 MovieClip Frame 21
_root.nextFrame();
_root.boy._x = 60;
_root.boy._y = 100;
_root.bg.nextFrame();
_root.bg._x = 532;
Symbol 2176 MovieClip Frame 30
_root.guochang.gotoAndStop(1);
Symbol 2177 MovieClip Frame 1
stop();
Symbol 2193 MovieClip Frame 76
this.removeMovieClip();
Symbol 2196 MovieClip [yellow] Frame 1
stop();
Instance of Symbol 107 MovieClip "xuechao" in Symbol 2196 MovieClip [yellow] Frame 1
onClipEvent (load) {
if (_root.bounce == false) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
} else {
_parent.cc.gotoAndStop(91);
_parent.swapDepths(Math.floor(_parent._y + 55));
}
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 2197 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 592 MovieClip in Symbol 2197 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < (_root.boy._x - 40)) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 79 MovieClip in Symbol 2197 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2197 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 2197 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 595 MovieClip in Symbol 2197 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
rpao = random(2);
if (rpao == 0) {
_parent._parent._x = _parent._parent._x + 2;
} else if (rpao == 1) {
_parent._parent._x = _parent._parent._x + 4;
} else if (rpao == 2) {
_parent._parent._x = _parent._parent._x + 8;
}
} else {
rpao = random(2);
if (rpao == 0) {
_parent._parent._x = _parent._parent._x - 1;
} else if (rpao == 1) {
_parent._parent._x = _parent._parent._x - 3;
} else if (rpao == 2) {
_parent._parent._x = _parent._parent._x - 9;
}
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 70) && (Math.abs(_parent._parent._x - x) < 70)) {
if (a > 10) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 2197 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "baotou" in Symbol 2197 MovieClip Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Symbol 2197 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 2197 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 2197 MovieClip Frame 38
var c = random(4);
if (_root.bsing == false) {
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Instance of Symbol 79 MovieClip in Symbol 2197 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2197 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 81 MovieClip in Symbol 2197 MovieClip Frame 48
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 15;
} else {
_parent._parent._x = _parent._parent._x - 15;
}
}
Instance of Symbol 592 MovieClip in Symbol 2197 MovieClip Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Symbol 2197 MovieClip Frame 67
c = random(2);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (1);
}
Instance of Symbol 592 MovieClip in Symbol 2197 MovieClip Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 620) {
_parent._parent._x = 620;
} else if (_parent._parent._x < -20) {
_parent._parent._x = -20;
}
}
Symbol 2197 MovieClip Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (107);
}
Symbol 2197 MovieClip Frame 105
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 2197 MovieClip Frame 120
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 1;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 2197 MovieClip Frame 145
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 2197 MovieClip Frame 168
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 10;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Symbol 2197 MovieClip Frame 222
_root.addgolds(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 9;
}
_root.kocount++;
_root.deadcount++;
_parent.removeMovieClip();
stop();
Instance of Symbol 79 MovieClip in Symbol 2197 MovieClip Frame 223
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 10;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2197 MovieClip Frame 223
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Symbol 2197 MovieClip Frame 240
gotoAndPlay (1);
Symbol 2198 MovieClip [long] Frame 1
stop();
Instance of Symbol 617 MovieClip "xuechao" in Symbol 2198 MovieClip [long] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 2205 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
if (_parent._parent._x < 0) {
_parent._parent._x = 0;
}
if (_parent._parent._x > 550) {
_parent._parent._x = 550;
}
}
Instance of Symbol 59 MovieClip in Symbol 2205 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 6;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2205 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 30;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Symbol 2205 MovieClip Frame 15
a = random(3);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 2205 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 50) && (Math.abs(_parent._parent._x - x) < 60)) {
if (_root.maosi == 0) {
_parent.gotoAndPlay(39);
} else if (_root.maosi == 1) {
_parent.gotoAndPlay(141);
}
}
}
}
Symbol 2205 MovieClip Frame 33
gotoAndPlay (1);
Symbol 2205 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 2205 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((2 + _root.boylv) / 5);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - ((5 + _root.boylv) / 5);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 2205 MovieClip Frame 38
gotoAndPlay (1);
Symbol 2205 MovieClip Frame 39
var c = random(3);
if (c == 0) {
gotoAndPlay (141);
} else {
play();
}
Instance of Symbol 59 MovieClip in Symbol 2205 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2205 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 260 MovieClip in Symbol 2205 MovieClip Frame 40
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 20;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y - 20;
} else {
_parent._parent._y = _parent._parent._y + 20;
}
}
}
Symbol 2205 MovieClip Frame 50
_parent._x = random(500);
Instance of Symbol 260 MovieClip in Symbol 2205 MovieClip Frame 51
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 50;
} else {
_parent._parent._x = _parent._parent._x - 30;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 30;
} else {
_parent._parent._y = _parent._parent._y - 20;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 2205 MovieClip Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.lock = true;
_root.boy.gotoAndStop("jiangshi");
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_parent.gotoAndPlay("xixue");
}
}
Instance of Symbol 59 MovieClip in Symbol 2205 MovieClip Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Symbol 2205 MovieClip Frame 75
Symbol 2205 MovieClip Frame 86
gotoAndPlay (16);
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 87
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 6;
} else {
_parent._parent._x = _parent._parent._x + 6;
}
}
Symbol 2205 MovieClip Frame 109
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (127);
}
Symbol 2205 MovieClip Frame 124
gotoAndPlay (39);
Symbol 2205 MovieClip Frame 140
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 8;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.boy.exp = _root.boy.exp + 12;
}
_root.kocount++;
_root.deadcount++;
_root.score = _root.score + 100;
_parent.removeMovieClip();
Instance of Symbol 59 MovieClip "baotou" in Symbol 2205 MovieClip Frame 141
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 80;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip in Symbol 2205 MovieClip Frame 141
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.boylv - 1);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 60;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 145
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 148
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 151
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 154
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 157
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 365 MovieClip in Symbol 2205 MovieClip Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.aida1.gotoAndPlay("hit2");
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 59 MovieClip in Symbol 2205 MovieClip Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - _root.boylv;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Symbol 2205 MovieClip Frame 173
gotoAndPlay (1);
Symbol 2205 MovieClip Frame 174
_root.boy._visible = false;
Symbol 2205 MovieClip Frame 183
if (_parent.xuechao.hp < 400) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 400) {
_parent.xuechao.hp = 200;
}
Symbol 2205 MovieClip Frame 193
if (_parent.xuechao.hp < 400) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
_root.boy.hp = _root.boy.hp - 4;
} else if (_parent.xuechao.hp >= 400) {
_parent.xuechao.hp = 400;
}
Symbol 2205 MovieClip Frame 205
if (_parent.xuechao.hp < 400) {
_parent.xuechao.hp = _parent.xuechao.hp + 20;
} else if (_parent.xuechao.hp >= 400) {
_parent.xuechao.hp = 400;
}
Symbol 2205 MovieClip Frame 214
_root.boy.gotoAndPlay(1);
_root.boy._x = _parent._x;
_root.boy._y = _parent._y;
_root.lock = false;
_root.boy._visible = true;
gotoAndPlay (1);
Symbol 2205 MovieClip Frame 215
gotoAndPlay (1);
Symbol 2206 MovieClip [gunzi] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 2206 MovieClip [gunzi] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = 400;
_parent._y = 82;
hp = 300;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 2224 MovieClip Frame 5
stop();
Symbol 2234 MovieClip Frame 1
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 2211 MovieClip in Symbol 2234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 2212 MovieClip in Symbol 2234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 2214 MovieClip in Symbol 2234 MovieClip Frame 1
/* no clip actions */
Symbol 2234 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 2216 MovieClip in Symbol 2234 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 80) && (Math.abs(_parent._parent._x - x) < 80)) {
if (a > 10) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay(1);
}
}
}
}
Symbol 2234 MovieClip Frame 33
gotoAndPlay (1);
Symbol 2234 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 2234 MovieClip Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 2234 MovieClip Frame 38
gotoAndPlay (39);
Instance of Symbol 2212 MovieClip in Symbol 2234 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2234 MovieClip Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 2211 MovieClip in Symbol 2234 MovieClip Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 2234 MovieClip Frame 54
_root.adddizid();
Symbol 2234 MovieClip Frame 67
gotoAndPlay (1);
Instance of Symbol 2211 MovieClip in Symbol 2234 MovieClip Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 15;
} else {
_parent._parent._x = _parent._parent._x + 15;
}
if (_parent._parent._x > 600) {
_parent._parent._x = 600;
} else if (_parent._parent._x < 0) {
_parent._parent._x = 0;
}
}
Symbol 2234 MovieClip Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (106);
}
Symbol 2234 MovieClip Frame 105
b = random(2);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 2234 MovieClip Frame 116
_root.addzdbw(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + (int(15 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.deadcount++;
_root.kocount++;
_parent.removeMovieClip();
stop();
Instance of Symbol 2211 MovieClip in Symbol 2234 MovieClip Frame 117
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 2234 MovieClip Frame 141
if (_parent.xuechao.hp > 0) {
gotoAndPlay (1);
} else {
play();
}
Symbol 2234 MovieClip Frame 165
_root.addzdbw(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 4;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 8;
}
_root.deadcount++;
_root.kocount++;
_parent.removeMovieClip();
stop();
Symbol 2234 MovieClip Frame 210
_root.addzdbw(_parent._x, _parent._y, _parent._name);
_root.addenemy();
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + (int(20 - (_root.boylv * 3)) / 5);
}
} else {
_root.expnum = _root.expnum + 6;
}
_root.deadcount++;
_root.kocount++;
_parent.removeMovieClip();
stop();
Instance of Symbol 2212 MovieClip in Symbol 2234 MovieClip Frame 211
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 30) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 90;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(69);
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2234 MovieClip Frame 211
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Symbol 2234 MovieClip Frame 242
gotoAndPlay (1);
Symbol 2235 MovieClip [guang] Frame 1
stop();
Instance of Symbol 388 MovieClip "xuechao" in Symbol 2235 MovieClip [guang] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 2242 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 59 MovieClip in Symbol 2242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 1;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 258 MovieClip in Symbol 2242 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Symbol 2242 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (16);
}
Instance of Symbol 260 MovieClip in Symbol 2242 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 100));
y = (_root.boy._y - a) - 50;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 6) || (Math.abs(_parent._parent._x - x) > 6)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else {
_parent._parent._y = _parent._parent._y - 1;
}
if ((Math.abs(_parent._parent._y - y) < 50) && (Math.abs(_parent._parent._x - x) < 50)) {
b = random(2);
if (b == 0) {
_parent.gotoAndPlay(39);
} else {
_parent.gotoAndPlay("bian");
}
}
}
}
Symbol 2242 MovieClip Frame 33
gotoAndPlay (1);
Symbol 2242 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 2242 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 2242 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 2242 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2242 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2242 MovieClip Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 57
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 2;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Symbol 2242 MovieClip Frame 72
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else {
gotoAndPlay (16);
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 73
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 20;
} else {
_parent._parent._x = _parent._parent._x + 20;
}
if (_parent._parent._x > 600) {
_parent._parent._x = 600;
} else if (_parent._parent._x < 0) {
_parent._parent._x = 0;
}
}
Symbol 2242 MovieClip Frame 95
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay (111);
}
Symbol 2242 MovieClip Frame 110
b = random(1);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("bian");
}
Symbol 2242 MovieClip Frame 126
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 3;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 2242 MovieClip Frame 177
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 3;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 228
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (8 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Symbol 2242 MovieClip Frame 276
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.boy.exp = _root.boy.exp + 2;
} else {
_root.expnum = _root.expnum + 2;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 59 MovieClip in Symbol 2242 MovieClip Frame 277
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 303
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 3;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 81 MovieClip in Symbol 2242 MovieClip Frame 303
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + 20;
} else {
_parent._parent._x = _parent._parent._x - 20;
}
}
Instance of Symbol 258 MovieClip in Symbol 2242 MovieClip Frame 303
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 1;
}
Instance of Symbol 256 MovieClip in Symbol 2242 MovieClip Frame 317
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 2242 MovieClip Frame 320
a = random(2);
if (a == 0) {
play();
} else {
gotoAndPlay (296);
}
Symbol 2242 MovieClip Frame 335
gotoAndPlay (1);
Instance of Symbol 59 MovieClip in Symbol 2242 MovieClip Frame 336
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay(75);
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2242 MovieClip Frame 336
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 2242 MovieClip Frame 365
gotoAndPlay (1);
Symbol 2243 MovieClip [bangzi] Frame 1
stop();
Instance of Symbol 341 MovieClip "xuechao" in Symbol 2243 MovieClip [bangzi] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 2247 MovieClip Frame 1
a = random(3);
if (a == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (16);
}
Instance of Symbol 638 MovieClip in Symbol 2247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
_parent._parent._xscale = -100;
} else {
_parent._parent._xscale = 100;
}
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 2247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (_root.attacknum + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 20) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
if (this.hitTest(_root.hq.cc.hit)) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 0;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Symbol 2247 MovieClip Frame 15
a = random(2);
if (a == 0) {
gotoAndPlay (2);
} else {
play();
}
Instance of Symbol 641 MovieClip in Symbol 2247 MovieClip Frame 16
onClipEvent (load) {
a = random(100);
x = ((a > 50) ? (_root.boy._x - 100) : (_root.boy._x + 130));
y = (_root.boy._y - a) - 20;
}
onClipEvent (enterFrame) {
if ((Math.abs(_parent._parent._y - y) > 40) || (Math.abs(_parent._parent._x - x) > 70)) {
if (_parent._parent._x < x) {
_parent._parent._x = _parent._parent._x + 2;
} else {
_parent._parent._x = _parent._parent._x - 2;
}
if (_parent._parent._y < y) {
_parent._parent._y = _parent._parent._y + 1;
} else if (_parent._parent._y > y) {
_parent._parent._y = _parent._parent._y - 1;
} else {
_parent._parent._y = y;
}
} else if ((a > 0) && (a < 90)) {
_parent.gotoAndPlay("shoot");
} else {
_parent.gotoAndPlay("sha");
}
}
Symbol 2247 MovieClip Frame 33
gotoAndPlay (1);
Symbol 2247 MovieClip Frame 35
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("dao");
}
Instance of Symbol 79 MovieClip in Symbol 2247 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.bisha.hit)) {
if (_root.boy.bisha._currentframe < 108) {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (5 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else {
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (20 + _root.boylv);
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
}
}
}
Symbol 2247 MovieClip Frame 38
c = random(3);
if (c == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
Symbol 2247 MovieClip Frame 39
play();
Instance of Symbol 638 MovieClip in Symbol 2247 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Instance of Symbol 639 MovieClip in Symbol 2247 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2247 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 638 MovieClip in Symbol 2247 MovieClip Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - (10 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
if (_root.boy._x < _root.guangzid._x) {
_root.boy._x = _root.boy._x - 100;
} else {
_root.boy._x = _root.boy._x + 100;
}
}
if (this.hitTest(_root.boy.hurt2)) {
if (_root.fangytime < 5) {
nsfy = new Sound();
nsfy.attachSound("fyy");
nsfy.start(0, 1);
_root.boy.fy.fyfy.gotoAndPlay("da");
_root.boy._x = _root.boy._x - 1;
_root.fangytime = _root.fangytime + 1;
} else if ((_root.fangytime = 5)) {
_root.boy.hp = _root.boy.hp - (7 - _root.defendnum);
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
_root.fangytime = 0;
}
}
}
Instance of Symbol 642 MovieClip in Symbol 2247 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x - 10;
} else {
_parent._parent._x = _parent._parent._x + 10;
}
if (_parent._parent._x > 580) {
_parent._parent._x = 580;
} else if (_parent._parent._x < 20) {
_parent._parent._x = 20;
}
}
Instance of Symbol 638 MovieClip in Symbol 2247 MovieClip Frame 65
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.boy._x) {
}
_parent._parent._xscale = 100;
if (_parent._parent._y > 120) {
_parent._parent._y = 120;
}
if (_parent._parent._y < -20) {
_parent._parent._y = -20;
}
}
Symbol 2247 MovieClip Frame 67
c = random(3);
if (c == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Instance of Symbol 638 MovieClip in Symbol 2247 MovieClip Frame 68
onClipEvent (load) {
if (_root.boy._xscale == 100) {
a = 1;
} else {
a = 2;
}
}
onClipEvent (enterFrame) {
if (a == 1) {
_parent._parent._x = _parent._parent._x - 13;
} else {
_parent._parent._x = _parent._parent._x + 13;
}
if (_parent._parent._x > 610) {
_parent._parent._x = 610;
} else if (_parent._parent._x < -10) {
_parent._parent._x = -10;
}
}
Symbol 2247 MovieClip Frame 90
if (_parent.xuechao.hp > 0) {
play();
} else {
gotoAndPlay ("si");
}
Symbol 2247 MovieClip Frame 105
b = random(3);
if (b == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay ("sha");
}
Symbol 2247 MovieClip Frame 121
_root.addzdbwsd(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 2;
} else {
_root.expnum = _root.expnum + 1;
}
} else {
_root.expnum = _root.expnum + 2;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 2247 MovieClip Frame 122
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2247 MovieClip Frame 123
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
}
}
Instance of Symbol 638 MovieClip in Symbol 2247 MovieClip Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.hurt)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.lock = true;
_root.boy.gotoAndStop(8);
_root.hurttimer.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.aida1.hurttwo)) {
_root.boy.hp = _root.boy.hp - 1;
_root.timer.gotoAndStop(1);
_root.hurttimer.gotoAndPlay(2);
_root.lock = true;
_root.boy.aida1.gotoAndPlay("hit2");
}
}
Instance of Symbol 639 MovieClip in Symbol 2247 MovieClip Frame 131
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hurt))) {
_root.hit1 = true;
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 2;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit2 = true;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
_root.box.gotoAndPlay(2);
}
if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
_root.box.gotoAndPlay(2);
}
if ((this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.pao.hit))) || (this.hitTest(_root.boy.baoxian.baoxian))) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 15;
_parent.gotoAndPlay("dao");
}
}
Symbol 2247 MovieClip Frame 135
c = random(3);
if (c == 0) {
gotoAndPlay (39);
} else if (c == 1) {
gotoAndPlay ("sha");
} else if (c == 2) {
gotoAndPlay (1);
}
Symbol 2247 MovieClip Frame 191
_root.addgolds(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 4;
}
} else {
_root.expnum = _root.expnum + 5;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Symbol 2247 MovieClip Frame 249
_root.addzdbwsd(_parent._x, _parent._y, _parent._name);
if (_root.luckring != true) {
if (_root.boylv == 1) {
_root.expnum = _root.expnum + 3;
} else {
_root.expnum = _root.expnum + 3;
}
} else {
_root.expnum = _root.expnum + 4;
}
_root.kocount++;
_root.deadcount++;
_root.addenemy();
_parent.removeMovieClip();
stop();
Instance of Symbol 639 MovieClip in Symbol 2247 MovieClip Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.boy.gongji.hit) || (this.hitTest(_root.boy.bisha.hit))) {
_root.lianda.gotoAndPlay(2);
_root.jisuan.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjitwo.hit)) {
_root.hit1 = false;
_root.lianda2.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji3.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.lianda3.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongji4.hit)) {
_root.hit1 = false;
_root.hit2 = false;
_root.hit3 = false;
_root.lianda4.gotoAndPlay(2);
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.boy.gongjithree.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 5;
_root.count.gotoAndPlay(2);
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.jump.bb.hit) || (this.hitTest(_root.boy.baoxian.baoxian))) {
if (_parent._parent.xuechao.hp < 40) {
_parent.gotoAndPlay("zshou");
} else {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - (7 + _root.boylv);
_parent.gotoAndPlay("dao");
}
} else if (this.hitTest(_root.boy.pao.hit)) {
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 20;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.bisha.move)) {
_root.bsing = true;
_root.boy.bisha.gotoAndPlay("start");
_parent.gotoAndPlay("hurt");
} else if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("cisi");
} else if (this.hitTest(_root.bomb.lei.bo)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 50;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("cisi");
}
}
Instance of Symbol 59 MovieClip "baotou" in Symbol 2247 MovieClip Frame 251
onClipEvent (enterFrame) {
if (this.hitTest(_root.zid.hit)) {
_root.zid.gotoAndStop(2);
_root.zid.removeMovieClip();
_root.zid.unloadMovie();
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 110;
_parent.gotoAndPlay("zshou");
} else if (this.hitTest(_root.boy.qiang.hit1)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 40;
_parent.gotoAndPlay("dao");
} else if (this.hitTest(_root.boy.qiang.hit2)) {
_parent._parent._y = _parent._parent._y - 10;
_parent._parent.xuechao.hp = _parent._parent.xuechao.hp - 70;
_parent.gotoAndPlay("dao");
}
}
Symbol 2247 MovieClip Frame 272
gotoAndPlay (1);
Symbol 2248 MovieClip [red] Frame 1
stop();
Instance of Symbol 674 MovieClip "xuechao" in Symbol 2248 MovieClip [red] Frame 1
onClipEvent (load) {
a = ((random(3) == 0) ? 16 : 2);
_parent.cc.gotoAndPlay(a);
_parent._x = ((random(2) == 0) ? -50 : 600);
_parent._y = random(400);
hp = 100;
}
onClipEvent (enterFrame) {
_xscale = hp;
if (hp <= 0) {
hp = 0;
}
_parent.swapDepths(Math.floor(_parent._y + 55));
}
Symbol 2253 MovieClip [gold] Frame 1
onEnterFrame = function () {
if (this._x < (5 + random(10))) {
this._x = this._x + 10;
}
if (this._x > 390) {
this._x = this._x - 10;
}
if (this._y < (80 + random(10))) {
this._y = this._y + 30;
}
if (this._y > (300 + random(20))) {
this._y = this._y - 110;
}
};
Symbol 2253 MovieClip [gold] Frame 17
stop();
var i = 0;
delete onEnterFrame;
onEnterFrame = function () {
i++;
this.swapDepths(Math.floor(_y - 96));
if (_root.deadcount >= _root.allenemy) {
nextFrame();
} else if (this.hitTest(_root.boy.yingzi)) {
_root.boy.gotoAndStop("jianqian");
_root.timer.gotoAndStop(1);
_root.run = false;
_root.lock = true;
if (_root.bounce != true) {
switch (this.style) {
case 0 :
_root.scoreMC.addscores(20);
break;
case 1 :
_root.scoreMC.addscores(50);
break;
case 2 :
_root.scoreMC.addscores(80);
break;
case 3 :
_root.scoreMC.addscores(20);
}
} else {
_root.scoreMC.addscores(10);
}
gotoAndStop ("meiyou");
} else if (this.hitTest(_root.guangzid.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.guangzid.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.brbr.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.brbr.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.long1.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.long1.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.long2.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.long2.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.red1.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.red1.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.red2.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.red2.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.red3.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.red3.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.red4.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.red4.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz1.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz1.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz2.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz2.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz3.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz3.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz4.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz4.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz5.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz5.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz6.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz6.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz7.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz7.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz8.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz8.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.tdz9.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.tdz9.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.bangzi1.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.bangzi1.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.bangzi2.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.bangzi2.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.bangzi3.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.bangzi3.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.bangzi4.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.bangzi4.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.xxg1.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.xxg1.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.xxg2.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.xxg2.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.xxg3.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.xxg3.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.xxg4.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.xxg4.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.dhf1.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.dhf1.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.dhf2.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.dhf2.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.dhf3.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.dhf3.cc.gotoAndPlay("money");
} else if (this.hitTest(_root.dhf4.cc.yingzi)) {
gotoAndStop ("meiyou");
_root.dhf4.cc.gotoAndPlay("money");
} else if (i >= 800) {
this._alpha--;
}
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
Symbol 2253 MovieClip [gold] Frame 18
stop();
delete onEnterFrame;
var speed = 25;
this._alpha = 100;
dx = (_root.scoreMC._x - this._x) - 60;
dy = (_root.scoreMC._y - this._y) - 20;
var jiaodu = Math.atan2(dy, dx);
if (_root.bounce != true) {
switch (this.style) {
case 0 :
_root.scoreMC.addscores(20);
break;
case 1 :
_root.scoreMC.addscores(50);
break;
case 2 :
_root.scoreMC.addscores(80);
break;
case 3 :
_root.scoreMC.addscores(20);
}
} else {
_root.scoreMC.addscores(10);
}
onEnterFrame = function () {
this._x = this._x + (speed * Math.cos(jiaodu));
this._y = this._y + (speed * Math.sin(jiaodu));
if ((this._x >= 500) || (this._y < 0)) {
this.removeMovieClip();
}
};
Symbol 2253 MovieClip [gold] Frame 19
this.removeMovieClip();
stop();
Symbol 2257 MovieClip [hpup] Frame 21
this.removeMovieClip();
Symbol 2263 MovieClip Frame 1
stop();
Symbol 2263 MovieClip Frame 2
stop();
Symbol 2269 MovieClip Frame 1
stop();
Instance of Symbol 593 MovieClip in Symbol 2269 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 2269 MovieClip Frame 2
stop();
Instance of Symbol 2280 MovieClip in Symbol 2283 MovieClip Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(87)) {
this._y = this._y - 2;
}
if (Key.isDown(83)) {
this._y = this._y + 2;
}
if (Key.isDown(65)) {
this._x = this._x - 2;
}
if (Key.isDown(68)) {
this._x = this._x + 2;
}
}
Symbol 2283 MovieClip Frame 15
gotoAndPlay (1);
Symbol 2283 MovieClip Frame 20
gotoAndPlay (1);
Symbol 2286 MovieClip Frame 1
function add1() {
var _local3 = 0;
while (_local3 < 10) {
var _local4 = _root.attachMovie("long", "long" + _local3, depth++);
_local4.hit = false;
_local4._xscale = 90;
_local4._yscale = 90;
_local4.onEnterFrame = function () {
if (this.hit != true) {
this._x = this._x - speed;
if (this._x <= 0) {
this.removeMovieClip();
}
} else {
this._x = this._x + speed;
this._y = this._y - speed;
_root.scoreMC.addscores(10);
aSound = new Sound(this);
aSound.attachSound("aaa");
aSound.start(0, 1);
if ((this._x >= 400) || (this._y < -100)) {
this.removeMovieClip();
}
}
if (this.xuechao.hitTest(_root.car.head) && (this.hit == false)) {
this.hit = true;
this.cc.gotoAndPlay("dao");
}
};
if (_local3 != 0) {
_root["long" + int(_local3)]._x = _root["long" + int(_local3 - 1)]._x + 60;
_root["long" + int(_local3)]._y = _root["long" + int(_local3 - 1)]._y + 11;
} else {
_root["long" + int(_local3)]._x = 500;
_root["long" + int(_local3)]._y = -5 - random(10);
}
_local3++;
}
}
function add2() {
var _local3 = 11;
while (_local3 < 20) {
var _local4 = _root.attachMovie("long", "longbounce" + _local3, depth++);
_local4.hit = false;
_local4._xscale = 90;
_local4._yscale = 90;
_local4.onEnterFrame = function () {
if (this.hit != true) {
this._x = this._x - speed;
if (this._x <= 0) {
this.removeMovieClip();
}
} else {
this._x = this._x + speed;
this._y = this._y - speed;
_root.scoreMC.addscores(10);
aSound = new Sound(this);
aSound.attachSound("aaa");
aSound.start(0, 1);
if ((this._x >= 400) || (this._y < -100)) {
this.removeMovieClip();
}
}
if (this.xuechao.hitTest(_root.car.head) && (this.hit == false)) {
this.hit = true;
this.cc.gotoAndPlay("dao");
}
};
if (_local3 != 11) {
_root["longbounce" + int(_local3)]._x = _root["longbounce" + int(_local3 - 1)]._x - 60;
_root["longbounce" + int(_local3)]._y = _root["longbounce" + int(_local3 - 1)]._y + 20;
} else {
_root["longbounce" + int(_local3)]._x = 1200;
_root["longbounce" + int(_local3)]._y = 0;
}
_local3++;
}
}
function add3() {
var _local3 = 21;
while (_local3 < 30) {
var _local4 = _root.attachMovie("long", "long" + _local3, depth++);
_local4.hit = false;
_local4._xscale = 90;
_local4._yscale = 90;
_local4.onEnterFrame = function () {
if (this.hit != true) {
this._x = this._x - speed;
if (this._x <= 0) {
this.removeMovieClip();
}
} else {
this._x = this._x + speed;
this._y = this._y - speed;
_root.scoreMC.addscores(10);
aSound = new Sound(this);
aSound.attachSound("aaa");
aSound.start(0, 1);
if ((this._x >= 400) || (this._y < -100)) {
this.removeMovieClip();
}
}
if (this.xuechao.hitTest(_root.car.head) && (this.hit == false)) {
this.hit = true;
this.cc.gotoAndPlay("dao");
}
};
if (_local3 != 21) {
_root["long" + int(_local3)]._x = 500 + random(500);
_root["long" + int(_local3)]._y = random(200) - 15;
} else {
_root["long" + int(_local3)]._x = 800;
_root["long" + int(_local3)]._y = 30;
}
_local3++;
}
}
function add4() {
var _local3 = 40;
while (_local3 < 60) {
var _local4 = _root.attachMovie("long", "long" + _local3, depth++);
_local4.hit = false;
_local4._xscale = 90;
_local4._yscale = 90;
_local4.onEnterFrame = function () {
if (this.hit != true) {
this._x = this._x - speed;
if (this._x <= 0) {
this.removeMovieClip();
}
} else {
this._x = this._x + speed;
this._y = this._y - speed;
_root.scoreMC.addscores(10);
aSound = new Sound(this);
aSound.attachSound("aaa");
aSound.start(0, 1);
if ((this._x >= 400) || (this._y < -100)) {
this.removeMovieClip();
}
}
if (this.xuechao.hitTest(_root.car.head) && (this.hit == false)) {
this.hit = true;
this.cc.gotoAndPlay("dao");
}
};
if (_local3 != 40) {
if ((int(_local3 - 40) % 2) == 0) {
_root["long" + int(_local3)]._x = _root["long" + int(_local3 - 1)]._x + 60;
_root["long" + int(_local3)]._y = _root["long" + int(_local3 - 1)]._y + 40;
} else {
_root["long" + int(_local3)]._x = _root["long" + int(_local3 - 1)]._x + 60;
_root["long" + int(_local3)]._y = _root["long" + int(_local3 - 1)]._y - 42;
}
} else {
_root["long" + int(_local3)]._x = 1000;
_root["long" + int(_local3)]._y = 100;
}
_local3++;
}
}
stop();
var k = 0;
var depth = 4156;
var speed = 15;
onEnterFrame = function () {
if (k < 1000) {
k++;
} else {
delete onEnterFrame;
play();
}
if ((k % 130) == 0) {
var _local4 = random(4) + 1;
eval (String("add" + int(_local4)))();
}
if ((k % 60) == 0) {
var _local3 = _root.attachMovie("stonebox", "stonebox" + k, depth++);
_local3.hit = false;
_local3._xscale = 25;
_local3._yscale = 25;
_local3._x = 500;
_local3._y = _root.car._y;
_local3.onEnterFrame = function () {
this.swapDepths(Math.floor(this._y - 45));
if (this.hit != true) {
this._x = this._x - speed;
if (this._x <= 0) {
this.removeMovieClip();
}
} else {
this._x = this._x + (speed * 2);
this._y = this._y - (speed * 2);
}
if (this.haha.hitTest(_root.car.headhurt) && (this.hit == false)) {
_root.hp.hp._xscale = _root.hp.hp._xscale - 5;
if (_root.hp.hp._xscale <= 0) {
_root.car.removeMovieClip();
_root.gameover.gotoAndStop(2);
}
this.hit = true;
_root.car.gotoAndPlay("hurt");
this.gotoAndPlay(2);
}
};
}
};
Symbol 2286 MovieClip Frame 75
onEnterFrame = function () {
_root.carcontrol = false;
_root.car._x = _root.car._x + 10;
if (_root.car._x >= 290) {
_root.bounceclear.gotoAndPlay(2);
delete onEnterFrame;
}
};
stop();
Symbol 2290 MovieClip Frame 1
stop();
Symbol 2290 MovieClip Frame 2
stopAllSounds();
_root.bounce = false;
Symbol 2290 MovieClip Frame 53
_root.car.removeMovieClip();
Symbol 2290 MovieClip Frame 151
stop();
_root.gotoAndStop("shopmc");
this.removeMovieClip();
Symbol 2293 MovieClip Frame 45
stop();
Symbol 2296 MovieClip Frame 1
stop();
Symbol 2296 MovieClip Frame 2
stop();
Symbol 2300 MovieClip Frame 1
stop();
Symbol 2300 MovieClip Frame 31
stop();
Symbol 2309 MovieClip Frame 45
gotoAndPlay (1);
Symbol 2309 MovieClip Frame 46
stop();
Symbol 2313 MovieClip Frame 1
stop();
Symbol 2313 MovieClip Frame 2
stop();
Symbol 2317 MovieClip Frame 1
stop();
Symbol 2317 MovieClip Frame 26
stop();
Symbol 2320 MovieClip Frame 1
stop();
Symbol 2320 MovieClip Frame 31
stop();
Symbol 2322 MovieClip Frame 1
stop();
Symbol 2322 MovieClip Frame 2
stop();
Symbol 2324 MovieClip Frame 1
stop();
Symbol 2324 MovieClip Frame 2
stop();
Symbol 2326 MovieClip Frame 1
stop();
Instance of Symbol 593 MovieClip in Symbol 2326 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.lei.pengdao)) {
_parent.gotoAndPlay("jian");
}
}
Symbol 2326 MovieClip Frame 2
stop();
Symbol 2328 MovieClip Frame 1
stop();
Symbol 2328 MovieClip Frame 2
stop();