Frame 1
_fglv = new LoadVars();
_fglv.gid = 1000270 /* 0x0F434E */;
_fglv.url = _root._url;
_fglv.sendAndLoad("http://www.freegamesforyourwebsite.com/stats.php", _fglv, "POST");
delete _fglv;
var debug = true;
var gameID = 294;
var gameName = "street_avenger";
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Frame 2
stop();
Frame 3
if (!okToPlay) {
gotoAndStop (2);
}
Frame 4
clearInterval(fff);
_root.renchange = 0;
sound = new Sound(_root);
stop();
if (_global.KeyUp == undefined) {
_global.KeyUp = 87;
_global.KeyDown = 83;
_global.KeyLeft = 65;
_global.KeyRight = 68;
_global.KeyAttack = 74;
_global.KeyBomb = 75;
_global.KeyPower = 76;
_global.keyup = "w";
_global.keydown = "s";
_global.keyleft = "a";
_global.keyright = "d";
_global.keyattack = "j";
_global.keybomb = "k";
_global.keypower = "l";
}
Instance of Symbol 2591 MovieClip in Frame 4
on (press) {
play();
}
Frame 5
function fromCodeString(code) {
var _local1 = 0;
while (_local1 < keyCodesArr.length) {
if (keyCodesArr[_local1][1] == code) {
return(keyCodesArr[_local1][0]);
}
_local1++;
}
return("\u51FA\u9519");
}
function setDefault() {
for (var i in init_keyArr) {
var str_tmp = fromCodeString(init_keyArr[i]);
eval (key_arr[i] + "_txt").text = str_tmp;
}
result_keyArr = init_keyArr;
}
function rekeyCheck(kc) {
var _local2 = result_keyArr.length;
if (_local2 <= 0) {
return(true);
}
var _local1 = 0;
while (_local1 < _local2) {
if (kc == result_keyArr[_local1]) {
return(false);
}
_local1++;
}
return(true);
}
function clearKey(keyIndex) {
eval (key_arr[keyIndex] + "_txt").text = "";
result_keyArr[keyIndex] = undefined;
}
stop();
keyCodesArr = [["a", 65], ["b", 66], ["c", 67], ["d", 68], ["e", 69], ["f", 70], ["g", 71], ["h", 72], ["i", 73], ["j", 74], ["k", 75], ["l", 76], ["m", 77], ["n", 78], ["o", 79], ["p", 80], ["q", 81], ["r", 82], ["s", 83], ["t", 84], ["u", 85], ["v", 86], ["w", 87], ["x", 88], ["y", 89], ["z", 90]];
key_arr = ["up", "down", "left", "right", "attack", "bomb", "power"];
curr_index = 0;
curr_setKey = "";
setKeyFlag = false;
keyPressing = false;
closeKeyboard = false;
init_keyArr = [87, 83, 65, 68, 74, 75, 76];
result_keyArr = new Array();
up_btn.onRelease = function () {
curr_setKey = key_arr[0];
curr_index = 0;
setKeyFlag = true;
};
down_btn.onRelease = function () {
curr_setKey = key_arr[1];
curr_index = 1;
setKeyFlag = true;
};
left_btn.onRelease = function () {
curr_setKey = key_arr[2];
curr_index = 2;
setKeyFlag = true;
};
right_btn.onRelease = function () {
curr_setKey = key_arr[3];
curr_index = 3;
setKeyFlag = true;
};
attack_btn.onRelease = function () {
curr_setKey = key_arr[4];
curr_index = 4;
setKeyFlag = true;
};
bomb_btn.onRelease = function () {
curr_setKey = key_arr[5];
curr_index = 5;
setKeyFlag = true;
};
power_btn.onRelease = function () {
curr_setKey = key_arr[6];
curr_index = 6;
setKeyFlag = true;
};
setDefault_btn.onPress = function () {
setDefault();
};
keyListener = new Object();
keyListener.onKeyDown = function () {
if (setKeyFlag) {
var kc = Key.getCode();
var str_tmp = fromCodeString(kc);
if ((str_tmp == "\u51FA\u9519") || (!rekeyCheck(kc))) {
return(undefined);
}
setKeyFlag = false;
result_keyArr[curr_index] = kc;
eval (curr_setKey + "_txt").text = str_tmp;
trace(str_tmp);
eval (("keyBoard_mc." + curr_setKey) + "_mc").gotoAndStop(1);
}
};
keyListener.onKeyUp = function () {
if (keyPressing) {
keyPressing = false;
}
};
Key.addListener(keyListener);
setDefault();
Frame 6
function pause() {
if ((_root.pausei % 2) == 0) {
i = 0;
while (i < 10) {
_root.changjing["boy" + i].gotoAndStop(26);
pausedong.gotoAndPlay(2);
go = false;
_root.changjing.ken1.gotoAndStop(15);
_root.changjing.boss1.gotoAndStop(28);
_root.changjing.boss2.gotoAndStop(28);
_root.changjing.boss3.gotoAndStop(28);
_root.changjing.boss4.gotoAndStop(28);
_root.changjing.boss5.gotoAndStop(28);
i++;
}
j = 0;
while (j < _root.e) {
_root.changjing["boy" + j].gotoAndStop(26);
j++;
}
} else {
i = 0;
while (i < 10) {
pausedong.gotoAndStop(1);
_root.changjing["boy" + i].gotoAndStop(1);
_root.changjing["boy" + i].kongzhi.gotoAndPlay(1);
_root.changjing.ken1.gotoAndStop(1);
go = true;
_root.changjing.boss1.gotoAndStop(1);
_root.changjing.boss2.gotoAndStop(1);
_root.changjing.boss3.gotoAndStop(1);
_root.changjing.boss4.gotoAndStop(1);
_root.changjing.boss5.gotoAndStop(1);
i++;
}
j = 0;
while (j < _root.e) {
_root.changjing["boy" + j].gotoAndStop(1);
_root.changjing["boy" + j].kongzhi.gotoAndPlay(1);
j++;
}
}
}
_root.dong = 1;
_root.shengming = 2;
_root.jump = 1;
_root.zoulu = 0;
_root.go = 1;
_root.kongzhi = 0;
_root.i = 0;
_root.level = 1;
_root.attack = 0;
_root.bossattack = 0;
_root.direnattack = 0;
_root.fangyu = 2;
_root.excel = 0;
_root.excelmax = _root.level * 100;
_root.sp = 100;
_root.dilevel = 5;
_root.Cmin = 0;
_root.Xmax = 670;
_root.Xmin = 0;
_root.Ymin = 330;
_root.Ymax = 400;
_root.deadman = 0;
_root.hpmax = 0;
_root.wupinNumber = 0;
_root.pausei = 2;
_root.score = 1;
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.touxiang.gotoAndStop(1);
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.touxiang.gotoAndStop(2);
}
_root.changjing.ken1.hp = 100;
FNscore = function (s, num) {
var _local2 = 1;
while (_local2 <= 6) {
_root[s + _local2].gotoAndStop((Math.floor(num / Math.pow(10, _local2 - 1)) % 10) + 1);
_local2++;
}
};
go = true;
Keys.LinkKeyMap = [(((((((keydown + "-") + keyright) + "-") + keydown) + "-") + keyright) + "-") + keyattack, (((((((keydown + "-") + keyleft) + "-") + keydown) + "-") + keyleft) + "-") + keyattack, (((((keydown + "-") + keyup) + "-") + keyright) + "-") + keyattack, (((((keydown + "-") + keyup) + "-") + keyleft) + "-") + keyattack, (((keydown + "-") + keyright) + "-") + keyattack, (((keydown + "-") + keyleft) + "-") + keyattack, (((keydown + "-") + keyup) + "-") + keyattack];
trace(Keys.LinkKeyMap[2]);
Keys.LinkFun = function (backValue) {
switch (backValue) {
case (((keydown + "-") + keyup) + "-") + keyattack :
if ((go == true) && (_root.sp > 15)) {
changjing.ken1.gotoAndStop(14);
go = false;
}
break;
case (((keydown + "-") + keyright) + "-") + keyattack :
if ((go == true) && (_root.sp > 15)) {
changjing.ken1.gotoAndStop(4);
go = false;
}
break;
case (((keydown + "-") + keyleft) + "-") + keyattack :
if ((go == true) && (_root.sp > 15)) {
changjing.ken1.gotoAndStop(4);
go = false;
}
break;
case (((((keydown + "-") + keyup) + "-") + keyright) + "-") + keyattack :
if ((go == true) && (_root.sp > 15)) {
changjing.ken1.gotoAndStop(13);
go = false;
}
break;
case (((((keydown + "-") + keyup) + "-") + keyleft) + "-") + keyattack :
if ((go == true) && (_root.sp > 15)) {
changjing.ken1.gotoAndStop(13);
go = false;
}
break;
case (((((((keydown + "-") + keyright) + "-") + keydown) + "-") + keyright) + "-") + keyattack :
if ((go == true) && (_root.sp > 15)) {
changjing.ken1.gotoAndStop(9);
go = false;
}
break;
case (((((((keydown + "-") + keyleft) + "-") + keydown) + "-") + keyleft) + "-") + keyattack :
if (!((go == true) && (_root.sp > 15))) {
break;
}
changjing.ken1.gotoAndStop(9);
go = false;
}
};
_root.lian = 1;
stop();
cur = 0;
onEnterFrame = function () {
FNscore("s", _root.score);
now = getTimer();
if (Key.isDown(80) && ((now - cur) > 600)) {
cur = now;
trace("\u505C");
pause();
_root.pausei++;
}
};
Instance of Symbol 2704 MovieClip in Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sp * 2);
if (_root.sp <= 0) {
this.gotoAndStop(1);
_root.sp = 0;
}
if (_root.sp > 100) {
this.gotoAndStop(200);
_root.sp = 100;
}
}
Instance of Symbol 2708 MovieClip "hp" in Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_root.changjing.ken1.hp);
if (_root.changjing.ken1.hp <= 0) {
this.gotoAndStop(1);
}
if (_root.changjing.ken1.hp > 100) {
_root.changjing.ken1.hp = 100;
}
}
Instance of Symbol 2711 MovieClip in Frame 6
onClipEvent (load) {
deadset = 2;
}
Instance of Symbol 2713 MovieClip "zuo" in Frame 6
onClipEvent (load) {
i = _root.speed;
}
onClipEvent (enterFrame) {
if (_root.changjing._x < _root.Xmin) {
if (_root.changjing.ken1.juanping.hitTest(this)) {
_root.changjing._x = _root.changjing._x + i;
_root.beijing._x = _root.beijing._x + i;
if (i < (_root.speed * 3)) {
i = i + 0.1;
}
} else {
i = _root.speed;
}
}
}
Instance of Symbol 2713 MovieClip "you" in Frame 6
onClipEvent (load) {
i = _root.speed;
}
onClipEvent (enterFrame) {
if (_root.changjing._x > ((-_root.Xmax) + 670)) {
if (_root.changjing.ken1.juanping.hitTest(this)) {
_root.changjing._x = _root.changjing._x - i;
_root.beijing._x = _root.beijing._x - i;
if (i < (_root.speed * 3)) {
i = i + 0.1;
}
} else {
i = _root.speed;
}
}
}
Instance of "Keys" in Frame 6
//component parameters
onClipEvent (construct) {
KeyIntervalTime = 4;
ScaneKeyBordTime = 50;
}
Frame 7
_root.Xmax = 1200;
_root.Xmin = 0;
_root.Cmin = 530;
stop();
Instance of Symbol 2711 MovieClip in Frame 7
onClipEvent (load) {
deadset = 4;
}
Frame 8
_root.Xmax = 1900;
_root.Xmin = 0;
_root.Cmin = 1230;
stop();
Instance of Symbol 2711 MovieClip in Frame 8
onClipEvent (load) {
deadset = 6;
}
Frame 9
_root.Xmax = 2500;
_root.Xmin = 0;
_root.Cmin = 1830;
stop();
Instance of Symbol 2711 MovieClip in Frame 9
onClipEvent (load) {
deadset = 10;
}
Frame 10
_root.Xmax = 2700;
_root.Xmin = 0;
_root.Cmin = 2030;
stop();
Frame 11
function diren() {
i = 1;
while (i <= 6) {
_root.changjing.attachMovie("boy", "boy" + _root.e, _root.e++);
with (_root.changjing["boy" + _root.e]) {
_x = 1000;
_y = 400 - (i * 20);
_xscale = 60;
_yscale = 60;
}
i++;
}
}
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
}
_root.Xmax = 1000;
_root.Xmin = -100;
_root.Ymax = 400;
_root.Ymin = 340;
_root.e = 0;
diren();
_root.changjing.boss1.hp.hp = 100;
stop();
Frame 12
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
}
clearInterval(fff);
_root.Xmax = 670;
_root.Xmin = 0;
_root.Cmin = 0;
_root.Ymax = 399;
_root.Ymin = 220;
_root.deadman = 0;
_root.sp = 100;
_root.changjing.ken1.hp = 100;
_root.dilevel = 4;
stop();
Instance of Symbol 2711 MovieClip in Frame 12
onClipEvent (load) {
deadset = 2;
}
Frame 13
_root.Xmax = 1200;
_root.Cmin = 530;
stop();
Instance of Symbol 2711 MovieClip in Frame 13
onClipEvent (load) {
deadset = 4;
}
Frame 14
_root.Xmax = 1900;
_root.Cmin = 1230;
stop();
Instance of Symbol 2711 MovieClip in Frame 14
onClipEvent (load) {
deadset = 6;
}
Frame 15
_root.Xmax = 2500;
_root.Cmin = 1830;
stop();
Instance of Symbol 2711 MovieClip in Frame 15
onClipEvent (load) {
deadset = 10;
}
Frame 16
_root.Xmax = 2700;
_root.Cmin = 2030;
stop();
Frame 17
function diren() {
i = 1;
while (i <= 6) {
_root.changjing.attachMovie("two", "boy" + _root.e, _root.e++);
with (_root.changjing["boy" + _root.e]) {
_x = 1000;
_y = 400 - (i * 20);
_xscale = 60;
_yscale = 60;
}
i++;
}
}
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 90;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 90;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 60;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
}
_root.Xmax = 1000;
_root.Xmin = -150;
_root.Cmin = 150;
_root.Ymax = 399;
_root.Ymin = 260;
_root.e = 0;
diren();
_root.changjing.boss2.hp.hp = 100;
stop();
Frame 18
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
}
clearInterval(fff);
_root.Xmax = 670;
_root.Xmin = 0;
_root.Cmin = 0;
_root.Ymin = 300;
_root.Ymax = 400;
_root.deadman = 0;
_root.sp = 100;
_root.changjing.ken1.hp = 100;
_root.dilevel = 3;
stop();
Instance of Symbol 2711 MovieClip in Frame 18
onClipEvent (load) {
deadset = 2;
}
Frame 19
_root.Xmax = 1200;
_root.Cmin = 530;
stop();
Instance of Symbol 2711 MovieClip in Frame 19
onClipEvent (load) {
deadset = 4;
}
Frame 20
_root.Xmax = 1900;
_root.Cmin = 1230;
stop();
Instance of Symbol 2711 MovieClip in Frame 20
onClipEvent (load) {
deadset = 6;
}
Frame 21
_root.Xmax = 2500;
_root.Cmin = 1830;
stop();
Instance of Symbol 2711 MovieClip in Frame 21
onClipEvent (load) {
deadset = 10;
}
Frame 22
_root.Xmax = 2700;
_root.Cmin = 2030;
stop();
Frame 23
function diren() {
i = 1;
while (i <= 6) {
_root.changjing.attachMovie("three", "boy" + _root.e, _root.e++);
with (_root.changjing["boy" + _root.e]) {
_x = 1000;
_y = 400 - (i * 20);
_xscale = 60;
_yscale = 60;
}
i++;
}
}
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
}
_root.Xmax = 1000;
_root.Xmin = -150;
_root.Ymax = 399;
_root.Ymin = 300;
_root.Cmin = 150;
_root.e = 0;
diren();
_root.changjing.boss3.hp.hp = 100;
stop();
Frame 24
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
}
clearInterval(fff);
_root.Xmax = 670;
_root.Xmin = 0;
_root.Ymin = 310;
_root.Ymax = 400;
_root.Cmin = 0;
_root.deadman = 0;
_root.changjing.ken1.hp = 100;
_root.dilevel = 2;
_root.sp = 100;
stop();
Instance of Symbol 2711 MovieClip in Frame 24
onClipEvent (load) {
deadset = 2;
}
Frame 25
_root.Xmax = 1200;
_root.Cmin = 530;
stop();
Instance of Symbol 2711 MovieClip in Frame 25
onClipEvent (load) {
deadset = 4;
}
Frame 26
_root.Xmax = 1900;
_root.Cmin = 1230;
stop();
Instance of Symbol 2711 MovieClip in Frame 26
onClipEvent (load) {
deadset = 6;
}
Frame 27
_root.Xmax = 2500;
_root.Cmin = 1830;
stop();
Instance of Symbol 2711 MovieClip in Frame 27
onClipEvent (load) {
deadset = 10;
}
Frame 28
_root.Xmax = 2700;
_root.Cmin = 2030;
stop();
Frame 29
function diren() {
i = 1;
while (i <= 6) {
_root.changjing.attachMovie("four", "boy" + _root.e, _root.e++);
with (_root.changjing["boy" + _root.e]) {
_x = 1000;
_y = 400 - (i * 20);
_xscale = 60;
_yscale = 60;
}
i++;
}
}
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
}
_root.Xmax = 900;
_root.Xmin = -150;
_root.Ymax = 399;
_root.Ymin = 320;
_root.Cmin = 150;
_root.e = 0;
diren();
_root.changjing.boss4.hp.hp = 100;
stop();
Frame 30
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 100;
_root.changjing.ken1._y = 360;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 100;
_root.changjing.ken1._y = 360;
}
clearInterval(fff);
_root.Xmax = 670;
_root.Xmin = 0;
_root.Ymin = 300;
_root.Ymax = 400;
_root.Cmin = 0;
_root.deadman = 0;
_root.sp = 100;
_root.changjing.ken1.hp = 100;
_root.dilevel = 1;
stop();
Instance of Symbol 2711 MovieClip in Frame 30
onClipEvent (load) {
deadset = 2;
}
Frame 31
_root.Xmax = 1200;
_root.Cmin = 530;
stop();
Instance of Symbol 2711 MovieClip in Frame 31
onClipEvent (load) {
deadset = 4;
}
Frame 32
_root.Xmax = 1900;
_root.Cmin = 1230;
stop();
Instance of Symbol 2711 MovieClip in Frame 32
onClipEvent (load) {
deadset = 6;
}
Frame 33
_root.Xmax = 2500;
_root.Cmin = 1830;
stop();
Instance of Symbol 2711 MovieClip in Frame 33
onClipEvent (load) {
deadset = 10;
}
Frame 34
_root.Xmax = 2700;
_root.Cmin = 2030;
stop();
Frame 35
function diren() {
i = 1;
while (i <= 3) {
_root.changjing.attachMovie("five", "boy" + _root.e, _root.e++);
with (_root.changjing["boy" + _root.e]) {
_x = 1000;
_y = 400 - (i * 20);
_xscale = 60;
_yscale = 60;
}
i++;
}
}
if (_root.renchange == 0) {
_root.changjing.attachMovie("man", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
} else {
_root.changjing.attachMovie("girl", "ken1", 1000);
_root.changjing.ken1._xscale = 60;
_root.changjing.ken1._yscale = 60;
_root.changjing.ken1._x = 30;
_root.changjing.ken1._y = 300;
_root.changjing.ken1.hp = _root.hpmax;
}
_root.Xmax = 1000;
_root.Xmin = 0;
_root.Ymax = 399;
_root.Ymin = 320;
_root.Cmin = 0;
diren();
_root.changjing.boss5.hp.hp = 100;
stop();
Frame 36
stop();
stopAllSounds();
gameover.gotoAndPlay(2);
Frame 37
stop();
Instance of Symbol 4004 MovieClip [TMP6ojzjuzm8i] in Frame 37
//component parameters
onClipEvent (construct) {
gameID = 294;
}
Instance of Symbol 4009 MovieClip [TMP6pbk6uzm9i] in Frame 37
//component parameters
onClipEvent (construct) {
gameID = 294;
}
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
with (_parent) {
gotoAndPlay("rightdown");
}
} else if (Key.isDown(KeyLeft)) {
with (_parent) {
gotoAndPlay("leftdown");
}
}
}
Symbol 8 MovieClip Frame 8
gotoAndPlay (1);
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
} else {
with (_parent) {
gotoAndPlay("rightup");
}
}
}
Symbol 8 MovieClip Frame 28
gotoAndPlay (1);
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 40
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
} else {
with (_parent) {
gotoAndPlay("leftup");
}
}
}
Symbol 8 MovieClip Frame 48
gotoAndPlay (1);
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 60
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
with (_parent._parent) {
gotoAndStop(5);
}
}
}
Symbol 8 MovieClip Frame 62
gotoAndPlay (1);
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 80
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
with (_parent._parent) {
gotoAndStop(5);
}
}
}
Symbol 8 MovieClip Frame 82
gotoAndPlay (1);
Instance of Symbol 4 MovieClip in Symbol 44 MovieClip Frame 8
onClipEvent (enterFrame) {
if ((_root.lian == 1) && (Key.isDown(KeyAttack))) {
_parent._parent.nextFrame();
} else if (_root.lian == 0) {
_parent._parent._parent.gotoAndStop(1);
}
}
Symbol 44 MovieClip Frame 9
_parent._parent.gotoAndStop(1);
Instance of Symbol 4 MovieClip in Symbol 50 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack)) {
_parent._parent.nextFrame();
} else {
_parent._parent._parent.gotoAndStop(1);
}
}
Instance of Symbol 4 MovieClip in Symbol 56 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack)) {
_parent._parent.nextFrame();
} else {
_parent._parent._parent.gotoAndStop(1);
}
}
Symbol 67 MovieClip Frame 17
_parent._parent.gotoAndStop(1);
Symbol 68 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
_root.dong = 0;
Symbol 80 MovieClip Frame 7
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.hit.duplicateMovieClip("hit" + _root.i, _root.i++);
_root.changjing["hit" + _root.i]._x = _parent._x + 30;
_root.changjing["hit" + _root.i]._y = _parent._y - 30;
_root.sp = _root.sp - 10;
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.hit.duplicateMovieClip("hit" + _root.i, _root.i++);
_root.changjing["hit" + _root.i]._xscale = -100;
_root.changjing["hit" + _root.i]._x = _parent._x - 30;
_root.changjing["hit" + _root.i]._y = _parent._y - 30;
_root.sp = _root.sp - 10;
}
if (_root.i >= 10) {
_root.i = 0;
}
Symbol 80 MovieClip Frame 13
_root.dong = 1;
_parent.gotoAndStop(1);
Symbol 126 MovieClip Frame 15
stop();
Symbol 126 MovieClip Frame 27
gotoAndStop ("luodi");
Symbol 128 MovieClip Frame 1
_root.go = false;
Instance of Symbol 4 MovieClip in Symbol 128 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent._parent._x = _parent._parent._x - 12;
}
if (Key.isDown(KeyRight)) {
_parent._parent._x = _parent._parent._x + 12;
}
if (Key.isDown(KeyAttack)) {
_parent.boy.gotoAndPlay("ti");
}
}
Instance of Symbol 4 MovieClip in Symbol 128 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent._parent._x = _parent._parent._x - 8;
}
if (Key.isDown(KeyRight)) {
_parent._parent._x = _parent._parent._x + 8;
}
}
Symbol 128 MovieClip Frame 15
_parent.gotoAndStop(1);
Instance of Symbol 4 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 5;
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 5;
}
}
Symbol 140 MovieClip Frame 22
_parent.gotoAndStop(1);
Symbol 172 MovieClip Frame 1
_parent.hp = _parent.hp - _root.direnattack;
_parent.hp = _parent.hp - _root.bossattack;
Symbol 172 MovieClip Frame 15
if (_parent.hp <= 0) {
_parent.gotoAndStop(10);
} else {
_parent.gotoAndStop(1);
}
Symbol 192 MovieClip Frame 8
stop();
Symbol 282 MovieClip Frame 1
_root.sp = _root.sp - 20;
Instance of Symbol 4 MovieClip in Symbol 282 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 5;
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 5;
}
}
Symbol 282 MovieClip Frame 53
_parent.gotoAndStop(1);
Symbol 309 MovieClip Frame 1
_root.go = false;
_parent.hp = _parent.hp - _root.direnattack;
_parent.hp = _parent.hp - _root.bossattack;
Instance of Symbol 4 MovieClip in Symbol 309 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _root.changjing.dalao._x) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 10;
} else if (_root.changjing.ken1._x < _root.changjing.dalao._x) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 10;
}
}
Symbol 309 MovieClip Frame 19
if (_parent.hp <= 0) {
_root.changjing.ken1.hp = 100;
_root.shengming--;
} else {
gotoAndPlay (20);
}
if (_root.shengming <= 0) {
stop();
_root.changjing.ken1.hp = 0;
_root.gameover.gotoAndPlay(2);
}
Symbol 309 MovieClip Frame 28
_parent.gotoAndStop(1);
Symbol 312 MovieClip Frame 160
_root.changjing.ken1.gotoAndStop(1);
Symbol 324 MovieClip Frame 1
_root.go = false;
stop();
Instance of Symbol 4 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
setProperty(_parent._parent, _xscale , 60);
with (_parent) {
gotoAndPlay("ren");
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
setProperty(_parent._parent, _xscale , -60);
with (_parent) {
gotoAndPlay("ren");
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
}
}
Symbol 324 MovieClip Frame 7
gotoAndStop (1);
Symbol 324 MovieClip Frame 16
_parent.gotoAndStop(1);
_root.go = true;
Symbol 391 MovieClip Frame 1
_root.sp = _root.sp - 20;
Symbol 391 MovieClip Frame 33
_parent.gotoAndStop(1);
Symbol 433 MovieClip Frame 1
_root.sp = _root.sp - 20;
Symbol 433 MovieClip Frame 18
_parent.gotoAndStop(1);
Symbol 434 MovieClip [girl] Frame 1
stop();
_root.go = true;
_root.speed = 6;
_root.attack = 0;
Instance of Symbol 4 MovieClip "jie" in Symbol 434 MovieClip [girl] Frame 1
onClipEvent (enterFrame) {
if (_parent._x < 0) {
_parent._x = 0;
}
if (_parent._x > _root.Xmax) {
_parent._x = _root.Xmax;
}
if (_parent._y > _root.Ymax) {
_parent._y = _root.Ymax;
}
if (_parent._y < _root.Ymin) {
_parent._y = _root.Ymin;
}
}
Instance of Symbol 4 MovieClip "zoulu" in Symbol 434 MovieClip [girl] Frame 1
onClipEvent (load) {
_root.lian = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent.gotoAndStop(2);
_parent._xscale = -60;
_parent._x = _parent._x - _root.speed;
}
if (Key.isDown(KeyRight)) {
_parent.gotoAndStop(2);
_parent._xscale = 60;
_parent._x = _parent._x + _root.speed;
}
if (Key.isDown(KeyUp)) {
_parent.gotoAndStop(2);
_parent._y = _parent._y - 5;
}
if (Key.isDown(KeyDown)) {
_parent.gotoAndStop(2);
_parent._y = _parent._y + 5;
}
if (Key.isDown(KeyAttack)) {
_parent.gotoAndStop(3);
}
if (Key.isDown(KeyBomb)) {
_parent.gotoAndStop(6);
}
if (Key.isDown(KeyPower)) {
_parent.gotoAndStop(12);
}
if (((Key.isDown(KeyUp) || (Key.isDown(KeyDown))) || (Key.isDown(KeyLeft))) || (Key.isDown(KeyRight))) {
} else {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 8 MovieClip "paobu" in Symbol 434 MovieClip [girl] Frame 1
/* no clip actions */
Instance of Symbol 4 MovieClip in Symbol 434 MovieClip [girl] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Symbol 434 MovieClip [girl] Frame 3
_root.attack = 5;
Instance of Symbol 4 MovieClip in Symbol 434 MovieClip [girl] Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
_parent._xscale = 60;
}
if (Key.isDown(KeyLeft)) {
_parent._xscale = -60;
}
}
Instance of Symbol 4 MovieClip in Symbol 434 MovieClip [girl] Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(KeyBomb)) {
_parent.gotoAndStop(6);
}
}
Instance of Symbol 4 MovieClip in Symbol 434 MovieClip [girl] Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent._xscale = -60;
_parent._x = _parent._x - (_root.speed * 2);
}
if (Key.isDown(KeyRight)) {
_parent._xscale = 60;
_parent._x = _parent._x + (_root.speed * 2);
}
if (Key.isDown(KeyUp)) {
_parent._y = _parent._y - 10;
}
if (Key.isDown(KeyDown)) {
_parent._y = _parent._y + 10;
}
if (((Key.isDown(KeyUp) || (Key.isDown(KeyDown))) || (Key.isDown(KeyLeft))) || (Key.isDown(KeyRight))) {
} else {
_parent.gotoAndStop(1);
}
if (Key.isDown(KeyAttack)) {
_parent.gotoAndStop(7);
}
}
Symbol 434 MovieClip [girl] Frame 6
_root.attack = 10;
Symbol 434 MovieClip [girl] Frame 7
_root.attack = 15;
Symbol 434 MovieClip [girl] Frame 11
_root.attack = 10;
Instance of Symbol 4 MovieClip in Symbol 434 MovieClip [girl] Frame 12
onClipEvent (enterFrame) {
_root.sp = _root.sp + 0.5;
if (Key.isDown(KeyPower) == false) {
_parent.gotoAndStop(1);
}
}
Symbol 434 MovieClip [girl] Frame 13
_root.attack = 10;
Symbol 434 MovieClip [girl] Frame 14
_root.attack = 15;
Symbol 452 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 451 MovieClip in Symbol 452 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 452 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 451 MovieClip in Symbol 452 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 452 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 451 MovieClip in Symbol 452 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 452 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 453 MovieClip Frame 1
stop();
Instance of Symbol 449 MovieClip in Symbol 453 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 453 MovieClip Frame 22
gotoAndStop (1);
Symbol 453 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 449 MovieClip "hit" in Symbol 476 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 476 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 491 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 491 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 495 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 451 MovieClip in Symbol 529 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 529 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 529 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 529 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 539 MovieClip Frame 1
stop();
Instance of Symbol 451 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 539 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 539 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 539 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 451 MovieClip in Symbol 539 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 539 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 539 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 539 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 561 MovieClip Frame 1
_root.score = _root.score + 200;
_parent.hp.hp = 1;
i = 0;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 561 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 561 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 562 MovieClip [ten] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 446 MovieClip in Symbol 562 MovieClip [ten] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 449 MovieClip "hit" in Symbol 562 MovieClip [ten] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 451 MovieClip "hp" in Symbol 562 MovieClip [ten] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 562 MovieClip [ten] Frame 10
_root.direnattack = 5;
Instance of Symbol 539 MovieClip "zhua" in Symbol 562 MovieClip [ten] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 579 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 578 MovieClip in Symbol 579 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 579 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 578 MovieClip in Symbol 579 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 579 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 578 MovieClip in Symbol 579 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 579 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 580 MovieClip Frame 1
stop();
Instance of Symbol 576 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 580 MovieClip Frame 22
gotoAndStop (1);
Symbol 580 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 576 MovieClip "hit" in Symbol 600 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 600 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 612 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 612 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 614 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 578 MovieClip in Symbol 646 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 646 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 646 MovieClip Frame 75
with (_parent) {
gotoAndStop(1);
}
Symbol 646 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 653 MovieClip Frame 1
stop();
Instance of Symbol 578 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 653 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 653 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 653 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 578 MovieClip in Symbol 653 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 653 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 653 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 653 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 657 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 657 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 657 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 658 MovieClip [ninenine] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 574 MovieClip in Symbol 658 MovieClip [ninenine] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 576 MovieClip "hit" in Symbol 658 MovieClip [ninenine] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 578 MovieClip "hp" in Symbol 658 MovieClip [ninenine] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 658 MovieClip [ninenine] Frame 10
_root.direnattack = 5;
Instance of Symbol 653 MovieClip "zhua" in Symbol 658 MovieClip [ninenine] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 659 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 578 MovieClip in Symbol 659 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 659 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 659 MovieClip Frame 75
with (_parent) {
gotoAndStop(1);
}
Symbol 659 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 660 MovieClip Frame 1
stop();
Instance of Symbol 578 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 660 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 660 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 660 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 578 MovieClip in Symbol 660 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 660 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 660 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 660 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 661 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 661 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 661 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 662 MovieClip [nine] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 574 MovieClip in Symbol 662 MovieClip [nine] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 576 MovieClip "hit" in Symbol 662 MovieClip [nine] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 578 MovieClip "hp" in Symbol 662 MovieClip [nine] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 662 MovieClip [nine] Frame 10
_root.direnattack = 5;
Instance of Symbol 660 MovieClip "zhua" in Symbol 662 MovieClip [nine] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 679 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 678 MovieClip in Symbol 679 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 679 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 678 MovieClip in Symbol 679 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 679 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 678 MovieClip in Symbol 679 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 679 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 680 MovieClip Frame 1
stop();
Instance of Symbol 676 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 680 MovieClip Frame 22
gotoAndStop (1);
Symbol 680 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 676 MovieClip "hit" in Symbol 702 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 702 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 714 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 714 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 716 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 678 MovieClip in Symbol 748 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 748 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 748 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 748 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 754 MovieClip Frame 1
stop();
Instance of Symbol 678 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 754 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 754 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 754 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 678 MovieClip in Symbol 754 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 754 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 754 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 754 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 758 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 758 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 758 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 759 MovieClip [eight] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 674 MovieClip in Symbol 759 MovieClip [eight] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 676 MovieClip "hit" in Symbol 759 MovieClip [eight] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 678 MovieClip "hp" in Symbol 759 MovieClip [eight] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 759 MovieClip [eight] Frame 10
_root.direnattack = 5;
Instance of Symbol 754 MovieClip "zhua" in Symbol 759 MovieClip [eight] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 774 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 773 MovieClip in Symbol 774 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 774 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 773 MovieClip in Symbol 774 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 774 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 773 MovieClip in Symbol 774 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 774 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 775 MovieClip Frame 1
stop();
Instance of Symbol 771 MovieClip in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 775 MovieClip Frame 22
gotoAndStop (1);
Symbol 775 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 771 MovieClip "hit" in Symbol 797 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 797 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 824 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 824 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 826 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 773 MovieClip in Symbol 850 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 850 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 850 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 850 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 856 MovieClip Frame 1
stop();
Instance of Symbol 773 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 856 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 856 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 856 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 773 MovieClip in Symbol 856 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 856 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 856 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 856 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 863 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.excel = _root.excel + 80;
_root.score = _root.score + 200;
_root.deadman = _root.deadman + 1;
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 863 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 863 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 864 MovieClip [sevenseven] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 769 MovieClip in Symbol 864 MovieClip [sevenseven] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 771 MovieClip "hit" in Symbol 864 MovieClip [sevenseven] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 773 MovieClip "hp" in Symbol 864 MovieClip [sevenseven] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 864 MovieClip [sevenseven] Frame 10
_root.direnattack = 5;
Instance of Symbol 856 MovieClip "zhua" in Symbol 864 MovieClip [sevenseven] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 865 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(25);
}
}
Instance of Symbol 773 MovieClip in Symbol 865 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 865 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 865 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 865 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 866 MovieClip Frame 1
stop();
Instance of Symbol 773 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 866 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 866 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 866 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 773 MovieClip in Symbol 866 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 866 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 866 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 866 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 867 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.excel = _root.excel + 80;
_root.score = _root.score + 200;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 867 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 867 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 868 MovieClip [seven] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 769 MovieClip in Symbol 868 MovieClip [seven] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 771 MovieClip "hit" in Symbol 868 MovieClip [seven] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 773 MovieClip "hp" in Symbol 868 MovieClip [seven] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 868 MovieClip [seven] Frame 10
_root.direnattack = 5;
Instance of Symbol 866 MovieClip "zhua" in Symbol 868 MovieClip [seven] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 883 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 882 MovieClip in Symbol 883 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 883 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 882 MovieClip in Symbol 883 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 883 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 882 MovieClip in Symbol 883 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 883 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 884 MovieClip Frame 1
stop();
Instance of Symbol 880 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 884 MovieClip Frame 22
gotoAndStop (1);
Symbol 884 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 880 MovieClip "hit" in Symbol 906 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 906 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 919 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 919 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 921 MovieClip Frame 1
stop();
Symbol 952 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 882 MovieClip in Symbol 952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 952 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 952 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 952 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 959 MovieClip Frame 1
stop();
Instance of Symbol 882 MovieClip in Symbol 959 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 959 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 959 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 959 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 882 MovieClip in Symbol 959 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 959 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 959 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 959 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 965 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 965 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 965 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 966 MovieClip [six] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 878 MovieClip in Symbol 966 MovieClip [six] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 880 MovieClip "hit" in Symbol 966 MovieClip [six] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 882 MovieClip "hp" in Symbol 966 MovieClip [six] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 966 MovieClip [six] Frame 10
_root.direnattack = 5;
Instance of Symbol 959 MovieClip "zhua" in Symbol 966 MovieClip [six] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 983 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 982 MovieClip in Symbol 983 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 983 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 982 MovieClip in Symbol 983 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 983 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 982 MovieClip in Symbol 983 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 983 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 984 MovieClip Frame 1
stop();
Instance of Symbol 980 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 984 MovieClip Frame 22
gotoAndStop (1);
Symbol 984 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 980 MovieClip "hit" in Symbol 1004 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 1004 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 1016 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 1016 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 1018 MovieClip Frame 1
stop();
Symbol 1050 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 982 MovieClip in Symbol 1050 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1050 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1050 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1050 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1056 MovieClip Frame 1
stop();
Instance of Symbol 982 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1056 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1056 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1056 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 982 MovieClip in Symbol 1056 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1056 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 20;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1056 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1056 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1060 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1060 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1060 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1061 MovieClip [fivefive] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 978 MovieClip in Symbol 1061 MovieClip [fivefive] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 980 MovieClip "hit" in Symbol 1061 MovieClip [fivefive] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 982 MovieClip "hp" in Symbol 1061 MovieClip [fivefive] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1061 MovieClip [fivefive] Frame 10
_root.direnattack = 5;
Instance of Symbol 1056 MovieClip "zhua" in Symbol 1061 MovieClip [fivefive] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1062 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 982 MovieClip in Symbol 1062 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1062 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1062 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1062 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1063 MovieClip Frame 1
stop();
Instance of Symbol 982 MovieClip in Symbol 1063 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1063 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1063 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1063 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 982 MovieClip in Symbol 1063 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1063 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 20;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1063 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1063 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1064 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1064 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1064 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1065 MovieClip [five] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 978 MovieClip in Symbol 1065 MovieClip [five] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 980 MovieClip "hit" in Symbol 1065 MovieClip [five] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 982 MovieClip "hp" in Symbol 1065 MovieClip [five] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1065 MovieClip [five] Frame 10
_root.direnattack = 5;
Instance of Symbol 1063 MovieClip "zhua" in Symbol 1065 MovieClip [five] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1082 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 1081 MovieClip in Symbol 1082 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 1082 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 1081 MovieClip in Symbol 1082 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 1082 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 1081 MovieClip in Symbol 1082 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 1082 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 1083 MovieClip Frame 1
stop();
Instance of Symbol 1079 MovieClip in Symbol 1083 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 1083 MovieClip Frame 22
gotoAndStop (1);
Symbol 1083 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 1079 MovieClip "hit" in Symbol 1105 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 1105 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 1117 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 1117 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 1119 MovieClip Frame 1
stop();
Symbol 1151 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(25);
}
}
Instance of Symbol 1081 MovieClip in Symbol 1151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1151 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1151 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1151 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1158 MovieClip Frame 1
stop();
Instance of Symbol 1081 MovieClip in Symbol 1158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1158 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1158 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1158 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 1081 MovieClip in Symbol 1158 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1158 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1158 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1158 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1162 MovieClip Frame 1
_parent.hp.hp = 1;
_root.score = _root.score + 200;
i = 0;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1162 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1162 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1163 MovieClip [four] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 1077 MovieClip in Symbol 1163 MovieClip [four] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1079 MovieClip "hit" in Symbol 1163 MovieClip [four] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 1081 MovieClip "hp" in Symbol 1163 MovieClip [four] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1163 MovieClip [four] Frame 10
_root.direnattack = 5;
Instance of Symbol 1158 MovieClip "zhua" in Symbol 1163 MovieClip [four] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1180 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 1179 MovieClip in Symbol 1180 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 1180 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 1179 MovieClip in Symbol 1180 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 1180 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 1179 MovieClip in Symbol 1180 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 1180 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 1181 MovieClip Frame 1
stop();
Instance of Symbol 1177 MovieClip in Symbol 1181 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 1181 MovieClip Frame 22
gotoAndStop (1);
Symbol 1181 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 1177 MovieClip "hit" in Symbol 1203 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 1203 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 1215 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 1215 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 1217 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 1179 MovieClip in Symbol 1249 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1249 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.deadman++;
_root.score = _root.score + 200;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1249 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1249 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1256 MovieClip Frame 1
stop();
Instance of Symbol 1179 MovieClip in Symbol 1256 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1256 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1256 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1256 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 1179 MovieClip in Symbol 1256 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1256 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1256 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1256 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1260 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1260 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1260 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1260 MovieClip Frame 286
stop();
Symbol 1261 MovieClip [threethree] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 1175 MovieClip in Symbol 1261 MovieClip [threethree] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1177 MovieClip "hit" in Symbol 1261 MovieClip [threethree] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 1179 MovieClip "hp" in Symbol 1261 MovieClip [threethree] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1261 MovieClip [threethree] Frame 10
_root.direnattack = 5;
Instance of Symbol 1256 MovieClip "zhua" in Symbol 1261 MovieClip [threethree] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1262 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(25);
}
}
Instance of Symbol 1179 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1262 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.deadman++;
_root.score = _root.score + 200;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1262 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1262 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1263 MovieClip Frame 1
stop();
Instance of Symbol 1179 MovieClip in Symbol 1263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1263 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1263 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1263 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 1179 MovieClip in Symbol 1263 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1263 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1263 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1263 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1264 MovieClip Frame 1
_parent.hp.hp = 1;
i = 0;
_root.score = _root.score + 200;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1264 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1264 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1264 MovieClip Frame 286
stop();
Symbol 1265 MovieClip [three] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 1175 MovieClip in Symbol 1265 MovieClip [three] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1177 MovieClip "hit" in Symbol 1265 MovieClip [three] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 1179 MovieClip "hp" in Symbol 1265 MovieClip [three] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1265 MovieClip [three] Frame 10
_root.direnattack = 5;
Instance of Symbol 1263 MovieClip "zhua" in Symbol 1265 MovieClip [three] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1282 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 1281 MovieClip in Symbol 1282 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 1282 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 1281 MovieClip in Symbol 1282 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 1282 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 1281 MovieClip in Symbol 1282 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 1282 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 1283 MovieClip Frame 1
stop();
Instance of Symbol 1279 MovieClip in Symbol 1283 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 1283 MovieClip Frame 22
gotoAndStop (1);
Symbol 1283 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 1279 MovieClip "hit" in Symbol 1301 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 1301 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 1313 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 1313 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 1315 MovieClip Frame 1
stop();
Symbol 1344 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 1281 MovieClip in Symbol 1344 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1344 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1344 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1344 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1351 MovieClip Frame 1
stop();
Instance of Symbol 1281 MovieClip in Symbol 1351 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1351 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1351 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1351 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 1281 MovieClip in Symbol 1351 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1351 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1351 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1351 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1374 MovieClip Frame 1
_root.score = _root.score + 200;
_parent.hp.hp = 1;
i = 0;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1374 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1374 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1375 MovieClip [two] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 1277 MovieClip in Symbol 1375 MovieClip [two] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1279 MovieClip "hit" in Symbol 1375 MovieClip [two] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 1281 MovieClip "hp" in Symbol 1375 MovieClip [two] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1375 MovieClip [two] Frame 10
_root.direnattack = 5;
Instance of Symbol 1351 MovieClip "zhua" in Symbol 1375 MovieClip [two] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1392 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 1391 MovieClip in Symbol 1392 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
_parent._parent._xscale = -60;
} else {
_parent._parent._xscale = 60;
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
_parent._parent._x = _parent._parent._x - 8;
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
_parent._parent._x = _parent._parent._x + 8;
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
_parent._parent._y = _parent._parent._y + 6;
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
_parent._parent._y = _parent._parent._y - 6;
}
}
Symbol 1392 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 1391 MovieClip in Symbol 1392 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (load) {
xx = random(_root.Xmax - _root.Cmin) + _root.Cmin;
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , -60);
} else {
setProperty(_parent._parent, _xscale , 60);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 1392 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 1391 MovieClip in Symbol 1392 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 1392 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Symbol 1393 MovieClip Frame 1
stop();
Instance of Symbol 1389 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
_parent.gotoAndPlay("hit");
} else {
_parent.play();
}
}
}
Symbol 1393 MovieClip Frame 22
gotoAndStop (1);
Symbol 1393 MovieClip Frame 23
with (_parent) {
gotoAndStop(10);
}
Instance of Symbol 1389 MovieClip "hit" in Symbol 1411 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_parent._parent._x >= _root.changjing.ken1._x) {
_root.fangxiang = 0;
} else {
_root.fangxiang = 1;
}
if (_root.changjing.ken1.area.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(8);
}
}
}
Symbol 1411 MovieClip Frame 26
with (_parent) {
gotoAndStop(1);
}
Symbol 1422 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
with (_parent) {
gotoAndStop(23);
}
}
Symbol 1422 MovieClip Frame 7
with (_parent) {
gotoAndStop(1);
}
Symbol 1424 MovieClip Frame 1
stop();
Symbol 1455 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 1391 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1455 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1455 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1455 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1466 MovieClip Frame 1
stop();
Instance of Symbol 1391 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1466 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1466 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1466 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 1391 MovieClip in Symbol 1466 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1466 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber);
_root.changjing["wupin" + _root.wupinNumber]._x = _parent._x;
_root.changjing["wupin" + _root.wupinNumber]._y = _parent._y;
_root.wupinNumber++;
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1466 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1466 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1489 MovieClip Frame 1
_root.score = _root.score + 200;
_parent.hp.hp = 1;
i = 0;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
var tempWupin = _root.changjing.attachMovie("wupin", "wupin" + _root.wupinNumber, _root.wupinNumber++);
tempWupin._x = _parent._x;
tempWupin._y = _parent._y;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1489 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1489 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1490 MovieClip [boyboy] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 1387 MovieClip "depth" in Symbol 1490 MovieClip [boyboy] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1389 MovieClip "hit" in Symbol 1490 MovieClip [boyboy] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 1391 MovieClip "hp" in Symbol 1490 MovieClip [boyboy] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1490 MovieClip [boyboy] Frame 2
_root.direnattack = 0;
Symbol 1490 MovieClip [boyboy] Frame 10
_root.direnattack = 5;
Instance of Symbol 1466 MovieClip "zhua" in Symbol 1490 MovieClip [boyboy] Frame 24
onClipEvent (load) {
hit = 0;
}
Symbol 1491 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - (_root.attack + 10);
if (_root.gameworld.boy1._currentframe > 11) {
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 1391 MovieClip in Symbol 1491 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
_parent._parent._x = _parent._parent._x - 15;
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < _root.Xmax) {
_parent._parent._x = _parent._parent._x + 15;
}
}
}
Symbol 1491 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (75);
}
Symbol 1491 MovieClip Frame 74
with (_parent) {
gotoAndStop(1);
}
Symbol 1491 MovieClip Frame 79
_parent.removeMovieClip();
stop();
Symbol 1492 MovieClip Frame 1
stop();
Instance of Symbol 1391 MovieClip in Symbol 1492 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
_parent.abc = 1;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
_parent.abc = 0;
with (_parent) {
gotoAndPlay(11);
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
} else if (_root.changjing.ken1._currentframe != 11) {
with (_parent._parent) {
gotoAndStop(1);
}
}
if (_root.changjing.ken1._xscale == 60) {
_parent._parent._xscale = 60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._parent._xscale = -60;
_parent._parent._x = _root.changjing.ken1._x;
_parent._parent._y = _root.changjing.ken1._y;
}
}
Symbol 1492 MovieClip Frame 4
_parent.hp.hp = _parent.hp.hp - _root.attack;
Symbol 1492 MovieClip Frame 9
hit = hit + 1;
if (hit >= 5) {
if (_parent._xscale == -60) {
abc = 0;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
} else if (_parent._xscale == 60) {
abc = 1;
gotoAndPlay (11);
_root.ken1.gotoAndStop(1);
}
} else {
gotoAndStop (1);
}
Symbol 1492 MovieClip Frame 11
_parent.hp.hp = _parent.hp.hp - _root.attack;
_root.changjing.ken1.ding.gotoAndPlay("ren");
Instance of Symbol 1391 MovieClip in Symbol 1492 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.abc == 1) {
if (_parent._parent._x < _root.Xmax) {
setProperty(_parent._parent, _x , _parent._parent._x + 20);
}
} else if (_parent.abc == 0) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 20);
}
}
}
Symbol 1492 MovieClip Frame 37
if (_parent.hp.hp <= 0) {
_root.score = _root.score + 200;
_root.deadman++;
_parent.removeMovieClip(xuecao);
gotoAndPlay (91);
}
Symbol 1492 MovieClip Frame 90
with (_parent) {
gotoAndStop(1);
}
Symbol 1492 MovieClip Frame 95
_parent.removeMovieClip();
stop();
Symbol 1493 MovieClip Frame 1
_root.score = _root.score + 200;
_parent.hp.hp = 1;
i = 0;
_root.excel = _root.excel + 80;
_root.deadman = _root.deadman + 1;
deadway = random(2);
if (deadway == 0) {
gotoAndPlay ("dead-1");
} else if (deadway == 1) {
gotoAndPlay ("dead-2");
} else if (deadway == 2) {
gotoAndPlay ("dead-3");
}
Symbol 1493 MovieClip Frame 47
_parent.removeMovieClip();
stop();
Symbol 1493 MovieClip Frame 193
_parent.removeMovieClip();
stop();
Symbol 1494 MovieClip [boy] Frame 1
stop();
_root.direnattack = 0;
Instance of Symbol 1387 MovieClip "depth" in Symbol 1494 MovieClip [boy] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1389 MovieClip "hit" in Symbol 1494 MovieClip [boy] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(21);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(23);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(23);
}
g++;
}
c = 0;
while (c < 10) {
if (_root.changjing["boy" + c].zhua.hit5.hitTest(this)) {
_parent.gotoAndStop(23);
}
c++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(23);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(25);
}
}
if (_root.changjing.ken1.hand.hitTest(this)) {
with (_root.changjing.ken1) {
gotoAndStop(11);
}
if (_root.changjing.ken1._xscale == 60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
} else if (_root.changjing.ken1._xscale == -60) {
_parent._x = _root.changjing.ken1._x;
_parent._y = _root.changjing.ken1._y;
}
with (_parent) {
gotoAndStop(24);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(25);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(23);
}
}
Instance of Symbol 1391 MovieClip "hp" in Symbol 1494 MovieClip [boy] Frame 1
onClipEvent (load) {
hp = 100;
}
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (hp <= 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 1494 MovieClip [boy] Frame 2
_root.direnattack = 0;
Symbol 1494 MovieClip [boy] Frame 10
_root.direnattack = 5;
Instance of Symbol 1492 MovieClip "zhua" in Symbol 1494 MovieClip [boy] Frame 24
onClipEvent (load) {
hit = 0;
}
Instance of Symbol 1499 MovieClip in Symbol 1500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
with (_parent) {
gotoAndPlay("rightdown");
}
} else if (Key.isDown(KeyLeft)) {
with (_parent) {
gotoAndPlay("leftdown");
}
}
}
Symbol 1500 MovieClip Frame 8
gotoAndPlay (1);
Instance of Symbol 1499 MovieClip in Symbol 1500 MovieClip Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
} else {
with (_parent) {
gotoAndPlay("rightup");
}
}
}
Symbol 1500 MovieClip Frame 28
gotoAndPlay (1);
Instance of Symbol 1499 MovieClip in Symbol 1500 MovieClip Frame 40
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
} else {
with (_parent) {
gotoAndPlay("leftup");
}
}
}
Symbol 1500 MovieClip Frame 48
gotoAndPlay (1);
Instance of Symbol 1499 MovieClip in Symbol 1500 MovieClip Frame 60
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
with (_parent._parent) {
gotoAndStop(5);
}
}
}
Symbol 1500 MovieClip Frame 62
gotoAndPlay (1);
Instance of Symbol 1499 MovieClip in Symbol 1500 MovieClip Frame 80
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
with (_parent._parent) {
gotoAndStop(5);
}
}
}
Symbol 1500 MovieClip Frame 82
gotoAndPlay (1);
Instance of Symbol 1497 MovieClip in Symbol 1533 MovieClip Frame 8
onClipEvent (enterFrame) {
if ((_root.lian == 1) && (Key.isDown(KeyAttack))) {
_parent._parent.nextFrame();
} else if (_root.lian == 0) {
_parent._parent._parent.gotoAndStop(1);
}
}
Symbol 1533 MovieClip Frame 9
_parent._parent.gotoAndStop(1);
Instance of Symbol 1497 MovieClip in Symbol 1538 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack)) {
_parent._parent.nextFrame();
} else {
_parent._parent._parent.gotoAndStop(1);
}
}
Instance of Symbol 1497 MovieClip in Symbol 1560 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack)) {
_parent._parent.nextFrame();
} else {
_parent._parent._parent.gotoAndStop(1);
}
}
Symbol 1574 MovieClip Frame 17
_parent._parent.gotoAndStop(1);
Symbol 1575 MovieClip Frame 1
stop();
Symbol 1590 MovieClip Frame 1
_root.dong = 0;
Symbol 1590 MovieClip Frame 7
i = 0;
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.hit.duplicateMovieClip("hit" + _root.i, _root.i++);
_root.changjing["hit" + _root.i]._x = _parent._x + 30;
_root.changjing["hit" + _root.i]._y = _parent._y - 30;
while (i < 10) {
_root.sp = _root.sp - 1;
i++;
}
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.hit.duplicateMovieClip("hit" + _root.i, _root.i++);
_root.changjing["hit" + _root.i]._xscale = -100;
_root.changjing["hit" + _root.i]._x = _parent._x - 30;
_root.changjing["hit" + _root.i]._y = _parent._y - 30;
while (i < 10) {
_root.sp = _root.sp - 1;
i++;
}
}
if (_root.i >= 10) {
_root.i = 0;
}
Symbol 1590 MovieClip Frame 13
_root.dong = 1;
_parent.gotoAndStop(1);
Symbol 1633 MovieClip Frame 15
stop();
Symbol 1633 MovieClip Frame 27
gotoAndStop ("luodi");
Symbol 1634 MovieClip Frame 1
_root.attack = 10;
_root.go = false;
Instance of Symbol 1497 MovieClip in Symbol 1634 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent._parent._x = _parent._parent._x - 12;
}
if (Key.isDown(KeyRight)) {
_parent._parent._x = _parent._parent._x + 12;
}
if (Key.isDown(KeyAttack)) {
_parent.boy.gotoAndPlay("ti");
}
}
Instance of Symbol 1497 MovieClip in Symbol 1634 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent._parent._x = _parent._parent._x - 8;
}
if (Key.isDown(KeyRight)) {
_parent._parent._x = _parent._parent._x + 8;
}
}
Symbol 1634 MovieClip Frame 15
_parent.gotoAndStop(1);
Instance of Symbol 1497 MovieClip in Symbol 1667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 5;
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 5;
}
}
Symbol 1667 MovieClip Frame 22
_parent.gotoAndStop(1);
Symbol 1698 MovieClip Frame 1
_parent.hp = _parent.hp - _root.direnattack;
_parent.hp = _parent.hp - _root.bossattack;
Symbol 1698 MovieClip Frame 15
if (_parent.hp <= 0) {
_parent.gotoAndStop(10);
} else {
_parent.gotoAndStop(1);
}
Symbol 1718 MovieClip Frame 8
stop();
Symbol 1810 MovieClip Frame 1
_root.sp = _root.sp - 20;
Instance of Symbol 1497 MovieClip in Symbol 1810 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 5;
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 5;
}
}
Symbol 1810 MovieClip Frame 53
_parent.gotoAndStop(1);
Symbol 1837 MovieClip Frame 1
_root.go = false;
_parent.hp = _parent.hp - _root.direnattack;
_parent.hp = _parent.hp - _root.bossattack;
Instance of Symbol 1497 MovieClip in Symbol 1837 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _root.changjing.dalao._x) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 10;
} else if (_root.changjing.ken1._x < _root.changjing.dalao._x) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 10;
}
}
Symbol 1837 MovieClip Frame 19
if (_parent.hp <= 0) {
_root.changjing.ken1.hp = 100;
_root.shengming--;
} else {
gotoAndPlay (20);
}
if (_root.shengming <= 0) {
stop();
_root.changjing.ken1.hp = 0;
_root.gameover.gotoAndPlay(2);
}
Symbol 1837 MovieClip Frame 28
_parent.gotoAndStop(1);
Symbol 1840 MovieClip Frame 160
_root.changjing.ken1.gotoAndStop(1);
Symbol 1855 MovieClip Frame 1
_root.go = false;
stop();
Instance of Symbol 1497 MovieClip in Symbol 1855 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(KeyAttack) and Key.isDown(KeyRight)) {
setProperty(_parent._parent, _xscale , 60);
with (_parent) {
gotoAndPlay("ren");
}
} else if (Key.isDown(KeyAttack) and Key.isDown(KeyLeft)) {
setProperty(_parent._parent, _xscale , -60);
with (_parent) {
gotoAndPlay("ren");
}
} else if (Key.isDown(KeyAttack)) {
with (_parent) {
play();
}
}
}
Symbol 1855 MovieClip Frame 7
gotoAndStop (1);
Symbol 1855 MovieClip Frame 16
_parent.gotoAndStop(1);
_root.go = true;
Symbol 1930 MovieClip Frame 1
_root.sp = _root.sp - 20;
Instance of Symbol 1875 MovieClip in Symbol 1930 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._xscale == 60) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 10;
} else if (_root.changjing.ken1._xscale == -60) {
_root.changjing.ken1._x = _root.changjing.ken1._x - 10;
}
}
Symbol 1930 MovieClip Frame 36
_parent.gotoAndStop(1);
Symbol 1949 MovieClip Frame 1
_root.sp = _root.sp - 20;
Symbol 1949 MovieClip Frame 17
_parent.gotoAndStop(1);
Symbol 1950 MovieClip [man] Frame 1
stop();
_root.go = true;
_root.speed = 6;
_root.attack = 0;
Instance of Symbol 1497 MovieClip "jie" in Symbol 1950 MovieClip [man] Frame 1
onClipEvent (enterFrame) {
if (_parent._x < 0) {
_parent._x = 0;
}
if (_parent._x > _root.Xmax) {
_parent._x = _root.Xmax;
}
if (_parent._y > _root.Ymax) {
_parent._y = _root.Ymax;
}
if (_parent._y < _root.Ymin) {
_parent._y = _root.Ymin;
}
}
Instance of Symbol 1497 MovieClip "zoulu" in Symbol 1950 MovieClip [man] Frame 1
onClipEvent (load) {
_root.lian = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent.gotoAndStop(2);
_parent._xscale = -60;
_parent._x = _parent._x - _root.speed;
}
if (Key.isDown(KeyRight)) {
_parent.gotoAndStop(2);
_parent._xscale = 60;
_parent._x = _parent._x + _root.speed;
}
if (Key.isDown(KeyUp)) {
_parent.gotoAndStop(2);
_parent._y = _parent._y - 5;
}
if (Key.isDown(KeyDown)) {
_parent.gotoAndStop(2);
_parent._y = _parent._y + 5;
}
if (Key.isDown(KeyAttack)) {
_parent.gotoAndStop(3);
}
if (Key.isDown(KeyBomb)) {
_parent.gotoAndStop(6);
}
if (Key.isDown(KeyPower)) {
_parent.gotoAndStop(12);
}
if (((Key.isDown(KeyUp) || (Key.isDown(KeyDown))) || (Key.isDown(KeyLeft))) || (Key.isDown(KeyRight))) {
} else {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 1500 MovieClip "paobu" in Symbol 1950 MovieClip [man] Frame 1
/* no clip actions */
Instance of Symbol 1497 MovieClip in Symbol 1950 MovieClip [man] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Symbol 1950 MovieClip [man] Frame 3
_root.attack = 5;
Instance of Symbol 1497 MovieClip in Symbol 1950 MovieClip [man] Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(KeyRight)) {
_parent._xscale = 60;
}
if (Key.isDown(KeyLeft)) {
_parent._xscale = -60;
}
}
Instance of Symbol 1497 MovieClip in Symbol 1950 MovieClip [man] Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(KeyBomb)) {
_parent.gotoAndStop(6);
}
}
Instance of Symbol 1497 MovieClip in Symbol 1950 MovieClip [man] Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(KeyLeft)) {
_parent._xscale = -60;
_parent._x = _parent._x - (_root.speed * 2);
}
if (Key.isDown(KeyRight)) {
_parent._xscale = 60;
_parent._x = _parent._x + (_root.speed * 2);
}
if (Key.isDown(KeyUp)) {
_parent._y = _parent._y - 10;
}
if (Key.isDown(KeyDown)) {
_parent._y = _parent._y + 10;
}
if (((Key.isDown(KeyUp) || (Key.isDown(KeyDown))) || (Key.isDown(KeyLeft))) || (Key.isDown(KeyRight))) {
} else {
_parent.gotoAndStop(1);
}
if (Key.isDown(KeyAttack)) {
_parent.gotoAndStop(7);
}
}
Symbol 1950 MovieClip [man] Frame 7
_root.attack = 20;
Symbol 1950 MovieClip [man] Frame 9
_root.attack = 30;
Symbol 1950 MovieClip [man] Frame 11
_root.attack = 8;
Instance of Symbol 1497 MovieClip in Symbol 1950 MovieClip [man] Frame 12
onClipEvent (enterFrame) {
_root.sp = _root.sp + 0.5;
if (Key.isDown(KeyPower) == false) {
_parent.gotoAndStop(1);
}
}
Symbol 1956 MovieClip Frame 15
stop();
Symbol 1956 MovieClip Frame 30
_parent.gotoAndStop(5);
Symbol 1958 MovieClip Frame 1
stop();
Symbol 1958 MovieClip Frame 2
stop();
_parent.body.play();
Symbol 1962 MovieClip Frame 15
stop();
Symbol 1962 MovieClip Frame 30
_root.score = _root.score + 1000;
_parent.gotoAndStop(5);
Symbol 1966 MovieClip Frame 15
stop();
Symbol 1966 MovieClip Frame 30
_root.score = _root.score + 500;
_parent.gotoAndStop(5);
Symbol 1967 MovieClip [wupin] Frame 1
a = random(10);
if (a < 8) {
gotoAndStop (2);
}
if (a == 9) {
gotoAndStop (3);
}
if (a == 8) {
gotoAndStop (4);
}
Symbol 1967 MovieClip [wupin] Frame 2
stop();
Instance of Symbol 1958 MovieClip in Symbol 1967 MovieClip [wupin] Frame 2
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.hp = _root.changjing.ken1.hp + 20;
trace("aaa");
delete onEnterFrame;
this.gotoAndStop(2);
}
}
Symbol 1967 MovieClip [wupin] Frame 3
stop();
Instance of Symbol 1958 MovieClip in Symbol 1967 MovieClip [wupin] Frame 3
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
trace("aaa");
delete onEnterFrame;
this.gotoAndStop(2);
}
}
Symbol 1967 MovieClip [wupin] Frame 4
stop();
Instance of Symbol 1958 MovieClip in Symbol 1967 MovieClip [wupin] Frame 4
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
trace("aaa");
delete onEnterFrame;
this.gotoAndStop(2);
}
}
Symbol 1967 MovieClip [wupin] Frame 5
this.removeMovieClip();
stop();
Symbol 1980 MovieClip Frame 1
stop();
Instance of Symbol 1979 MovieClip in Symbol 1980 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(2);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
} else {
_parent.play();
}
}
}
Symbol 1980 MovieClip Frame 9
gotoAndStop (1);
Symbol 1980 MovieClip Frame 10
_parent.gotoAndStop(15);
Symbol 1980 MovieClip Frame 11
gotoAndStop (1);
Symbol 1980 MovieClip Frame 12
_parent.gotoAndStop(16);
Symbol 1980 MovieClip Frame 13
gotoAndStop (1);
Symbol 1982 MovieClip Frame 1
stop();
Instance of Symbol 1981 MovieClip in Symbol 1982 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(4);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
if (c == 2) {
_parent.gotoAndPlay("hit2");
}
if (c == 3) {
_parent.gotoAndPlay("hit3");
} else {
_parent.play();
}
}
}
}
Symbol 1982 MovieClip Frame 14
gotoAndStop (1);
Symbol 1982 MovieClip Frame 15
_parent.gotoAndStop(10);
Symbol 1982 MovieClip Frame 16
gotoAndStop (1);
Symbol 1982 MovieClip Frame 17
_parent.gotoAndStop(11);
Symbol 1982 MovieClip Frame 18
gotoAndStop (1);
Symbol 1982 MovieClip Frame 19
_parent.gotoAndStop(12);
Symbol 1982 MovieClip Frame 20
gotoAndStop (1);
Symbol 1982 MovieClip Frame 21
_parent.gotoAndStop(14);
Symbol 1985 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 1984 MovieClip in Symbol 1985 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 10);
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 10);
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 7);
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 7);
}
}
Symbol 1985 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 1984 MovieClip in Symbol 1985 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(3);
}
}
onClipEvent (load) {
xx = random(_root.Xmax);
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 1985 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 1984 MovieClip in Symbol 1985 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 1985 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Instance of Symbol 2040 MovieClip in Symbol 2049 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2049 MovieClip Frame 14
_parent.gotoAndStop(1);
Instance of Symbol 2040 MovieClip in Symbol 2130 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2130 MovieClip Frame 36
_parent.gotoAndStop(1);
Symbol 2131 MovieClip Frame 1
stop();
Symbol 2131 MovieClip Frame 2
stop();
Instance of Symbol 2040 MovieClip in Symbol 2172 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2172 MovieClip Frame 28
_parent.gotoAndStop(1);
Instance of Symbol 2040 MovieClip in Symbol 2214 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 2214 MovieClip Frame 17
_parent.gotoAndStop(1);
Instance of Symbol 2040 MovieClip in Symbol 2268 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 2268 MovieClip Frame 31
_parent.gotoAndStop(1);
Instance of Symbol 2040 MovieClip in Symbol 2295 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 2295 MovieClip Frame 17
_parent.gotoAndStop(1);
Symbol 2299 MovieClip Frame 1
_root.lian = 1;
Symbol 2299 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 2302 MovieClip Frame 1
stop();
Symbol 2302 MovieClip Frame 220
stop();
Symbol 2324 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(27);
}
Symbol 2324 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 2344 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - _root.attack;
Instance of Symbol 1984 MovieClip in Symbol 2344 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 200) {
setProperty(_parent._parent, _x , _parent._parent._x - 15);
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < 950) {
setProperty(_parent._parent, _x , _parent._parent._x + 15);
}
}
}
Symbol 2344 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
stop();
clearInterval(fff);
_root.play();
}
Symbol 2344 MovieClip Frame 28
b = random(3);
if (b == 0) {
_parent.gotoAndStop(12);
}
if (b == 1) {
_parent.gotoAndStop(12);
}
if (b == 2) {
_parent.gotoAndStop(1);
}
Symbol 2345 MovieClip [boss2] Frame 1
stop();
_root.bossattack = 0;
Instance of Symbol 1977 MovieClip in Symbol 2345 MovieClip [boss2] Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 1978 MovieClip in Symbol 2345 MovieClip [boss2] Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(27);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
Instance of Symbol 1977 MovieClip "hp" in Symbol 2345 MovieClip [boss2] Frame 1
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (_parent.hp.hp < 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 2345 MovieClip [boss2] Frame 2
_root.bossattack = 0;
Symbol 2345 MovieClip [boss2] Frame 3
_root.bossattack = 0;
Symbol 2345 MovieClip [boss2] Frame 10
_root.bossattack = 5;
Symbol 2345 MovieClip [boss2] Frame 11
_root.bossattack = 10;
Symbol 2345 MovieClip [boss2] Frame 12
_root.bossattack = 15;
Symbol 2345 MovieClip [boss2] Frame 14
_root.bossattack = 10;
Symbol 2345 MovieClip [boss2] Frame 15
_root.bossattack = 50;
Symbol 2345 MovieClip [boss2] Frame 16
_root.bossattack = 5;
Symbol 2347 MovieClip Frame 1
_visible = false;
Frame 1
function CodeToKeys(Code) {
switch (Code) {
case 1 :
return("MouseLeft");
case 2 :
return("MouseRight");
case 4 :
return("MouseMiddle");
case 8 :
return("BackSpace");
case 9 :
return("Tab");
case 12 :
return("Clear");
case 13 :
return("Enter");
case 16 :
return("Shift");
case 17 :
return("Ctrl");
case 18 :
return("Alt");
case 19 :
return("Pause");
case 20 :
return("CapsLock");
case 27 :
return("Esc");
case 32 :
return("Space");
case 33 :
return("PageUp");
case 34 :
return("PageDown");
case 35 :
return("End");
case 36 :
return("Home");
case 37 :
return("Left");
case 38 :
return("Up");
case 39 :
return("Right");
case 40 :
return("Down");
case 44 :
return("PrintScreen");
case 45 :
return("Insert");
case 46 :
return("Delete");
case 47 :
return("Help");
case 48 :
return("0");
case 49 :
return("1");
case 50 :
return("2");
case 51 :
return("3");
case 52 :
return("4");
case 53 :
return("5");
case 54 :
return("6");
case 55 :
return("7");
case 56 :
return("8");
case 57 :
return("9");
case 65 :
return("A");
case 66 :
return("B");
case 67 :
return("C");
case 68 :
return("D");
case 69 :
return("E");
case 70 :
return("F");
case 71 :
return("G");
case 72 :
return("H");
case 73 :
return("I");
case 74 :
return("J");
case 75 :
return("K");
case 76 :
return("L");
case 77 :
return("M");
case 78 :
return("N");
case 79 :
return("O");
case 80 :
return("P");
case 81 :
return("Q");
case 82 :
return("R");
case 83 :
return("S");
case 84 :
return("T");
case 85 :
return("U");
case 86 :
return("V");
case 87 :
return("W");
case 88 :
return("X");
case 89 :
return("Y");
case 90 :
return("Z");
case 91 :
return("LeftWin");
case 92 :
return("RightWin");
case 93 :
return("Menu");
case 95 :
return("Sleep");
case 96 :
return("Num 0");
case 97 :
return("Num 1");
case 98 :
return("Num 2");
case 99 :
return("Num 3");
case 100 :
return("Num 4");
case 101 :
return("Num 5");
case 102 :
return("Num 6");
case 103 :
return("Num 7");
case 104 :
return("Num 8");
case 105 :
return("Num 9");
case 106 :
return("Num *");
case 107 :
return("Num +");
case 109 :
return("Num -");
case 110 :
return("Num .");
case 111 :
return("Num /");
case 112 :
return("F1");
case 113 :
return("F2");
case 114 :
return("F3");
case 115 :
return("F4");
case 116 :
return("F5");
case 117 :
return("F6");
case 118 :
return("F7");
case 119 :
return("F8");
case 120 :
return("F9");
case 121 :
return("F10");
case 122 :
return("F11");
case 123 :
return("F12");
case 124 :
return("F13");
case 125 :
return("F14");
case 126 :
return("F15");
case 144 :
return("Numlock");
case 145 :
return("ScrollLock");
case 160 :
return("LeftShift");
case 161 :
return("RightShift");
case 162 :
return("LeftCtrl");
case 163 :
return("RightCtrl");
case 164 :
return("LeftAlt");
case 165 :
return("RightAlt");
case 186 :
return(":;");
case 187 :
return("+=");
case 188 :
return("<,");
case 189 :
return("_-");
case 190 :
return(">.");
case 191 :
return("?/");
case 192 :
return("~");
case 219 :
return("{[");
case 220 :
return("|");
case 221 :
return("}]");
case 222 :
return("'\"");
}
return("UnKnow");
}
function KeysToCode(Keys) {
switch (Keys.toUpperCase()) {
case "MOUSELEFT" :
return(1);
case "MOUSERIGHT" :
return(2);
case "MOUSEMIDDLE" :
return(4);
case "BACKSPACE" :
return(8);
case "TAB" :
return(9);
case "CLEAR" :
return(12);
case "ENTER" :
return(13);
case "SHIFT" :
return(16);
case "CTRL" :
return(17);
case "ALT" :
return(18);
case "PAUSE" :
return(19);
case "CAPSLOCK" :
return(20);
case "ESC" :
return(27);
case "SPACE" :
return(32);
case "PAGEUP" :
return(33);
case "PAGEDOWN" :
return(34);
case "END" :
return(35);
case "HOME" :
return(36);
case "LEFT" :
return(37);
case "UP" :
return(38);
case "RIGHT" :
return(39);
case "DOWN" :
return(40);
case "PRINTSCREEN" :
return(44);
case "INSERT" :
return(45);
case "DELETE" :
return(46);
case "HELP" :
return(47);
case "0" :
return(48);
case "1" :
return(49);
case "2" :
return(50);
case "3" :
return(51);
case "4" :
return(52);
case "5" :
return(53);
case "6" :
return(54);
case "7" :
return(55);
case "8" :
return(56);
case "9" :
return(57);
case "A" :
return(65);
case "B" :
return(66);
case "C" :
return(67);
case "D" :
return(68);
case "E" :
return(69);
case "F" :
return(70);
case "G" :
return(71);
case "H" :
return(72);
case "I" :
return(73);
case "J" :
return(74);
case "K" :
return(75);
case "L" :
return(76);
case "M" :
return(77);
case "N" :
return(78);
case "O" :
return(79);
case "P" :
return(80);
case "Q" :
return(81);
case "R" :
return(82);
case "S" :
return(83);
case "T" :
return(84);
case "U" :
return(85);
case "V" :
return(86);
case "W" :
return(87);
case "X" :
return(88);
case "Y" :
return(89);
case "Z" :
return(90);
case "LEFTWIN" :
return(91);
case "RIGHTWIN" :
return(92);
case "MENU" :
return(93);
case "SLEEP" :
return(95);
case "NUM 0" :
return(96);
case "NUM 1" :
return(97);
case "NUM 2" :
return(98);
case "NUM 3" :
return(99);
case "NUM 4" :
return(100);
case "NUM 5" :
return(101);
case "NUM 6" :
return(102);
case "NUM 7" :
return(103);
case "NUM 8" :
return(104);
case "NUM 9" :
return(105);
case "NUM *" :
return(106);
case "NUM +" :
return(107);
case "NUM -" :
return(109);
case "NUM ." :
return(110);
case "NUM /" :
return(111);
case "F1" :
return(112);
case "F2" :
return(113);
case "F3" :
return(114);
case "F4" :
return(115);
case "F5" :
return(116);
case "F6" :
return(117);
case "F7" :
return(118);
case "F8" :
return(119);
case "F9" :
return(120);
case "F10" :
return(121);
case "F11" :
return(122);
case "F12" :
return(123);
case "F13" :
return(124);
case "F14" :
return(125);
case "F15" :
return(126);
case "NUMLOCK" :
return(144);
case "SCROLLLOCK" :
return(145);
case "LEFTSHIFT" :
return(160);
case "RIGHTSHIFT" :
return(161);
case "LEFTCTRL" :
return(162);
case "RIGHTCTRL" :
return(163);
case "LEFTALT" :
return(164);
case "RIGHTALT" :
return(165);
case ":" :
case ";" :
case ":;" :
return(186);
case "+" :
case "=" :
case "+=" :
return(187);
case "<" :
case "," :
case "<," :
return(188);
case "_" :
case "-" :
case "_-" :
return(189);
case ">" :
case "." :
case "?." :
return(190);
case "?" :
case "/" :
case "?/" :
return(191);
case "~" :
return(192);
case "{" :
case "[" :
case "{[" :
return(219);
case "|" :
return(220);
case "}" :
case "]" :
case "}]" :
return(221);
case "\"" :
case "'" :
case "'\"" :
return(222);
}
}
function KeysFun() {
var i = 0;
while (i < OneKeyMap.length) {
if (Key.isDown(KeysToCode(OneKeyMap[i]))) {
if (eval (OneKeyMap[i] + "D") != true) {
self[OneKeyMap[i] + "D"] = true;
OneDownFun(OneKeyMap[i]);
}
SumOneKey = "";
var j = 0;
while (j < OneKeyMap.length) {
if (self[OneKeyMap[j] + "D"] == true) {
SumOneKey = SumOneKey + OneKeyMap[j];
}
j++;
}
((SumOneKey.length > 1) ? (OneFun(SumOneKey)) : (OneFun(OneKeyMap[i])));
}
i++;
}
var i = 0;
while (i < OneKeyMap.length) {
if ((eval (OneKeyMap[i] + "D") == true) && (!Key.isDown(KeysToCode(OneKeyMap[i])))) {
self[OneKeyMap[i] + "D"] = false;
OneUpFun(OneKeyMap[i]);
}
i++;
}
var i = 0;
while (i < DoubleKeyMap.length) {
self[DoubleKeyMap[i] + "DS"]++;
if ((!eval (DoubleKeyMap[i] + "DT")) && (Key.isDown(KeysToCode(DoubleKeyMap[i])))) {
if (!eval (DoubleKeyMap[i] + "DD")) {
self[DoubleKeyMap[i] + "DD"] = true;
if (self[DoubleKeyMap[i] + "DS"] < KeyIntervalTime) {
DoubleDownFun(DoubleKeyMap[i]);
self[DoubleKeyMap[i] + "TD"] = true;
self[DoubleKeyMap[i] + "DT"] = true;
} else {
self[DoubleKeyMap[i] + "DT"] = true;
}
self[DoubleKeyMap[i] + "DS"] = 0;
}
}
if (eval (DoubleKeyMap[i] + "TD")) {
DoubleFun(DoubleKeyMap[i]);
}
i++;
}
var i = 0;
while (i < DoubleKeyMap.length) {
if ((eval (DoubleKeyMap[i] + "DT") && (eval (DoubleKeyMap[i] + "DD"))) && (!Key.isDown(KeysToCode(DoubleKeyMap[i])))) {
self[DoubleKeyMap[i] + "DD"] = false;
self[DoubleKeyMap[i] + "DT"] = false;
if (eval (DoubleKeyMap[i] + "TD")) {
self[DoubleKeyMap[i] + "TD"] = false;
DoubleUpFun(DoubleKeyMap[i]);
}
}
i++;
}
timeInterval++;
if (timeInterval > KeyIntervalTime) {
(Keys = []);
(KeysX = []);
}
var i = 0;
while (i < LinkActionKey.length) {
if (Key.isDown(KeysToCode(LinkActionKey[i])) && ((Keys.length == 0) || (timeInterval <= KeyIntervalTime))) {
if (eval (LinkActionKey[i] + "LD") != true) {
(self[LinkActionKey[i] + "LD"] = true);
(timeInterval = 0);
Keys.push(LinkActionKey[i]);
KeysX.push(LinkActionKey[i]);
var q = 0;
while (q < LinkKeyMap.length) {
if (Keys.join("-").substr(Keys.join("-").length - LinkKeyMap[q].length) == LinkKeyMap[q]) {
LinkFun1(LinkKeyMap[q]);
LinkFun(LinkKeyMap[q], 1);
(Keys = []);
(KeysX = []);
break;
}
if (KeysX.join("-").substr(KeysX.join("-").length - LinkKeyMap[q].length) == LinkKeyMap[q]) {
LinkFun2(LinkKeyMap[q]);
LinkFun(LinkKeyMap[q], 2);
(Keys = []);
(KeysX = []);
break;
}
q++;
}
}
}
i++;
}
var i = 0;
while (i < LinkActionKey.length) {
if ((eval (LinkActionKey[i] + "LD") == true) && (!Key.isDown(KeysToCode(LinkActionKey[i])))) {
self[LinkActionKey[i] + "LD"] = false;
((KeysX.length == 0) ? ((timeInterval = 0)(KeysX = [])KeysX.push(LinkActionKey[i])) : (((KeysX.length == 1) ? ((timeInterval = 0)KeysX.unshift(LinkActionKey[i])) : null)));
}
i++;
}
if (((Key.isDown(KeysToCode("x")) && (Key.isDown(KeysToCode("z")))) && (Key.isDown(KeysToCode("y")))) && (_root.mytext == null)) {
_root.createTextField("mytext", _root.getNextHighestDepth(), 0, 0, 10, 30);
_root.mytext.text = String.fromCharCode("20316", "32773", "65306", "24109", "26234", "21191");
(_root.mytext.autoSize = true);
(_root.mytext.background = true);
}
}
function Start() {
if (canStart == true) {
times = setInterval(KeysFun, ScaneTime);
canStart = false;
}
}
function Pause() {
clearInterval(times);
canStart = true;
}
function Delete() {
clearInterval(times);
delete times;
self.swapDepths(_root.getNextHighestDepth());
removeMovieClip(self);
}
stop();
_visible = false;
((ScaneKeyBordTime == null) ? ((ScaneKeyBordTime = 50)) : ((ScaneKeyBordTime = ScaneKeyBordTime)));
((KeyIntervalTime == null) ? ((KeyIntervalTime = 5)) : ((KeyIntervalTime = KeyIntervalTime)));
(ScaneTime = ScaneKeyBordTime);
(IntervalTime = KeyIntervalTime);
(KeyDouble = IntervalTime + 10);
var SumOneKey;
var self = this;
var canStart = false;
var timeInterval = 1000;
var Keys = [];
var KeysX = [];
var SumOneKey = "";
var i = 0;
while (i < OneKeyMap.length) {
self[OneKeyMap[i] + "D"] = null;
i++;
}
var i = 0;
while (i < DoubleKeyMap.length) {
self[DoubleKeyMap[i] + "DD"] = null;
self[DoubleKeyMap[i] + "DS"] = KeyIntervalTime + 10;
self[DoubleKeyMap[i] + "DT"] = null;
self[DoubleKeyMap[i] + "TD"] = null;
i++;
}
var LinkActionKey = LinkKeyMap.join("-").split("-");
var y = 0;
while (y < LinkActionKey.length) {
var z = (y + 1);
while (z <= LinkActionKey.length) {
if (LinkActionKey[y] == LinkActionKey[z]) {
LinkActionKey.splice(z, 1);
z--;
}
z++;
}
if (LinkActionKey[y] == "") {
LinkActionKey.splice(y, 1);
y--;
}
y++;
}
var i = 0;
while (i < LinkActionKey.length) {
self[LinkActionKey[i] + "LD"] = null;
i++;
}
var times = setInterval(KeysFun, ScaneTime);
Symbol 2350 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=270&area=loader", "_blank");
}
Symbol 2411 MovieClip Frame 1
stop();
var tagctr = (random(55) + 1);
gotoAndStop(tagctr);
Symbol 2412 MovieClip Frame 105
stop();
Symbol 2418 MovieClip Frame 1
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
};
Symbol 2425 MovieClip Frame 1
stop();
Instance of Symbol 2438 MovieClip "mcNotice" in Symbol 2475 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 2475 MovieClip Frame 120
stop();
if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
} else if (_root.debug) {
_root.okToPlay = true;
_root.play();
} else {
_root.mcTaglines._visible = false;
mcNotice._visible = true;
}
Symbol 2476 MovieClip Frame 71
stop();
var fogsound = new Sound();
fogsound.attachSound("fogaudio");
fogsound.start(0, 1);
Symbol 2479 MovieClip Frame 1
stop();
Symbol 2495 Button
on (press) {
gotoAndStop (2);
}
Symbol 2499 Button
on (press) {
_root.play();
}
Symbol 2503 Button
on (press) {
_root.gotoAndPlay("scoreboard");
}
Symbol 2507 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=270&area=menu", "_blank");
}
Symbol 2575 Button
on (press) {
_parent.gotoAndStop(1);
}
Symbol 2582 Button
on (press) {
_parent.gotoAndStop(1);
}
Symbol 2583 Button
on (press) {
_root.gotoAndStop("level_1");
}
Instance of Symbol 2566 MovieClip in Symbol 2585 MovieClip Frame 10
on (release) {
gotoAndPlay (89);
}
Symbol 2585 MovieClip Frame 29
stop();
Instance of Symbol 2556 MovieClip in Symbol 2585 MovieClip Frame 29
on (press) {
_parent.gotoAndStop(31);
}
Instance of Symbol 2584 MovieClip in Symbol 2585 MovieClip Frame 29
on (press) {
_parent.gotoAndStop(30);
}
Symbol 2585 MovieClip Frame 30
_root.renchange = 1;
Instance of Symbol 2559 MovieClip in Symbol 2585 MovieClip Frame 30
on (press) {
_parent.gotoAndStop(30);
}
Instance of Symbol 2556 MovieClip in Symbol 2585 MovieClip Frame 30
on (press) {
_parent.gotoAndStop(31);
}
Symbol 2585 MovieClip Frame 31
_root.renchange = 0;
Symbol 2586 MovieClip Frame 1
stop();
Instance of Symbol 2551 MovieClip in Symbol 2586 MovieClip Frame 1
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=270&area=minilogo", "_blank");
}
Symbol 2586 MovieClip Frame 2
stop();
Symbol 2591 MovieClip Frame 1
_root.sound.setVolume(100);
stop();
Symbol 2591 MovieClip Frame 2
_root.sound.setVolume(0);
stop();
Symbol 2600 Button
on (press) {
gotoAndStop (1);
_root.shezhi.btn_2.gotoAndStop(1);
}
Symbol 2603 MovieClip Frame 1
stop();
Symbol 2606 Button
on (press) {
gotoAndStop (2);
_root.shezhi.btn_1.gotoAndStop(2);
}
Symbol 2611 MovieClip Frame 1
stop();
Symbol 2616 Button
on (release) {
_global.KeyUp = _root.result_keyArr[0];
_global.KeyDown = _root.result_keyArr[1];
_global.KeyLeft = _root.result_keyArr[2];
_global.KeyRight = _root.result_keyArr[3];
_global.KeyAttack = _root.result_keyArr[4];
_global.KeyBomb = _root.result_keyArr[5];
_global.KeyPower = _root.result_keyArr[6];
_global.keyup = _root.fromCodeString(_root.result_keyArr[0]);
_global.keydown = _root.fromCodeString(_root.result_keyArr[1]);
_global.keyleft = _root.fromCodeString(_root.result_keyArr[2]);
_global.keyright = _root.fromCodeString(_root.result_keyArr[3]);
_global.keyattack = _root.fromCodeString(_root.result_keyArr[4]);
_global.keybomb = _root.fromCodeString(_root.result_keyArr[5]);
_global.keypower = _root.fromCodeString(_root.result_keyArr[6]);
_root.gotoAndStop("main_area");
}
Symbol 2632 MovieClip Frame 1
stop();
Symbol 2647 MovieClip Frame 12
gotoAndPlay (1);
Symbol 2665 MovieClip Frame 12
_parent.removeMovieClip();
Symbol 2666 MovieClip Frame 1
stop();
Instance of Symbol 2647 MovieClip "hitc" in Symbol 2666 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._xscale == 100) {
_parent._x = _parent._x + 10;
} else if (_parent._xscale == -100) {
_parent._x = _parent._x - 10;
}
}
Instance of Symbol 1497 MovieClip in Symbol 2666 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 2632 MovieClip in Symbol 2667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("boy", "boy1", 1);
setProperty(_root.changjing.boy1, _x , 660);
setProperty(_root.changjing.boy1, _y , 370);
_root.changjing.boy1._xscale = 60;
_root.changjing.boy1._yscale = 60;
_root.changjing.attachMovie("boy", "boy2", 2);
setProperty(_root.changjing.boy2, _x , 660);
setProperty(_root.changjing.boy2, _y , 390);
_root.changjing.boy2._xscale = 60;
_root.changjing.boy2._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 2667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("two", "boy3", 3);
setProperty(_root.changjing.boy3, _x , 1150);
setProperty(_root.changjing.boy3, _y , 350);
_root.changjing.boy3._xscale = 60;
_root.changjing.boy3._yscale = 60;
_root.changjing.attachMovie("two", "boy4", 4);
setProperty(_root.changjing.boy4, _x , 1150);
setProperty(_root.changjing.boy4, _y , 400);
_root.changjing.boy4._xscale = 60;
_root.changjing.boy4._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 2667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("boy", "boy5", 5);
setProperty(_root.changjing.boy5, _x , 1850);
setProperty(_root.changjing.boy5, _y , 350);
_root.changjing.boy5._xscale = 60;
_root.changjing.boy5._yscale = 60;
_root.changjing.attachMovie("two", "boy6", 6);
setProperty(_root.changjing.boy6, _x , 1850);
setProperty(_root.changjing.boy6, _y , 400);
_root.changjing.boy6._xscale = 60;
_root.changjing.boy6._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 2667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("boyboy", "boy7", 7);
setProperty(_root.changjing.boy7, _x , 2450);
setProperty(_root.changjing.boy7, _y , 350);
_root.changjing.boy7._xscale = 60;
_root.changjing.boy7._yscale = 60;
_root.changjing.attachMovie("boyboy", "boy8", 8);
setProperty(_root.changjing.boy8, _x , 2450);
setProperty(_root.changjing.boy8, _y , 400);
_root.changjing.boy8._xscale = 60;
_root.changjing.boy8._yscale = 60;
_root.changjing.attachMovie("two", "boy9", 9);
setProperty(_root.changjing.boy9, _x , 2450);
setProperty(_root.changjing.boy9, _y , 300);
_root.changjing.boy9._xscale = 60;
_root.changjing.boy9._yscale = 60;
_root.changjing.attachMovie("two", "boy10", 10);
setProperty(_root.changjing.boy10, _x , 2450);
setProperty(_root.changjing.boy10, _y , 320);
_root.changjing.boy10._xscale = 60;
_root.changjing.boy10._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 2667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.play();
_root.hpmax = _root.changjing.ken1.hp;
}
}
Symbol 2691 MovieClip Frame 1
stop();
Symbol 2697 MovieClip Frame 81
stop();
Symbol 2708 MovieClip Frame 1
stop();
Instance of Symbol 2710 MovieClip in Symbol 2711 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.deadman == _parent.deadset) {
with (_parent._parent.gogogo) {
play();
}
_root.play();
}
}
Symbol 2718 MovieClip Frame 1
stop();
Symbol 2718 MovieClip Frame 2
stop();
Symbol 2730 Button
on (press) {
_root.gotoAndStop("main_area");
}
Symbol 2740 MovieClip [TMPd4lzhusf84] Frame 1
function earl223(val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
}
mcButtonMain.mcButton.FOG.swapDepths(0);
mcButtonMain.mcButton.attachMovie(btnMC, "btnMC", 0);
mcButtonMain.mcButton.btnMC.onRelease = function () {
var _local2 = new LoadVars();
_local2.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
_local2.score = Score;
_local2.score2 = earl223(String(Score));
_local2.gamer = gameID;
_local2.id = random(9999999);
_local2.toString();
_local2.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", _local2, "POST");
delete this.onRelease;
};
Symbol 2741 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=270&area=gameover", "_blank");
}
Symbol 2742 MovieClip Frame 1
stop();
Instance of Symbol 2740 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 2742 MovieClip Frame 21
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 294;
}
Symbol 2742 MovieClip Frame 31
stop();
submitMe.Score = _root.score;
Symbol 2745 MovieClip Frame 36
stop();
Symbol 2757 MovieClip Frame 1
stop();
Symbol 2757 MovieClip Frame 11
stop();
Symbol 2779 MovieClip Frame 1
stop();
Instance of Symbol 2778 MovieClip in Symbol 2779 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(2);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
} else {
_parent.play();
}
}
}
Symbol 2779 MovieClip Frame 9
gotoAndStop (1);
Symbol 2779 MovieClip Frame 10
_parent.gotoAndStop(15);
Symbol 2779 MovieClip Frame 11
gotoAndStop (1);
Symbol 2779 MovieClip Frame 12
_parent.gotoAndStop(16);
Symbol 2779 MovieClip Frame 13
gotoAndStop (1);
Symbol 2781 MovieClip Frame 1
stop();
Instance of Symbol 2780 MovieClip in Symbol 2781 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(4);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
if (c == 2) {
_parent.gotoAndPlay("hit2");
}
if (c == 3) {
_parent.gotoAndPlay("hit3");
}
} else {
_parent.play();
}
}
}
Symbol 2781 MovieClip Frame 14
gotoAndStop (1);
Symbol 2781 MovieClip Frame 15
_parent.gotoAndStop(10);
Symbol 2781 MovieClip Frame 16
gotoAndStop (1);
Symbol 2781 MovieClip Frame 17
_parent.gotoAndStop(11);
Symbol 2781 MovieClip Frame 18
gotoAndStop (1);
Symbol 2781 MovieClip Frame 19
_parent.gotoAndStop(12);
Symbol 2781 MovieClip Frame 20
gotoAndStop (1);
Symbol 2781 MovieClip Frame 21
_parent.gotoAndStop(14);
Symbol 2784 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 2783 MovieClip in Symbol 2784 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 8);
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 8);
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 7);
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 7);
}
}
Symbol 2784 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 2783 MovieClip in Symbol 2784 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(3);
}
}
onClipEvent (load) {
xx = random(_root.Xmax);
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 2784 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 2783 MovieClip in Symbol 2784 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 2784 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Instance of Symbol 2837 MovieClip in Symbol 2869 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2869 MovieClip Frame 19
_parent.gotoAndStop(1);
Instance of Symbol 2837 MovieClip in Symbol 2917 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Instance of Symbol 2837 MovieClip in Symbol 2917 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2917 MovieClip Frame 24
_parent.gotoAndStop(1);
Symbol 2918 MovieClip Frame 1
stop();
Symbol 2918 MovieClip Frame 2
stop();
Instance of Symbol 2837 MovieClip in Symbol 2940 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2940 MovieClip Frame 27
_parent.gotoAndStop(1);
Instance of Symbol 2837 MovieClip in Symbol 2951 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 2951 MovieClip Frame 10
_parent.gotoAndStop(1);
Instance of Symbol 2837 MovieClip in Symbol 2997 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 2997 MovieClip Frame 17
_parent.gotoAndStop(1);
Instance of Symbol 2837 MovieClip in Symbol 3030 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 3030 MovieClip Frame 31
_parent.gotoAndStop(1);
Instance of Symbol 2837 MovieClip in Symbol 3048 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3048 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 3051 MovieClip Frame 1
_root.lian = 1;
Symbol 3051 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 3053 MovieClip Frame 1
stop();
Symbol 3075 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(27);
}
Symbol 3075 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 3105 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - _root.attack;
Instance of Symbol 2783 MovieClip in Symbol 3105 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 15);
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < 1060) {
setProperty(_parent._parent, _x , _parent._parent._x + 15);
}
}
}
Symbol 3105 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
clearInterval(fff);
stop();
_root.play();
}
Symbol 3105 MovieClip Frame 28
b = random(3);
if (b == 0) {
_parent.gotoAndStop(12);
}
if (b == 1) {
_parent.gotoAndStop(12);
}
if (b == 2) {
_parent.gotoAndStop(1);
}
Symbol 3106 MovieClip Frame 1
stop();
_root.bossattack = 0;
Instance of Symbol 2776 MovieClip in Symbol 3106 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 2777 MovieClip in Symbol 3106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root["hit" + g].hit1.hitTest(this)) {
_root["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
}
Instance of Symbol 2777 MovieClip in Symbol 3106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(27);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
Instance of Symbol 2776 MovieClip "hp" in Symbol 3106 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (_parent.hp.hp < 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 3106 MovieClip Frame 10
_root.bossattack = 15;
Symbol 3106 MovieClip Frame 11
_root.bossattack = 10;
Symbol 3106 MovieClip Frame 12
_root.bossattack = 20;
Symbol 3106 MovieClip Frame 14
_root.bossattack = 15;
Symbol 3106 MovieClip Frame 15
_root.bossattack = 15;
Symbol 3106 MovieClip Frame 16
_root.bossattack = 10;
Instance of Symbol 2632 MovieClip in Symbol 3111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("three", "boy1", 1);
setProperty(_root.changjing.boy1, _x , 660);
setProperty(_root.changjing.boy1, _y , 370);
_root.changjing.boy1._xscale = 60;
_root.changjing.boy1._yscale = 60;
_root.changjing.attachMovie("three", "boy2", 2);
setProperty(_root.changjing.boy2, _x , 660);
setProperty(_root.changjing.boy2, _y , 390);
_root.changjing.boy2._xscale = 60;
_root.changjing.boy2._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("four", "boy3", 3);
setProperty(_root.changjing.boy3, _x , 1150);
setProperty(_root.changjing.boy3, _y , 350);
_root.changjing.boy3._xscale = 60;
_root.changjing.boy3._yscale = 60;
_root.changjing.attachMovie("four", "boy4", 4);
setProperty(_root.changjing.boy4, _x , 1150);
setProperty(_root.changjing.boy4, _y , 400);
_root.changjing.boy4._xscale = 60;
_root.changjing.boy4._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("three", "boy5", 5);
setProperty(_root.changjing.boy5, _x , 1850);
setProperty(_root.changjing.boy5, _y , 350);
_root.changjing.boy5._xscale = 60;
_root.changjing.boy5._yscale = 60;
_root.changjing.attachMovie("four", "boy6", 6);
setProperty(_root.changjing.boy6, _x , 1850);
setProperty(_root.changjing.boy6, _y , 400);
_root.changjing.boy6._xscale = 60;
_root.changjing.boy6._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("threethree", "boy7", 7);
setProperty(_root.changjing.boy7, _x , 2450);
setProperty(_root.changjing.boy7, _y , 350);
_root.changjing.boy7._xscale = 60;
_root.changjing.boy7._yscale = 60;
_root.changjing.attachMovie("threethree", "boy8", 8);
setProperty(_root.changjing.boy8, _x , 2450);
setProperty(_root.changjing.boy8, _y , 400);
_root.changjing.boy8._xscale = 60;
_root.changjing.boy8._yscale = 60;
_root.changjing.attachMovie("four", "boy9", 9);
setProperty(_root.changjing.boy9, _x , 2450);
setProperty(_root.changjing.boy9, _y , 300);
_root.changjing.boy9._xscale = 60;
_root.changjing.boy9._yscale = 60;
_root.changjing.attachMovie("four", "boy10", 10);
setProperty(_root.changjing.boy10, _x , 2450);
setProperty(_root.changjing.boy10, _y , 320);
_root.changjing.boy10._xscale = 60;
_root.changjing.boy10._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.hpmax = _root.changjing.ken1.hp;
_root.play();
}
}
Symbol 3114 MovieClip Frame 36
stop();
Symbol 3128 MovieClip Frame 1
stop();
Instance of Symbol 3127 MovieClip in Symbol 3128 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(2);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
} else {
_parent.play();
}
}
}
Symbol 3128 MovieClip Frame 9
gotoAndStop (1);
Symbol 3128 MovieClip Frame 10
_parent.gotoAndStop(15);
Symbol 3128 MovieClip Frame 11
gotoAndStop (1);
Symbol 3128 MovieClip Frame 12
_parent.gotoAndStop(16);
Symbol 3128 MovieClip Frame 13
gotoAndStop (1);
Symbol 3130 MovieClip Frame 1
stop();
Instance of Symbol 3129 MovieClip in Symbol 3130 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(4);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
if (c == 2) {
_parent.gotoAndPlay("hit2");
}
if (c == 3) {
_parent.gotoAndPlay("hit3");
}
} else {
_parent.play();
}
}
}
Symbol 3130 MovieClip Frame 14
gotoAndStop (1);
Symbol 3130 MovieClip Frame 15
_parent.gotoAndStop(10);
Symbol 3130 MovieClip Frame 16
gotoAndStop (1);
Symbol 3130 MovieClip Frame 17
_parent.gotoAndStop(11);
Symbol 3130 MovieClip Frame 18
gotoAndStop (1);
Symbol 3130 MovieClip Frame 19
_parent.gotoAndStop(12);
Symbol 3130 MovieClip Frame 20
gotoAndStop (1);
Symbol 3130 MovieClip Frame 21
_parent.gotoAndStop(14);
Symbol 3133 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 3132 MovieClip in Symbol 3133 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 10);
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 10);
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 7);
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 7);
}
}
Symbol 3133 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 3132 MovieClip in Symbol 3133 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(3);
}
}
onClipEvent (load) {
xx = random(_root.Xmax);
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 3133 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 3132 MovieClip in Symbol 3133 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 3133 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Instance of Symbol 3192 MovieClip in Symbol 3197 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3197 MovieClip Frame 14
_parent.gotoAndStop(1);
Instance of Symbol 3192 MovieClip in Symbol 3256 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3256 MovieClip Frame 26
_parent.gotoAndStop(1);
Symbol 3257 MovieClip Frame 1
stop();
Symbol 3257 MovieClip Frame 2
stop();
Instance of Symbol 3192 MovieClip in Symbol 3390 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3390 MovieClip Frame 57
_parent.gotoAndStop(1);
Instance of Symbol 3192 MovieClip in Symbol 3401 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3401 MovieClip Frame 10
_parent.gotoAndStop(1);
Instance of Symbol 3192 MovieClip in Symbol 3441 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 3441 MovieClip Frame 19
_parent.gotoAndStop(1);
Instance of Symbol 3192 MovieClip in Symbol 3472 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 3472 MovieClip Frame 28
_parent.gotoAndStop(1);
Instance of Symbol 3192 MovieClip in Symbol 3491 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 3491 MovieClip Frame 17
_parent.gotoAndStop(1);
Instance of Symbol 3192 MovieClip in Symbol 3509 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3509 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 3512 MovieClip Frame 1
_root.lian = 1;
Symbol 3512 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 3514 MovieClip Frame 1
stop();
Symbol 3514 MovieClip Frame 130
stop();
Symbol 3538 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(27);
}
Symbol 3538 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 3569 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - _root.attack;
Instance of Symbol 3132 MovieClip in Symbol 3569 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 15);
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < 1060) {
setProperty(_parent._parent, _x , _parent._parent._x + 15);
}
}
}
Symbol 3569 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
clearInterval(fff);
stop();
_root.play();
}
Symbol 3569 MovieClip Frame 28
b = random(3);
if (b == 0) {
_parent.gotoAndStop(12);
}
if (b == 1) {
_parent.gotoAndStop(12);
}
if (b == 2) {
_parent.gotoAndStop(1);
}
Symbol 3570 MovieClip Frame 1
stop();
_root.bossattack = 0;
Instance of Symbol 3125 MovieClip in Symbol 3570 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 3126 MovieClip in Symbol 3570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root["hit" + g].hit1.hitTest(this)) {
_root["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
}
Instance of Symbol 3126 MovieClip in Symbol 3570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(27);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
Instance of Symbol 3125 MovieClip "hp" in Symbol 3570 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (_parent.hp.hp < 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 3570 MovieClip Frame 10
_root.bossattack = 10;
Symbol 3570 MovieClip Frame 11
_root.bossattack = 15;
Symbol 3570 MovieClip Frame 12
_root.bossattack = 10;
Symbol 3570 MovieClip Frame 14
_root.bossattack = 10;
Symbol 3570 MovieClip Frame 15
_root.bossattack = 15;
Symbol 3570 MovieClip Frame 16
_root.bossattack = 15;
Instance of Symbol 3571 MovieClip in Symbol 3572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1._x = _root.changjing.ken1._x + 20;
}
}
Instance of Symbol 2632 MovieClip in Symbol 3576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("five", "boy1", 1);
setProperty(_root.changjing.boy1, _x , 660);
setProperty(_root.changjing.boy1, _y , 370);
_root.changjing.boy1._xscale = 60;
_root.changjing.boy1._yscale = 60;
_root.changjing.attachMovie("five", "boy2", 2);
setProperty(_root.changjing.boy2, _x , 660);
setProperty(_root.changjing.boy2, _y , 390);
_root.changjing.boy2._xscale = 60;
_root.changjing.boy2._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("six", "boy3", 3);
setProperty(_root.changjing.boy3, _x , 1150);
setProperty(_root.changjing.boy3, _y , 350);
_root.changjing.boy3._xscale = 60;
_root.changjing.boy3._yscale = 60;
_root.changjing.attachMovie("six", "boy4", 4);
setProperty(_root.changjing.boy4, _x , 1150);
setProperty(_root.changjing.boy4, _y , 400);
_root.changjing.boy4._xscale = 60;
_root.changjing.boy4._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("five", "boy5", 5);
setProperty(_root.changjing.boy5, _x , 1850);
setProperty(_root.changjing.boy5, _y , 350);
_root.changjing.boy5._xscale = 60;
_root.changjing.boy5._yscale = 60;
_root.changjing.attachMovie("six", "boy6", 6);
setProperty(_root.changjing.boy6, _x , 1850);
setProperty(_root.changjing.boy6, _y , 400);
_root.changjing.boy6._xscale = 60;
_root.changjing.boy6._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("fivefive", "boy7", 7);
setProperty(_root.changjing.boy7, _x , 2450);
setProperty(_root.changjing.boy7, _y , 350);
_root.changjing.boy7._xscale = 60;
_root.changjing.boy7._yscale = 60;
_root.changjing.attachMovie("fivefive", "boy8", 8);
setProperty(_root.changjing.boy8, _x , 2450);
setProperty(_root.changjing.boy8, _y , 400);
_root.changjing.boy8._xscale = 60;
_root.changjing.boy8._yscale = 60;
_root.changjing.attachMovie("six", "boy9", 9);
setProperty(_root.changjing.boy9, _x , 2450);
setProperty(_root.changjing.boy9, _y , 300);
_root.changjing.boy9._xscale = 60;
_root.changjing.boy9._yscale = 60;
_root.changjing.attachMovie("six", "boy10", 10);
setProperty(_root.changjing.boy10, _x , 2450);
setProperty(_root.changjing.boy10, _y , 320);
_root.changjing.boy10._xscale = 60;
_root.changjing.boy10._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.hpmax = _root.changjing.ken1.hp;
_root.play();
}
}
Symbol 3583 MovieClip Frame 36
stop();
Symbol 3599 MovieClip Frame 1
stop();
Instance of Symbol 3598 MovieClip in Symbol 3599 MovieClip Frame 1
onClipEvent (enterFrame) {
k = random(_root.dilevel);
if (_root.changjing.ken1.area.hitTest(this)) {
if (k == 0) {
c = random(2);
if (c == 0) {
_parent.gotoAndPlay("hit");
}
if (c == 1) {
_parent.gotoAndPlay("hit1");
}
} else {
_parent.play();
}
}
}
Symbol 3599 MovieClip Frame 9
gotoAndStop (1);
Symbol 3599 MovieClip Frame 10
_parent.gotoAndStop(15);
Symbol 3599 MovieClip Frame 11
gotoAndStop (1);
Symbol 3599 MovieClip Frame 12
_parent.gotoAndStop(16);
Symbol 3599 MovieClip Frame 13
gotoAndStop (1);
Symbol 3602 MovieClip Frame 1
gotoAndPlay(random(300) + 1);
Instance of Symbol 3601 MovieClip in Symbol 3602 MovieClip Frame 2
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.changjing.ken1._x > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if ((_root.changjing.ken1._x - 55) <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 10);
}
if ((_root.changjing.ken1._x + 55) >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 10);
}
if (_root.changjing.ken1._y >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 7);
}
if (_root.changjing.ken1._y <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 7);
}
}
Symbol 3602 MovieClip Frame 100
if (random(3) == 0) {
gotoAndPlay (2);
}
gotoAndPlay (1);
Instance of Symbol 3601 MovieClip in Symbol 3602 MovieClip Frame 101
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(3);
}
}
onClipEvent (load) {
xx = random(_root.Xmax);
yy = random(_root.Ymax - _root.Ymin) + _root.Ymin;
}
onClipEvent (enterFrame) {
if (xx > _parent._parent._x) {
setProperty(_parent._parent, _xscale , 63);
} else {
setProperty(_parent._parent, _xscale , -63);
}
if (xx <= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x - 5);
}
if (xx >= _parent._parent._x) {
setProperty(_parent._parent, _x , _parent._parent._x + 5);
}
if (yy >= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y + 4);
}
if (yy <= _parent._parent._y) {
setProperty(_parent._parent, _y , _parent._parent._y - 4);
}
}
Symbol 3602 MovieClip Frame 200
if (random(3) == 0) {
gotoAndPlay (101);
}
gotoAndPlay (1);
Instance of Symbol 3601 MovieClip in Symbol 3602 MovieClip Frame 201
onClipEvent (load) {
with (_parent._parent) {
gotoAndStop(1);
}
}
Symbol 3602 MovieClip Frame 300
if (random(3) == 0) {
gotoAndPlay (201);
}
gotoAndPlay (1);
Instance of Symbol 3660 MovieClip in Symbol 3678 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3678 MovieClip Frame 19
_parent.gotoAndStop(1);
Instance of Symbol 3660 MovieClip in Symbol 3716 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3716 MovieClip Frame 32
_parent.gotoAndStop(1);
Symbol 3717 MovieClip Frame 1
stop();
Symbol 3717 MovieClip Frame 2
stop();
Instance of Symbol 3660 MovieClip in Symbol 3747 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3747 MovieClip Frame 27
_parent.gotoAndStop(1);
Instance of Symbol 3660 MovieClip in Symbol 3758 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3758 MovieClip Frame 10
_parent.gotoAndStop(1);
Instance of Symbol 3660 MovieClip in Symbol 3797 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 3797 MovieClip Frame 17
_parent.gotoAndStop(1);
Instance of Symbol 3660 MovieClip in Symbol 3863 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(8);
}
}
Symbol 3863 MovieClip Frame 31
_parent.gotoAndStop(1);
Instance of Symbol 3660 MovieClip in Symbol 3881 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.ken1.gotoAndStop(10);
}
}
Symbol 3881 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 3884 MovieClip Frame 1
_root.lian = 1;
Symbol 3884 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 3886 MovieClip Frame 1
stop();
Symbol 3886 MovieClip Frame 160
stop();
Symbol 3908 MovieClip Frame 1
_root.lian = 1;
_parent.hp.hp = _parent.hp.hp - _root.attack;
if (_parent.hp.hp <= 0) {
_parent.gotoAndStop(27);
}
Symbol 3908 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 3941 MovieClip Frame 1
_parent.hp.hp = _parent.hp.hp - _root.attack;
Instance of Symbol 3601 MovieClip in Symbol 3941 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._x < _root.changjing.ken1._x) {
if (_parent._parent._x > 0) {
setProperty(_parent._parent, _x , _parent._parent._x - 15);
}
} else if (_parent._parent._x > _root.changjing.ken1._x) {
if (_parent._parent._x < 1060) {
setProperty(_parent._parent, _x , _parent._parent._x + 15);
}
}
}
Symbol 3941 MovieClip Frame 24
if (_parent.hp.hp <= 0) {
stop();
_root.play();
}
Symbol 3941 MovieClip Frame 28
b = random(3);
if (b == 0) {
_parent.gotoAndStop(12);
}
if (b == 1) {
_parent.gotoAndStop(12);
}
if (b == 2) {
_parent.gotoAndStop(1);
}
Symbol 3942 MovieClip Frame 1
stop();
_root.bossattack = 0;
Instance of Symbol 3596 MovieClip in Symbol 3942 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 3597 MovieClip in Symbol 3942 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root["hit" + g].hit1.hitTest(this)) {
_root["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
}
Instance of Symbol 3597 MovieClip in Symbol 3942 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(27);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
Instance of Symbol 3596 MovieClip "hp" in Symbol 3942 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (_parent.hp.hp < 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 3942 MovieClip Frame 10
_root.bossattack = 15;
Symbol 3942 MovieClip Frame 11
_root.bossattack = 10;
Symbol 3942 MovieClip Frame 12
_root.bossattack = 20;
Symbol 3942 MovieClip Frame 14
_root.bossattack = 15;
Symbol 3942 MovieClip Frame 15
_root.bossattack = 15;
Symbol 3942 MovieClip Frame 16
_root.bossattack = 10;
Instance of Symbol 2632 MovieClip "chang" in Symbol 3947 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("seven", "boy1", 1);
setProperty(_root.changjing.boy1, _x , 660);
setProperty(_root.changjing.boy1, _y , 370);
_root.changjing.boy1._xscale = 60;
_root.changjing.boy1._yscale = 60;
_root.changjing.attachMovie("seven", "boy2", 2);
setProperty(_root.changjing.boy2, _x , 660);
setProperty(_root.changjing.boy2, _y , 390);
_root.changjing.boy2._xscale = 60;
_root.changjing.boy2._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3947 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("eight", "boy3", 3);
setProperty(_root.changjing.boy3, _x , 1150);
setProperty(_root.changjing.boy3, _y , 350);
_root.changjing.boy3._xscale = 60;
_root.changjing.boy3._yscale = 60;
_root.changjing.attachMovie("eight", "boy4", 4);
setProperty(_root.changjing.boy4, _x , 1150);
setProperty(_root.changjing.boy4, _y , 400);
_root.changjing.boy4._xscale = 60;
_root.changjing.boy4._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3947 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("seven", "boy5", 5);
setProperty(_root.changjing.boy5, _x , 1850);
setProperty(_root.changjing.boy5, _y , 350);
_root.changjing.boy5._xscale = 60;
_root.changjing.boy5._yscale = 60;
_root.changjing.attachMovie("eight", "boy6", 6);
setProperty(_root.changjing.boy6, _x , 1850);
setProperty(_root.changjing.boy6, _y , 400);
_root.changjing.boy6._xscale = 60;
_root.changjing.boy6._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3947 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("sevenseven", "boy7", 7);
setProperty(_root.changjing.boy7, _x , 2450);
setProperty(_root.changjing.boy7, _y , 350);
_root.changjing.boy7._xscale = 60;
_root.changjing.boy7._yscale = 60;
_root.changjing.attachMovie("sevenseven", "boy8", 8);
setProperty(_root.changjing.boy8, _x , 2450);
setProperty(_root.changjing.boy8, _y , 400);
_root.changjing.boy8._xscale = 60;
_root.changjing.boy8._yscale = 60;
_root.changjing.attachMovie("eight", "boy9", 9);
setProperty(_root.changjing.boy9, _x , 2450);
setProperty(_root.changjing.boy9, _y , 300);
_root.changjing.boy9._xscale = 60;
_root.changjing.boy9._yscale = 60;
_root.changjing.attachMovie("eight", "boy10", 10);
setProperty(_root.changjing.boy10, _x , 2450);
setProperty(_root.changjing.boy10, _y , 320);
_root.changjing.boy10._xscale = 60;
_root.changjing.boy10._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3947 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.hpmax = _root.changjing.ken1.hp;
_root.play();
}
}
Symbol 3953 MovieClip Frame 36
stop();
Symbol 3958 MovieClip Frame 1
stop();
Symbol 3958 MovieClip Frame 190
stop();
Symbol 3959 MovieClip Frame 1
stop();
_root.bossattack = 0;
Instance of Symbol 2776 MovieClip in Symbol 3959 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.swapDepths(_parent._y * 100);
}
Instance of Symbol 2777 MovieClip in Symbol 3959 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root["hit" + g].hit1.hitTest(this)) {
_root["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
}
Instance of Symbol 2777 MovieClip in Symbol 3959 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1._currentframe < 10) {
if (_root.changjing.ken1.hit.hit.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(26);
}
}
if (_root.changjing.ken1.hit.hit.hittest1.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit1.hittest.hitTest(this)) {
with (_parent) {
gotoAndStop(27);
}
}
g = 0;
while (g < 10) {
if (_root.changjing["hit" + g].hit1.hitTest(this)) {
_root.changjing["hit" + g].gotoAndStop(2);
_parent.gotoAndStop(27);
}
g++;
}
if (_root.changjing.ken1.hit6.boy.flyhit.hitTest(this)) {
_parent.gotoAndStop(27);
}
if (_root.changjing.ken1.hitx.hitx.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
if (_root.changjing.ken1.hit6.hit7.hitTest(this)) {
_parent.gotoAndStop(26);
}
if (_root.changjing.ken1.hit9.hit10.hitTest(this)) {
_parent.gotoAndStop(27);
}
}
Instance of Symbol 2776 MovieClip "hp" in Symbol 3959 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.xuecao.gotoAndStop(hp);
if (_parent.hp.hp < 0) {
_parent.xuecao.gotoAndStop(1);
}
}
Symbol 3959 MovieClip Frame 10
_root.bossattack = 15;
Symbol 3959 MovieClip Frame 11
_root.bossattack = 10;
Symbol 3959 MovieClip Frame 12
_root.bossattack = 20;
Symbol 3959 MovieClip Frame 14
_root.bossattack = 15;
Symbol 3959 MovieClip Frame 15
_root.bossattack = 15;
Symbol 3959 MovieClip Frame 16
_root.bossattack = 10;
Instance of Symbol 2632 MovieClip "chang" in Symbol 3964 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("nine", "boy1", 1);
setProperty(_root.changjing.boy1, _x , 660);
setProperty(_root.changjing.boy1, _y , 370);
_root.changjing.boy1._xscale = 60;
_root.changjing.boy1._yscale = 60;
_root.changjing.attachMovie("nine", "boy2", 2);
setProperty(_root.changjing.boy2, _x , 660);
setProperty(_root.changjing.boy2, _y , 390);
_root.changjing.boy2._xscale = 60;
_root.changjing.boy2._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3964 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("ten", "boy3", 3);
setProperty(_root.changjing.boy3, _x , 1150);
setProperty(_root.changjing.boy3, _y , 350);
_root.changjing.boy3._xscale = 60;
_root.changjing.boy3._yscale = 60;
_root.changjing.attachMovie("ten", "boy4", 4);
setProperty(_root.changjing.boy4, _x , 1150);
setProperty(_root.changjing.boy4, _y , 400);
_root.changjing.boy4._xscale = 60;
_root.changjing.boy4._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3964 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("nine", "boy5", 5);
setProperty(_root.changjing.boy5, _x , 1850);
setProperty(_root.changjing.boy5, _y , 350);
_root.changjing.boy5._xscale = 60;
_root.changjing.boy5._yscale = 60;
_root.changjing.attachMovie("ten", "boy6", 6);
setProperty(_root.changjing.boy6, _x , 1850);
setProperty(_root.changjing.boy6, _y , 400);
_root.changjing.boy6._xscale = 60;
_root.changjing.boy6._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3964 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.changjing.attachMovie("ninenine", "boy7", 7);
setProperty(_root.changjing.boy7, _x , 2450);
setProperty(_root.changjing.boy7, _y , 350);
_root.changjing.boy7._xscale = 60;
_root.changjing.boy7._yscale = 60;
_root.changjing.attachMovie("ninenine", "boy8", 8);
setProperty(_root.changjing.boy8, _x , 2450);
setProperty(_root.changjing.boy8, _y , 400);
_root.changjing.boy8._xscale = 60;
_root.changjing.boy8._yscale = 60;
_root.changjing.attachMovie("ten", "boy9", 9);
setProperty(_root.changjing.boy9, _x , 2450);
setProperty(_root.changjing.boy9, _y , 300);
_root.changjing.boy9._xscale = 60;
_root.changjing.boy9._yscale = 60;
_root.changjing.attachMovie("ten", "boy10", 10);
setProperty(_root.changjing.boy10, _x , 2450);
setProperty(_root.changjing.boy10, _y , 320);
_root.changjing.boy10._xscale = 60;
_root.changjing.boy10._yscale = 60;
gotoAndStop (2);
}
}
Instance of Symbol 2632 MovieClip in Symbol 3964 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.changjing.ken1.area.hitTest(this)) {
_root.hpmax = _root.changjing.ken1.hp;
_root.play();
}
}
Symbol 3967 MovieClip Frame 36
stop();
Symbol 3986 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 3987 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 3994 MovieClip Frame 1
stop();
Symbol 3994 MovieClip Frame 2
stop();
Symbol 4004 MovieClip [TMP6ojzjuzm8i] Frame 1
var arrScore = new Array();
mcScoreboard.sboard.dir = "stop";
mcScoreboard.sboard.mcScoreHolder.mcScore._visible = false;
mcLabel._visible = false;
var main = this;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = main.mcScoreboard.sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
main.mcScoreboard.mcLoading._visible = false;
main.mcScoreboard.sboard.mcScoreHolder.item = myPlayer.length;
main.mcScoreboard.sboard.mcScoreHolder.speedy = 0;
main.mcScoreboard.sboard.mcScoreHolder.desty = 0;
main.mcScoreboard.sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
};
xmlPlayer.load((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999));
Symbol 4009 MovieClip [TMP6pbk6uzm9i] Frame 1
var arrScore = new Array();
mcScoreboard.sboard.dir = "stop";
mcScoreboard.sboard.mcScoreHolder.mcScore._visible = false;
mcLabel._visible = false;
var main = this;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = main.mcScoreboard.sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
main.mcScoreboard.mcLoading._visible = false;
main.mcScoreboard.sboard.mcScoreHolder.item = myPlayer.length;
main.mcScoreboard.sboard.mcScoreHolder.speedy = 0;
main.mcScoreboard.sboard.mcScoreHolder.desty = 0;
main.mcScoreboard.sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
};
xmlPlayer.load(((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + gameID) + "&rand=") + random(999999)) + "&filt=1");
Symbol 4015 Button
on (release) {
gotoAndPlay ("main_area");
}