Frame 1
ponto = 0;
secretos = false;
stopAllSounds();
stage.showmenu = false;
_root.kongregateServices.connect();
Frame 2
ponto = 0;
stop();
Frame 3
stop();
Frame 6
limpo1 = false;
stop();
_root._x = 0;
Frame 7
onEnterFrame = function () {
coins = score.text;
if (coins >= 30) {
score.text = "Clear!";
limpo1 = true;
}
};
score.text = 0;
stop();
Instance of Symbol 132 MovieClip "char" in Frame 7
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 285) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 285) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 95) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 95) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 95) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 95) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 95) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 95) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 295) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 295) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 50) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 50) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 110) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 110) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 81 MovieClip "1" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 144 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 96) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 96) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 96) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 96) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 96) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 96) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 81 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "3" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "4" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "5" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "7" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "8" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "9" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip "10" in Frame 7
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Frame 8
limpo2 = false;
stop();
_root.kongregateScores.submit(1);
_root._x = 0;
Frame 9
onEnterFrame = function () {
coins = score.text;
if ((coins >= 41) && (limpo1)) {
score.text = "Clear!";
limpo2 = true;
}
};
score.text = 0;
stop();
Instance of Symbol 132 MovieClip "char" in Frame 9
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 86 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 21 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 21 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 21 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 115) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 115) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 25) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 25) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 57) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 57) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 180) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 180) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 180) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 180) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 180) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 180) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 81 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Frame 10
limpo3 = false;
stop();
_root.kongregateScores.submit(2);
_root._x = 0;
Frame 11
onEnterFrame = function () {
coins = score.text;
if ((coins >= 26) && (limpo2)) {
score.text = "Clear!";
limpo3 = true;
}
};
score.text = 0;
stop();
Instance of Symbol 132 MovieClip "char" in Frame 11
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 86 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 232 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 90) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 90) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 90) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 90) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 90) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 90) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 22) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 22) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 81 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 232 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 80) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 80) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Frame 12
limpo4 = false;
stop();
_root.kongregateScores.submit(3);
_root._x = 0;
Frame 13
onEnterFrame = function () {
coins = score.text;
if ((coins >= 12) && (limpo3)) {
score.text = "Clear!";
limpo4 = true;
}
};
score.text = 0;
stop();
Instance of Symbol 132 MovieClip "char" in Frame 13
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 232 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 190) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 190) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 190) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 190) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 190) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 190) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 81 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Frame 14
limpo5 = false;
stop();
_root.kongregateScores.submit(4);
_root._x = 0;
Frame 15
onEnterFrame = function () {
coins = score.text;
if ((coins >= 19) && (limpo4)) {
score.text = "Clear!";
limpo5 = true;
}
};
score.text = 0;
stop();
Instance of Symbol 132 MovieClip "char" in Frame 15
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 263 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 263 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 263 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 21 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 21 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 86 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 139 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 164) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 164) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 49) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 49) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 49) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 49) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 144 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 49) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 49) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 81 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Frame 16
secretos = false;
stop();
_root.kongregateScores.submit(5);
_root._x = 0;
Frame 17
onEnterFrame = function () {
coins = score.text;
if ((coins >= 18) && (limpo5)) {
score.text = "Clear!";
secretos = true;
}
};
score.text = 0;
stop();
Instance of Symbol 278 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.olha)) {
stopAllSounds();
_root.gotoAndPlay(18);
}
}
Instance of Symbol 132 MovieClip "char" in Frame 17
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 86 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 139 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 68) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 68) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 86 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 139 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 140) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 140) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 36) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 36) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 36) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 36) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 36) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 36) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 81 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Instance of Symbol 81 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.ganha.hitTest(_root.char.pegar)) {
_root.score.text++;
this.gotoAndPlay("vazia");
}
if (_root.char.pegar.hitTest(this.block)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
if (_root.char.hitTest(this.cima)) {
_root.char._y = _root.char._y - 6;
_root.char.jump = 0;
}
}
Frame 18
_quality = "HIGH";
play();
_root.kongregateScores.submit(6);
_root._x = 0;
Frame 39
stop();
Frame 40
play();
Frame 293
stop();
Frame 294
play();
Frame 892
onEnterFrame = function () {
coins = score.text;
if (secretos) {
gotoAndStop (893);
secretos = false;
}
};
stop();
Frame 893
stop();
Frame 894
stop();
Frame 895
stop();
Frame 896
limpo5 = false;
stop();
_root.kongregateScores.submit(7);
_root._x = 0;
Frame 897
onEnterFrame = function () {
coins = score.text;
if (coins >= 30) {
score.text = "Clear!";
limpo1 = true;
}
};
score.text = 0;
stop();
stop();
Instance of Symbol 277 MovieClip in Frame 897
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.olha)) {
_root.gotoAndStop(893);
}
}
Instance of Symbol 400 MovieClip "char" in Frame 897
onClipEvent (load) {
jumping = false;
speed = 0;
moedasX = _root.moedas._x;
qualX = _root.qual._x;
retryX = _root.retry._x;
healthX = _root.health._x;
scoreX = _root.score._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.moedas._x = moedasX - _root._x;
_root.qual._x = qualX - _root._x;
_root.retry._x = retryX - _root._x;
_root.health._x = healthX - _root._x;
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.teto.hitTest(this)) {
this._y = this._y + 6;
jump = 0;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 20;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.85;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) {
_root.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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.moedas._x = _root.moedas._x + speed;
_root.qual._x = _root.qual._x + speed;
_root.retry._x = _root.retry._x + speed;
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._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(32)) {
if ((_root.gotgun == true) && (!_root.shooting)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25});
_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(32) && (!jumping)) {
jumping = true;
}
if (Key.isDown(40) && (!jumping)) {
this.gotoAndStop("abaixar");
speed = 0;
}
if (Key.isDown(38) && (!jumping)) {
this.gotoAndStop("olhar");
speed = 0;
}
if (this._y > 300) {
speed = 0;
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
this.gotoAndStop("cair");
}
if ((jump < -15) && (!pisar)) {
jump = -15;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 9;
jumping = false;
falling = false;
this.gotoAndStop("right");
}
}
}
Instance of Symbol 168 MovieClip in Frame 897
onClipEvent (enterFrame) {
if (_root.char.pegar.hitTest(this)) {
_root.char._y = _root.char._y + 6;
_root.char.jump = 0;
}
}
Instance of Symbol 86 MovieClip in Frame 897
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 897
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 86 MovieClip in Frame 897
onClipEvent (enterFrame) {
if (_root.char.pe.hitTest(this)) {
this.gotoAndPlay(2);
_root.char.jump = 9;
}
}
Instance of Symbol 139 MovieClip in Frame 897
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 17) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 17) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 232 MovieClip in Frame 897
onClipEvent (load) {
enemyspeed = 3;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 32) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 32) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 897
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 17) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 17) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 139 MovieClip in Frame 897
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.pe) && (!dead)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
_root.char.jump = 8;
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;
_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 == 77) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 77) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Symbol 9 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 14 Button
on (release) {
_root.play();
}
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 23 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 26 Button
on (release) {
gotoAndStop (6);
score.text = 0;
secretos = false;
_quality = "MEDIUM";
}
Symbol 29 Button
on (release) {
gotoAndStop (3);
}
Symbol 34 Button
on (release) {
nextFrame();
}
Symbol 48 Button
on (release) {
gotoAndStop (2);
}
Instance of Symbol 59 MovieClip in Symbol 60 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
_root.score.text++;
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 68 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.nextFrame();
}
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 14
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 8
gotoAndStop (1);
Symbol 96 Button
on (release) {
nextFrame();
score.text = 0;
jumping = true;
dead = false;
}
Instance of Symbol 109 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 110 MovieClip in Symbol 111 MovieClip Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Symbol 132 MovieClip Frame 3
stop();
Symbol 132 MovieClip Frame 4
stop();
Symbol 132 MovieClip Frame 5
stop();
Symbol 132 MovieClip Frame 6
stop();
Symbol 132 MovieClip Frame 7
stop();
Symbol 132 MovieClip Frame 8
stop();
Symbol 132 MovieClip Frame 9
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 162 Button
on (release) {
prevFrame();
score.text = 0;
}
Symbol 165 Button
on (release) {
jumping = true;
dead = false;
score.text = 0;
nextFrame();
}
Instance of Symbol 203 MovieClip in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 250 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.olha)) {
_root.nextFrame();
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 273 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Symbol 354 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 357 Button
on (release) {
nextFrame();
}
Symbol 359 Button
on (release) {
gotoAndStop (895);
}
Symbol 361 Button
on (release) {
gotoAndStop (896);
}
Symbol 366 Button
on (release) {
gotoAndStop (893);
}
Symbol 381 MovieClip Frame 7
stop();
Symbol 388 MovieClip Frame 1
play();
Symbol 388 MovieClip Frame 2
play();
Symbol 388 MovieClip Frame 3
play();
Symbol 388 MovieClip Frame 4
play();
Symbol 388 MovieClip Frame 5
play();
Symbol 388 MovieClip Frame 6
gotoAndPlay (1);
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
stop();
Symbol 400 MovieClip Frame 3
stop();
Symbol 400 MovieClip Frame 4
stop();
Symbol 400 MovieClip Frame 5
stop();
Symbol 400 MovieClip Frame 6
stop();
Symbol 400 MovieClip Frame 7
stop();
Symbol 400 MovieClip Frame 8
stop();
Symbol 400 MovieClip Frame 9
stop();