Frame 1
totb = this.getBytesTotal();
nowb = this.getBytesLoaded();
per = int((nowb / totb) * 100) + "%";
ldbar._xscale = (nowb / totb) * 100;
Frame 3
if (nowb < totb) {
this.gotoAndPlay("loading");
}
Frame 4
stop();
Frame 5
NOW_STAGE = 1;
bg1dis = 1;
bg2dis = 5;
bg3dis = 7;
BG_SCROLL = "NO";
MAX_X = 500;
MIN_X = 0;
MID_X = 300;
PLYR1_STEPDIS = 6;
ENE1_STEPDIS = 4;
PAUSE = false;
attp0 = 5;
sfpunch = new Sound();
sfpunch.attachSound("sndpunch");
helpgo = false;
HP = 100;
SP = 0;
SP_SPEED = 0.5;
SPon = false;
SPpow = 50;
ATpow = 10;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 99 MovieClip "bg1" in Frame 7
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 101 MovieClip "bg2" in Frame 7
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene1" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene2" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene4" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene5" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene6" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene9" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene12" in Frame 7
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 139 MovieClip "b1" in Frame 7
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 141 MovieClip "bg3" in Frame 7
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 8
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 9
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 11
stop();
Frame 12
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = 50;
_y = 200;
hp = 80;
}
Frame 16
stop();
Frame 17
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 21
stop();
Frame 22
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 26
stop();
Frame 27
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 31
stop();
Frame 32
gotoAndPlay (40);
Frame 36
gotoAndPlay (455);
Frame 40
NOW_STAGE = 2;
bg1dis = 4;
bg2dis = 5;
bg3dis = 4;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 169 MovieClip "bg1" in Frame 42
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 171 MovieClip "bg2" in Frame 42
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 129 MovieClip "ene0" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene1" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene2" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene5" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene6" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene9" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene10" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene11" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene12" in Frame 42
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 172 MovieClip "b1" in Frame 42
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over2");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Frame 43
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 44
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 46
stop();
Frame 47
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 51
stop();
Frame 52
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 56
stop();
Frame 57
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 61
stop();
Frame 62
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 66
stop();
Frame 67
gotoAndPlay (75);
Frame 71
gotoAndPlay (455);
Frame 75
NOW_STAGE = 3;
bg1dis = 4;
bg2dis = 5;
bg3dis = 4;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 173 MovieClip "bg1" in Frame 77
onClipEvent (enterFrame) {
if (0 < this._x) {
this._x = -550;
}
}
Instance of Symbol 174 MovieClip "bg2" in Frame 77
onClipEvent (enterFrame) {
if (0 < this._x) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene1" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene2" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene4" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene5" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene6" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene7" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene9" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene12" in Frame 77
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 175 MovieClip "b1" in Frame 77
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over3");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Frame 78
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
Instance of Symbol 176 MovieClip "gob" in Frame 79
onClipEvent (load) {
this.gotoAndPlay("left");
}
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "LEFT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 81
stop();
Frame 82
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 86
stop();
Frame 87
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 91
stop();
Frame 92
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 96
stop();
Frame 97
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 101
stop();
Frame 102
gotoAndPlay (110);
Frame 106
gotoAndPlay (455);
Frame 110
NOW_STAGE = 4;
bg1dis = 3;
bg2dis = 5;
bg3dis = 4;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 178 MovieClip "bg1" in Frame 112
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 180 MovieClip "bg2" in Frame 112
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene1" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene2" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene5" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene6" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene9" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene11" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene12" in Frame 112
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 139 MovieClip "b1" in Frame 112
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Frame 113
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 114
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 116
stop();
Frame 117
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 121
stop();
Frame 122
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 126
stop();
Frame 127
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 131
stop();
Frame 132
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 136
stop();
Frame 137
gotoAndPlay (145);
Frame 141
gotoAndPlay (455);
Frame 145
NOW_STAGE = 5;
bg1dis = 3;
bg2dis = 5;
bg3dis = 6;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 178 MovieClip "bg1" in Frame 147
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 182 MovieClip "bg2" in Frame 147
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 129 MovieClip "ene0" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene1" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene2" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene5" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene6" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene9" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene12" in Frame 147
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 139 MovieClip "b1" in Frame 147
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 184 MovieClip "bg3" in Frame 147
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 148
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 149
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 151
stop();
Frame 152
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 156
stop();
Frame 157
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 161
stop();
Frame 162
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 166
stop();
Frame 167
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 171
stop();
Frame 172
gotoAndPlay (180);
Frame 176
gotoAndPlay (455);
Frame 180
NOW_STAGE = 6;
bg1dis = 3;
bg2dis = 5;
bg3dis = 6;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 178 MovieClip "bg1" in Frame 182
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 186 MovieClip "bg2" in Frame 182
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene1" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene2" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene5" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene6" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene7" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene8" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene9" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene12" in Frame 182
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 139 MovieClip "b1" in Frame 182
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 184 MovieClip "bg3" in Frame 182
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 183
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 184
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 186
stop();
Frame 187
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 191
stop();
Frame 192
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 196
stop();
Frame 197
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 80;
}
Frame 201
stop();
Frame 202
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 206
stop();
Frame 207
gotoAndPlay (215);
Frame 211
gotoAndPlay (455);
Frame 215
NOW_STAGE = 7;
bg1dis = 3;
bg2dis = 5;
bg3dis = 6;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 189 MovieClip "bg2" in Frame 217
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 129 MovieClip "ene0" in Frame 217
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 139 MovieClip "b1" in Frame 217
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 192 MovieClip "bg3" in Frame 217
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 218
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 300;
}
Instance of Symbol 193 MovieClip "gob" in Frame 219
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.play();
}
if (_root.helpgo == false) {
this._visible = false;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 221
stop();
Frame 222
gotoAndPlay (457);
Frame 226
gotoAndPlay (455);
Frame 230
NOW_STAGE = 8;
bg1dis = 1;
bg2dis = 5;
bg3dis = 7;
BG_SCROLL = "NO";
MAX_X = 500;
MIN_X = 0;
MID_X = 300;
PLYR1_STEPDIS = 6;
ENE1_STEPDIS = 4;
PAUSE = false;
attp0 = 5;
sfpunch = new Sound();
sfpunch.attachSound("sndpunch");
helpgo = false;
HP = 100;
SP = 0;
SP_SPEED = 0.5;
SPon = false;
SPpow = 100;
ATpow = 10;
MAO_SP_DIS = 3;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 99 MovieClip "bg1" in Frame 232
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 101 MovieClip "bg2" in Frame 232
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene1" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene2" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene4" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene5" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene6" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene9" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene12" in Frame 232
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 196 MovieClip "b1" in Frame 232
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 141 MovieClip "bg3" in Frame 232
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 233
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 234
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 236
stop();
Frame 237
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = 50;
_y = 200;
hp = 80;
}
Frame 241
stop();
Frame 242
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 246
stop();
Frame 247
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 251
stop();
Frame 252
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 256
stop();
Frame 257
gotoAndPlay (265);
Frame 261
gotoAndPlay (455);
Frame 265
NOW_STAGE = 9;
bg1dis = 4;
bg2dis = 5;
bg3dis = 4;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 169 MovieClip "bg1" in Frame 267
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 171 MovieClip "bg2" in Frame 267
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 129 MovieClip "ene0" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene1" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene2" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene5" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene6" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene9" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene10" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene11" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene12" in Frame 267
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 197 MovieClip "b1" in Frame 267
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over2");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Frame 268
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 269
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 271
stop();
Frame 272
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 276
stop();
Frame 277
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 281
stop();
Frame 282
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 286
stop();
Frame 287
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 291
stop();
Frame 292
gotoAndPlay (300);
Frame 296
gotoAndPlay (455);
Frame 300
NOW_STAGE = 10;
bg1dis = 4;
bg2dis = 5;
bg3dis = 4;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 173 MovieClip "bg1" in Frame 302
onClipEvent (enterFrame) {
if (0 < this._x) {
this._x = -550;
}
}
Instance of Symbol 174 MovieClip "bg2" in Frame 302
onClipEvent (enterFrame) {
if (0 < this._x) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene1" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene2" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene4" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene5" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene6" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene7" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene9" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene12" in Frame 302
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 198 MovieClip "b1" in Frame 302
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over3");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Frame 303
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
Instance of Symbol 176 MovieClip "gob" in Frame 304
onClipEvent (load) {
this.gotoAndPlay("left");
}
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "LEFT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 306
stop();
Frame 307
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 311
stop();
Frame 312
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 316
stop();
Frame 317
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 321
stop();
Frame 322
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 326
stop();
Frame 327
gotoAndPlay (335);
Frame 331
gotoAndPlay (455);
Frame 335
NOW_STAGE = 11;
bg1dis = 3;
bg2dis = 5;
bg3dis = 4;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 178 MovieClip "bg1" in Frame 337
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 180 MovieClip "bg2" in Frame 337
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene1" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene2" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene5" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene6" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene9" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene11" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene12" in Frame 337
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 196 MovieClip "b1" in Frame 337
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Frame 338
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 339
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 341
stop();
Frame 342
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 346
stop();
Frame 347
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 351
stop();
Frame 352
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 356
stop();
Frame 357
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 361
stop();
Frame 362
gotoAndPlay (370);
Frame 366
gotoAndPlay (455);
Frame 370
NOW_STAGE = 12;
bg1dis = 3;
bg2dis = 5;
bg3dis = 6;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 178 MovieClip "bg1" in Frame 372
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 182 MovieClip "bg2" in Frame 372
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 129 MovieClip "ene0" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene1" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene2" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene5" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene6" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene7" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene8" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene9" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene12" in Frame 372
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 196 MovieClip "b1" in Frame 372
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 184 MovieClip "bg3" in Frame 372
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 373
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 374
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 376
stop();
Frame 377
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 381
stop();
Frame 382
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 386
stop();
Frame 387
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 80;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 391
stop();
Frame 392
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 396
stop();
Frame 397
gotoAndPlay (405);
Frame 401
gotoAndPlay (455);
Frame 405
NOW_STAGE = 13;
bg1dis = 3;
bg2dis = 5;
bg3dis = 6;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 178 MovieClip "bg1" in Frame 407
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Instance of Symbol 186 MovieClip "bg2" in Frame 407
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 120 MovieClip "ene0" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene1" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene2" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene3" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene4" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene5" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene6" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene7" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene8" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 138 MovieClip "ene9" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene10" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 120 MovieClip "ene11" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 129 MovieClip "ene12" in Frame 407
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 196 MovieClip "b1" in Frame 407
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 184 MovieClip "bg3" in Frame 407
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 408
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 30;
}
Instance of Symbol 166 MovieClip "gob" in Frame 409
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.helpgo = true;
_root.BG_SCROLL = "RIGHT";
}
if (_root.helpgo == false) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 411
stop();
Frame 412
enecnt = 3;
stepcnt = 50;
with (ene1) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene2) {
ACTION = true;
_x = 590;
_y = 200;
hp = 30;
}
with (ene3) {
ACTION = true;
_x = -50;
_y = 200;
hp = 80;
}
Frame 416
stop();
Frame 417
enecnt = 4;
stepcnt = 40;
with (ene4) {
ACTION = true;
_x = 550;
_y = 200;
hp = 30;
}
with (ene5) {
ACTION = true;
_x = -50;
_y = 200;
hp = 30;
}
with (ene6) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene7) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
Frame 421
stop();
Frame 422
enecnt = 2;
stepcnt = 50;
with (ene8) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene9) {
ACTION = true;
_x = -100;
_y = 200;
hp = 80;
}
Frame 426
stop();
Frame 427
enecnt = 3;
stepcnt = 50;
with (ene10) {
ACTION = true;
_x = 580;
_y = 200;
hp = 30;
}
with (ene11) {
ACTION = true;
_x = -100;
_y = 200;
hp = 30;
}
with (ene12) {
ACTION = true;
_x = -150;
_y = 200;
hp = 30;
}
Frame 431
stop();
Frame 432
gotoAndPlay (440);
Frame 436
gotoAndPlay (455);
Frame 440
NOW_STAGE = 14;
bg1dis = 3;
bg2dis = 5;
bg3dis = 6;
BG_SCROLL = "NO";
PAUSE = false;
helpgo = false;
SPon = false;
STAGE_CLEAR = false;
step = 0;
Instance of Symbol 189 MovieClip "bg2" in Frame 442
onClipEvent (enterFrame) {
if (this._x < -1100) {
_root.STAGE_CLEAR = true;
}
}
Instance of Symbol 129 MovieClip "ene0" in Frame 442
onClipEvent (load) {
hp = 10;
ACTION = false;
moving = true;
ATT = false;
cnt = 0;
stopcnt = random(30) + 10;
waittime = random(500) + 100;
tmptime1 = 0;
tmptime2 = 0;
stepdis = _root.ENE1_STEPDIS;
movl = false;
movr = false;
if (_root.b1._x < this._x) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if (this._x < _root.b1._x) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (Key.isDown(Key.SPACE)) {
if (this.hitTest(_root.b1.plyr1.hit)) {
_root.b1.HITact = _root.b1.HITact + 1;
hp = hp - _root.ATpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.PAUSE == false) {
if (_root.SPon == true) {
if (this.hitTest(_root.b1.plyr1.sphit)) {
hp = hp - _root.SPpow;
_root.sfpunch.start();
ACTION = false;
this.char.gotoAndPlay("onhit");
if ((0 >= hp) or (_root.b1.HITcnt == 2)) {
ACTION = false;
this.tact.ACTION = true;
this.char.gotoAndPlay("fly");
}
}
}
if (ACTION == true) {
if ((_root.b1._x < this._x) and (moving != "LEFT")) {
this.gotoAndPlay("n_l");
moving = "LEFT";
} else if ((this._x < _root.b1._x) and (moving != "RIGHT")) {
this.gotoAndPlay("n_r");
moving = "RIGHT";
}
if ((moving != false) and (cnt < stopcnt)) {
cnt++;
if ((this._x < (_root.b1._x + 70)) and ((_root.b1._x - 70) < this._x)) {
if (cnt == (stopcnt - 7)) {
this.char.gotoAndPlay("att");
} else {
if ((movr == true) or (movl == true)) {
this.char.gotoAndPlay("stop");
}
movr = false;
movl = false;
}
} else if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
this._x = this._x + stepdis;
if (movr == false) {
this.gotoAndPlay("w_r");
movr = true;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
this._x = this._x - stepdis;
if (movl == false) {
this.gotoAndPlay("w_l");
movl = true;
}
}
}
tmptime2 = getTimer();
waittime = random(500) + 1000;
} else {
this.char.gotoAndPlay("stop");
movr = false;
movl = false;
tmptime1 = getTimer();
moving = false;
if (waittime < (tmptime1 - tmptime2)) {
cnt = 0;
stopcnt = random(30) + 10;
moving = true;
}
}
}
}
}
Instance of Symbol 196 MovieClip "b1" in Frame 442
onClipEvent (load) {
hp = _root.HP;
HITcnt = 0;
HITact = 0;
ATT = false;
JMP = false;
stepdis = _root.PLYR1_STEPDIS;
ACTION = true;
moving = false;
akp = false;
akr = true;
jpp = false;
jpr = true;
rkp = false;
rkr = true;
lkp = false;
lkr = true;
klp = false;
klr = true;
DIR = false;
}
onClipEvent (keyDown) {
if (_root.PAUSE == false) {
if (ACTION == true) {
if (ATT == false) {
if (((klp == false) and (JMP == false)) and (moving == false)) {
if (Key.isDown(Key.DOWN)) {
klp = true;
klr = false;
if (_root.SP >= 100) {
_root.b1.plyr1.gotoAndPlay("spwait");
ATT = true;
moving = false;
_root.PAUSE = true;
ACTION = false;
_root.bbg.play();
}
}
}
if (akp == false) {
if (Key.isDown(Key.SPACE)) {
akp = true;
akr = false;
if (JMP == true) {
this.plyr1.gotoAndPlay("jatt");
ATT = true;
HITcnt = 0;
} else {
if (HITcnt < 2) {
this.plyr1.gotoAndPlay("att");
} else {
this.plyr1.gotoAndPlay("pow_att");
}
ATT = true;
}
}
}
if ((ATT == false) and (JMP == false)) {
if (Key.isDown(Key.UP)) {
jpp = true;
jpr = false;
jump.ACTION = true;
jump.DIR = moving;
JMP = true;
}
}
if ((moving == false) and (JMP == false)) {
if (Key.isDown(Key.RIGHT)) {
rkp = true;
rkr = false;
moving = "RIGHT";
this.gotoAndPlay("w_r");
DIR = "RIGHT";
} else if (Key.isDown(Key.LEFT)) {
lkp = true;
lkr = false;
moving = "LEFT";
this.gotoAndPlay("w_l");
DIR = "LEFT";
}
}
}
if (Key.isDown(Key.RIGHT) and Key.isDown(Key.LEFT)) {
moving = false;
rkp = true;
rkr = false;
lkp = true;
lkr = false;
}
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(Key.DOWN)) {
klp = false;
klr = true;
}
if (_root.PAUSE == false) {
if (!Key.isDown(Key.SPACE)) {
akp = false;
akr = true;
}
if (!Key.isDown(Key.UP)) {
jpp = false;
jpr = true;
}
if ((!Key.isDown(Key.RIGHT)) and (!Key.isDown(Key.LEFT))) {
moving = false;
}
if (!Key.isDown(Key.RIGHT)) {
rkp = false;
rkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
if (!Key.isDown(Key.LEFT)) {
lkp = false;
lkr = true;
if (ATT == false) {
this.plyr1.gotoAndPlay("stop");
}
}
}
}
onClipEvent (enterFrame) {
_root.HP = hp;
if (0 >= hp) {
_root.gotoAndPlay("over1");
}
if (_root.PAUSE == false) {
if (((moving != false) and (ATT == false)) and (ACTION == true)) {
if (moving == "RIGHT") {
if (this._x < _root.MAX_X) {
if ((_root.BG_SCROLL == "RIGHT") and (_root.MID_X < this._x)) {
_root.bg1._x = _root.bg1._x - _root.bg1dis;
_root.bg2._x = _root.bg2._x - _root.bg2dis;
_root.bg3._x = _root.bg3._x - _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x + stepdis;
}
}
} else if (moving == "LEFT") {
if (_root.MIN_X < this._x) {
if ((_root.BG_SCROLL == "LEFT") and (this._x < _root.MID_X)) {
_root.bg1._x = _root.bg1._x + _root.bg1dis;
_root.bg2._x = _root.bg2._x + _root.bg2dis;
_root.bg3._x = _root.bg3._x + _root.bg3dis;
_root.stepcnt = _root.stepcnt - 1;
_root.step++;
} else {
this._x = this._x - stepdis;
}
}
}
}
}
}
Instance of Symbol 192 MovieClip "bg3" in Frame 442
onClipEvent (enterFrame) {
if (this._x < -550) {
this._x = 0;
}
}
Frame 443
enecnt = 1;
stepcnt = 30;
with (ene0) {
ACTION = true;
_x = 300;
_y = 200;
hp = 300;
}
Instance of Symbol 193 MovieClip "gob" in Frame 444
onClipEvent (enterFrame) {
if ((0 >= _root.enecnt) and (_root.helpgo == false)) {
_root.play();
}
if (_root.helpgo == false) {
this._visible = false;
}
if ((_root.stepcnt == 0) and (_root.helpgo == true)) {
_root.helpgo = false;
_root.BG_SCROLL = "NO";
_root.Play();
}
}
Frame 446
stop();
Frame 447
gotoAndPlay (457);
Frame 451
gotoAndPlay (455);
Frame 456
stop();
Frame 458
stop();
Symbol 15 Button
on (release) {
getURL ("http://home.kimo.com.tw/cerberusstudio/", "_blank");
}
Symbol 48 MovieClip Frame 5
gotoAndPlay (1);
Symbol 48 MovieClip Frame 24
gotoAndPlay (6);
Symbol 48 MovieClip Frame 28
gotoAndPlay (1);
Symbol 48 MovieClip Frame 35
gotoAndPlay (1);
Symbol 48 MovieClip Frame 40
stop();
Symbol 48 MovieClip Frame 45
stop();
Symbol 48 MovieClip Frame 50
stop();
Symbol 48 MovieClip Frame 55
stop();
Symbol 48 MovieClip Frame 60
stop();
Symbol 48 MovieClip Frame 65
stop();
Symbol 50 MovieClip Frame 1
this.stop();
cnt = 10;
Symbol 50 MovieClip Frame 3
if (action == true) {
if (_root.b1.DIR == "LEFT") {
if (_root.MIN_X < _root.b1._x) {
_root.b1._x = _root.b1._x - (cnt * _root.MAO_SP_DIS);
} else {
_root.b1._x = _root.MIN_X + 1;
}
} else if (_root.b1.DIR == "RIGHT") {
if (_root.b1._x < _root.MAX_X) {
_root.b1._x = _root.b1._x + (cnt * _root.MAO_SP_DIS);
} else {
_root.b1._x = _root.MAX_X - 1;
}
} else {
_root.b1._x = 300;
}
this.gotoAndPlay("gloop");
} else {
this.gotoAndStop("no");
}
cnt--;
Symbol 51 MovieClip Frame 5
gotoAndPlay (1);
Symbol 51 MovieClip Frame 24
gotoAndPlay (6);
Symbol 51 MovieClip Frame 28
gotoAndPlay (1);
Symbol 51 MovieClip Frame 35
gotoAndPlay (1);
Symbol 51 MovieClip Frame 40
stop();
Symbol 51 MovieClip Frame 45
stop();
Symbol 51 MovieClip Frame 50
stop();
Symbol 51 MovieClip Frame 55
stop();
Symbol 51 MovieClip Frame 60
stop();
Symbol 51 MovieClip Frame 65
stop();
Symbol 56 MovieClip Frame 3
stop();
Symbol 59 MovieClip Frame 20
stop();
Symbol 60 MovieClip Frame 1
_parent.ATT = false;
if (_parent.moving == "RIGHT") {
_parent.gotoAndPlay("w_r");
} else if (_parent.moving == "LEFT") {
_parent.gotoAndPlay("w_l");
}
fano.gotoAndPlay("stop");
Instance of Symbol 50 MovieClip "spact" in Symbol 60 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
action = false;
}
Symbol 60 MovieClip Frame 3
stop();
Symbol 60 MovieClip Frame 4
_parent.ATT = false;
fano.gotoAndPlay("walk");
Symbol 60 MovieClip Frame 9
stop();
Symbol 60 MovieClip Frame 10
if (0 < _parent.HITact) {
if (_parent.HITcnt >= 2) {
_parent.HITcnt = 0;
} else {
_parent.HITcnt++;
}
} else {
_parent.HITcnt = 0;
}
_parent.HITact = 0;
fano.gotoAndPlay("att");
Instance of Symbol 53 MovieClip "hit" in Symbol 60 MovieClip Frame 10
onClipEvent (load) {
this._visible = false;
}
Symbol 60 MovieClip Frame 14
gotoAndPlay (1);
Symbol 60 MovieClip Frame 15
if (0 < _parent.HITact) {
if (_parent.HITcnt >= 2) {
_parent.HITcnt = 0;
} else {
_parent.HITcnt++;
}
} else {
_parent.HITcnt = 0;
}
_parent.HITact = 0;
fano.gotoAndPlay("att3");
Symbol 60 MovieClip Frame 30
gotoAndPlay (1);
Symbol 60 MovieClip Frame 31
fano.gotoAndPlay("jmpd");
Symbol 60 MovieClip Frame 35
this.stop();
Symbol 60 MovieClip Frame 36
fano.gotoAndPlay("jmpu");
Symbol 60 MovieClip Frame 40
this.stop();
Symbol 60 MovieClip Frame 41
fano.gotoAndPlay("jatt");
Instance of Symbol 53 MovieClip "hit" in Symbol 60 MovieClip Frame 41
onClipEvent (load) {
this._visible = false;
}
Symbol 60 MovieClip Frame 45
this.gotoAndPlay("stop");
Symbol 60 MovieClip Frame 46
hs.gotoAndPlay("show");
fano.gotoAndPlay("onhit");
Symbol 60 MovieClip Frame 51
_parent.ACTION = true;
gotoAndPlay (1);
Symbol 60 MovieClip Frame 52
fano.gotoAndPlay("spwait");
Symbol 60 MovieClip Frame 56
stop();
Symbol 60 MovieClip Frame 57
_root.SPon = true;
_parent.HITact = 0;
_root.SP = 0;
spact.action = true;
spact.play();
fano.gotoAndPlay("spatt");
Instance of Symbol 53 MovieClip "sphit" in Symbol 60 MovieClip Frame 57
onClipEvent (load) {
this._visible = false;
}
Symbol 60 MovieClip Frame 70
_parent.ACTION = true;
_root.SPon = true;
spact.action = false;
gotoAndPlay (1);
Instance of Symbol 21 MovieClip "jump" in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 61 MovieClip Frame 3
stop();
Symbol 61 MovieClip Frame 6
stop();
Symbol 61 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 61 MovieClip Frame 9
stop();
Symbol 61 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 61 MovieClip Frame 12
stop();
Symbol 79 MovieClip Frame 5
gotoAndPlay (1);
Symbol 79 MovieClip Frame 24
gotoAndPlay (6);
Symbol 79 MovieClip Frame 28
gotoAndPlay (1);
Symbol 79 MovieClip Frame 35
gotoAndPlay (1);
Symbol 79 MovieClip Frame 40
stop();
Symbol 79 MovieClip Frame 45
stop();
Symbol 79 MovieClip Frame 50
stop();
Symbol 79 MovieClip Frame 55
stop();
Symbol 79 MovieClip Frame 60
stop();
Symbol 79 MovieClip Frame 65
stop();
Symbol 80 MovieClip Frame 5
gotoAndPlay (1);
Symbol 80 MovieClip Frame 24
gotoAndPlay (6);
Symbol 80 MovieClip Frame 28
gotoAndPlay (1);
Symbol 80 MovieClip Frame 35
gotoAndPlay (1);
Symbol 80 MovieClip Frame 40
stop();
Symbol 80 MovieClip Frame 45
stop();
Symbol 80 MovieClip Frame 50
stop();
Symbol 80 MovieClip Frame 55
stop();
Symbol 80 MovieClip Frame 60
stop();
Symbol 80 MovieClip Frame 65
stop();
Symbol 81 MovieClip Frame 1
_parent.ATT = false;
if (_parent.moving == "RIGHT") {
_parent.gotoAndPlay("w_r");
} else if (_parent.moving == "LEFT") {
_parent.gotoAndPlay("w_l");
}
fano.gotoAndPlay("stop");
Symbol 81 MovieClip Frame 3
stop();
Symbol 81 MovieClip Frame 4
_parent.ATT = false;
fano.gotoAndPlay("walk");
Symbol 81 MovieClip Frame 9
stop();
Symbol 81 MovieClip Frame 10
if (0 < _parent.HITact) {
if (_parent.HITcnt >= 2) {
_parent.HITcnt = 0;
} else {
_parent.HITcnt++;
}
} else {
_parent.HITcnt = 0;
}
_parent.HITact = 0;
fano.gotoAndPlay("att");
Instance of Symbol 53 MovieClip "hit" in Symbol 81 MovieClip Frame 10
onClipEvent (load) {
this._visible = false;
}
Symbol 81 MovieClip Frame 14
gotoAndPlay (1);
Symbol 81 MovieClip Frame 15
if (0 < _parent.HITact) {
if (_parent.HITcnt >= 2) {
_parent.HITcnt = 0;
} else {
_parent.HITcnt++;
}
} else {
_parent.HITcnt = 0;
}
_parent.HITact = 0;
fano.gotoAndPlay("att3");
Symbol 81 MovieClip Frame 30
gotoAndPlay (1);
Symbol 81 MovieClip Frame 31
fano.gotoAndPlay("jmpd");
Symbol 81 MovieClip Frame 35
this.stop();
Symbol 81 MovieClip Frame 36
fano.gotoAndPlay("jmpu");
Symbol 81 MovieClip Frame 40
this.stop();
Symbol 81 MovieClip Frame 41
fano.gotoAndPlay("jatt");
Instance of Symbol 53 MovieClip "hit" in Symbol 81 MovieClip Frame 41
onClipEvent (load) {
this._visible = false;
}
Symbol 81 MovieClip Frame 45
this.gotoAndPlay("stop");
Symbol 81 MovieClip Frame 46
hs.gotoAndPlay("show");
fano.gotoAndPlay("onhit");
Symbol 81 MovieClip Frame 51
_parent.ACTION = true;
gotoAndPlay (1);
Symbol 81 MovieClip Frame 52
fano.gotoAndPlay("spwait");
Symbol 81 MovieClip Frame 56
stop();
Symbol 81 MovieClip Frame 57
_root.SPon = true;
_parent.HITact = 0;
_root.SP = 0;
fano.gotoAndPlay("spatt");
Instance of Symbol 53 MovieClip "sphit" in Symbol 81 MovieClip Frame 57
onClipEvent (load) {
this._visible = false;
}
Symbol 81 MovieClip Frame 61
_parent.ACTION = true;
_root.SPon = true;
gotoAndPlay (1);
Instance of Symbol 21 MovieClip "jump" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 82 MovieClip Frame 3
stop();
Symbol 82 MovieClip Frame 6
stop();
Symbol 82 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 82 MovieClip Frame 9
stop();
Symbol 82 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 82 MovieClip Frame 12
stop();
Symbol 84 MovieClip Frame 10
stop();
Symbol 86 Button
on (release) {
gotoAndPlay (5);
}
on (rollOver, release) {
_root.fano.plyr1.gotoAndPlay("att");
}
Symbol 87 Button
on (release) {
gotoAndPlay (230);
}
on (rollOver, release) {
_root.mao.plyr1.gotoAndPlay("att");
}
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
if (_root.b1.DIR == "RIGHT") {
_xscale = -100;
_x = 550;
} else if (_root.b1.DIR == "LEFT") {
_xscale = 100;
_x = 0;
}
Symbol 104 MovieClip Frame 20
_root.PAUSE = false;
_root.b1.plyr1.gotoAndPlay("spATT");
Symbol 115 MovieClip Frame 4
gotoAndPlay (1);
Symbol 115 MovieClip Frame 23
gotoAndPlay (5);
Symbol 115 MovieClip Frame 27
gotoAndPlay (1);
Symbol 115 MovieClip Frame 31
stop();
Symbol 115 MovieClip Frame 35
stop();
Symbol 115 MovieClip Frame 39
stop();
Symbol 119 MovieClip Frame 1
ene.gotoAndPlay("stop");
Symbol 119 MovieClip Frame 3
stop();
Symbol 119 MovieClip Frame 4
ene.gotoAndPlay("walk");
Symbol 119 MovieClip Frame 9
stop();
Symbol 119 MovieClip Frame 10
if (hit.hitTest(_root.b1)) {
_root.b1.hp = _root.b1.hp - _root.attp0;
_root.b1.plyr1.gotoAndPlay("onhit");
_root.sfpunch.start();
}
ene.gotoAndPlay("att");
Instance of Symbol 116 MovieClip "hit" in Symbol 119 MovieClip Frame 10
onClipEvent (load) {
this._visible = false;
}
Symbol 119 MovieClip Frame 14
gotoAndPlay (1);
Symbol 119 MovieClip Frame 15
hs.gotoAndPlay("show");
ene.gotoAndPlay("fly");
Symbol 119 MovieClip Frame 22
_root.sk.play();
Symbol 119 MovieClip Frame 26
if (0 < _parent.hp) {
this.gotoAndPlay("w_up");
}
Symbol 119 MovieClip Frame 27
_parent._alpha = 70;
ene.gotoAndPlay("die");
Symbol 119 MovieClip Frame 28
_parent._alpha = 30;
Symbol 119 MovieClip Frame 29
_parent._alpha = 70;
Symbol 119 MovieClip Frame 30
_parent._alpha = 30;
Symbol 119 MovieClip Frame 31
_parent._alpha = 70;
Symbol 119 MovieClip Frame 32
_parent._alpha = 30;
Symbol 119 MovieClip Frame 33
_parent._alpha = 70;
Symbol 119 MovieClip Frame 34
_parent._alpha = 30;
Symbol 119 MovieClip Frame 35
_parent._alpha = 70;
Symbol 119 MovieClip Frame 36
_parent._visible = false;
_parent.ACTION = false;
_parent._x = -200;
_parent._y = -200;
_root.enecnt = _root.enecnt - 1;
gotoAndPlay (1);
Symbol 119 MovieClip Frame 37
ene.gotoAndPlay("die");
Symbol 119 MovieClip Frame 39
ene.gotoAndPlay("fly");
Symbol 119 MovieClip Frame 41
ene.gotoAndPlay("die");
Symbol 119 MovieClip Frame 43
ene.gotoAndPlay("fly");
Symbol 119 MovieClip Frame 45
ene.gotoAndPlay("die");
Symbol 119 MovieClip Frame 47
ene.gotoAndPlay("fly");
Symbol 119 MovieClip Frame 49
_parent.ACTION = true;
gotoAndPlay (1);
Symbol 119 MovieClip Frame 50
hs.gotoAndPlay("show");
ene.gotoAndPlay("onhit");
Symbol 119 MovieClip Frame 55
_parent.ACTION = true;
gotoAndPlay (1);
Instance of Symbol 106 MovieClip "tact" in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (_root.b1._x < _parent._x) {
if (5 >= cnt) {
cnt++;
_parent._x = _parent._x + (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
} else if (5 >= cnt) {
cnt++;
_parent._x = _parent._x - (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
}
}
Symbol 120 MovieClip Frame 3
stop();
Symbol 120 MovieClip Frame 6
stop();
Symbol 120 MovieClip Frame 7
movr = true;
char.gotoAndPlay("move");
Symbol 120 MovieClip Frame 9
stop();
Symbol 120 MovieClip Frame 10
movl = true;
char.gotoAndPlay("move");
Symbol 120 MovieClip Frame 12
stop();
Symbol 127 MovieClip Frame 4
gotoAndPlay (1);
Symbol 127 MovieClip Frame 23
gotoAndPlay (5);
Symbol 127 MovieClip Frame 27
gotoAndPlay (1);
Symbol 127 MovieClip Frame 31
stop();
Symbol 127 MovieClip Frame 35
stop();
Symbol 127 MovieClip Frame 39
stop();
Symbol 128 MovieClip Frame 1
ene.gotoAndPlay("stop");
Symbol 128 MovieClip Frame 3
stop();
Symbol 128 MovieClip Frame 4
ene.gotoAndPlay("walk");
Symbol 128 MovieClip Frame 9
stop();
Symbol 128 MovieClip Frame 10
if (hit.hitTest(_root.b1)) {
_root.b1.hp = _root.b1.hp - _root.attp0;
_root.b1.plyr1.gotoAndPlay("onhit");
_root.sfpunch.start();
}
ene.gotoAndPlay("att");
Instance of Symbol 116 MovieClip "hit" in Symbol 128 MovieClip Frame 10
onClipEvent (load) {
this._visible = false;
}
Symbol 128 MovieClip Frame 14
gotoAndPlay (1);
Symbol 128 MovieClip Frame 15
hs.gotoAndPlay("show");
ene.gotoAndPlay("fly");
Symbol 128 MovieClip Frame 22
_root.sk.play();
Symbol 128 MovieClip Frame 26
if (0 < _parent.hp) {
this.gotoAndPlay("w_up");
}
Symbol 128 MovieClip Frame 27
_parent._alpha = 70;
ene.gotoAndPlay("die");
Symbol 128 MovieClip Frame 28
_parent._alpha = 30;
Symbol 128 MovieClip Frame 29
_parent._alpha = 70;
Symbol 128 MovieClip Frame 30
_parent._alpha = 30;
Symbol 128 MovieClip Frame 31
_parent._alpha = 70;
Symbol 128 MovieClip Frame 32
_parent._alpha = 30;
Symbol 128 MovieClip Frame 33
_parent._alpha = 70;
Symbol 128 MovieClip Frame 34
_parent._alpha = 30;
Symbol 128 MovieClip Frame 35
_parent._alpha = 70;
Symbol 128 MovieClip Frame 36
_parent._visible = false;
_parent.ACTION = false;
_parent._x = -200;
_parent._y = -200;
_root.enecnt = _root.enecnt - 1;
gotoAndPlay (1);
Symbol 128 MovieClip Frame 37
ene.gotoAndPlay("die");
Symbol 128 MovieClip Frame 39
ene.gotoAndPlay("fly");
Symbol 128 MovieClip Frame 41
ene.gotoAndPlay("die");
Symbol 128 MovieClip Frame 43
ene.gotoAndPlay("fly");
Symbol 128 MovieClip Frame 45
ene.gotoAndPlay("die");
Symbol 128 MovieClip Frame 47
ene.gotoAndPlay("fly");
Symbol 128 MovieClip Frame 49
_parent.ACTION = true;
gotoAndPlay (1);
Symbol 128 MovieClip Frame 50
hs.gotoAndPlay("show");
ene.gotoAndPlay("onhit");
Symbol 128 MovieClip Frame 55
_parent.ACTION = true;
gotoAndPlay (1);
Instance of Symbol 106 MovieClip "tact" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (_root.b1._x < _parent._x) {
if (5 >= cnt) {
cnt++;
_parent._x = _parent._x + (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
} else if (5 >= cnt) {
cnt++;
_parent._x = _parent._x - (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
}
}
Symbol 129 MovieClip Frame 3
stop();
Symbol 129 MovieClip Frame 6
stop();
Symbol 129 MovieClip Frame 7
movr = true;
char.gotoAndPlay("move");
Symbol 129 MovieClip Frame 9
stop();
Symbol 129 MovieClip Frame 10
movl = true;
char.gotoAndPlay("move");
Symbol 129 MovieClip Frame 12
stop();
Symbol 136 MovieClip Frame 4
gotoAndPlay (1);
Symbol 136 MovieClip Frame 23
gotoAndPlay (5);
Symbol 136 MovieClip Frame 27
gotoAndPlay (1);
Symbol 136 MovieClip Frame 31
stop();
Symbol 136 MovieClip Frame 35
stop();
Symbol 136 MovieClip Frame 39
stop();
Symbol 137 MovieClip Frame 1
ene.gotoAndPlay("stop");
Symbol 137 MovieClip Frame 3
stop();
Symbol 137 MovieClip Frame 4
ene.gotoAndPlay("walk");
Symbol 137 MovieClip Frame 9
stop();
Symbol 137 MovieClip Frame 10
if (hit.hitTest(_root.b1)) {
_root.b1.hp = _root.b1.hp - _root.attp0;
_root.b1.plyr1.gotoAndPlay("onhit");
_root.sfpunch.start();
}
ene.gotoAndPlay("att");
Instance of Symbol 116 MovieClip "hit" in Symbol 137 MovieClip Frame 10
onClipEvent (load) {
this._visible = false;
}
Symbol 137 MovieClip Frame 14
gotoAndPlay (1);
Symbol 137 MovieClip Frame 15
hs.gotoAndPlay("show");
ene.gotoAndPlay("fly");
Symbol 137 MovieClip Frame 22
_root.sk.play();
Symbol 137 MovieClip Frame 26
if (0 < _parent.hp) {
this.gotoAndPlay("w_up");
}
Symbol 137 MovieClip Frame 27
_parent._alpha = 70;
ene.gotoAndPlay("die");
Symbol 137 MovieClip Frame 28
_parent._alpha = 30;
Symbol 137 MovieClip Frame 29
_parent._alpha = 70;
Symbol 137 MovieClip Frame 30
_parent._alpha = 30;
Symbol 137 MovieClip Frame 31
_parent._alpha = 70;
Symbol 137 MovieClip Frame 32
_parent._alpha = 30;
Symbol 137 MovieClip Frame 33
_parent._alpha = 70;
Symbol 137 MovieClip Frame 34
_parent._alpha = 30;
Symbol 137 MovieClip Frame 35
_parent._alpha = 70;
Symbol 137 MovieClip Frame 36
_parent._visible = false;
_parent.ACTION = false;
_parent._x = -200;
_parent._y = -200;
_root.enecnt = _root.enecnt - 1;
gotoAndPlay (1);
Symbol 137 MovieClip Frame 37
ene.gotoAndPlay("die");
Symbol 137 MovieClip Frame 39
ene.gotoAndPlay("fly");
Symbol 137 MovieClip Frame 41
ene.gotoAndPlay("die");
Symbol 137 MovieClip Frame 43
ene.gotoAndPlay("fly");
Symbol 137 MovieClip Frame 45
ene.gotoAndPlay("die");
Symbol 137 MovieClip Frame 47
ene.gotoAndPlay("fly");
Symbol 137 MovieClip Frame 49
_parent.ACTION = true;
gotoAndPlay (1);
Symbol 137 MovieClip Frame 50
hs.gotoAndPlay("show");
ene.gotoAndPlay("onhit");
Symbol 137 MovieClip Frame 55
_parent.ACTION = true;
gotoAndPlay (1);
Instance of Symbol 106 MovieClip "tact" in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (_root.b1._x < _parent._x) {
if (5 >= cnt) {
cnt++;
_parent._x = _parent._x + (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
} else if (5 >= cnt) {
cnt++;
_parent._x = _parent._x - (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
}
}
Symbol 138 MovieClip Frame 3
stop();
Symbol 138 MovieClip Frame 6
stop();
Symbol 138 MovieClip Frame 7
movr = true;
char.gotoAndPlay("move");
Symbol 138 MovieClip Frame 9
stop();
Symbol 138 MovieClip Frame 10
movl = true;
char.gotoAndPlay("move");
Symbol 138 MovieClip Frame 12
stop();
Instance of Symbol 21 MovieClip "jump" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 6
stop();
Symbol 139 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 139 MovieClip Frame 9
stop();
Symbol 139 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 139 MovieClip Frame 12
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
sy = 10;
if (random(1)) {
_level0._y = _level0._y - (sy--);
} else {
_level0._y = _level0._y + (sy--);
}
Symbol 142 MovieClip Frame 3
_level0._y = _level0._y - (sy--);
Symbol 142 MovieClip Frame 4
_level0._y = _level0._y + (sy--);
Symbol 142 MovieClip Frame 5
_level0._y = _level0._y - (sy--);
Symbol 142 MovieClip Frame 6
_level0._y = _level0._y + (sy--);
Symbol 142 MovieClip Frame 7
_level0._y = _level0._y - (sy--);
Symbol 142 MovieClip Frame 8
_level0._y = _level0._y + (sy--);
Symbol 142 MovieClip Frame 9
_level0._y = _level0._y - (sy--);
Symbol 142 MovieClip Frame 10
_level0._y = 0;
Instance of Symbol 145 MovieClip "spbar" in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
clr = new Color(this);
this._xscale = _root.SP;
}
onClipEvent (enterFrame) {
if (_root.SP < 100) {
_parent.status = "";
_root.SP = _root.SP + _root.SP_SPEED;
this._xscale = _root.SP;
} else {
_parent.status = "BLAST!!";
}
if ((_root.SP >= 80) and (_root.SP < 100)) {
clr.setRGB(13382400);
} else if ((_root.SP >= 60) and (_root.SP < 80)) {
clr.setRGB(16737792);
} else if ((_root.SP >= 35) and (_root.SP < 60)) {
clr.setRGB(16750848);
} else if ((_root.SP >= 10) and (_root.SP < 35)) {
clr.setRGB(16776960);
} else if ((_root.SP >= 0) and (_root.SP < 10)) {
clr.setRGB(16777215);
} else {
clr.setRGB(16711680);
}
}
Instance of Symbol 152 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
now_num = 100;
}
onClipEvent (enterFrame) {
if (now_num < _root.b1.hp) {
now_num = now_num + 0.5;
setProperty(this, _xscale , now_num);
} else if (_root.b1.hp < now_num) {
now_num = now_num - 0.5;
setProperty(this, _xscale , now_num);
}
}
Instance of Symbol 153 MovieClip "bs" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = int((_root.b1.hp / 100) * 100);
if ((_root.b1.hp >= 90) and (100 >= _root.b1.hp)) {
clr.setRGB(255);
} else if ((_root.b1.hp >= 80) and (_root.b1.hp < 90)) {
clr.setRGB(3342591);
} else if ((_root.b1.hp >= 70) and (_root.b1.hp < 80)) {
clr.setRGB(6684927);
} else if ((_root.b1.hp >= 60) and (_root.b1.hp < 70)) {
clr.setRGB(10027263);
} else if ((_root.b1.hp >= 50) and (_root.b1.hp < 60)) {
clr.setRGB(10027161);
} else if ((_root.b1.hp >= 40) and (_root.b1.hp < 50)) {
clr.setRGB(16711833);
} else if ((_root.b1.hp >= 30) and (_root.b1.hp < 40)) {
clr.setRGB(16711782);
} else if ((_root.b1.hp >= 20) and (_root.b1.hp < 30)) {
clr.setRGB(16711731);
} else if ((_root.b1.hp >= 10) and (_root.b1.hp < 20)) {
clr.setRGB(16711680);
} else if ((_root.b1.hp >= 0) and (_root.b1.hp < 10)) {
clr.setRGB(16711680);
}
}
onClipEvent (load) {
clr = new Color(this);
}
Symbol 166 MovieClip Frame 10
gotoAndPlay (1);
Symbol 166 MovieClip Frame 20
gotoAndPlay (11);
Instance of Symbol 21 MovieClip "jump" in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 172 MovieClip Frame 3
stop();
Symbol 172 MovieClip Frame 6
stop();
Symbol 172 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 172 MovieClip Frame 9
stop();
Symbol 172 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 172 MovieClip Frame 12
stop();
Instance of Symbol 21 MovieClip "jump" in Symbol 175 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 175 MovieClip Frame 3
stop();
Symbol 175 MovieClip Frame 6
stop();
Symbol 175 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 175 MovieClip Frame 9
stop();
Symbol 175 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 175 MovieClip Frame 12
stop();
Symbol 176 MovieClip Frame 10
gotoAndPlay (1);
Symbol 176 MovieClip Frame 20
gotoAndPlay (11);
Symbol 193 MovieClip Frame 10
gotoAndPlay (1);
Symbol 193 MovieClip Frame 20
gotoAndPlay (11);
Symbol 195 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 3
if (_root.b1.DIR == "RIGHT") {
_xscale = -100;
_x = 550;
} else if (_root.b1.DIR == "LEFT") {
_xscale = 100;
_x = 0;
}
Symbol 195 MovieClip Frame 20
_root.PAUSE = false;
_root.b1.plyr1.gotoAndPlay("spATT");
Instance of Symbol 21 MovieClip "jump" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 196 MovieClip Frame 3
stop();
Symbol 196 MovieClip Frame 6
stop();
Symbol 196 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 196 MovieClip Frame 9
stop();
Symbol 196 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 196 MovieClip Frame 12
stop();
Instance of Symbol 21 MovieClip "jump" in Symbol 197 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 197 MovieClip Frame 3
stop();
Symbol 197 MovieClip Frame 6
stop();
Symbol 197 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 197 MovieClip Frame 9
stop();
Symbol 197 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 197 MovieClip Frame 12
stop();
Instance of Symbol 21 MovieClip "jump" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
maxcnt = 16;
high = 15;
far = 12;
DIR = "NO";
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (DIR == "RIGHT") {
if (cnt < maxcnt) {
if (_parent._x < _root.MAX_X) {
_parent._x = _parent._x + far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (DIR == "LEFT") {
if (cnt < maxcnt) {
if (_root.MIN_X < _parent._x) {
_parent._x = _parent._x - far;
}
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
} else if (cnt < maxcnt) {
if (((maxcnt / 2) - 1) < cnt) {
_parent._y = _parent._y + high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp1");
}
} else {
_parent._y = _parent._y - high;
if (_parent.ATT != true) {
_parent.plyr1.gotoAndPlay("jmp2");
}
}
cnt++;
} else {
_parent.plyr1.gotoAndPlay("stop");
cnt = 0;
ACTION = false;
_parent.JMP = false;
}
}
}
Symbol 198 MovieClip Frame 3
stop();
Symbol 198 MovieClip Frame 6
stop();
Symbol 198 MovieClip Frame 7
plyr1.gotoAndPlay("move");
Symbol 198 MovieClip Frame 9
stop();
Symbol 198 MovieClip Frame 10
plyr1.gotoAndPlay("move");
Symbol 198 MovieClip Frame 12
stop();
Instance of Symbol 106 MovieClip "tact" in Symbol 199 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (_root.b1._x < _parent._x) {
if (5 >= cnt) {
cnt++;
_parent._x = _parent._x + (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
} else if (5 >= cnt) {
cnt++;
_parent._x = _parent._x - (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
}
}
Symbol 199 MovieClip Frame 3
stop();
Symbol 199 MovieClip Frame 6
stop();
Symbol 199 MovieClip Frame 7
movr = true;
char.gotoAndPlay("move");
Symbol 199 MovieClip Frame 9
stop();
Symbol 199 MovieClip Frame 10
movl = true;
char.gotoAndPlay("move");
Symbol 199 MovieClip Frame 12
stop();
Instance of Symbol 106 MovieClip "tact" in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (_root.b1._x < _parent._x) {
if (5 >= cnt) {
cnt++;
_parent._x = _parent._x + (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
} else if (5 >= cnt) {
cnt++;
_parent._x = _parent._x - (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
}
}
Symbol 200 MovieClip Frame 3
stop();
Symbol 200 MovieClip Frame 6
stop();
Symbol 200 MovieClip Frame 7
movr = true;
char.gotoAndPlay("move");
Symbol 200 MovieClip Frame 9
stop();
Symbol 200 MovieClip Frame 10
movl = true;
char.gotoAndPlay("move");
Symbol 200 MovieClip Frame 12
stop();
Instance of Symbol 106 MovieClip "tact" in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
ACTION = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (ACTION == true) {
if (_root.b1._x < _parent._x) {
if (5 >= cnt) {
cnt++;
_parent._x = _parent._x + (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
} else if (5 >= cnt) {
cnt++;
_parent._x = _parent._x - (cnt * 5);
} else {
cnt = 0;
ACTION = false;
}
}
}
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 6
stop();
Symbol 201 MovieClip Frame 7
movr = true;
char.gotoAndPlay("move");
Symbol 201 MovieClip Frame 9
stop();
Symbol 201 MovieClip Frame 10
movl = true;
char.gotoAndPlay("move");
Symbol 201 MovieClip Frame 12
stop();
Symbol 202 Button
on (release) {
gotoAndPlay (4);
}