Frame 2
stop();
Instance of Symbol 67 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.lev = 1;
stopAllSounds();
_root.play();
}
}
Frame 3
stop();
Instance of Symbol 70 MovieClip "papar" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 3
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 88 MovieClip in Frame 3
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 3
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 3
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 94 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 3
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 4
stop();
Instance of Symbol 70 MovieClip "papar" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 4
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 94 MovieClip in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 4
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 5
stop();
Instance of Symbol 70 MovieClip "papar" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 5
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 94 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 88 MovieClip in Frame 5
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 5
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 6
stop();
Instance of Symbol 70 MovieClip "papar" in Frame 6
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 6
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 88 MovieClip in Frame 6
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 6
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 6
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 94 MovieClip in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 88 MovieClip in Frame 6
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 6
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 6
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 7
stop();
Instance of Symbol 70 MovieClip "papar" in Frame 7
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 7
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 94 MovieClip in Frame 7
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 88 MovieClip in Frame 7
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 7
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 7
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 7
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 8
stop();
Instance of Symbol 70 MovieClip "papar" in Frame 8
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 8
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 94 MovieClip in Frame 8
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 88 MovieClip in Frame 8
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 8
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 8
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 8
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 9
stop();
Instance of Symbol 107 MovieClip "papar" in Frame 9
onClipEvent (enterFrame) {
this._x = _root.camera._x;
}
Instance of Symbol 85 MovieClip "pig" in Frame 9
onClipEvent (load) {
_root.ohdear = new Sound(this);
_root.ohdear.attachSound("oh dear");
_root.bodacious = new Sound(this);
_root.bodacious.attachSound("bodacious");
_root.p = false;
_root.gravity = 2;
_root.speed = 15;
_root.maxspeed = 20;
this.yspeed = 0;
this.dead = false;
this.soulja = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.hitTest(_root.exite)) {
_root.lev++;
stopAllSounds();
_root.bodacious.start();
_root.play();
}
if ((Key.isDown(37) == true) && (Key.isDown(39) == false)) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x - _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this.inner.play();
} else {
this.inner.stop();
}
}
} else if ((Key.isDown(37) == false) && (Key.isDown(39) == true)) {
if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
this._x = this._x + _root.speed;
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this.inner.play();
} else {
this.inner.stop();
}
}
} else {
this.inner.stop();
}
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = 0;
} else {
this.yspeed = this.yspeed + _root.gravity;
}
if (this.yspeed > _root.maxspeed) {
this.yspeed = _root.maxspeed;
} else if (this.yspeed < (-1 * _root.maxspeed)) {
this.yspeed = -1 * _root.maxspeed;
}
if (Key.isDown(32)) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.yspeed = this.yspeed - (_root.gravity * 32);
}
}
this._y = this._y + this.yspeed;
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this.yspeed = this.yspeed + _root.gravity;
this._y = this._y + this.yspeed;
}
if (this._y > (_root.papar._y + 50)) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 94 MovieClip in Frame 9
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (this._visible == true) {
if (this.hitTest(_root.pig)) {
_root.pig.soulja = true;
stopAllSounds();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.bodacious.start();
_root.souljapig.start(0, 999);
this._visible = false;
}
}
}
Instance of Symbol 88 MovieClip in Frame 9
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 9
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 9
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 9
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 88 MovieClip in Frame 9
onClipEvent (load) {
this.speed = 10;
this.dir = 0;
this.dead = false;
}
onClipEvent (enterFrame) {
if (_root.p == false) {
if (this.dead == false) {
if (this.dir == 0) {
if (_root.platform.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(1);
this._x = this._x - this.speed;
if (_root.platform.hitTest(this._x - this.speed, this._y + 15, true) == false) {
this.dir = 1;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 1;
}
} else if (_root.platform.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) == false) {
if (_root.platform.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
this._x = this._x + this.speed;
if (_root.platform.hitTest(this._x + this.speed, this._y + 15, true) == false) {
this.dir = 0;
}
} else {
this._y = this._y + _root.gravity;
}
} else {
this.dir = 0;
}
if (this.hit.hitTest(_root.pig.hit)) {
if ((_root.pig.soulja == false) && (_root.pig.dead == false)) {
_root.ohdear.start();
_root.pig.dead = true;
} else if (_root.pig.soulja == true) {
this.dead = true;
}
}
if (_root.platform.hitTest(this._x, this._y, true)) {
while (_root.platform.hitTest(this._x, this._y - 3, true)) {
this._y--;
}
}
} else {
this._y = this._y + (_root.gravity * 5);
this._rotation = this._rotation + 10;
}
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 9
onClipEvent (enterFrame) {
this._x = _root.pig._x;
if (_root.pig._y > (this._y + 100)) {
if ((this._y + 5) < 160) {
this._y = this._y + ((_root.pig._y - (this._y + 100)) / 2);
}
} else if (_root.pig._y < (this._y - 100)) {
if ((this._y - 5) > -185) {
this._y = this._y - (((this._y - 100) - _root.pig._y) / 2);
}
}
}
Instance of Symbol 97 MovieClip in Frame 9
onClipEvent (load) {
_root.souljapig = new Sound(this);
_root.souljapig.attachSound("souljapig");
this._x = _root.camera._x;
this._y = _root.camera._y;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
if (_root.pig.soulja == true) {
this._visible = true;
} else {
_root.souljapig.stop();
this._visible = false;
}
}
Frame 10
stop();
Instance of Symbol 112 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(["leval" + _root.lev]);
}
}
Instance of Symbol 96 MovieClip "camera" in Frame 11
onClipEvent (load) {
this._x = 275;
this._y = 200;
}
onClipEvent (enterFrame) {
this._x = 275;
this._y = 200;
}
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._yscale = PercentLoaded;
} else {
gotoAndPlay ("LOADED");
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 18 MovieClip Frame 75
_root.play();
Symbol 85 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};