Instance of Symbol 20 MovieClip in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
text = percent + "%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
Frame 2
stop();
Frame 3
stop();
_x = 0;
_root.fuck = false;
corn1 = 0;
life1 = 5;
boll1 = 0;
Frame 4
stop();
Instance of Symbol 117 MovieClip in Frame 4
onClipEvent (enterFrame) {
this._x = _root.fon._x - 860;
}
Frame 5
stop();
loc = "part1";
_root.fon.world.text = "1-1";
Instance of Symbol 177 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text = 10;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 5
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 9;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 644 MovieClip in Frame 5
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 150) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 150) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 5
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 646 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 646 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 644 MovieClip in Frame 5
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 70) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 70) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 648 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(7);
}
}
Frame 6
gotoAndStop (3);
Frame 7
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "1-2";
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 656 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.life.text++;
mySound = new Sound();
mySound.attachSound("dre");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 7
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 644 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 40) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 40) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 120) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 120) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 7
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 646 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 648 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(9);
}
}
Frame 8
gotoAndStop (3);
Frame 9
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "1-3";
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 656 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.life.text++;
mySound = new Sound();
mySound.attachSound("dre");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 9
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 644 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 646 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 644 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 150) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 150) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 648 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(11);
}
}
Frame 10
gotoAndStop (3);
Frame 11
stop();
_root.corn.text = _root.corn1;
_root.life.text = _root.life1;
_root.boll.text = _root.boll1;
_root.fon.world.text = "shop";
Frame 12
gotoAndStop (3);
Instance of Symbol 117 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._x = _root.fon._x - 860;
}
Frame 13
stop();
loc = "part2";
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "2-1";
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 13
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 644 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 30) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 30) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 40) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 40) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 200) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 200) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 250) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 250) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 646 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 424 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 648 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(15);
}
}
Frame 14
gotoAndStop (3);
Frame 15
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "2-2";
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 15
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 644 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 424 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 12;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 424 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 644 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 3;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 30) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 30) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 15
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 646 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 648 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(17);
}
}
Instance of Symbol 656 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.life.text++;
mySound = new Sound();
mySound.attachSound("dre");
mySound.start();
unloadMovie (this);
}
}
Frame 16
gotoAndStop (3);
Frame 17
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "2-3";
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 656 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.life.text++;
mySound = new Sound();
mySound.attachSound("dre");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 17
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 646 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 644 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 3;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 30) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 30) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 30) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 30) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 644 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 150) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 150) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 648 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(19);
}
}
Frame 18
gotoAndStop (3);
Frame 19
stop();
_root.corn.text = _root.corn1;
_root.life.text = _root.life1;
_root.boll.text = _root.boll1;
_root.fon.world.text = "shop";
Frame 20
gotoAndStop (3);
Instance of Symbol 117 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.fon._x - 860;
}
Frame 21
stop();
loc = "part3";
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "3-1";
Instance of Symbol 177 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 21
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 646 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 644 MovieClip in Frame 21
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 644 MovieClip in Frame 21
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 160) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 160) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 21
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 21
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 21
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 21
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 648 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(23);
}
}
Frame 22
gotoAndStop (3);
Frame 23
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "3-2";
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 23
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else if (_root.dead2) {
this.gotoAndStop("dead2");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 646 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 735 MovieClip in Frame 23
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 150) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 150) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 735 MovieClip in Frame 23
onClipEvent (load) {
enemyspeed = 3;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 735 MovieClip in Frame 23
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 735 MovieClip in Frame 23
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 130) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 130) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 424 MovieClip in Frame 23
onClipEvent (load) {
enemyspeed = 10;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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";
}
}
}
Instance of Symbol 424 MovieClip in Frame 23
onClipEvent (load) {
enemyspeed = 11;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 648 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(25);
}
}
Frame 24
gotoAndStop (3);
Frame 25
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "3-3";
Instance of Symbol 185 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 25
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else if (_root.dead2) {
this.gotoAndStop("dead2");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 646 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh2");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 735 MovieClip in Frame 25
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 150) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 150) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 25
onClipEvent (load) {
enemyspeed = 3;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 40) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 40) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 735 MovieClip in Frame 25
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 735 MovieClip in Frame 25
onClipEvent (load) {
enemyspeed = 4;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 25
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 424 MovieClip in Frame 25
onClipEvent (load) {
enemyspeed = 9;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 200) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 200) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 752 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (!_root.fuck) {
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh3");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
unloadMovie (this);
}
}
}
Instance of Symbol 752 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (!_root.fuck) {
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh3");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
unloadMovie (this);
}
}
}
Instance of Symbol 752 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (!_root.fuck) {
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh3");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
unloadMovie (this);
}
}
}
Instance of Symbol 648 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(27);
}
}
Frame 26
gotoAndStop (3);
Frame 27
stop();
_root.corn.text = _root.corn1;
_root.life.text = _root.life1;
_root.boll.text = _root.boll1;
_root.fon.world.text = "shop";
Frame 28
gotoAndStop (3);
Instance of Symbol 117 MovieClip in Frame 28
onClipEvent (enterFrame) {
this._x = _root.fon._x - 860;
}
Frame 29
stop();
loc = "part4";
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "4-1";
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 656 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.life.text++;
mySound = new Sound();
mySound.attachSound("dre");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 29
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else if (_root.dead2) {
this.gotoAndStop("dead2");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 646 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh4");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 735 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 6;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 40) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 40) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 8;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 20) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 20) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 735 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 6;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 735 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 6;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 424 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 9;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 424 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 9;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 424 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 9;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 424 MovieClip in Frame 29
onClipEvent (load) {
enemyspeed = 9;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 60) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 60) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 648 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(31);
}
}
Frame 30
gotoAndStop (3);
Frame 31
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "4-2";
Instance of Symbol 185 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 656 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.life.text++;
mySound = new Sound();
mySound.attachSound("dre");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 31
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else if (_root.dead2) {
this.gotoAndStop("dead2");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 646 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh4");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Instance of Symbol 735 MovieClip in Frame 31
onClipEvent (load) {
enemyspeed = 3;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 644 MovieClip in Frame 31
onClipEvent (load) {
enemyspeed = 5;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 424 MovieClip in Frame 31
onClipEvent (load) {
enemyspeed = 9;
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.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadbirds = true;
_root.fuck = true;
unloadMovie (this);
}
}
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 == 150) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 150) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 648 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(33);
}
}
Frame 32
gotoAndStop (3);
Frame 33
stop();
loc = "part5";
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "4-3";
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 831 MovieClip "opens" in Frame 33
onClipEvent (enterFrame) {
if (_root.fon.vrag.text <= 0) {
_root.opens.gotoAndStop(2);
if (this.hitTest(_root.char)) {
_root.corn1 = _root.fon.corn.text;
_root.life1 = _root.fon.life.text;
_root.boll1 = _root.fon.boll.text;
_root._x = 0;
_root.gotoAndPlay(35);
}
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.corn.text++;
mySound = new Sound();
mySound.attachSound("patron");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 177 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Instance of Symbol 628 MovieClip "char" in Frame 33
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.dead) {
this.gotoAndStop("dead");
} else if (_root.deadbirds) {
this.gotoAndStop("deadbirds");
} else if (_root.dead2) {
this.gotoAndStop("dead2");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 735 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 4;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 644 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 5;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 644 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 5;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 735 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 4;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 735 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 4;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 644 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 5;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 644 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 5;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 735 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 4;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 735 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 4;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead2 = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 == 120) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 120) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 644 MovieClip in Frame 33
onClipEvent (load) {
enemyspeed = 5;
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");
_root.fon.vrag.text--;
}
if (this.hitTest(_root.bulleter)) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
this.gotoAndPlay("dead");
unloadMovie (_root.bulleter);
_root.fon.vrag.text--;
}
if (!_root.fuck) {
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.dead = true;
_root.fuck = true;
unloadMovie (this);
_root.fon.vrag.text--;
}
}
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 == 30) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 30) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 646 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (this.hitTest(_root.char)) {
_root._x = 0;
mySound = new Sound();
mySound.attachSound("ahh4");
mySound.start();
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.char.speed = 0;
_root.fon.life.text--;
_root.dead = false;
}
}
Frame 34
gotoAndStop (3);
Frame 35
stop();
_root.corn.text = _root.corn1;
_root.life.text = _root.life1;
_root.boll.text = _root.boll1;
_root.fon.world.text = "shop";
Frame 36
gotoAndStop (3);
Instance of Symbol 117 MovieClip in Frame 36
onClipEvent (enterFrame) {
this._x = _root.fon._x - 860;
}
Frame 37
stop();
_root.fon.corn.text = corn1;
_root.fon.life.text = life1;
_root.fon.boll.text = boll1;
_root.fon.world.text = "Himery";
Instance of Symbol 628 MovieClip "char" in Frame 37
onClipEvent (load) {
speed = 0;
Xpos = this._x;
Ypos = this._y;
maxmove = 7;
_root.maxshoottime = 8;
fonX = _root.fon._x;
fon1X = _root.fon1._x;
}
onClipEvent (enterFrame) {
_x = (Xpos - _root._x);
_root.fon._x = fonX - _root._x;
_root.fon1._x = fon1X - (_root._x / 1.1);
if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 5;
falling = true;
}
if (!_root.shooting) {
_root.timer = 0;
_root.mvsp = _xscale / 5;
}
if (_root.deadboss) {
this.gotoAndStop("deadboss");
} else {
speed = speed * 0.92;
if ((dir == "right") && (!_root.leftblock.hitTest(this._x, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
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, this._y, true))) {
_root.fon._x = _root.fon._x + speed;
_root.fon1._x = _root.fon1._x + (speed / 1.1);
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
if (!falling) {
this.gotoAndStop("run");
}
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
if (!falling) {
this.gotoAndStop("run");
}
} else if (Key.isDown(17)) {
this.gotoAndStop("attack");
attacking = true;
speed = 0;
} else if ((Key.isDown(32) && (!falling)) && (!jumping)) {
if ((!_root.shooting) && (_root.fon.boll.text > 0)) {
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 70});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer > _root.maxshoottime) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
this.gotoAndStop("shoot");
if (_root.fon.boll.text > 0) {
_root.fon.boll.text = _root.fon.boll.text - 1;
}
}
} else if (((speed < 10) && (speed > -10)) && (!falling)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) && (!jumping)) && (!falling)) {
jumping = true;
} else if (falling && (!jumping)) {
jump = jump - 1;
this._y = this._y - jump;
if (Key.isDown(39)) {
speed = speed - 0.5;
} else if (Key.isDown(37)) {
speed = speed + 0.5;
}
this.gotoAndStop("fall");
} else if (jumping) {
falling = true;
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
this.gotoAndStop("fall");
}
if (jump > 0) {
this.gotoAndStop("jump");
}
if (jump < -10) {
jump = -10;
}
}
if (_root.ground.hitTest(this._x, this._y, true) && (falling)) {
jump = 10;
jumping = false;
falling = false;
}
}
}
Instance of Symbol 907 MovieClip "boss" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
if (!dead) {
_root.fon.boss.text--;
mySound = new Sound();
mySound.attachSound("soun");
mySound.start();
}
dead = true;
unloadMovie (_root.bulleter);
}
if (this.hitTest(_root.char) && (!dead)) {
_root.char.jumping = false;
_root.deadboss = true;
dead = true;
_root.fon.life.text--;
}
if (_root.fon.life.text <= 0) {
_root.gotoAndStop(3);
}
if (_root.fon.boss.text <= 0) {
_root.gotoAndStop(39);
}
}
Frame 38
gotoAndStop (3);
Frame 39
stop();
_x = 0;
_root.corn.text = _root.corn1;
_root.life.text = _root.life1;
_root.boll.text = _root.boll1;
Frame 40
stop();
Symbol 28 MovieClip Frame 301
_root.gotoAndPlay(40);
Symbol 95 Button
on (release) {
getURL ("http://pastila-club.ru/");
}
Symbol 106 Button
on (keyPress "<Space>") {
dead = false;
gotoAndStop(loc);
}
Symbol 112 Button
on (release) {
gotoAndStop (2);
}
Symbol 115 Button
on (release) {
gotoAndStop (1);
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 41
_root.boss.dead = false;
Symbol 207 MovieClip Frame 13
_root.boss.dead = false;
Symbol 295 MovieClip Frame 27
stop();
Symbol 297 MovieClip Frame 1
if (t) {
t++;
} else {
t = 1;
}
Symbol 297 MovieClip Frame 10
if (t < 10) {
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 297 MovieClip Frame 52
stop();
_root.fon.life.text--;
_root.dead = false;
_root.char.speed = 0;
_root.fuck = false;
Symbol 343 MovieClip Frame 27
stop();
Symbol 344 MovieClip Frame 1
if (t) {
t++;
} else {
t = 1;
}
Symbol 344 MovieClip Frame 19
if (t < 5) {
gotoAndPlay (1);
} else {
gotoAndPlay (20);
}
Symbol 344 MovieClip Frame 70
stop();
_root.fon.life.text--;
_root.dead = false;
_root.char.speed = 0;
_root.fuck = false;
Symbol 392 MovieClip Frame 27
stop();
Symbol 393 MovieClip Frame 1
if (t) {
t++;
} else {
t = 1;
}
Symbol 393 MovieClip Frame 9
if (t < 10) {
gotoAndPlay (1);
} else {
gotoAndPlay (10);
}
Symbol 393 MovieClip Frame 34
stop();
_root.fon.life.text--;
_root.dead = false;
_root.char.speed = 0;
_root.fuck = false;
Symbol 395 MovieClip Frame 1
r = int(Math.random() * 3);
s = r + 8;
Symbol 395 MovieClip Frame 7
gotoAndStop(s);
Symbol 395 MovieClip Frame 8
stop();
Symbol 395 MovieClip Frame 9
stop();
Symbol 395 MovieClip Frame 10
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 6
stop();
Symbol 425 MovieClip Frame 30
stop();
_root.fon.life.text--;
_root.deadbirds = false;
_root.char.speed = 0;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY - 10;
_root.fuck = false;
Symbol 483 MovieClip Frame 27
stop();
Symbol 484 MovieClip Frame 1
if (t) {
t++;
} else {
t = 1;
}
Symbol 484 MovieClip Frame 9
if (t < 10) {
gotoAndPlay (1);
} else {
gotoAndPlay (10);
}
Symbol 484 MovieClip Frame 34
stop();
_root.fon.life.text--;
_root.dead2 = false;
_root.char.speed = 0;
_root.fuck = false;
Symbol 527 MovieClip Frame 27
stop();
Symbol 528 MovieClip Frame 1
if (t) {
t++;
} else {
t = 1;
}
Symbol 528 MovieClip Frame 10
if (t < 10) {
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 528 MovieClip Frame 34
stop();
_root.fon.life.text--;
_root.dead2 = false;
_root.char.speed = 0;
_root.fuck = false;
Symbol 579 MovieClip Frame 1
play();
Symbol 579 MovieClip Frame 202
stop();
Symbol 596 MovieClip Frame 1
play();
Symbol 596 MovieClip Frame 202
stop();
Symbol 609 MovieClip Frame 1
play();
Symbol 609 MovieClip Frame 202
stop();
Symbol 625 MovieClip Frame 1
play();
Symbol 625 MovieClip Frame 202
stop();
Symbol 626 MovieClip Frame 1
if (t) {
t++;
} else {
t = 1;
}
Symbol 626 MovieClip Frame 10
if (t < 10) {
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 626 MovieClip Frame 128
stop();
_root.fon.life.text--;
_root.dead2 = false;
_root.char.speed = 0;
_root.fuck = false;
Symbol 627 MovieClip Frame 1
r = int(Math.random() * 3);
s = r + 8;
Symbol 627 MovieClip Frame 7
gotoAndStop(s);
Symbol 627 MovieClip Frame 8
stop();
Symbol 627 MovieClip Frame 9
stop();
Symbol 627 MovieClip Frame 10
stop();
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 2
stop();
Symbol 628 MovieClip Frame 3
stop();
Symbol 628 MovieClip Frame 4
stop();
Symbol 628 MovieClip Frame 5
stop();
Symbol 628 MovieClip Frame 6
stop();
Symbol 628 MovieClip Frame 7
stop();
Symbol 628 MovieClip Frame 8
stop();
Symbol 628 MovieClip Frame 9
stop();
_root.deadboss = false;
Symbol 640 MovieClip Frame 1
gotoAndStop(_parent._parent.weapon_selector.select_id + 1);
Symbol 642 MovieClip Frame 10
stop();
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 5
stop();
Symbol 661 MovieClip Frame 8
stop();
Symbol 668 MovieClip Frame 8
stop();
Symbol 677 Button
on (release) {
_root.corn1 = _root.corn.text;
_root.life1 = _root.life.text;
_root.boll1 = _root.boll.text;
gotoAndPlay (13);
}
Symbol 683 Button
on (release) {
if (_root.corn.text >= 2) {
_root.corn.text--;
_root.corn.text--;
_root.boll.text++;
mySound = new Sound();
mySound.attachSound("ok");
mySound.start();
}
}
Symbol 684 Button
on (release) {
if (_root.corn.text >= 5) {
_root.corn.text--;
_root.corn.text--;
_root.corn.text--;
_root.corn.text--;
_root.corn.text--;
_root.life.text++;
mySound = new Sound();
mySound.attachSound("ok");
mySound.start();
}
}
Symbol 704 Button
on (release) {
_root.corn1 = _root.corn.text;
_root.life1 = _root.life.text;
_root.boll1 = _root.boll.text;
gotoAndPlay (21);
}
Symbol 734 MovieClip Frame 10
stop();
Symbol 735 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 5
stop();
Symbol 752 MovieClip Frame 84
_root.fuck = false;
Symbol 753 Button
on (release) {
_root.corn1 = _root.corn.text;
_root.life1 = _root.life.text;
_root.boll1 = _root.boll.text;
gotoAndPlay (29);
}
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 2
stop();
Symbol 841 MovieClip Frame 40
stop();
Symbol 843 Button
on (release) {
_root.corn1 = _root.corn.text;
_root.life1 = _root.life.text;
_root.boll1 = _root.boll.text;
gotoAndPlay (37);
}
Instance of Symbol 177 MovieClip in Symbol 849 MovieClip Frame 471
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
_root.fon.boll.text++;
mySound = new Sound();
mySound.attachSound("patro");
mySound.start();
unloadMovie (this);
}
}
Symbol 915 MovieClip Frame 11
stop();
Symbol 917 MovieClip Frame 41
_root.boss.dead = false;
Symbol 919 MovieClip Frame 20
stop();
Symbol 929 MovieClip Frame 800
_root.gotoAndStop(40);
Symbol 957 Button
on (release) {
play();
}
Symbol 958 Button
on (release) {
getURL ("http://pastila-club.ru/");
}
Symbol 976 Button
on (release) {
_root.corn1 = _root.corn.text;
_root.life1 = _root.life.text;
_root.boll1 = _root.boll.text;
_root.gotoAndStop(5);
}
Symbol 979 MovieClip Frame 1
stop();
Symbol 979 MovieClip Frame 2
stop();
Symbol 979 MovieClip Frame 3
stop();
Symbol 979 MovieClip Frame 4
stop();
Symbol 979 MovieClip Frame 5
stop();
Symbol 979 MovieClip Frame 6
stop();
Symbol 979 MovieClip Frame 7
stop();
Symbol 979 MovieClip Frame 8
stop();
Symbol 979 MovieClip Frame 9
stop();