Instance of Symbol 27 MovieClip in Frame 1
on (release) {
getURL ("http://www.divinewindentertainment.com", "_self");
}
Frame 2
stop();
var facing = "left";
var speed = 16;
var jumpSpeed = 41;
var gravity = 0;
var isJumping = false;
var dog = new Array();
var dogCounter = new Array();
var dogsOnStage = 0;
var rand;
var counter = 0;
var hairBall;
var hunger = 1;
var hairBallAmmo = 1;
var haveEaten = false;
var isShooting = false;
var isEating = false;
var isFarting = false;
var kills = 0;
var fartAmmo = 1;
var unharmedKills = 0;
var isHurt = false;
var obsLevel = 1;
var score = 0;
var killsInARow = 0;
var blackCatLife = 1;
var blackCatIsOnStage = false;
fartSound = new Sound();
fartSound.attachSound("Fart.mp3");
bgMusic = new Sound();
bgMusic.attachSound("MetalMistress.mp3");
var attackKeys = new Object();
Key.addListener(attackKeys);
Instance of Symbol 27 MovieClip in Frame 2
on (release) {
getURL ("http://www.divinewindentertainment.com", "_self");
}
Frame 3
stop();
bgMusic.start(4);
attackKeys.onKeyUp = function () {
if ((((Key.getCode() == 32) && (_root.hairBallAmmo < 10)) && (_root.isShooting == false)) && (Key.isDown(40) == false)) {
_root.counter++;
_root.hairBallAmmo++;
_root.hairBallBar.gotoAndStop(_root.hairBallAmmo);
_root.hairBall = _root.attachMovie("HairBall", "hairBall", _root.counter);
if (_root.facing == "right") {
_root.fatCat.gotoAndStop("HairBallRight");
_root.hairBall._x = _root.fatCat._x + 50;
}
if (_root.facing == "left") {
_root.fatCat.gotoAndStop("HairBallLeft");
_root.hairBall._x = _root.fatCat._x - 30;
}
_root.hairBall._y = _root.fatCat._y - 10;
if (_root.facing == "right") {
this.gotoAndStop("HairBallRight");
} else {
this.gotoAndStop("HairBallLeft");
}
}
if ((Key.getCode() == 40) && (_root.isHurt == false)) {
if (_root.facing == "right") {
_root.fatCat.gotoAndStop("Right");
} else {
_root.fatCat.gotoAndStop("Left");
}
}
if (((Key.getCode() == 17) && (_root.fartAmmo < 4)) && (_root.isHurt == false)) {
fartSound.start();
_root.fartAmmo++;
if (_root.score >= 50) {
_root.score = _root.score - 50;
}
_root.fartBar.gotoAndStop(_root.fartAmmo);
if (_root.facing == "right") {
_root.fatCat.gotoAndStop("FartRight");
} else {
_root.fatCat.gotoAndStop("FartLeft");
}
}
};
fatCat.onEnterFrame = function () {
if (_root.hunger >= 100) {
_root.food.removeMovieClip();
_root.gotoAndStop("Dead");
}
if (_root.blackCatLife >= 40) {
_root.score = _root.score + 500;
_root.gotoAndStop("Winner");
}
if (this.hitTest(_root.food) && (Key.isDown(16))) {
_root.haveEaten = false;
this.gotoAndStop("Eat");
}
if (_root.isJumping == true) {
this._y = this._y - (_root.jumpSpeed - _root.gravity);
_root.gravity = _root.gravity + 6;
}
if (this.hitTest(_root.ground) && (_root.isJumping == true)) {
_root.isJumping = false;
_root.gravity = 0;
this._y = 353;
}
if (Key.isDown(39) && (this.hitTest(_root.leftWall) == false)) {
_root.facing = "right";
this.gotoAndStop("Right");
this._x = this._x + _root.speed;
}
if (Key.isDown(37) && (this.hitTest(_root.rightWall) == false)) {
_root.facing = "left";
this.gotoAndStop("Left");
this._x = this._x - _root.speed;
}
if (Key.isDown(38)) {
_root.isJumping = true;
}
if (Key.isDown(40)) {
if (_root.facing == "right") {
_root.fatCat.gotoAndStop("LickRight");
} else {
_root.fatCat.gotoAndStop("LickLeft");
}
}
};
Frame 4
bgMusic.stop();
Frame 5
bgMusic.stop();
Instance of Symbol 27 MovieClip in Frame 5
on (release) {
getURL ("http://www.divinewindentertainment.com", "_self");
}
Symbol 7 MovieClip [Dog] Frame 1
stop();
var randSpeed = (Math.floor(Math.random() * 16) + 8);
var randDirection = (Math.floor(Math.random() * 2) + 1);
var isFalling = true;
var isDying = false;
this.onEnterFrame = function () {
if (_root.obsLevel == 5) {
this.removeMovieClip();
}
if (_root.hunger >= 100) {
this.removeMovieClip();
}
if ((_root.isFarting == true) && (this.isDying == false)) {
this.isDying = true;
this.gotoAndPlay(2);
}
if ((Math.abs(this._x - _root.hairBall._x) < 40) && (Math.abs(this._y - _root.hairBall._y) < 40)) {
_root.unharmedKills++;
if (_root.unharmedKills == 5) {
_root.unharmedKills = 0;
if (_root.fartAmmo > 1) {
_root.fartAmmo--;
_root.fartBar.gotoAndStop(_root.fartAmmo);
}
}
_root.dogsOnStage--;
_root.hairBall.gotoAndPlay(2);
this.gotoAndPlay(2);
}
if ((Math.abs(this._x - _root.fatCat._x) < 30) && (Math.abs(this._y - _root.fatCat._y) < 30)) {
_root.killsInARow = 0;
if (_root.score > 0) {
_root.score--;
}
_root.hunger = _root.hunger + 2;
_root.hungerBar.gotoAndStop(_root.hunger);
if (_root.unharmedKills > 0) {
_root.unharmedKills--;
}
}
if (this._y < (_root.ground._y - 30)) {
this._y = this._y + 16;
}
if (this._x <= 10) {
this.randDirection = 1;
}
if (this._x >= 535) {
this.randDirection = 2;
}
if (this.randDirection == 1) {
this._x = this._x + this.randSpeed;
}
if (this.randDirection == 2) {
this._x = this._x - this.randSpeed;
}
};
Symbol 7 MovieClip [Dog] Frame 2
_root.kills++;
_root.killsInARow++;
if (_root.isFarting == false) {
_root.score = _root.score + _root.killsInARow;
}
if (_root.kills == 10) {
_root.obsLevel = 2;
_root.obstacle.gotoAndPlay(2);
}
if (_root.kills == 25) {
_root.obsLevel = 3;
_root.obstacle.gotoAndPlay(38);
}
if (_root.kills == 45) {
_root.obsLevel = 4;
_root.obstacle.gotoAndPlay(63);
}
if (_root.kills == 70) {
_root.score = _root.score + 250;
_root.obsLevel = 5;
_root.blackCatHealthBar.gotoAndStop(_root.blackCatLife);
_root.obstacle.gotoAndPlay(88);
}
Symbol 7 MovieClip [Dog] Frame 5
this.removeMovieClip();
Symbol 11 MovieClip [HairBall] Frame 1
stop();
var thisFace;
if (_root.facing == "right") {
this.thisFace = "right";
} else {
this.thisFace = "Left";
}
this.onEnterFrame = function () {
if (this.thisFace == "right") {
this._x = this._x + 48;
} else {
this._x = this._x - 48;
}
if (this._x <= 10) {
if (_root.score > 0) {
_root.score--;
}
this.gotoAndPlay(2);
}
if (this._x >= 540) {
if (_root.score > 0) {
_root.score--;
}
this.gotoAndPlay(2);
}
};
Symbol 11 MovieClip [HairBall] Frame 3
this.removeMovieClip();
Symbol 23 Button
on (release) {
_root.play();
}
Symbol 24 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 24 MovieClip Frame 2
gotoAndPlay (1);
Symbol 42 MovieClip Frame 8
if (_root.hairBallAmmo > 1) {
_root.hairBallAmmo--;
_root.hairBallBar.gotoAndStop(_root.hairBallAmmo);
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
this.onPress = function () {
_root.gotoAndStop("PlayGame");
};
Symbol 52 MovieClip Frame 1
this.onPress = function () {
_root.gotoAndStop("Help");
};
Symbol 64 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 18
_root.hunger++;
_root.hungerBar.gotoAndStop(_root.hunger);
Symbol 71 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 4
if (_root.facing == "right") {
_root.fatCat.gotoAndStop("Right");
} else {
_root.fatCat.gotoAndStop("Left");
}
Symbol 83 MovieClip Frame 7
if (_root.facing == "left") {
_root.fatCat.gotoAndStop("Left");
} else {
_root.fatCat.gotoAndStop("Right");
}
Symbol 84 MovieClip Frame 1
_root.isEating = true;
Symbol 84 MovieClip Frame 4
_root.food.removeMovieClip();
if (_root.hunger > 25) {
_root.hunger = _root.hunger - 25;
_root.hungerBar.gotoAndStop(_root.hunger);
} else {
_root.hunger = 1;
_root.hungerBar.gotoAndStop(_root.hunger);
}
if (_root.facing == "right") {
_root.fatCat.gotoAndStop("Right");
} else {
_root.fatCat.gotoAndStop("Left");
}
Symbol 85 MovieClip Frame 1
_root.isHurt = true;
Symbol 85 MovieClip Frame 60
_root.isHurt = false;
if (_root.facing == "left") {
_root.fatCat.gotoAndStop("Left");
} else {
_root.fatCat.gotoAndStop("Right");
}
Symbol 86 MovieClip Frame 1
stop();
_root.isEating = false;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 2
_root.isEating = false;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 3
_root.isEating = false;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 4
_root.isEating = false;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 5
_root.isEating = false;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 6
_root.isEating = false;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 7
_root.isEating = false;
_root.isFarting = true;
_root.isHurt = false;
Symbol 86 MovieClip Frame 8
_root.isFarting = true;
_root.isEating = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 9
_root.isEating = true;
_root.isFarting = false;
_root.isHurt = false;
Symbol 86 MovieClip Frame 10
_root.isHurt = true;
Symbol 86 MovieClip Frame 11
_root.isHurt = true;
Symbol 89 MovieClip Frame 2
if ((_root.kills >= 10) && (_root.kills < 25)) {
this.gotoAndPlay(18);
}
if ((_root.kills >= 25) && (_root.kills < 45)) {
this.gotoAndPlay(27);
}
if ((_root.kills >= 45) && (_root.kills < 70)) {
this.gotoAndPlay(36);
}
if (_root.kills >= 70) {
this.stop();
}
Symbol 89 MovieClip Frame 54
_root.rand = Math.floor(Math.random() * 350) + 50;
_root.counter++;
Symbol 89 MovieClip Frame 55
_root.dogsOnStage++;
_root.dog[_root.counter] = _root.attachMovie("Dog", _root.dogCounter[_root.counter], _root.counter);
_root.dog[_root.counter]._x = _root.rand;
Symbol 91 MovieClip Frame 361
var randX;
if (_root.haveEaten == false) {
_root.haveEaten = true;
randX = Math.floor(Math.random() * 450) + 100;
_root.counter++;
_root.attachMovie("Food", "food", _root.counter);
_root.food._x = this.randX;
_root.food._y = 375;
}
this.gotoAndPlay(1);
Symbol 93 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root.fatCat) && (_root.isFarting == false)) && (_root.obsLevel == 4)) {
_root.hunger++;
_root.hungerBar.gotoAndStop(_root.hunger);
}
};
Symbol 102 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root.fatCat) && (_root.isFarting == false)) && (_root.obsLevel == 4)) {
_root.hunger++;
_root.hungerBar.gotoAndStop(_root.hunger);
}
};
Symbol 103 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root.fatCat) && (_root.isFarting == false)) && (_root.obsLevel == 4)) {
_root.hunger++;
_root.hungerBar.gotoAndStop(_root.hunger);
}
};
Symbol 110 MovieClip Frame 13
_root.blackCatIsOnStage = true;
Symbol 110 MovieClip Frame 240
gotoAndPlay (13);
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 37
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.food)) {
_root.food._x = _root.food._x + 100;
}
if (this.hitTest(_root.fatCat) && (_root.obsLevel == 2)) {
if ((((_root.isJumping == false) && (_root.facing == "right")) && (_root.isEating == false)) && (_root.isFarting == false)) {
_root.hunger = _root.hunger + 7;
_root.hungerBar.gotoAndStop(_root.hunger);
_root.fatCat._x = _root.fatCat._x - 30;
}
if ((((_root.isJumping == false) && (_root.facing == "left")) && (_root.isEating == false)) && (_root.isFarting == false)) {
_root.hunger = _root.hunger + 7;
_root.hungerBar.gotoAndStop(_root.hunger);
_root.fatCat._x = _root.fatCat._x + 30;
}
if (((_root.isJumping == true) && (_root.isFarting == false)) && (_root.isEating == false)) {
_root.fatCat_y = _root.fatCat_y - _root.jumpSpeed;
_root.hunger = _root.hunger + 7;
_root.hungerBar.gotoAndStop(_root.hunger);
_root.gravity = 0;
}
}
};
Symbol 111 MovieClip Frame 62
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.fatCat) && (_root.obsLevel == 3)) {
if (((_root.isJumping == false) && (_root.facing == "right")) && (_root.isFarting == false)) {
_root.hunger = _root.hunger + 1;
_root.hungerBar.gotoAndStop(_root.hunger);
}
if (((_root.isJumping == false) && (_root.facing == "left")) && (_root.isFarting == false)) {
_root.hunger = _root.hunger + 1;
_root.hungerBar.gotoAndStop(_root.hunger);
}
if ((_root.isJumping == true) && (_root.isFarting == false)) {
_root.fatCat_y = _root.fatCat_y - _root.jumpSpeed;
_root.hunger = _root.hunger + 10;
_root.hungerBar.gotoAndStop(_root.hunger);
_root.gravity = 0;
}
}
};
Symbol 111 MovieClip Frame 87
stop();
Symbol 111 MovieClip Frame 106
stop();
this.onEnterFrame = function () {
_root.blackCatHealthBar.gotoAndStop(_root.blackCatLife);
if (((this.hitTest(_root.fatCat) && (_root.obsLevel == 5)) && (_root.isFarting == false)) && (_root.blackCatIsOnStage == true)) {
_root.hunger = _root.hunger + 3;
_root.hungerBar.gotoAndStop(_root.hunger);
}
if (this.hitTest(_root.hairBall)) {
_root.hairBall.gotoAndPlay(2);
_root.blackCatLife++;
_root.score = _root.score + 1;
}
};
Symbol 119 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 1
this.onPress = function () {
_root.score = 0;
_root.hunger = 1;
_root.hungerBar.gotoAndStop(_root.hunger);
_root.kills = 0;
_root.killsInARow = 0;
_root.hairBallAmmo = 1;
_root.hairBallBar.gotoAndStop(1);
_root.unHarmedKills = 0;
_root.obsLevel = 1;
_root.blackCatLife = 1;
_root.fartAmmo = 1;
_root.fartBar.gotoAndStop(1);
_root.blackCatIsOnStage = false;
_root.gotoAndStop("PlayGame");
};