Frame 1
stop();
score = 0;
health = 100;
zordup = false;
Stage.showMenu = false;
_root._focusrect = false;
Frame 2
stop();
Instance of Symbol 136 MovieClip "character" in Frame 2
onClipEvent (load) {
speed = 10;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 141 MovieClip "els" in Frame 2
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 2
onClipEvent (load) {
ec = 2;
}
onClipEvent (enterFrame) {
if (ec == 0) {
_root.speedskill = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 2
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 198 MovieClip "redballall" in Frame 2
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.redball.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else {
if (this.redball.hittest(_root.character) && (this.attacking == true)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
if ((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.redball.gotoAndPlay("attack");
}
}
}
Instance of Symbol 198 MovieClip "redballall2" in Frame 2
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.redball.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else {
if (this.redball.hittest(_root.character) && (this.attacking == true)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
if ((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.redball.gotoAndPlay("attack");
}
}
}
Frame 3
stop();
Instance of Symbol 141 MovieClip "els" in Frame 3
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 3
onClipEvent (load) {
ec = 5;
}
onClipEvent (enterFrame) {
if (ec == 0) {
_root.speedskill = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 136 MovieClip "character" in Frame 3
onClipEvent (load) {
speed = _root.speedskill;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 216 MovieClip "fly" in Frame 3
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly2" in Frame 3
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly3" in Frame 3
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly4" in Frame 3
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly5" in Frame 3
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 3
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Frame 4
stop();
Instance of Symbol 141 MovieClip "els" in Frame 4
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 4
onClipEvent (load) {
ec = 3;
}
onClipEvent (enterFrame) {
if (ec == 0) {
_root.speedskill = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 136 MovieClip "character" in Frame 4
onClipEvent (load) {
speed = _root.speedskill;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 4
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 254 MovieClip "robowall" in Frame 4
onClipEvent (load) {
hits = 0;
dead = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.robow.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if (this.robow.robo.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
}
Instance of Symbol 254 MovieClip "robowall2" in Frame 4
onClipEvent (load) {
hits = 0;
dead = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.robow.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if (this.robow.robo.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
}
}
Instance of Symbol 254 MovieClip "robowall3" in Frame 4
onClipEvent (load) {
hits = 0;
dead = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.robow.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if (this.robow.robo.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
}
}
Frame 5
health = health + 50;
enemyhealth = 100;
stop();
zordup = false;
Instance of Symbol 141 MovieClip "els" in Frame 5
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 261 MovieClip "elsenemy" in Frame 5
onClipEvent (enterFrame) {
dif = _root.enemyhealth;
if (st == "yes") {
this._xscale = 0;
} else if (_root.enemyhealth > 0) {
this._xscale = dif;
}
}
Instance of Symbol 136 MovieClip "character" in Frame 5
onClipEvent (load) {
speed = _root.speedskill;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 5
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 216 MovieClip "fly" in Frame 5
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly2" in Frame 5
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 296 MovieClip "enemyall" in Frame 5
onClipEvent (enterFrame) {
if (this.enemy.hittest(_root.character) && (this.enemy.attacking == true)) {
_root.health = _root.health - 0.2;
_root.character.damaged.play();
}
if (_root.enemyhealth <= 0) {
_root.elsenemy.st = "yes";
_root.buttons.gotoAndStop("continue");
_root.character.gotoAndStop("won");
_root.character.charmove = "no";
_root.character.attacking = false;
}
}
Frame 6
score2 = score;
score = 0;
stop();
health = 100;
Instance of Symbol 141 MovieClip "els" in Frame 6
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 6
onClipEvent (load) {
ec = 2;
}
onClipEvent (enterFrame) {
if (ec == 0) {
_root.speedskill2 = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 136 MovieClip "character" in Frame 6
onClipEvent (load) {
speed = 2;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 6
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 319 MovieClip "meduzall" in Frame 6
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 80)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.meduz.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else {
if (this.meduz.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
if ((this.meduz.checker.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.meduz.gotoAndPlay("attack");
}
}
}
Instance of Symbol 319 MovieClip "meduzall2" in Frame 6
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 80)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.meduz.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else {
if (this.meduz.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
if ((this.meduz.checker.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.meduz.gotoAndPlay("attack");
}
}
}
Frame 7
stop();
Instance of Symbol 141 MovieClip "els" in Frame 7
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 7
onClipEvent (load) {
ec = 5;
}
onClipEvent (enterFrame) {
if (ec <= 0) {
_root.speedskill2 = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 136 MovieClip "character" in Frame 7
onClipEvent (load) {
speed = _root.speedskill2;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 7
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 328 MovieClip "frall" in Frame 7
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 328 MovieClip "frall2" in Frame 7
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 328 MovieClip "frall3" in Frame 7
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 328 MovieClip "frall4" in Frame 7
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 328 MovieClip "frall5" in Frame 7
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Frame 8
stop();
Instance of Symbol 141 MovieClip "els" in Frame 8
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 8
onClipEvent (load) {
ec = 1;
}
onClipEvent (enterFrame) {
if (ec <= 0) {
_root.speedskill2 = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 136 MovieClip "character" in Frame 8
onClipEvent (load) {
speed = _root.speedskill2;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 8
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 345 MovieClip "spikedall" in Frame 8
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.spiked.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if ((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.spiked.gotoAndPlay("attack");
}
}
Frame 9
stop();
health = health + 20;
Instance of Symbol 141 MovieClip "els" in Frame 9
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 155 MovieClip "ecount" in Frame 9
onClipEvent (load) {
ec = 15;
}
onClipEvent (enterFrame) {
if (ec <= 0) {
_root.speedskill = _root.skills.charspeed;
_root.nextFrame();
}
}
Instance of Symbol 136 MovieClip "character" in Frame 9
onClipEvent (load) {
speed = _root.speedskill + _root.speedskill2;
jump = 12;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 9
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 254 MovieClip "robowall" in Frame 9
onClipEvent (load) {
hits = 0;
dead = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.robow.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if (this.robow.robo.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
}
Instance of Symbol 216 MovieClip "fly" in Frame 9
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly2" in Frame 9
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly3" in Frame 9
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly4" in Frame 9
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 216 MovieClip "fly5" in Frame 9
onClipEvent (load) {
dead = false;
enemyspeed = 5;
charpath = _root.character;
fallspeed = 5;
counterf = true;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_root.health > 0)) {
if (this._x < charpath._x) {
this._x = this._x + enemyspeed;
}
if (this._x > charpath._x) {
this._x = this._x - enemyspeed;
}
if (this._y < charpath._y) {
this._y = this._y + enemyspeed;
}
if (this._y > charpath._y) {
this._y = this._y - enemyspeed;
}
if (this.hittest(_root.character)) {
this.gotoAndStop("damaging");
_root.health = _root.health - 0.1;
_root.character.damaged.play();
} else {
this.gotoAndStop("normal");
}
}
if (dead == true) {
if (this._y >= (_root.character.ground + 20)) {
if (counterf == true) {
this._y = this._y - fallspeed;
s = s + 1;
_root.score = _root.score + 1;
}
if (this._y >= 2) {
counterf = false;
}
} else {
this._y = this._y + fallspeed;
}
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 9
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
wg = true;
wh = true;
wi = true;
wj = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
if ((_root.score >= 35) && (wg == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wg = false;
}
if ((_root.score >= 40) && (wh == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wh = false;
}
if ((_root.score >= 45) && (wi == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wi = false;
}
if ((_root.score >= 50) && (wj == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wj = false;
}
}
Instance of Symbol 198 MovieClip "redballall" in Frame 9
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.redball.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else {
if (this.redball.hittest(_root.character) && (this.attacking == true)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
if ((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.redball.gotoAndPlay("attack");
}
}
}
Instance of Symbol 198 MovieClip "redballall2" in Frame 9
onClipEvent (load) {
hits = 0;
dead = false;
attacking = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.redball.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else {
if (this.redball.hittest(_root.character) && (this.attacking == true)) {
_root.health = _root.health - 1;
_root.character.damaged.play();
}
if ((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) {
this.redball.gotoAndPlay("attack");
}
}
}
Instance of Symbol 254 MovieClip "robowall2" in Frame 9
onClipEvent (load) {
hits = 0;
dead = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.robow.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if (this.robow.robo.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
}
}
Instance of Symbol 254 MovieClip "robowall3" in Frame 9
onClipEvent (load) {
hits = 0;
dead = false;
this.gotoAndPlay(Math.abs(Math.round(Math.random() * 70)));
}
onClipEvent (enterFrame) {
if (hits >= 5) {
dead = true;
}
if (dead == true) {
this.robow.gotoAndStop("dead");
this.stop();
}
if (this.dead == true) {
} else if (this.robow.robo.hitarea.hittest(_root.character)) {
_root.health = _root.health - 1;
}
}
Frame 10
health = health + 50;
enemyhealth = 100;
stop();
zordup = false;
Instance of Symbol 141 MovieClip "els" in Frame 10
onClipEvent (enterFrame) {
dif = _root.health;
if (st == "yes") {
this._xscale = 0;
} else if (_root.health > 0) {
this._xscale = dif;
}
}
Instance of Symbol 261 MovieClip "elsenemy" in Frame 10
onClipEvent (enterFrame) {
dif = _root.enemyhealth;
if (st == "yes") {
this._xscale = 0;
} else if (_root.enemyhealth > 0) {
this._xscale = dif;
}
}
Instance of Symbol 136 MovieClip "character" in Frame 10
onClipEvent (load) {
speed = _root.speedskill;
jump = 20;
jumping = false;
origx = _xscale;
ground = 328;
movestat = "right";
charmove = "yes";
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
this.gotoAndStop("dead");
_root.buttons.gotoAndStop("restart");
_root.els.st = "yes";
charmove = "no";
}
if (charmove == "yes") {
if (Key.isDown(39)) {
if (this.hittest(_root.wall1)) {
} else {
_x = (_x + speed);
this.gotoAndStop("right");
movestat = "right";
downing = false;
}
}
if (Key.isDown(37)) {
if (this.hittest(_root.wall)) {
} else {
_x = (_x - speed);
this.gotoAndStop("left");
movestat = "left";
downing = false;
}
}
if (Key.isDown(32)) {
this.attack.play();
}
if ((Key.isDown(32) && (jumping == true)) && (attacking == false)) {
this.attack.gotoAndPlay("down");
}
if (Key.isDown(90) && (attacking == false)) {
this.attack.gotoAndPlay("round");
}
if (Key.isDown(88) && (attacking == false)) {
this.attack.gotoAndPlay("kiri");
}
if (Key.isDown(38)) {
jumping = true;
if (downing == true) {
this.gotoAndStop("wait");
downing = false;
}
}
if (Key.isDown(key.Down) && (jumping == false)) {
downing = true;
if (movestat == "right") {
_root.character.gotoAndStop("downright");
} else if (movestat == "left") {
this.gotoAndStop("downleft");
}
}
}
if (jumping == true) {
_y = (_y - jump);
jump = jump - 1;
}
if (_y >= ground) {
_y = ground;
jumping = false;
jump = 12;
}
}
Instance of Symbol 162 MovieClip "skills" in Frame 10
onClipEvent (load) {
wa = true;
wb = true;
wc = true;
wd = true;
we = true;
wf = true;
}
onClipEvent (enterFrame) {
charspeed = _root.character.speed;
charattack = _root.character.attack.zord.zordy.strength;
if ((_root.score >= 5) && (wa == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wa = false;
}
if ((_root.score >= 10) && (wb == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.2;
this.play();
wb = false;
}
if ((_root.score >= 15) && (wc == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wc = false;
}
if ((_root.score >= 20) && (wd == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wd = false;
}
if ((_root.score >= 25) && (we == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
we = false;
}
if ((_root.score >= 30) && (wf == true)) {
_root.character.speed = _root.character.speed + 1;
_root.character.attack.zord.zordy.strength = _root.character.attack.zord.zordy.strength + 0.5;
this.play();
wf = false;
}
}
Instance of Symbol 380 MovieClip "snakeall" in Frame 10
onClipEvent (enterFrame) {
if (this.snake.hittest(_root.character) && (this.snake.attacking == true)) {
_root.health = _root.health - 0.2;
_root.character.damaged.play();
}
if (_root.enemyhealth <= 0) {
_root.elsenemy.st = "yes";
_root.buttons.gotoAndStop("continue");
_root.character.gotoAndStop("won");
_root.character.charmove = "no";
_root.character.attacking = false;
}
}
Frame 11
stop();
score = score + score2;
Instance of Symbol 387 MovieClip in Frame 11
onClipEvent (load) {
sc = 0;
vf = "yes";
}
onClipEvent (enterFrame) {
if ((sc == _root.score) && (vf == "yes")) {
play();
vf = "no";
} else if (vf == "no") {
} else {
sc = sc + 1;
}
}
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 5
stop();
Symbol 9 MovieClip Frame 9
stop();
Symbol 9 MovieClip Frame 13
stop();
Symbol 15 MovieClip Frame 5
stop();
Symbol 20 Button
on (release) {
_root.play();
}
Symbol 21 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
pl = Math.floor(Math.round(PercentLoaded)) + "%";
plx = Math.floor(Math.round(PercentLoaded));
Instance of Symbol 9 MovieClip "bar" in Symbol 21 MovieClip Frame 1
onClipEvent (load) {
qa = "yes";
qb = "yes";
qc = "yes";
}
onClipEvent (enterFrame) {
if ((_root.preloader.plx >= 25) && (qa == "yes")) {
this.gotoAndPlay("a");
qa = "no";
} else if ((_root.preloader.plx >= 50) && (qb == "yes")) {
this.gotoAndPlay("b");
qb = "no";
} else if ((_root.preloader.plx >= 75) && (qc == "yes")) {
this.gotoAndPlay("c");
qc = "no";
}
}
Symbol 21 MovieClip Frame 2
gotoAndPlay (1);
Symbol 26 MovieClip Frame 1
stop();
Instance of Symbol 23 MovieClip "zordy" in Symbol 26 MovieClip Frame 1
onClipEvent (load) {
strength = 0.5;
}
onClipEvent (enterFrame) {
if (_root.zordup == true) {
_parent.gotoAndStop("upgraded");
}
if (this.hittest(_root.plant) && (_root.character.attacking == true)) {
_root.plant.gotoAndStop("dead");
}
if (this.hittest(_root.fly) && (_root.character.attacking == true)) {
_root.fly.gotoAndStop("dead");
}
if (this.hittest(_root.fly2) && (_root.character.attacking == true)) {
_root.fly2.gotoAndStop("dead");
}
if (this.hittest(_root.fly3) && (_root.character.attacking == true)) {
_root.fly3.gotoAndStop("dead");
}
if (this.hittest(_root.fly4) && (_root.character.attacking == true)) {
_root.fly4.gotoAndStop("dead");
}
if (this.hittest(_root.fly5) && (_root.character.attacking == true)) {
_root.fly5.gotoAndStop("dead");
}
if (this.hittest(_root.enemyall.enemy) && (_root.character.attacking == true)) {
_root.enemyhealth = _root.enemyhealth - strength;
}
if (this.hittest(_root.redballall.redball) && (_root.character.attacking == true)) {
_root.redballall.hits = _root.redballall.hits + strength;
}
if (this.hittest(_root.redballall2.redball) && (_root.character.attacking == true)) {
_root.redballall2.hits = _root.redballall2.hits + strength;
}
if (this.hittest(_root.robowall.robow) && (_root.character.attacking == true)) {
_root.robowall.hits = _root.robowall.hits + strength;
}
if (this.hittest(_root.robowall2.robow) && (_root.character.attacking == true)) {
_root.robowall2.hits = _root.robowall2.hits + strength;
}
if (this.hittest(_root.robowall3.robow) && (_root.character.attacking == true)) {
_root.robowall3.hits = _root.robowall3.hits + strength;
}
if (this.hittest(_root.meduzall.meduz) && (_root.character.attacking == true)) {
_root.meduzall.hits = _root.meduzall.hits + strength;
}
if (this.hittest(_root.meduzall2.meduz) && (_root.character.attacking == true)) {
_root.meduzall2.hits = _root.meduzall2.hits + strength;
}
if (this.hittest(_root.frall) && (_root.character.attacking == true)) {
_root.frall.gotoAndStop("dead");
}
if (this.hittest(_root.frall2) && (_root.character.attacking == true)) {
_root.frall2.gotoAndStop("dead");
}
if (this.hittest(_root.frall3) && (_root.character.attacking == true)) {
_root.frall3.gotoAndStop("dead");
}
if (this.hittest(_root.frall4) && (_root.character.attacking == true)) {
_root.frall4.gotoAndStop("dead");
}
if (this.hittest(_root.frall5) && (_root.character.attacking == true)) {
_root.frall5.gotoAndStop("dead");
}
if (this.hittest(_root.spikedall.spiked) && (_root.character.attacking == true)) {
_root.spikedall.hits = _root.spikedall.hits + strength;
}
if (this.hittest(_root.snakeall.snake) && (_root.character.attacking == true)) {
_root.enemyhealth = _root.enemyhealth - strength;
}
}
Symbol 26 MovieClip Frame 2
stop();
Instance of Symbol 25 MovieClip "zordy" in Symbol 26 MovieClip Frame 2
onClipEvent (load) {
strength = 1;
}
onClipEvent (enterFrame) {
if (_root.zordup == false) {
_parent.gotoAndStop("normal");
}
if (this.hittest(_root.plant) && (_root.character.attacking == true)) {
_root.plant.gotoAndStop("dead");
}
if (this.hittest(_root.fly) && (_root.character.attacking == true)) {
_root.fly.gotoAndStop("dead");
}
if (this.hittest(_root.fly2) && (_root.character.attacking == true)) {
_root.fly2.gotoAndStop("dead");
}
if (this.hittest(_root.fly3) && (_root.character.attacking == true)) {
_root.fly3.gotoAndStop("dead");
}
if (this.hittest(_root.fly4) && (_root.character.attacking == true)) {
_root.fly4.gotoAndStop("dead");
}
if (this.hittest(_root.fly5) && (_root.character.attacking == true)) {
_root.fly5.gotoAndStop("dead");
}
if (this.hittest(_root.enemyall.enemy) && (_root.character.attacking == true)) {
_root.enemyhealth = _root.enemyhealth - strength;
}
if (this.hittest(_root.redballall.redball) && (_root.character.attacking == true)) {
_root.redballall.hits = _root.redballall.hits + strength;
}
if (this.hittest(_root.redballall2.redball) && (_root.character.attacking == true)) {
_root.redballall2.hits = _root.redballall2.hits + strength;
}
if (this.hittest(_root.robowall.robow) && (_root.character.attacking == true)) {
_root.robowall.hits = _root.robowall.hits + strength;
}
if (this.hittest(_root.robowall2.robow) && (_root.character.attacking == true)) {
_root.robowall2.hits = _root.robowall2.hits + strength;
}
if (this.hittest(_root.robowall3.robow) && (_root.character.attacking == true)) {
_root.robowall3.hits = _root.robowall3.hits + strength;
}
if (this.hittest(_root.meduzall.meduz) && (_root.character.attacking == true)) {
_root.meduzall.hits = _root.meduzall.hits + strength;
}
if (this.hittest(_root.meduzall2.meduz) && (_root.character.attacking == true)) {
_root.meduzall2.hits = _root.meduzall2.hits + strength;
}
if (this.hittest(_root.frall) && (_root.character.attacking == true)) {
_root.frall.gotoAndStop("dead");
}
if (this.hittest(_root.frall2) && (_root.character.attacking == true)) {
_root.frall2.gotoAndStop("dead");
}
if (this.hittest(_root.frall3) && (_root.character.attacking == true)) {
_root.frall3.gotoAndStop("dead");
}
if (this.hittest(_root.frall4) && (_root.character.attacking == true)) {
_root.frall4.gotoAndStop("dead");
}
if (this.hittest(_root.frall5) && (_root.character.attacking == true)) {
_root.frall5.gotoAndStop("dead");
}
if (this.hittest(_root.spikedall.spiked) && (_root.character.attacking == true)) {
_root.spikedall.hits = _root.spikedall.hits + strength;
}
if (this.hittest(_root.snakeall.snake) && (_root.character.attacking == true)) {
_root.enemyhealth = _root.enemyhealth - strength;
}
}
Symbol 29 MovieClip Frame 1
stopAllSounds();
Symbol 29 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
_parent.attacking = false;
Symbol 130 MovieClip Frame 2
_parent.attacking = true;
Symbol 130 MovieClip Frame 10
gotoAndStop (1);
Symbol 130 MovieClip Frame 16
_parent.attacking = true;
Symbol 130 MovieClip Frame 25
gotoAndStop (1);
Symbol 130 MovieClip Frame 31
_parent.attacking = true;
Symbol 130 MovieClip Frame 42
gotoAndStop (1);
Symbol 130 MovieClip Frame 56
_parent.attacking = true;
Symbol 130 MovieClip Frame 74
gotoAndStop (1);
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
stop();
Symbol 136 MovieClip Frame 4
stop();
attacking = false;
Symbol 136 MovieClip Frame 5
stop();
attacking = false;
Symbol 136 MovieClip Frame 6
stop();
attacking = false;
Symbol 136 MovieClip Frame 7
stop();
attacking = false;
Symbol 143 MovieClip Frame 1
stopAllSounds();
Symbol 143 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
_x = (Math.random * 370);
_root.zupgrade._visible = true;
item.gotoAndStop("normal");
gotoAndPlay(Math.floor(Math.round(Math.random() * 387)));
Instance of Symbol 145 MovieClip "item" in Symbol 147 MovieClip Frame 641
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.mzc.gotoAndPlay("begin");
_root.zordup = true;
_root.zupgrade._visible = false;
this.gotoAndStop("took");
}
}
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 66
_root.zordup = false;
Symbol 162 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 31
stop();
_root.score = _root.score + 1;
_root.ecount.ec = _root.ecount.ec - 1;
Symbol 197 MovieClip Frame 1
_parent.attacking = false;
Symbol 197 MovieClip Frame 14
gotoAndPlay (1);
Symbol 197 MovieClip Frame 30
_parent.attacking = true;
Symbol 197 MovieClip Frame 38
gotoAndPlay (1);
Symbol 197 MovieClip Frame 50
_parent.dead = true;
_parent.attacking = false;
stop();
Symbol 202 Button
on (release) {
_root.prevFrame();
}
Symbol 205 Button
on (release) {
_root.nextFrame();
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 3
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 2
stop();
Symbol 216 MovieClip Frame 3
stop();
_root.score = _root.score + 1;
_root.ecount.ec = _root.ecount.ec - 1;
dead = true;
Symbol 252 MovieClip Frame 31
stop();
_root.score = _root.score + 1;
_root.ecount.ec = _root.ecount.ec - 1;
Symbol 253 MovieClip Frame 35
gotoAndPlay (1);
Symbol 264 MovieClip Frame 16
stop();
Symbol 266 MovieClip Frame 1
stopAllSounds();
Symbol 266 MovieClip Frame 2
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
_root.enemyall.enemy.attacking = false;
Symbol 295 MovieClip Frame 11
gotoAndPlay (1);
Symbol 295 MovieClip Frame 25
_root.enemyall.enemy.attacking = true;
Instance of Symbol 272 MovieClip "hand" in Symbol 295 MovieClip Frame 31
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Symbol 295 MovieClip Frame 37
gotoAndPlay (1);
Symbol 295 MovieClip Frame 55
_root.enemyall.enemy.attacking = false;
stop();
_root.score = _root.score + 10;
Instance of Symbol 295 MovieClip "enemy" in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
_root.enemyall.stop();
this.gotoAndStop("dead");
} else if (((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) && (_root.enemyhealth > 0)) {
this.gotoAndPlay("attack");
}
if (attacking == true) {
_parent.stop();
} else if ((attacking == false) && (_root.enemyhealth > 0)) {
_parent.play();
}
}
Instance of Symbol 295 MovieClip "enemy" in Symbol 296 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
this.gotoAndStop("dead");
_root.enemyall.stop();
this.stop();
} else if (((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) && (_root.enemyhealth > 0)) {
this.gotoAndPlay("attack");
}
}
Symbol 301 MovieClip Frame 1
stopAllSounds();
Symbol 301 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 12
stop();
_root.score = _root.score + 1;
_root.ecount.ec = _root.ecount.ec - 1;
Symbol 318 MovieClip Frame 1
stop();
_parent.attacking = false;
_parent.play();
Symbol 318 MovieClip Frame 10
_parent.attacking = true;
_parent.stop();
Instance of Symbol 311 MovieClip "hitarea" in Symbol 318 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 0.2;
_root.character.damaged.play();
}
}
Symbol 318 MovieClip Frame 32
gotoAndStop (1);
Symbol 318 MovieClip Frame 40
_parent.dead = true;
_parent.attacking = false;
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
stop();
Symbol 328 MovieClip Frame 3
stop();
_root.score = _root.score + 1;
dead = true;
_root.ecount.ec = _root.ecount.ec - 1;
Symbol 343 MovieClip Frame 16
stop();
_root.score = _root.score + 1;
_root.ecount.ec = _root.ecount.ec - 1;
Symbol 344 MovieClip Frame 1
stop();
_parent.attacking = false;
Symbol 344 MovieClip Frame 10
_parent.attacking = true;
Instance of Symbol 334 MovieClip in Symbol 344 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 0.2;
_root.character.damaged.play();
}
}
Symbol 344 MovieClip Frame 18
gotoAndStop (1);
Symbol 344 MovieClip Frame 25
stop();
_parent.attacking = false;
_parent.dead = true;
Symbol 349 MovieClip Frame 16
stop();
Symbol 379 MovieClip Frame 1
_root.snakeall.snake.attacking = false;
Symbol 379 MovieClip Frame 6
gotoAndPlay (1);
Symbol 379 MovieClip Frame 20
_root.snakeall.snake.attacking = true;
Instance of Symbol 362 MovieClip in Symbol 379 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Instance of Symbol 366 MovieClip in Symbol 379 MovieClip Frame 21
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Instance of Symbol 370 MovieClip in Symbol 379 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Instance of Symbol 374 MovieClip in Symbol 379 MovieClip Frame 23
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Instance of Symbol 370 MovieClip in Symbol 379 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Instance of Symbol 366 MovieClip in Symbol 379 MovieClip Frame 26
onClipEvent (enterFrame) {
if (this.hittest(_root.character)) {
_root.health = _root.health - 2;
_root.character.damaged.play();
}
}
Symbol 379 MovieClip Frame 27
gotoAndPlay (1);
Symbol 379 MovieClip Frame 42
_root.snakeall.snake.attacking = false;
stop();
_root.score = _root.score + 10;
Instance of Symbol 379 MovieClip "snake" in Symbol 380 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
_root.snakeall.stop();
this.gotoAndStop("dead");
} else if (((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) && (_root.enemyhealth > 0)) {
this.gotoAndPlay("attack");
}
if (attacking == true) {
_parent.stop();
} else if ((attacking == false) && (_root.enemyhealth > 0)) {
_parent.play();
}
}
Instance of Symbol 379 MovieClip "snake" in Symbol 380 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
this.gotoAndStop("dead");
_root.snakeall.stop();
this.stop();
} else if (((this.hittest(_root.character) && (attacking == false)) && (_root.health > 0)) && (_root.enemyhealth > 0)) {
this.gotoAndPlay("attack");
}
}
Symbol 387 MovieClip Frame 1
stop();