Instance of Symbol 55 MovieClip "preloader" in Frame 1
onClipEvent (load) {
_root.preloader.bar._xscale = 0;
}
onClipEvent (enterFrame) {
loadedb = _root.getBytesLoaded();
totalb = _root.getBytesTotal();
percent = (loadedb / totalb) * 100;
_root.preloader.bar._xscale = percent;
if (_root.preloader.bar._xscale < 99) {
this._alpha = 99;
} else {
this._alpha = 0;
}
if (_root.preloader.bar._xscale > 99) {
_root.gotoAndPlay("begin");
}
}
Frame 2
_root.gotoAndPlay("preloader");
Frame 3
stop();
loop04 = new Sound();
loop04.attachSound("first");
loop05 = new Sound();
loop05.attachSound("middle");
_root.loop04.start(0, 999);
Frame 4
stop();
Instance of Symbol 185 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = 100;
unloadMovie (this);
}
}
Frame 5
stop();
loop01 = new Sound();
loop01.attachSound("jungle");
stopAllSounds();
_root.loop01.start(0, 999);
score.text = 0;
health.text = 100;
lives.text = 3;
Instance of Symbol 168 MovieClip "babypanda" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndPlay("leveltwo");
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 78 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotgun = true;
unloadMovie (this);
}
}
Instance of Symbol 81 MovieClip "char" in Frame 5
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
coinmX = _root.coinm._x;
goalX = _root.goal._x;
hpX = _root.hp._x;
lifeX = _root.life._x;
livesX = _root.lives._x;
facesX = _root.faces._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.coinm._x = coinmX - _root._x;
_root.goal._x = goalX - _root._x;
_root.hp._x = hpX - _root._x;
_root.life._x = lifeX - _root._x;
_root.lives._x = livesX - _root._x;
_root.faces._x = facesX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if (((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) && (!_root.ljail.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.coinm._x = _root.coinm._x + speed;
_root.goal._x = _root.goal._x + speed;
_root.hp._x = _root.hp._x + speed;
_root.life._x = _root.life._x + speed;
_root.lives._x = _root.lives._x + speed;
_root.faces._x = _root.faces._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.rightblock.hitTest(this._x - 20, this._y, true))) && (!_root.rjail.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.coinm._x = _root.coinm._x + speed;
_root.goal._x = _root.goal._x + speed;
_root.hp._x = _root.hp._x + speed;
_root.life._x = _root.life._x + speed;
_root.lives._x = _root.lives._x + speed;
_root.faces._x = _root.faces._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if (Key.isDown(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 65});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
var _local1 = _root;
if (_local1.timer > _local1.maxshoottime) {
_local1.shooting = false;
unloadMovie(this);
}
_local1.timer++;
_x = _x + _local1.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38) && (!jumping)) {
jumping = true;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 17) {
attacking = false;
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 210 MovieClip "ljail" in Frame 5
onClipEvent (enterFrame) {
if (_root.score.text >= 36) {
_root.ljail.gotoAndPlay("2");
}
}
Instance of Symbol 212 MovieClip "rjail" in Frame 5
onClipEvent (enterFrame) {
if (_root.score.text >= 36) {
_root.rjail.gotoAndPlay("2");
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 98 MovieClip in Frame 5
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 98 MovieClip in Frame 5
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 98 MovieClip in Frame 5
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 98 MovieClip in Frame 5
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 98 MovieClip in Frame 5
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 98 MovieClip in Frame 5
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = 100;
unloadMovie (this);
}
}
Instance of Symbol 165 MovieClip "faces" in Frame 5
onClipEvent (enterFrame) {
if (_root.health.text >= 100) {
_root.faces.gotoAndStop(1);
}
if (_root.health.text <= 60) {
_root.faces.gotoAndStop(2);
}
if (_root.health.text <= 30) {
_root.faces.gotoAndStop(3);
}
if (_root.health.text <= 0) {
_root.faces.gotoAndStop(4);
}
}
Frame 6
stopAllSounds();
_root.loop05.start(0, 999);
Frame 71
loop02 = new Sound();
loop02.attachSound("evil");
stopAllSounds();
_root.loop02.start(0, 999);
stop();
score.text = 0;
health.text = 100;
lives.text = 3;
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 262 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 231 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotgun = true;
unloadMovie (this);
}
}
Instance of Symbol 233 MovieClip "char" in Frame 71
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
coinmX = _root.coinm._x;
goalX = _root.goal._x;
hpX = _root.hp._x;
lifeX = _root.life._x;
livesX = _root.lives._x;
facesX = _root.faces._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.coinm._x = coinmX - _root._x;
_root.goal._x = goalX - _root._x;
_root.hp._x = hpX - _root._x;
_root.life._x = lifeX - _root._x;
_root.lives._x = livesX - _root._x;
_root.faces._x = facesX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if (((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) && (!_root.ljail.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.coinm._x = _root.coinm._x + speed;
_root.goal._x = _root.goal._x + speed;
_root.hp._x = _root.hp._x + speed;
_root.life._x = _root.life._x + speed;
_root.lives._x = _root.lives._x + speed;
_root.faces._x = _root.faces._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.rightblock.hitTest(this._x - 20, this._y, true))) && (!_root.rjail.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.coinm._x = _root.coinm._x + speed;
_root.goal._x = _root.goal._x + speed;
_root.hp._x = _root.hp._x + speed;
_root.life._x = _root.life._x + speed;
_root.lives._x = _root.lives._x + speed;
_root.faces._x = _root.faces._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if (Key.isDown(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 65});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
var _local1 = _root;
if (_local1.timer > _local1.maxshoottime) {
_local1.shooting = false;
unloadMovie(this);
}
_local1.timer++;
_x = _x + _local1.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38) && (!jumping)) {
jumping = true;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 17) {
attacking = false;
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 276 MovieClip "ljail" in Frame 71
onClipEvent (enterFrame) {
if (_root.score.text >= 42) {
_root.ljail.gotoAndPlay("2");
}
}
Instance of Symbol 277 MovieClip "rjail" in Frame 71
onClipEvent (enterFrame) {
if (_root.score.text >= 42) {
_root.rjail.gotoAndPlay("2");
}
}
Instance of Symbol 281 MovieClip "babypanda" in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndPlay("levelthree");
}
}
Instance of Symbol 241 MovieClip in Frame 71
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 241 MovieClip in Frame 71
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 241 MovieClip in Frame 71
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 241 MovieClip in Frame 71
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 290 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = 100;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 264 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 241 MovieClip in Frame 71
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 241 MovieClip in Frame 71
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 297 MovieClip "faces" in Frame 71
onClipEvent (enterFrame) {
if (_root.health.text >= 100) {
_root.faces.gotoAndStop(1);
}
if (_root.health.text <= 60) {
_root.faces.gotoAndStop(2);
}
if (_root.health.text <= 30) {
_root.faces.gotoAndStop(3);
}
if (_root.health.text <= 0) {
_root.faces.gotoAndStop(4);
}
}
Frame 72
stopAllSounds();
_root.loop05.start(0, 999);
Frame 137
stop();
loop03 = new Sound();
loop03.attachSound("night");
stopAllSounds();
_root.loop03.start(0, 999);
score.text = 0;
health.text = 100;
lives.text = 3;
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 316 MovieClip "char" in Frame 137
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
coinmX = _root.coinm._x;
goalX = _root.goal._x;
hpX = _root.hp._x;
lifeX = _root.life._x;
livesX = _root.lives._x;
facesX = _root.faces._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.coinm._x = coinmX - _root._x;
_root.goal._x = goalX - _root._x;
_root.hp._x = hpX - _root._x;
_root.life._x = lifeX - _root._x;
_root.lives._x = livesX - _root._x;
_root.faces._x = facesX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if (((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) && (!_root.ljail.hitTest(this._x + 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.coinm._x = _root.coinm._x + speed;
_root.goal._x = _root.goal._x + speed;
_root.hp._x = _root.hp._x + speed;
_root.life._x = _root.life._x + speed;
_root.lives._x = _root.lives._x + speed;
_root.faces._x = _root.faces._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.rightblock.hitTest(this._x - 20, this._y, true))) && (!_root.rjail.hitTest(this._x - 20, this._y, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.coinm._x = _root.coinm._x + speed;
_root.goal._x = _root.goal._x + speed;
_root.hp._x = _root.hp._x + speed;
_root.life._x = _root.life._x + speed;
_root.lives._x = _root.lives._x + speed;
_root.faces._x = _root.faces._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if (Key.isDown(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 65});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
var _local1 = _root;
if (_local1.timer > _local1.maxshoottime) {
_local1.shooting = false;
unloadMovie(this);
}
_local1.timer++;
_x = _x + _local1.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
this.gotoAndStop("idle");
}
if (Key.isDown(38) && (!jumping)) {
jumping = true;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = false;
falling = false;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 17) {
attacking = false;
}
}
Instance of Symbol 314 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotgun = true;
unloadMovie (this);
}
}
Instance of Symbol 335 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 366 MovieClip "faces" in Frame 137
onClipEvent (enterFrame) {
if (_root.health.text >= 100) {
_root.faces.gotoAndStop(1);
}
if (_root.health.text <= 60) {
_root.faces.gotoAndStop(2);
}
if (_root.health.text <= 30) {
_root.faces.gotoAndStop(3);
}
if (_root.health.text <= 0) {
_root.faces.gotoAndStop(4);
}
}
Instance of Symbol 368 MovieClip "ljail" in Frame 137
onClipEvent (enterFrame) {
if (_root.score.text >= 39) {
_root.ljail.gotoAndPlay("2");
}
}
Instance of Symbol 369 MovieClip "rjail" in Frame 137
onClipEvent (enterFrame) {
if (_root.score.text >= 39) {
_root.rjail.gotoAndPlay("2");
}
}
Instance of Symbol 373 MovieClip "babypanda" in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndPlay("end");
}
}
Instance of Symbol 375 MovieClip in Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = 100;
unloadMovie (this);
}
}
Instance of Symbol 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 377 MovieClip in Frame 137
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 (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
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 138
stop();
Symbol 73 Button
on (release) {
if (_root.lives.text <= 0) {
gotoAndPlay ("gameover");
} else {
_root.health.text = 150;
_root.dead = false;
_root.panda.idle.gotoAndPlay(1);
_root.idle = true;
_root.lives.text = _root.lives.text - 1;
}
}
Symbol 76 MovieClip Frame 45
stop();
stop();
Symbol 76 MovieClip Frame 46
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 3
stop();
Symbol 81 MovieClip Frame 4
stop();
Symbol 81 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 6
stop();
Symbol 97 MovieClip Frame 6
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 114 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 134 Button
on (release) {
_root.gotoAndPlay("levelone");
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Instance of Symbol 146 MovieClip in Symbol 177 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 78 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotgun = true;
unloadMovie (this);
}
}
Instance of Symbol 155 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 165 MovieClip "faces" in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health.text >= 100) {
_root.faces.gotoAndStop(1);
}
if (_root.health.text <= 60) {
_root.faces.gotoAndStop(2);
}
if (_root.health.text <= 30) {
_root.faces.gotoAndStop(3);
}
if (_root.health.text <= 0) {
_root.faces.gotoAndStop(4);
}
}
Instance of Symbol 168 MovieClip "babypanda" in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndPlay("next");
}
}
Symbol 182 Button
on (release) {
_root.gotoAndPlay("levelone");
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 2
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
stop();
Symbol 226 Button
on (release) {
if (_root.lives.text <= 0) {
gotoAndPlay ("gameover");
} else {
_root.health.text = 150;
_root.dead = false;
_root.panda.idle.gotoAndPlay(1);
_root.idle = true;
_root.lives.text = _root.lives.text - 1;
}
}
Symbol 229 MovieClip Frame 45
stop();
stop();
Symbol 229 MovieClip Frame 46
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 3
stop();
Symbol 233 MovieClip Frame 4
stop();
Symbol 233 MovieClip Frame 5
stop();
Symbol 233 MovieClip Frame 6
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 2
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
stop();
Symbol 310 Button
on (release) {
if (_root.lives.text <= 0) {
gotoAndPlay ("gameover");
} else {
_root.health.text = 150;
_root.dead = false;
_root.panda.idle.gotoAndPlay(1);
_root.idle = true;
_root.lives.text = _root.lives.text - 1;
}
}
Symbol 313 MovieClip Frame 45
stop();
stop();
Symbol 313 MovieClip Frame 46
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
stop();
Symbol 316 MovieClip Frame 3
stop();
Symbol 316 MovieClip Frame 4
stop();
Symbol 316 MovieClip Frame 5
stop();
Symbol 316 MovieClip Frame 6
stop();
Instance of Symbol 339 MovieClip "deathground" in Symbol 354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = _root.health.text - 100;
}
}
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
stop();