Frame 1 (8 B)
stop();
Frame 2 (8 B)
stop();
Frame 3 (8 B)
stop();
Frame 4 (8 B)
stop();
Frame 5 (8 B)
stop();
Frame 6 (8 B)
stop();
Frame 9 (112 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
stop();
stop();
Instance of Symbol 22 MovieClip in Frame 9 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 22 MovieClip in Frame 9 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 24 MovieClip in Frame 9 (1.15 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 9 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 36 MovieClip in Frame 9 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 38 MovieClip in Frame 9 (21 B)
/* no clip actions */
Instance of Symbol 40 MovieClip in Frame 9 (202 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
fluttershymc.gotoAndStop("licked");
}
}
Instance of Symbol 64 MovieClip "fluttershymc" in Frame 9 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 79 MovieClip "enemy" in Frame 9 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 132 MovieClip "char" in Frame 9 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground2.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground2.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 140 MovieClip "musictoggle" in Frame 9 (56 B)
onClipEvent (load) {
Xpos = this._x;
Ypos = this._y;
}
Instance of Symbol 155 MovieClip in Frame 9 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Frame 10 (112 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
stop();
stop();
Instance of Symbol 22 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 22 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 22 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 24 MovieClip in Frame 10 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 10 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 10 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 36 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 38 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 38 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 36 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 36 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 36 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 36 MovieClip in Frame 10 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 38 MovieClip in Frame 10 (21 B)
/* no clip actions */
Instance of Symbol 38 MovieClip in Frame 10 (21 B)
/* no clip actions */
Instance of Symbol 38 MovieClip in Frame 10 (21 B)
/* no clip actions */
Instance of Symbol 163 MovieClip in Frame 10 (196 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
rdfull.gotoAndStop("licked");
}
}
Instance of Symbol 79 MovieClip "enemy" in Frame 10 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy2" in Frame 10 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 132 MovieClip "char" in Frame 10 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground3.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground3.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 155 MovieClip in Frame 10 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Instance of Symbol 183 MovieClip "rdfull" in Frame 10 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Frame 11 (112 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
stop();
stop();
Instance of Symbol 22 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 188 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 188 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 188 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 188 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 24 MovieClip in Frame 11 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 11 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 11 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 38 MovieClip in Frame 11 (21 B)
/* no clip actions */
Instance of Symbol 36 MovieClip in Frame 11 (21 B)
/* no clip actions */
Instance of Symbol 36 MovieClip in Frame 11 (21 B)
/* no clip actions */
Instance of Symbol 36 MovieClip in Frame 11 (21 B)
/* no clip actions */
Instance of Symbol 36 MovieClip in Frame 11 (21 B)
/* no clip actions */
Instance of Symbol 195 MovieClip in Frame 11 (196 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
ajfull.gotoAndStop("licked");
}
}
Instance of Symbol 22 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 22 MovieClip in Frame 11 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 132 MovieClip "char" in Frame 11 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground4.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground4.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 155 MovieClip in Frame 11 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Instance of Symbol 79 MovieClip "enemy2" in Frame 11 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy" in Frame 11 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 215 MovieClip "ajfull" in Frame 11 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Frame 12 (92 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
Instance of Symbol 220 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 220 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 220 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 24 MovieClip in Frame 12 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 12 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 12 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 226 MovieClip in Frame 12 (21 B)
/* no clip actions */
Instance of Symbol 226 MovieClip in Frame 12 (21 B)
/* no clip actions */
Instance of Symbol 226 MovieClip in Frame 12 (21 B)
/* no clip actions */
Instance of Symbol 226 MovieClip in Frame 12 (21 B)
/* no clip actions */
Instance of Symbol 226 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 228 MovieClip in Frame 12 (200 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
rarityfull.gotoAndStop("licked");
}
}
Instance of Symbol 220 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 220 MovieClip in Frame 12 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 250 MovieClip "rarityfull" in Frame 12 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 132 MovieClip "char" in Frame 12 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground5.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground5.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 155 MovieClip in Frame 12 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Instance of Symbol 79 MovieClip "enemy2" in Frame 12 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy" in Frame 12 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Frame 13 (102 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
stop();
Instance of Symbol 24 MovieClip in Frame 13 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 13 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy3.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 13 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 13 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 268 MovieClip in Frame 13 (196 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
tsfull.gotoAndStop("licked");
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 13 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 132 MovieClip "char" in Frame 13 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground6.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground6.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 79 MovieClip "enemy3" in Frame 13 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy2" in Frame 13 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy" in Frame 13 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 288 MovieClip "tsfull" in Frame 13 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 155 MovieClip in Frame 13 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Frame 14 (102 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
stop();
Instance of Symbol 24 MovieClip in Frame 14 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy1.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 14 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 293 MovieClip in Frame 14 (196 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
bmfull.gotoAndStop("licked");
}
}
Instance of Symbol 295 MovieClip in Frame 14 (195 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
cfull.gotoAndStop("licked");
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 14 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 226 MovieClip in Frame 14 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 326 MovieClip "bmfull" in Frame 14 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 132 MovieClip "char" in Frame 14 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground8.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground8.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 79 MovieClip "enemy2" in Frame 14 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy1" in Frame 14 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 346 MovieClip "cfull" in Frame 14 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 348 MovieClip in Frame 14 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Frame 15 (92 B)
stop();
score.text = 0;
health.text = 100;
musictoggle._x = 545.6;
musictoggle._y = 75;
Instance of Symbol 353 MovieClip in Frame 15 (195 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
tfull.gotoAndStop("licked");
}
}
Instance of Symbol 24 MovieClip in Frame 15 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 24 MovieClip in Frame 15 (1.05 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (_root.enemy2.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
}
if (this.hitTest(_root.bulleter)) {
unloadMovie (this);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 355 MovieClip in Frame 15 (198 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
lunafull.gotoAndStop("licked");
}
}
Instance of Symbol 357 MovieClip in Frame 15 (145 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint) && (_root.score.text == 15)) {
_root.gotoAndStop("endlevel");
}
}
Instance of Symbol 34 MovieClip in Frame 15 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 15 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 15 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 15 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 15 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 34 MovieClip in Frame 15 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 364 MovieClip "mltl5" in Frame 15 (200 B)
onClipEvent (enterFrame) {
if (_root.score.text == 15) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 385 MovieClip "lunafull" in Frame 15 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 405 MovieClip "tfull" in Frame 15 (121 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 132 MovieClip "char" in Frame 15 (2.83 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground9.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (jumping)) {
speed = 0;
} else if ((((speed < 1) && (speed > -1)) && (!attacking)) && (!jumping)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground9.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
this.gotoAndStop("falling");
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 79 MovieClip "enemy2" in Frame 15 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 79 MovieClip "enemy1" in Frame 15 (997 B)
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Frame 16 (74 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stop();
stop();
Frame 17 (64 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stop();
Frame 18 (64 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stop();
Frame 19 (64 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stop();
Instance of Symbol 424 MovieClip in Frame 19 (127 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
unloadMovie (this);
cel.gotoAndStop("licked");
}
}
Instance of Symbol 437 MovieClip "cel" in Frame 19 (122 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char2.attackpoint)) {
dead = true;
this.gotoAndStop("licked");
}
}
Instance of Symbol 468 MovieClip "char2" in Frame 19 (2.66 KiB) ●
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
musictoggleX = _root.musictoggle._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
_root.maxshoottime = 100;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
_root.musictoggle._x = musictoggleX - _root._x;
if ((!_root.ground7.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.dead) {
_root.gotoAndStop("death");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock2.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((dir == "left") && (!_root.rightblock2.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.musictoggle._x = _root.musictoggle._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37) && (!jumping)) {
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
this.gotoAndStop("run");
this._xscale = -100;
}
if (Key.isDown(37) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = -100;
if (speed > (-maxmove)) {
speed--;
speed = -10;
}
} else if (Key.isDown(39) && (!jumping)) {
if (speed < maxmove) {
speed++;
speed = 10;
}
this.gotoAndStop("run");
this._xscale = 100;
} else if (Key.isDown(39) && (jumping)) {
this.gotoAndStop("jump");
this._xscale = 100;
if (speed < maxmove) {
speed++;
speed = 10;
}
} else if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
} else if (Key.isDown(32)) {
this.gotoAndPlay("attack");
attacking = true;
speed = 0;
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38)) {
this.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground7.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
attacking = false;
}
}
Instance of Symbol 140 MovieClip "musictoggle" in Frame 19 (56 B)
onClipEvent (load) {
Xpos = this._x;
Ypos = this._y;
}
Frame 20 (64 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stop();
Frame 21 (72 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stopAllSounds();
Frame 22 (97 B)
stop();
Xpos = 180;
Ypos = 250;
_x = 0;
_y = 0;
stopAllSounds();
dead = false;
stop();
Instance of Symbol 36 MovieClip in Frame 23 (335 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
}
Instance of Symbol 79 MovieClip in Frame 23 (1.21 KiB) ●
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndStop("dead");
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 5;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 2);
_root.char.speed = 0;
}
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Symbol 5 Button (39 B)
on (release) {
gotoAndStop ("fOP2");
}
Symbol 8 Button (39 B)
on (release) {
gotoAndStop ("fOP3");
}
Symbol 11 Button (39 B)
on (release) {
gotoAndStop ("fOP4");
}
Symbol 14 Button (39 B)
on (release) {
gotoAndStop ("fOP5");
}
Symbol 17 Button (39 B)
on (release) {
gotoAndStop ("fOP6");
}
Symbol 20 Button (41 B)
on (release) {
gotoAndStop ("Level1");
}
Symbol 50 Button (41 B)
on (release) {
gotoAndStop ("fstalk");
}
Symbol 55 MovieClip Frame 4 (8 B)
stop();
Symbol 56 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 60 Button (42 B)
on (release) {
gotoAndStop ("fsstand");
}
Symbol 63 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 64 MovieClip Frame 1 (8 B)
stop();
Symbol 64 MovieClip Frame 2 (8 B)
stop();
Symbol 64 MovieClip Frame 3 (8 B)
stop();
Symbol 64 MovieClip Frame 4 (8 B)
stop();
Symbol 79 MovieClip Frame 1 (8 B)
stop();
Symbol 79 MovieClip Frame 2 (8 B)
stop();
Symbol 114 MovieClip Frame 13 (8 B)
stop();
Symbol 130 MovieClip Frame 9 (8 B)
stop();
Symbol 132 MovieClip Frame 1 (8 B)
stop();
Symbol 132 MovieClip Frame 2 (8 B)
stop();
Symbol 132 MovieClip Frame 3 (8 B)
stop();
Instance of Symbol 34 MovieClip "attackpoint" in Symbol 132 MovieClip Frame 4 (36 B)
onClipEvent (load) {
_alpha = 0;
}
Symbol 132 MovieClip Frame 5 (8 B)
stop();
Symbol 132 MovieClip Frame 6 (8 B)
stop();
Symbol 136 Button (34 B)
on (release) {
gotoAndPlay (2);
}
Symbol 139 Button (34 B)
on (release) {
gotoAndPlay (1);
}
Symbol 140 MovieClip Frame 1 (8 B)
stop();
Symbol 140 MovieClip Frame 2 (26 B)
stop();
stopAllSounds();
Symbol 152 Button (34 B)
on (release) {
gotoAndStop (1);
}
Symbol 155 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 144 MovieClip in Symbol 155 MovieClip Frame 1 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 12) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Symbol 155 MovieClip Frame 2 (8 B)
stop();
Symbol 155 MovieClip Frame 3 (8 B)
stop();
Symbol 155 MovieClip Frame 4 (8 B)
stop();
Instance of Symbol 154 MovieClip in Symbol 155 MovieClip Frame 4 (112 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
_root.nextFrame();
}
}
Symbol 157 Button (41 B)
on (release) {
gotoAndStop ("level2");
}
Symbol 170 Button (41 B)
on (release) {
gotoAndStop ("rdtalk");
}
Symbol 175 MovieClip Frame 5 (8 B)
stop();
Symbol 176 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 179 Button (42 B)
on (release) {
gotoAndStop ("rdstand");
}
Symbol 182 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 183 MovieClip Frame 1 (8 B)
stop();
Symbol 183 MovieClip Frame 2 (8 B)
stop();
Symbol 183 MovieClip Frame 3 (8 B)
stop();
Symbol 183 MovieClip Frame 4 (8 B)
stop();
Symbol 186 Button (41 B)
on (release) {
gotoAndStop ("level3");
}
Symbol 202 Button (41 B)
on (release) {
gotoAndStop ("ajtalk");
}
Symbol 207 MovieClip Frame 3 (8 B)
stop();
Symbol 208 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 211 Button (42 B)
on (release) {
gotoAndStop ("ajstand");
}
Symbol 214 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 215 MovieClip Frame 1 (8 B)
stop();
Symbol 215 MovieClip Frame 2 (8 B)
stop();
Symbol 215 MovieClip Frame 3 (8 B)
stop();
Symbol 215 MovieClip Frame 4 (8 B)
stop();
Symbol 218 Button (41 B)
on (release) {
gotoAndStop ("level4");
}
Symbol 235 Button (42 B)
on (release) {
gotoAndStop ("rartalk");
}
Symbol 242 MovieClip Frame 3 (8 B)
stop();
Symbol 243 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 246 Button (43 B)
on (release) {
gotoAndStop ("rarstand");
}
Symbol 249 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 250 MovieClip Frame 1 (8 B)
stop();
Symbol 250 MovieClip Frame 2 (8 B)
stop();
Symbol 250 MovieClip Frame 3 (8 B)
stop();
Symbol 250 MovieClip Frame 4 (8 B)
stop();
Symbol 253 Button (41 B)
on (release) {
gotoAndStop ("level5");
}
Symbol 275 Button (41 B)
on (release) {
gotoAndStop ("tstalk");
}
Symbol 280 MovieClip Frame 3 (8 B)
stop();
Symbol 281 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 284 Button (42 B)
on (release) {
gotoAndStop ("tsstand");
}
Symbol 287 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 288 MovieClip Frame 1 (8 B)
stop();
Symbol 288 MovieClip Frame 2 (8 B)
stop();
Symbol 288 MovieClip Frame 3 (8 B)
stop();
Symbol 288 MovieClip Frame 4 (8 B)
stop();
Symbol 291 Button (41 B)
on (release) {
gotoAndStop ("level6");
}
Symbol 304 Button (42 B)
on (release) {
gotoAndStop ("cupcake");
}
Symbol 305 MovieClip Frame 1 (8 B)
stop();
Symbol 305 MovieClip Frame 2 (8 B)
stop();
Instance of Symbol 34 MovieClip in Symbol 305 MovieClip Frame 2 (108 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Symbol 312 Button (41 B)
on (release) {
gotoAndStop ("bmtalk");
}
Symbol 318 MovieClip Frame 3 (8 B)
stop();
Symbol 319 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 322 Button (42 B)
on (release) {
gotoAndStop ("bmstand");
}
Symbol 325 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 326 MovieClip Frame 1 (8 B)
stop();
Symbol 326 MovieClip Frame 2 (8 B)
stop();
Symbol 326 MovieClip Frame 3 (8 B)
stop();
Symbol 326 MovieClip Frame 4 (8 B)
stop();
Symbol 333 Button (40 B)
on (release) {
gotoAndStop ("ctalk");
}
Symbol 338 MovieClip Frame 3 (8 B)
stop();
Symbol 339 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 342 Button (41 B)
on (release) {
gotoAndStop ("cstand");
}
Symbol 345 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 346 MovieClip Frame 1 (8 B)
stop();
Symbol 346 MovieClip Frame 2 (8 B)
stop();
Symbol 346 MovieClip Frame 3 (8 B)
stop();
Symbol 346 MovieClip Frame 4 (8 B)
stop();
Symbol 347 Button (34 B)
on (release) {
gotoAndStop (1);
}
Symbol 348 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 144 MovieClip in Symbol 348 MovieClip Frame 1 (196 B)
onClipEvent (enterFrame) {
if (_root.score.text == 12) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(3);
}
}
Symbol 348 MovieClip Frame 2 (8 B)
stop();
Symbol 348 MovieClip Frame 3 (8 B)
stop();
Symbol 348 MovieClip Frame 4 (8 B)
stop();
Instance of Symbol 154 MovieClip in Symbol 348 MovieClip Frame 4 (122 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
_root.gotoAndStop("level7");
}
}
Symbol 351 Button (41 B)
on (release) {
gotoAndStop ("level7");
}
Symbol 363 Button (34 B)
on (release) {
gotoAndStop (1);
}
Symbol 364 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 144 MovieClip in Symbol 364 MovieClip Frame 1 (231 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint) && (_root.score.text == 15)) {
_root.gotoAndStop("endlevel");
}
if (this.hitTest(_root.char.attackpoint)) {
dead = true;
this.gotoAndStop(2);
}
}
Symbol 364 MovieClip Frame 2 (8 B)
stop();
Symbol 364 MovieClip Frame 3 (8 B)
stop();
Instance of Symbol 154 MovieClip in Symbol 364 MovieClip Frame 3 (109 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
_root.gotoAndStop("endlevel");
}
}
Symbol 371 Button (40 B)
on (release) {
gotoAndStop ("ltalk");
}
Symbol 377 MovieClip Frame 3 (8 B)
stop();
Symbol 378 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 381 Button (41 B)
on (release) {
gotoAndStop ("lstand");
}
Symbol 384 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 385 MovieClip Frame 1 (8 B)
stop();
Symbol 385 MovieClip Frame 2 (8 B)
stop();
Symbol 385 MovieClip Frame 3 (8 B)
stop();
Symbol 385 MovieClip Frame 4 (8 B)
stop();
Symbol 392 Button (40 B)
on (release) {
gotoAndStop ("ttalk");
}
Symbol 397 MovieClip Frame 3 (8 B)
stop();
Symbol 398 Button (43 B)
on (release) {
gotoAndStop ("licktalk");
}
Symbol 401 Button (41 B)
on (release) {
gotoAndStop ("tstand");
}
Symbol 404 Button (41 B)
on (release) {
gotoAndStop ("licked");
}
Symbol 405 MovieClip Frame 1 (8 B)
stop();
Symbol 405 MovieClip Frame 2 (8 B)
stop();
Symbol 405 MovieClip Frame 3 (8 B)
stop();
Symbol 405 MovieClip Frame 4 (8 B)
stop();
Symbol 408 Button (43 B)
on (release) {
gotoAndStop ("endlevel");
}
Symbol 411 Button (38 B)
on (release) {
gotoAndStop ("ed2");
}
Symbol 414 Button (38 B)
on (release) {
gotoAndStop ("ed3");
}
Symbol 417 Button (40 B)
on (release) {
gotoAndStop ("final");
}
Symbol 435 MovieClip Frame 5 (8 B)
stop();
Symbol 436 Button (46 B)
on (release) {
_root.gotoAndStop("story1");
}
Symbol 437 MovieClip Frame 1 (8 B)
stop();
Symbol 437 MovieClip Frame 2 (8 B)
stop();
Symbol 459 MovieClip Frame 1 (1 B)
Symbol 459 MovieClip Frame 6 (8 B)
stop();
Symbol 468 MovieClip Frame 1 (8 B)
stop();
Symbol 468 MovieClip Frame 2 (8 B)
stop();
Symbol 468 MovieClip Frame 3 (8 B)
stop();
Symbol 468 MovieClip Frame 4 (8 B)
stop();
Instance of Symbol 34 MovieClip "attackpoint" in Symbol 468 MovieClip Frame 4 (36 B)
onClipEvent (load) {
_alpha = 0;
}
Symbol 468 MovieClip Frame 5 (8 B)
stop();
Symbol 468 MovieClip Frame 6 (8 B)
stop();
Symbol 475 Button (40 B)
on (release) {
gotoAndStop ("retry");
}
Symbol 478 Button (93 B)
on (release) {
_root.health.text = 100;
gotoAndStop ("Level1");
_root.health.text = 100;
}