Frame 1
x = _root.getBytesLoaded();
y = _root.getBytesTotal();
FrameLoad = int((x / y) * 100);
percentage = FrameLoad add "%";
trace(percentage);
Bar._xscale = FrameLoad;
Frame 2
if (Number(FrameLoad) == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 307
gotoAndPlay (471);
Frame 471
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
function fJumpControl2() {
if (MOVE_UP2 == "up") {
if (Direction2 == "left") {
enemy._x = enemy._x - speed[1];
} else if (Direction2 == "right") {
enemy._x = enemy._x + speed[1];
}
if (Direction2 != "none") {
if (((enemyminx <= 0) && (bg._x < 0)) && (mainmaxx < 400)) {
bg._x = bg._x + speed[1];
main._x = main._x + speed[1];
} else if (((enemymaxx >= 400) && (bg._x > -400)) && (mainminx > 0)) {
bg._x = bg._x - speed[1];
main._x = main._x - speed[1];
}
}
jumpspeed2 = (enemy._y - 70) / 8;
enemy._y = enemy._y - jumpspeed2;
} else if (MOVE_UP2 == "down") {
if (Direction2 == "left") {
enemy._x = enemy._x - speed[1];
} else if (Direction2 == "right") {
enemy._x = enemy._x + speed[1];
}
if (Direction2 != "none") {
if (((enemyminx <= 0) && (bg._x < 0)) && (mainmaxx < 400)) {
bg._x = bg._x + speed[1];
main._x = main._x + speed[1];
} else if (((enemymaxx >= 400) && (bg._x > -400)) && (mainminx > 0)) {
bg._x = bg._x - speed[1];
main._x = main._x - speed[1];
}
}
jumpspeed2 = (enemy._y - 60) / 8;
enemy._y = enemy._y + jumpspeed2;
}
if (enemy._y < ymin) {
MOVE_UP2 = "down";
}
if (enemy._y > ymax) {
MOVE_UP2 = "none";
enemy._y = ymax;
hitdelay2 = false;
}
}
function fAttackControl2() {
if (Key.isDown(key2arm1)) {
hitdelay2 = true;
enemy.gotoAndPlay("arm1");
}
if (Key.isDown(key2leg1)) {
hitdelay2 = true;
if (MOVE_UP2 != "none") {
enemy.gotoAndPlay("leg1sky");
} else {
enemy.gotoAndPlay("leg1");
}
}
}
function fMoveControl2() {
if (((!Key.isDown(key2left)) && (!Key.isDown(key2right))) && (!Key.isDown(key2down))) {
enemy.gotoAndPlay("stand");
}
if (Key.isDown(key2left) && (Key.isDown(key2right))) {
enemy.gotoAndPlay("stand");
}
if (Key.isDown(key2left) && (!Key.isDown(key2down))) {
if (mainside == "left") {
if (((enemyminx - 2) < mainmaxx) && (enemyminy < mainmaxy)) {
if ((bg._x < 0) && (mainminx <= 0)) {
bg._x = bg._x + speed[0];
} else if ((bg._x >= 0) && (mainminx <= 0)) {
} else {
main._x = main._x - speed[0];
enemy._x = enemy._x - speed[0];
}
} else {
enemy._x = enemy._x - speed[1];
}
} else {
enemy._x = enemy._x - speed[1];
}
Direction2 = "left";
if (mainside == "right") {
enemy.gotoAndStop("leftstand");
} else {
enemy.gotoAndStop("rightstand");
}
if (((enemyminx <= 0) && (bg._x < 0)) && (mainmaxx < 400)) {
bg._x = bg._x + speed[1];
main._x = main._x + speed[1];
}
}
if (Key.isDown(key2right) && (!Key.isDown(key2down))) {
if (mainside == "right") {
if (((enemymaxx + 2) > mainminx) && (enemyminy < mainmaxy)) {
if ((bg._x > -400) && (mainmaxx >= 400)) {
bg._x = bg._x - speed[0];
} else if ((bg._x <= -400) && (mainmaxx >= 400)) {
} else {
main._x = main._x + speed[0];
enemy._x = enemy._x + speed[0];
}
} else {
enemy._x = enemy._x + speed[1];
}
} else {
enemy._x = enemy._x + speed[1];
}
Direction2 = "right";
if (mainside == "right") {
enemy.gotoAndStop("rightstand");
} else {
enemy.gotoAndStop("leftstand");
}
if (((enemymaxx >= 400) && (bg._x > -400)) && (mainminx > 0)) {
bg._x = bg._x - speed[1];
main._x = main._x - speed[1];
}
}
if ((Key.isDown(key2up) && (!Key.isDown(key2right))) && (!Key.isDown(key2left))) {
MOVE_UP2 = "up";
Direction2 = "none";
enemy.gotoAndStop("rightjump");
}
if ((Key.isDown(key2up) && (Key.isDown(key2right))) && (Key.isDown(key2left))) {
MOVE_UP2 = "up";
Direction2 = "none";
enemy.gotoAndStop("rightjump");
}
if ((Key.isDown(key2up) && (!Key.isDown(key2right))) && (Key.isDown(key2left))) {
MOVE_UP2 = "up";
Direction2 = "left";
if (mainside == "right") {
enemy.gotoAndStop("leftjump");
} else {
enemy.gotoAndStop("rightjump");
}
}
if ((Key.isDown(key2up) && (Key.isDown(key2right))) && (!Key.isDown(key2left))) {
MOVE_UP2 = "up";
Direction2 = "right";
if (mainside == "right") {
enemy.gotoAndStop("rightjump");
} else {
enemy.gotoAndStop("leftjump");
}
}
if ((Key.isDown(key2down) && (!Key.isDown(key2left))) && (!Key.isDown(key2right))) {
}
if (Key.isDown(key2down) && (Key.isDown(key2left))) {
enemy._x = enemy._x - speed[0];
Direction2 = "left";
enemy.gotoAndStop("leftstand");
}
if (Key.isDown(key2down) && (Key.isDown(key2right))) {
enemy._x = enemy._x + speed[0];
Direction2 = "right";
enemy.gotoAndStop("rightstand");
}
}
function fSpecialControl2(act, num) {
i = 0;
while (i < act.length) {
if (act[i] == Key.getCode()) {
if (specialflag2[num] == 0) {
if (i == 0) {
specialflag2[num]++;
specialtime2[num] = getTimer();
return;
}
} else if (specialflag2[num] == i) {
if (((getTimer() - specialtime2[num]) < mainspacingtime) && ((getTimer() - specialtime2[num]) > 0)) {
if (specialflag2[num] == (act.length - 1)) {
if ((specialplay2 == false) && (MOVE_UP2 == "none")) {
specialflag2[num] = 0;
specialplay2 = true;
hitdelay2 = true;
enemy.gotoAndPlay("special" + num);
return;
}
specialflag2[num] = 0;
return;
}
specialflag2[num]++;
specialtime2[num] = getTimer();
return;
}
specialflag2[num] = 0;
return;
}
}
i++;
}
}
function fJumpControl() {
if (MOVE_UP == "up") {
if (Direction == "left") {
main._x = main._x - speed[1];
} else if (Direction == "right") {
main._x = main._x + speed[1];
}
if (Direction != "none") {
if (((mainminx <= 0) && (bg._x < 0)) && (enemymaxx < 400)) {
bg._x = bg._x + speed[1];
enemy._x = enemy._x + speed[1];
} else if (((mainmaxx >= 400) && (bg._x > -400)) && (enemyminx > 0)) {
bg._x = bg._x - speed[1];
enemy._x = enemy._x - speed[1];
}
}
jumpspeed = (main._y - 70) / 8;
main._y = main._y - jumpspeed;
} else if (MOVE_UP == "down") {
if (Direction == "left") {
main._x = main._x - speed[1];
} else if (Direction == "right") {
main._x = main._x + speed[1];
}
if (Direction != "none") {
if (((mainminx <= 0) && (bg._x < 0)) && (enemymaxx < 400)) {
bg._x = bg._x + speed[1];
enemy._x = enemy._x + speed[1];
} else if (((mainmaxx >= 400) && (bg._x > -400)) && (enemyminx > 0)) {
bg._x = bg._x - speed[1];
enemy._x = enemy._x - speed[1];
}
}
jumpspeed = (main._y - 60) / 8;
main._y = main._y + jumpspeed;
}
if (main._y < ymin) {
MOVE_UP = "down";
}
if (main._y > ymax) {
MOVE_UP = "none";
main._y = ymax;
hitdelay = false;
}
}
function fAttackControl() {
if (Key.isDown(keyarm1)) {
hitdelay = true;
main.gotoAndPlay("arm1");
}
if (Key.isDown(keyleg1)) {
hitdelay = true;
if (MOVE_UP != "none") {
main.gotoAndPlay("leg1sky");
} else {
main.gotoAndPlay("leg1");
}
}
}
function fMoveControl() {
if (((!Key.isDown(keyleft)) && (!Key.isDown(keyright))) && (!Key.isDown(keydown))) {
main.gotoAndPlay("stand");
}
if (Key.isDown(keyleft) && (Key.isDown(keyright))) {
main.gotoAndPlay("stand");
}
if (Key.isDown(keyleft) && (!Key.isDown(keydown))) {
if (mainside == "right") {
if (((mainminx - 2) < enemymaxx) && (mainminy < enemymaxy)) {
if ((bg._x < 0) && (enemyminx <= 0)) {
bg._x = bg._x + speed[0];
} else if ((bg._x >= 0) && (enemyminx <= 0)) {
} else {
enemy._x = enemy._x - speed[0];
main._x = main._x - speed[0];
}
} else {
main._x = main._x - speed[1];
}
} else {
main._x = main._x - speed[1];
}
Direction = "left";
if (mainside == "left") {
main.gotoAndStop("leftstand");
} else {
main.gotoAndStop("rightstand");
}
if (((mainminx <= 0) && (bg._x < 0)) && (enemymaxx < 400)) {
bg._x = bg._x + speed[1];
enemy._x = enemy._x + speed[1];
}
}
if (Key.isDown(keyright) && (!Key.isDown(keydown))) {
if (mainside == "left") {
if (((mainmaxx + 2) > enemyminx) && (mainminy < enemymaxy)) {
if ((bg._x > -400) && (enemymaxx >= 400)) {
bg._x = bg._x - speed[0];
} else if ((bg._x <= -400) && (enemymaxx >= 400)) {
} else {
enemy._x = enemy._x + speed[0];
main._x = main._x + speed[0];
}
} else {
main._x = main._x + speed[1];
}
} else {
main._x = main._x + speed[1];
}
Direction = "right";
if (mainside == "left") {
main.gotoAndStop("rightstand");
} else {
main.gotoAndStop("leftstand");
}
if (((mainmaxx >= 400) && (bg._x > -400)) && (enemyminx > 0)) {
bg._x = bg._x - speed[1];
enemy._x = enemy._x - speed[1];
}
}
if ((Key.isDown(keyup) && (!Key.isDown(keyright))) && (!Key.isDown(keyleft))) {
MOVE_UP = "up";
Direction = "none";
main.gotoAndStop("rightjump");
}
if ((Key.isDown(keyup) && (Key.isDown(keyright))) && (Key.isDown(keyleft))) {
MOVE_UP = "up";
Direction = "none";
main.gotoAndStop("rightjump");
}
if ((Key.isDown(keyup) && (!Key.isDown(keyright))) && (Key.isDown(keyleft))) {
MOVE_UP = "up";
Direction = "left";
if (mainside == "left") {
main.gotoAndStop("leftjump");
} else {
main.gotoAndStop("rightjump");
}
}
if ((Key.isDown(keyup) && (Key.isDown(keyright))) && (!Key.isDown(keyleft))) {
MOVE_UP = "up";
Direction = "right";
if (mainside == "left") {
main.gotoAndStop("rightjump");
} else {
main.gotoAndStop("leftjump");
}
}
if ((Key.isDown(keydown) && (!Key.isDown(keyleft))) && (!Key.isDown(keyright))) {
}
if (Key.isDown(keydown) && (Key.isDown(keyleft))) {
main._x = main._x - speed[0];
Direction = "left";
main.gotoAndStop("leftstand");
}
if (Key.isDown(keydown) && (Key.isDown(keyright))) {
main._x = main._x + speed[0];
Direction = "right";
main.gotoAndStop("rightstand");
}
}
function fSpecialControl(act, num) {
i = 0;
while (i < act.length) {
if (act[i] == Key.getCode()) {
if (specialflag[num] == 0) {
if (i == 0) {
specialflag[num]++;
specialtime[num] = getTimer();
return;
}
} else if (specialflag[num] == i) {
if (((getTimer() - specialtime[num]) < mainspacingtime) && ((getTimer() - specialtime[num]) > 0)) {
if (specialflag[num] == (act.length - 1)) {
if ((specialplay == false) && (MOVE_UP == "none")) {
specialflag[num] = 0;
specialplay = true;
hitdelay = true;
main.gotoAndPlay("special" + num);
return;
}
specialflag[num] = 0;
return;
}
specialflag[num]++;
specialtime[num] = getTimer();
return;
}
specialflag[num] = 0;
return;
}
}
i++;
}
}
function fSetSide() {
mainwidth = 53;
mainheight = 88;
enemywidth = 53;
enemyheight = 88;
if (mainside == "left") {
keyback = keyleft;
keyfront = keyright;
key2back = key2right;
key2front = key2left;
mainminx = main._x;
mainmaxx = main._x + mainwidth;
mainminy = main._y;
mainmaxy = main._y + mainheight;
maincenterx = (mainmaxx + mainminx) / 2;
maincentery = (mainmaxy + mainminy) / 2;
enemyminx = enemy._x - enemywidth;
enemymaxx = enemy._x;
enemyminy = enemy._y;
enemymaxy = enemy._y + enemyheight;
enemycenterx = (enemymaxx + enemyminx) / 2;
enemycentery = (enemymaxy + enemyminy) / 2;
} else {
keyback = keyright;
keyfront = keyleft;
key2back = key2left;
key2front = key2right;
mainminx = main._x - mainwidth;
mainmaxx = main._x;
mainminy = main._y;
mainmaxy = main._y + mainheight;
maincenterx = (mainmaxx + mainminx) / 2;
maincentery = (mainmaxy + mainminy) / 2;
enemyminx = enemy._x;
enemymaxx = enemy._x + enemywidth;
enemyminy = enemy._y;
enemymaxy = enemy._y + enemyheight;
enemycenterx = (enemymaxx + enemyminx) / 2;
enemycentery = (enemymaxy + enemyminy) / 2;
}
}
function fGuardSet() {
if (((MC_MOVE_ENABLE == true) && (MOVE_UP == "none")) && (hitdelay == false)) {
if (Key.isDown(keyback)) {
guard = true;
} else {
guard = false;
}
}
if (((MC_MOVE_ENABLE == true) && (MOVE_UP2 == "none")) && (hitdelay2 == false)) {
if (Key.isDown(key2back)) {
guard2 = true;
} else {
guard2 = false;
}
}
}
function fCheckResult() {
if (((currentlife2 <= 0) && (hitdelay == false)) && (MOVE_UP == "none")) {
gotoAndStop (480);
} else if (((currentlife1 <= 0) && (hitdelay2 == false)) && (MOVE_UP2 == "none")) {
gotoAndStop (511);
}
if (time == 0) {
gotoAndStop (500);
}
}
function fSetTime() {
if (before == 0) {
before = getTimer();
}
if ((getTimer() - before) >= 1000) {
time--;
before = getTimer();
}
if (time < 11) {
new Color(timeview).setRGB(16711680);
} else {
new Color(timeview).setRGB(16251903);
}
}
function fBorderControl() {
if (mainminx <= 0) {
main._x = 0;
} else if (mainmaxx >= 400) {
main._x = 400;
}
if (enemyminx <= 0) {
enemy._x = 0;
} else if (enemymaxx >= 400) {
enemy._x = 400;
}
if (((mainmaxx >= 390) && (enemymaxx >= 400)) && (bg._x <= -400)) {
main._x = main._x - 3;
} else if (((mainminx <= 10) && (enemyminx >= 0)) && (bg._x >= 0)) {
main._x = main._x + 3;
}
if (((enemymaxx >= 390) && (mainmaxx >= 400)) && (bg._x <= -400)) {
enemy._x = enemy._x - 3;
} else if (((enemyminx <= 10) && (mainminx >= 0)) && (bg._x >= 0)) {
enemy._x = enemy._x + 3;
}
if (main._x <= enemy._x) {
if (mainside == "right") {
if (hitdelay == false) {
main._xscale = 100;
main._x = main._x - mainwidth;
}
if (hitdelay2 == false) {
enemy._xscale = -100;
enemy._x = enemy._x + enemywidth;
}
mainside = "left";
}
} else if (mainside == "left") {
if (hitdelay == false) {
main._xscale = -100;
main._x = main._x + mainwidth;
}
if (hitdelay2 == false) {
enemy._xscale = 100;
enemy._x = enemy._x - enemywidth;
}
mainside = "right";
}
if (mainside == "right") {
if ((MOVE_UP == "none") && (main._xscale == 100)) {
main._xscale = -100;
main._x = main._x + mainwidth;
}
if ((MOVE_UP2 == "none") && (enemy._xscale == -100)) {
enemy._xscale = 100;
enemy._x = enemy._x - enemywidth;
}
} else {
if ((MOVE_UP == "none") && (main._xscale == -100)) {
main._xscale = 100;
main._x = main._x - mainwidth;
}
if ((MOVE_UP2 == "none") && (enemy._xscale == 100)) {
enemy._xscale = -100;
enemy._x = enemy._x + enemywidth;
}
}
}
function fShapeControl() {
if ((mainminy < enemymaxy) && (mainmaxy > enemyminy)) {
if ((maincenterx <= enemycenterx) && (mainmaxx > enemyminx)) {
if (enemyminx <= 0) {
if (((MOVE_UP != "none") || (hitdelay == true)) || (hitdelay2 == true)) {
main._x = main._x + 6;
}
} else {
if (((MOVE_UP != "none") || (hitdelay == true)) || (hitdelay2 == true)) {
main._x = main._x - 6;
}
if (((MOVE_UP2 != "none") || (hitdelay == true)) || (hitdelay2 == true)) {
enemy._x = enemy._x + 6;
}
}
} else if ((maincenterx > enemycenterx) && (mainminx < enemymaxx)) {
if (enemymaxx >= 400) {
if (((MOVE_UP != "none") || (hitdelay == true)) || (hitdelay2 == true)) {
main._x = main._x - 6;
}
} else {
if (((MOVE_UP != "none") || (hitdelay == true)) || (hitdelay2 == true)) {
main._x = main._x + 6;
}
if (((MOVE_UP2 != "none") || (hitdelay == true)) || (hitdelay2 == true)) {
enemy._x = enemy._x - 6;
}
}
}
}
}
function fLifeControl() {
if (currentlife2 < 0) {
currentlife2 = 0;
}
if (currentlife1 < 0) {
currentlife1 = 0;
}
life1._width = (life1width * currentlife1) / alllife1;
life1._x = (life1x + (life1width / 2)) - (life1._width / 2);
life2._width = (life2width * currentlife2) / alllife2;
life2._x = (life2x - (life2width / 2)) + (life2._width / 2);
}
function fPauseControl() {
if (Key.isDown(32)) {
MC_MOVE_ENABLE = !MC_MOVE_ENABLE;
}
}
stop();
var hitflag = new Array(0, 0, 0, 0, 0);
var hitflag2 = new Array(0, 0, 0, 0, 0);
var specialflag = new Array(0, 0, 0, 0, 0, 0);
var specialtime = new Array(0, 0, 0, 0, 0, 0);
var specialflag2 = new Array(0, 0, 0, 0, 0, 0);
var specialtime2 = new Array(0, 0, 0, 0, 0, 0);
var guard = false;
var guard2 = false;
damageview._visible = false;
blood._visible = false;
guardview._visible = false;
hitnumview._visible = false;
bg._visible = true;
winnermsg._visible = false;
main._visible = true;
enemy._visible = true;
replay._visible = false;
win._visible = false;
loose._visible = false;
darkbg._visible = false;
var keyleft = 65;
var keyright = 68;
var keyup = 87;
var keydown = 83;
var keyarm1 = 72;
var keyarm2 = 74;
var keyleg1 = 89;
var keyleg2 = 85;
var key2left = 37;
var key2right = 39;
var key2up = 38;
var key2down = 40;
var key2arm1 = Key.home;
var key2arm2 = 46;
var key2leg1 = 35;
var key2leg2 = 34;
var speed = new Array(1, 3, 4, 8);
var jumpspeed = 1;
var jumpspeed2 = 1;
var ymin = 80;
var ymax = 200;
main._y = ymax;
main._x = 100;
enemy._y = ymax;
enemy._x = 300;
var hitnum = 0;
var totledamage = 0;
var alllife1 = 500;
var alllife2 = 500;
var currentlife1 = alllife1;
var currentlife2 = alllife2;
var time = 99;
var before = 0;
var life1width = life1shape._width;
var life2width = life2shape._width;
var life1x = life1shape._x;
var life2x = life2shape._x;
var mainspacingtime = 200;
var specialplay = false;
var specialplay2 = false;
life1reduce._visible = false;
life2reduce._visible = false;
var MC_MOVE_ENABLE = true;
var MOVE_UP = "none";
var MOVE_UP2 = "none";
var Direction = "right";
var Direction2 = "left";
var hitdelay = false;
var hitdelay2 = false;
var mainside = "left";
var checkflag = true;
main._xscale = 100;
enemy._xscale = -100;
_root.onEnterFrame = function () {
if ((hitnum == 0) && (totledamage != 0)) {
damageview._visible = true;
damageview.damnum = totledamage;
damageview.play();
}
fSetSide();
shadow1._x = maincenterx;
shadow1._y = 295;
shadow2._x = enemycenterx;
shadow2._y = 295;
fGuardSet();
if (checkflag == true) {
fCheckResult();
}
if ((MC_MOVE_ENABLE == true) && (time != 0)) {
fSetTime();
}
fBorderControl();
fShapeControl();
fLifeControl();
fPauseControl();
if (MC_MOVE_ENABLE == true) {
fJumpControl();
fJumpControl2();
}
if (MC_MOVE_ENABLE == true) {
actmain1 = new Array(keyfront, keydown, keyfront, keyarm1);
actmain2 = new Array(keydown, keyback, keyleg1);
actmain3 = new Array(keyfront, keyback, keyfront, keyarm1);
fSpecialControl(actmain1, 1);
fSpecialControl(actmain2, 2);
fSpecialControl(actmain3, 3);
actmain1 = new Array(key2front, key2down, key2front, key2arm1);
actmain2 = new Array(key2down, key2front, key2leg1);
actmain3 = new Array(key2front, key2back, key2front, key2leg1);
fSpecialControl2(actmain1, 1);
fSpecialControl2(actmain2, 2);
fSpecialControl2(actmain3, 3);
}
if ((MC_MOVE_ENABLE == true) && (hitdelay == false)) {
fAttackControl();
}
if ((MC_MOVE_ENABLE == true) && (hitdelay2 == false)) {
fAttackControl2();
}
if (((MC_MOVE_ENABLE == true) && (MOVE_UP == "none")) && (hitdelay == false)) {
fMoveControl();
}
if (((MC_MOVE_ENABLE == true) && (MOVE_UP2 == "none")) && (hitdelay2 == false)) {
fMoveControl2();
}
};
Instance of Symbol 549 MovieClip in Frame 471
/* no clip actions */
Frame 480
stop();
MC_MOVE_ENABLE = false;
checkflag = false;
Frame 481
stop();
Frame 500
stop();
MC_MOVE_ENABLE = false;
checkflag = false;
Frame 507
stop();
checkflag = false;
if (currentlife1 < currentlife2) {
win._visible = true;
loose._visible = true;
winnermsg.winmsg = "2P WIN!";
win._x = enemycenterx;
win._y = enemy._y;
loose._x = maincenterx;
loose._y = main._y;
winnermsg._x = enemycenterx;
winnermsg._y = enemy._y - 50;
} else if (currentlife1 > currentlife2) {
win._visible = true;
loose._visible = true;
winnermsg.winmsg = "1P WIN!";
win._x = maincenterx;
win._y = main._y;
loose._x = enemycenterx;
loose._y = enemy._y;
winnermsg._x = maincenterx;
winnermsg._y = main._y - 50;
} else {
win._visible = false;
winnermsg.winmsg = "Draw Game!";
winnermsg._x = 200;
winnermsg._y = 200;
}
winnermsg._visible = true;
main._visible = false;
enemy._visible = false;
replay._visible = true;
MC_MOVE_ENABLE = false;
Frame 511
stop();
MC_MOVE_ENABLE = false;
checkflag = false;
Frame 1160
stop();
Symbol 18 Button
on (release) {
getURL ("http://www.gtman.net", "_blank");
}
Symbol 34 Button
on (release) {
getURL ("http://www.gtman.net");
}
Symbol 37 MovieClip Frame 9
stop();
Symbol 38 Button
on (release) {
stopAllSounds();
}
on (release) {
gotoAndPlay (4);
}
Symbol 41 MovieClip Frame 9
stop();
Symbol 45 MovieClip Frame 14
stop();
Symbol 58 Button
on (release) {
getURL ("http://www.gdflash.com/bbs", "_blank");
}
Symbol 150 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 150 MovieClip Frame 4
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 150 MovieClip Frame 7
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 150 MovieClip Frame 10
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 150 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 150 MovieClip Frame 16
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 165 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 165 MovieClip Frame 4
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 165 MovieClip Frame 7
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 165 MovieClip Frame 10
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 165 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 165 MovieClip Frame 16
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 176 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 176 MovieClip Frame 4
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 176 MovieClip Frame 7
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 176 MovieClip Frame 10
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 176 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 176 MovieClip Frame 16
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 3
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 11
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 15
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 17
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 19
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 192 MovieClip Frame 21
stop();
Symbol 292 MovieClip Frame 1
function hitcheck(flag, move1x, move1y, move2x, move2y, damage, hitdownflag, guarddam) {
if (this == _level0.main) {
target = _root.enemy;
targetwidth = _root.enemywidth;
targetheight = _root.enemyheight;
} else {
target = _root.main;
targetwidth = _root.mainwidth;
targetheight = _root.mainheight;
}
if (this._xscale == 100) {
xatt = (target._x - (targetwidth / 2)) - random(targetwidth / 2);
yatt = target._y + (targetheight / 2);
} else {
xatt = (target._x + (targetwidth / 2)) + random(targetwidth / 2);
yatt = target._y + (targetheight / 2);
move1x = -move1x;
move2x = -move2x;
}
if (hit.hitTest(target.damarea)) {
trace(i);
i++;
this._x = this._x + move1x;
this._y = this._y + move1y;
target._x = target._x + move2x;
target._y = target._y + move2y;
if (this == _level0.main) {
special2play = false;
_root.hitdelay2 = true;
if (_root.guard2 == true) {
_root.guardview._x = xatt;
_root.guardview._y = yatt;
_root.guardview._visible = true;
_root.guardview.play();
target.gotoAndPlay("guard");
damage = guarddam;
} else {
_root.hitflag[flag] = 1;
_root.hitnum++;
_root.blood._x = xatt;
_root.blood._y = yatt;
_root.blood._visible = true;
_root.blood.play();
if (hitdownflag == true) {
target.gotoAndPlay("hitdown");
} else {
target.gotoAndPlay("damage");
}
}
if (this._xscale == 100) {
_root.Direction2 = "right";
} else {
_root.Direction2 = "left";
}
justlife = _root.currentlife2;
_root.currentlife2 = _root.currentlife2 - damage;
if (_root.currentlife2 <= 0) {
_root.life2reduce._width = (_root.life2width * justlife) / _root.alllife2;
_root.life2reduce._x = _root.life2x - (_root.life2width / 2);
} else {
_root.life2reduce._width = (_root.life2width * damage) / _root.alllife2;
_root.life2reduce._x = (_root.life2x - (_root.life2width / 2)) + ((_root.life2width * (justlife - damage)) / _root.alllife2);
}
_root.life2reduce._y = _root.life2._y;
_root.life2reduce._visible = true;
_root.life2reduce.play();
} else {
special2playenemy = false;
_root.hitdelay = true;
if (_root.guard == true) {
_root.guardview._x = xatt;
_root.guardview._y = yatt;
_root.guardview._visible = true;
_root.guardview.play();
target.gotoAndPlay("guard");
damage = guarddam;
} else {
_root.hitflag2[flag] = 1;
_root.hitnum++;
_root.blood._x = xatt;
_root.blood._y = yatt;
_root.blood._visible = true;
_root.blood.play();
if (hitdownflag == true) {
target.gotoAndPlay("hitdown");
} else {
target.gotoAndPlay("damage");
}
}
if (this._xscale == 100) {
_root.Direction = "right";
} else {
_root.Direction = "left";
}
justlife = _root.currentlife1;
_root.currentlife1 = _root.currentlife1 - damage;
if (_root.currentlife1 <= 0) {
_root.life1reduce._width = (_root.life1width * justlife) / _root.alllife1;
_root.life1reduce._x = _root.life1x + (_root.life1width / 2);
} else {
_root.life1reduce._width = (_root.life1width * damage) / _root.alllife1;
_root.life1reduce._x = (_root.life1x + (_root.life1width / 2)) - ((_root.life1width * (justlife - damage)) / _root.alllife1);
}
_root.life1reduce._y = _root.life1._y;
_root.life1reduce._visible = true;
_root.life1reduce.play();
}
if (_root.hitnum > 1) {
_root.hitnumview._visible = true;
_root.hitnumview.hit = _root.hitnum;
_root.hitnumview.play();
}
if (_root.hitnum > 1) {
_root.totledamage = _root.totledamage + damage;
} else {
_root.totledamage = damage;
}
}
}
stop();
Symbol 292 MovieClip Frame 7
stop();
Symbol 292 MovieClip Frame 15
stop();
Symbol 292 MovieClip Frame 23
stop();
Symbol 292 MovieClip Frame 30
stop();
Symbol 292 MovieClip Frame 38
if (this == _level0.main) {
_root.hitflag[1] = 0;
} else {
_root.hitflag2[1] = 0;
}
Symbol 292 MovieClip Frame 41
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 292 MovieClip Frame 44
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 292 MovieClip Frame 51
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
Symbol 292 MovieClip Frame 65
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 292 MovieClip Frame 68
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 292 MovieClip Frame 80
hitcheck(0, -10, 0, 10, 0, 50, true, 2);
Symbol 292 MovieClip Frame 87
stop();
if (this == _level0.main) {
_root.hitdelay = false;
_root.specialplay = false;
} else {
_root.hitdelay2 = false;
_root.specialplay2 = false;
}
Symbol 292 MovieClip Frame 88
if (this == _level0.main) {
_root.hitflag[2] = 0;
} else {
_root.hitflag2[2] = 0;
}
Symbol 292 MovieClip Frame 97
if (this == _level0.main) {
if (_root.hitflag[2] == 0) {
hitcheck(2, -6, 0, 6, 0, 15, false, 0);
}
} else if (_root.hitflag2[2] == 0) {
hitcheck(2, -6, 0, 6, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 107
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
Symbol 292 MovieClip Frame 112
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 113
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 114
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 115
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 116
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 117
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 118
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 119
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 120
hitcheck(0, -2, 0, 6, 0, 5, false, 1);
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 121
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 122
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 123
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 124
hitcheck(0, -2, 0, 6, 0, 5, false, 1);
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 125
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 126
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 127
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 128
hitcheck(0, -2, 0, 6, 0, 5, false, 1);
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 129
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 130
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 131
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 132
hitcheck(0, -2, 0, 6, 0, 5, false, 1);
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 133
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 134
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 135
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 136
hitcheck(0, -2, 0, 6, 0, 5, false, 1);
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 137
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 138
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 139
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 140
hitcheck(0, -6, 0, 6, 0, 10, true, 1);
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 141
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 142
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 143
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 144
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 145
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 146
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 147
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 148
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 149
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 150
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 151
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 292 MovieClip Frame 152
if (this == _level0.main) {
_root.special2play = false;
} else {
_root.special2playenemy = false;
}
Symbol 292 MovieClip Frame 156
stop();
if (this == _level0.main) {
_root.hitdelay = false;
_root.specialplay = false;
} else {
_root.hitdelay2 = false;
_root.specialplay2 = false;
}
Symbol 292 MovieClip Frame 160
if (this == _level0.main) {
_root.enemy.stop();
} else {
_root.main.stop();
}
_root.MC_MOVE_ENABLE = false;
_root.darkbg._visible = true;
Symbol 292 MovieClip Frame 180
_root.MC_MOVE_ENABLE = true;
if (this == _level0.main) {
_root.enemy.play();
} else {
_root.main.play();
}
_root.darkbg._visible = false;
Symbol 292 MovieClip Frame 181
hitcheck(0, 0, 0, 0, 0, 10, false, 2);
Symbol 292 MovieClip Frame 184
hitcheck(0, 0, 0, 0, 0, 10, false, 2);
Symbol 292 MovieClip Frame 187
hitcheck(0, 0, 0, 0, 0, 10, false, 2);
Symbol 292 MovieClip Frame 190
hitcheck(0, 0, 0, 0, 0, 10, false, 2);
Symbol 292 MovieClip Frame 193
hitcheck(0, 0, 0, 0, 0, 10, false, 2);
Symbol 292 MovieClip Frame 196
hitcheck(0, 0, 0, 0, 0, 30, true, 2);
Symbol 292 MovieClip Frame 208
stop();
if (this == _level0.main) {
_root.hitdelay = false;
_root.specialplay = false;
} else {
_root.hitdelay2 = false;
_root.specialplay2 = false;
}
Symbol 292 MovieClip Frame 213
if (this == _level0.main) {
_root.specialplay = false;
i = 0;
while (i < _root.hitflag.length) {
_root.hitflag[i] = 0;
i++;
}
} else {
_root.specialplay2 = false;
i = 0;
while (i < _root.hitflag2.length) {
_root.hitflag2[i] = 0;
i++;
}
}
Symbol 292 MovieClip Frame 229
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
_root.hitnum = 0;
Symbol 292 MovieClip Frame 232
if (this == _level0.main) {
_root.specialplay = false;
i = 0;
while (i < _root.hitflag.length) {
_root.hitflag[i] = 0;
i++;
}
} else {
_root.special2play = false;
i = 0;
while (i < _root.hitflag2.length) {
_root.hitflag2[i] = 0;
i++;
}
}
Symbol 292 MovieClip Frame 237
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
Symbol 292 MovieClip Frame 242
if (this == _level0.main) {
_root.specialplay = false;
_root.MOVE_UP = "none";
i = 0;
while (i < _root.hitflag.length) {
_root.hitflag[i] = 0;
i++;
}
} else {
_root.specialplay2 = false;
_root.MOVE_UP2 = "none";
i = 0;
while (i < _root.hitflag2.length) {
_root.hitflag2[i] = 0;
i++;
}
}
_root.hitnum = 0;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 243
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 244
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 245
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 246
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 247
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 248
_root.downstep = (_root.ymax - this._y) / 9;
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 249
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 250
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 251
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 252
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 253
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 254
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 255
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 256
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 257
this._y = _root.ymax;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 258
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 259
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 260
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 261
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 262
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 263
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 264
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 295
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 292 MovieClip Frame 303
if (this == _level0.main) {
_root.hitflag[3] = 0;
} else {
_root.hitflag2[3] = 0;
}
Symbol 292 MovieClip Frame 307
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 308
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 309
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 310
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 311
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 312
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 313
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 314
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 315
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 316
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 317
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 318
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 319
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 320
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 321
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 322
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 323
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 324
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 292 MovieClip Frame 325
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 306 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 306 MovieClip Frame 4
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 306 MovieClip Frame 7
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 306 MovieClip Frame 10
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 306 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 306 MovieClip Frame 16
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 315 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 315 MovieClip Frame 4
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 315 MovieClip Frame 7
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 315 MovieClip Frame 10
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 315 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 315 MovieClip Frame 16
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 328 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 328 MovieClip Frame 4
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 328 MovieClip Frame 7
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 328 MovieClip Frame 10
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 328 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 328 MovieClip Frame 16
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 1
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 3
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 11
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 13
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 15
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 17
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 19
if (_root.MC_MOVE_ENABLE == false) {
stop();
} else {
play();
}
Symbol 345 MovieClip Frame 21
stop();
Symbol 514 MovieClip Frame 1
function hitcheck(flag, move1x, move1y, move2x, move2y, damage, hitdownflag, guarddam) {
if (this == _level0.main) {
target = _root.enemy;
targetwidth = _root.enemywidth;
targetheight = _root.enemyheight;
} else {
target = _root.main;
targetwidth = _root.mainwidth;
targetheight = _root.mainheight;
}
if (this._xscale == 100) {
xatt = (target._x - (targetwidth / 2)) - random(targetwidth / 2);
yatt = target._y + (targetheight / 2);
} else {
xatt = (target._x + (targetwidth / 2)) + random(targetwidth / 2);
yatt = target._y + (targetheight / 2);
move1x = -move1x;
move2x = -move2x;
}
if (hit.hitTest(target.damarea)) {
trace(i);
i++;
this._x = this._x + move1x;
this._y = this._y + move1y;
target._x = target._x + move2x;
target._y = target._y + move2y;
if (this == _level0.main) {
special2play = false;
_root.hitdelay2 = true;
if (_root.guard2 == true) {
_root.guardview._x = xatt;
_root.guardview._y = yatt;
_root.guardview._visible = true;
_root.guardview.play();
target.gotoAndPlay("guard");
damage = guarddam;
} else {
_root.hitflag[flag] = 1;
_root.hitnum++;
_root.blood._x = xatt;
_root.blood._y = yatt;
_root.blood._visible = true;
_root.blood.play();
if (hitdownflag == true) {
target.gotoAndPlay("hitdown");
} else {
target.gotoAndPlay("damage");
}
}
if (this._xscale == 100) {
_root.Direction2 = "right";
} else {
_root.Direction2 = "left";
}
justlife = _root.currentlife2;
_root.currentlife2 = _root.currentlife2 - damage;
if (_root.currentlife2 <= 0) {
_root.life2reduce._width = (_root.life2width * justlife) / _root.alllife2;
_root.life2reduce._x = _root.life2x - (_root.life2width / 2);
} else {
_root.life2reduce._width = (_root.life2width * damage) / _root.alllife2;
_root.life2reduce._x = (_root.life2x - (_root.life2width / 2)) + ((_root.life2width * (justlife - damage)) / _root.alllife2);
}
_root.life2reduce._y = _root.life2._y;
_root.life2reduce._visible = true;
_root.life2reduce.play();
} else {
special2playenemy = false;
_root.hitdelay = true;
if (_root.guard == true) {
_root.guardview._x = xatt;
_root.guardview._y = yatt;
_root.guardview._visible = true;
_root.guardview.play();
target.gotoAndPlay("guard");
damage = guarddam;
} else {
_root.hitflag2[flag] = 1;
_root.hitnum++;
_root.blood._x = xatt;
_root.blood._y = yatt;
_root.blood._visible = true;
_root.blood.play();
if (hitdownflag == true) {
target.gotoAndPlay("hitdown");
} else {
target.gotoAndPlay("damage");
}
}
if (this._xscale == 100) {
_root.Direction = "right";
} else {
_root.Direction = "left";
}
justlife = _root.currentlife1;
_root.currentlife1 = _root.currentlife1 - damage;
if (_root.currentlife1 <= 0) {
_root.life1reduce._width = (_root.life1width * justlife) / _root.alllife1;
_root.life1reduce._x = _root.life1x + (_root.life1width / 2);
} else {
_root.life1reduce._width = (_root.life1width * damage) / _root.alllife1;
_root.life1reduce._x = (_root.life1x + (_root.life1width / 2)) - ((_root.life1width * (justlife - damage)) / _root.alllife1);
}
_root.life1reduce._y = _root.life1._y;
_root.life1reduce._visible = true;
_root.life1reduce.play();
}
if (_root.hitnum > 1) {
_root.hitnumview._visible = true;
_root.hitnumview.hit = _root.hitnum;
_root.hitnumview.play();
}
if (_root.hitnum > 1) {
_root.totledamage = _root.totledamage + damage;
} else {
_root.totledamage = damage;
}
}
}
stop();
Symbol 514 MovieClip Frame 7
stop();
Symbol 514 MovieClip Frame 15
stop();
Symbol 514 MovieClip Frame 23
stop();
Symbol 514 MovieClip Frame 30
stop();
Symbol 514 MovieClip Frame 38
if (this == _level0.main) {
_root.hitflag[1] = 0;
} else {
_root.hitflag2[1] = 0;
}
Symbol 514 MovieClip Frame 41
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 514 MovieClip Frame 44
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 514 MovieClip Frame 51
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
Symbol 514 MovieClip Frame 60
if (this == _level0.main) {
if (_root.hitflag[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
} else if (_root.hitflag2[1] == 0) {
hitcheck(1, -3, 0, 3, 0, 6, false, 0);
}
Symbol 514 MovieClip Frame 67
hitcheck(0, 0, 0, 0, 0, 30, true, 2);
Symbol 514 MovieClip Frame 80
hitcheck(0, -10, 0, 10, 0, 50, true, 2);
Symbol 514 MovieClip Frame 87
stop();
if (this == _level0.main) {
_root.hitdelay = false;
_root.specialplay = false;
} else {
_root.hitdelay2 = false;
_root.specialplay2 = false;
}
Symbol 514 MovieClip Frame 88
if (this == _level0.main) {
_root.hitflag[2] = 0;
} else {
_root.hitflag2[2] = 0;
}
Symbol 514 MovieClip Frame 97
if (this == _level0.main) {
if (_root.hitflag[2] == 0) {
hitcheck(2, -6, 0, 6, 0, 15, false, 0);
}
} else if (_root.hitflag2[2] == 0) {
hitcheck(2, -6, 0, 6, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 107
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
Symbol 514 MovieClip Frame 112
Symbol 514 MovieClip Frame 120
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 121
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 122
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 123
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 124
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 125
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 126
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 127
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 128
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 129
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 130
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 131
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 132
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 133
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 134
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 135
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 136
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 137
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 138
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 139
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 140
hitcheck(0, -6, 0, 6, 0, 15, true, 1);
Symbol 514 MovieClip Frame 152
if (this == _level0.main) {
_root.special2play = false;
} else {
_root.special2playenemy = false;
}
Symbol 514 MovieClip Frame 156
stop();
if (this == _level0.main) {
_root.hitdelay = false;
_root.specialplay = false;
} else {
_root.hitdelay2 = false;
_root.specialplay2 = false;
}
Symbol 514 MovieClip Frame 160
if (this == _level0.main) {
_root.enemy.stop();
} else {
_root.main.stop();
}
_root.MC_MOVE_ENABLE = false;
_root.darkbg._visible = true;
Symbol 514 MovieClip Frame 180
_root.MC_MOVE_ENABLE = true;
if (this == _level0.main) {
_root.enemy.play();
} else {
_root.main.play();
}
_root.darkbg._visible = false;
Symbol 514 MovieClip Frame 181
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
hitcheck(0, 0, 0, 0, 0, 40, false, 2);
Symbol 514 MovieClip Frame 182
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 30;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 30;
}
Symbol 514 MovieClip Frame 183
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 184
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
hitcheck(0, 0, 0, 0, 0, 5, false, 2);
Symbol 514 MovieClip Frame 185
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 186
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 187
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
hitcheck(0, 0, 0, 0, 0, 5, false, 2);
Symbol 514 MovieClip Frame 188
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 189
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 190
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
hitcheck(0, 0, 0, 0, 0, 5, false, 2);
Symbol 514 MovieClip Frame 191
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 192
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 193
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
hitcheck(0, 0, 0, 0, 0, 5, false, 2);
Symbol 514 MovieClip Frame 194
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 195
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 196
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
hitcheck(0, 0, 0, 0, 0, 10, true, 2);
Symbol 514 MovieClip Frame 197
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 198
if (this._xscale == 100) {
if ((this._x + hitarea._width) < 400) {
this._x = this._x + 6;
}
} else if ((this._x - hitarea._width) > 0) {
this._x = this._x - 6;
}
Symbol 514 MovieClip Frame 208
stop();
if (this == _level0.main) {
_root.hitdelay = false;
_root.specialplay = false;
} else {
_root.hitdelay2 = false;
_root.specialplay2 = false;
}
Symbol 514 MovieClip Frame 213
if (this == _level0.main) {
_root.specialplay = false;
i = 0;
while (i < _root.hitflag.length) {
_root.hitflag[i] = 0;
i++;
}
} else {
_root.specialplay2 = false;
i = 0;
while (i < _root.hitflag2.length) {
_root.hitflag2[i] = 0;
i++;
}
}
Symbol 514 MovieClip Frame 229
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
_root.hitnum = 0;
Symbol 514 MovieClip Frame 232
if (this == _level0.main) {
_root.specialplay = false;
i = 0;
while (i < _root.hitflag.length) {
_root.hitflag[i] = 0;
i++;
}
} else {
_root.special2play = false;
i = 0;
while (i < _root.hitflag2.length) {
_root.hitflag2[i] = 0;
i++;
}
}
Symbol 514 MovieClip Frame 237
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
Symbol 514 MovieClip Frame 242
if (this == _level0.main) {
_root.specialplay = false;
_root.MOVE_UP = "none";
i = 0;
while (i < _root.hitflag.length) {
_root.hitflag[i] = 0;
i++;
}
} else {
_root.specialplay2 = false;
_root.MOVE_UP2 = "none";
i = 0;
while (i < _root.hitflag2.length) {
_root.hitflag2[i] = 0;
i++;
}
}
_root.hitnum = 0;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 243
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 244
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 245
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 246
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 247
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 248
_root.downstep = (_root.ymax - this._y) / 9;
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 249
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 250
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 251
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 252
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 253
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 254
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 255
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 256
this._y = this._y + _root.downstep;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 257
this._y = _root.ymax;
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 258
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 259
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 260
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 261
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 262
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 263
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 264
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 295
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 514 MovieClip Frame 303
if (this == _level0.main) {
_root.hitflag[3] = 0;
} else {
_root.hitflag2[3] = 0;
}
Symbol 514 MovieClip Frame 307
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 308
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 309
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 310
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 311
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 312
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 313
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 314
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 315
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 316
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 317
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 318
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 319
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 320
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 321
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 322
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 323
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 324
if (this == _level0.main) {
if (_root.hitflag[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
} else if (_root.hitflag2[3] == 0) {
hitcheck(3, -3, 0, 3, 0, 15, false, 0);
}
Symbol 514 MovieClip Frame 325
stop();
if (this == _level0.main) {
_root.hitdelay = false;
} else {
_root.hitdelay2 = false;
}
if (this._xscale == 100) {
if (this._x > 0) {
this._x = this._x - 3;
}
} else if (this._x < 400) {
this._x = this._x + 3;
}
Symbol 519 MovieClip Frame 15
stop();
_root.hitnumview._visible = false;
Symbol 523 MovieClip Frame 8
stop();
_root.blood._visible = false;
Symbol 525 MovieClip Frame 4
stop();
_root.guardview._visible = false;
Symbol 527 MovieClip Frame 30
stop();
_root.life1reduce._visible = false;
Symbol 528 MovieClip Frame 20
stop();
_root.life2reduce._visible = false;
Symbol 557 MovieClip Frame 55
stop();
Symbol 569 Button
on (release) {
gotoAndPlay (471);
}
Symbol 579 MovieClip Frame 55
stop();
Symbol 582 Button
on (release) {
gotoAndPlay (471);
}