Frame 1
Loaded = Math.round(getBytesLoaded());
total = Math.round(getBytesTotal());
percent = Loaded / total;
bar._width = percent * 150;
text = Math.round(percent * 100) + "%";
if (Loaded == total) {
gotoAndPlay (3);
}
Stage.showMenu = false;
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stop();
_global.gun10 = 0;
_global.gun11 = 0;
_global.gun12 = 0;
_global.gun13 = 0;
_global.harvesterextension = 0;
Frame 5
stop();
_global.attackstr = 50;
_global.cannonball = 0;
_global.bomb = 0;
_global.gamepaused = 0;
_global.shotdelay = 0;
_global.cleanup = 0;
_global.life = 500;
_global.maxlife = 500;
_global.gamepaused = 0;
_global.gamelevel = 1;
_global.monstersummonkilled = 0;
_global.monsters = 5;
_global.monstersummon = 0;
_global.stagekill = 0;
_global.money = 0;
_global.score = 0;
_global.attackstr = 50;
_global.shotpower = 700;
_global.gun1bullet = 12;
_global.gun2bullet = 7;
_global.gun3bullet = 30;
_global.gun4bullet = 30;
_global.gun5bullet = 30;
_global.gun6bullet = 32;
_global.gun7bullet = 6;
_global.gun8bullet = 12;
_global.gun9bullet = 100;
_global.gun10bullet = 10;
_global.gun11bullet = 150;
_global.gun12bullet = 250;
_global.gun13bullet = 30;
_global.currgun = "gun1";
_global.gun1 = 1;
_global.gun2 = 0;
_global.gun3 = 0;
_global.gun4 = 0;
_global.gun5 = 0;
_global.gun6 = 0;
_global.gun7 = 0;
_global.gun8 = 0;
_global.gun9 = 0;
_global.house = 1;
_global.tower = 0;
_global.toolshed = 0;
_global.fuel = 1;
_global.carpenters = 0;
_global.guards = 0;
_global.guardthrow = 1;
_global.harvesterextension = 0;
_global.harvesttime = 0;
_global.reloading = 0;
_global.reloadstart = 0;
_global.reloadingtime = 0;
_global.reloadincrement = 1;
_global.award1 = 0;
_global.award2 = 0;
_global.award3 = 0;
_global.award4 = 0;
_global.award5 = 0;
_global.award6 = 0;
_global.award7 = 0;
_global.award8 = 0;
_global.award9 = 0;
_global.award10 = 0;
_global.award11 = 0;
_global.award12 = 0;
_global.award13 = 0;
_global.award1given = 0;
_global.award2given = 0;
_global.award3given = 0;
_global.award4given = 0;
_global.award5given = 0;
_global.award6given = 0;
_global.award7given = 0;
_global.award8given = 0;
_global.award9given = 0;
_global.award10given = 0;
_global.award11given = 0;
_global.award12given = 0;
_global.award13given = 0;
_global.chickenkilled = 0;
_global.rabbitkilled = 0;
_global.pigkilled = 0;
_global.cowkilled = 0;
_global.goatkilled = 0;
_global.horsekilled = 0;
_global.sheepkilled = 0;
_global.elephantkilled = 0;
_global.bombhit1 = 0;
_global.bombhit2 = 0;
sheepsound = new Sound();
sheepsound.attachSound("sheepsound");
chickensound = new Sound();
chickensound.attachSound("chickensound");
boinksound = new Sound();
boinksound.attachSound("boinksound");
cowsound = new Sound();
cowsound.attachSound("cowsound");
ducksound = new Sound();
ducksound.attachSound("ducksound");
elephantsound = new Sound();
elephantsound.attachSound("elephantsound");
explodesound = new Sound();
explodesound.attachSound("explodesound");
goatsound = new Sound();
goatsound.attachSound("goatsound");
horsesound = new Sound();
horsesound.attachSound("horsesound");
piggysound = new Sound();
piggysound.attachSound("piggysound");
rabbitsound = new Sound();
rabbitsound.attachSound("rabbitsound");
gun1sound = new Sound();
gun1sound.attachSound("gun1sound");
gun2sound = new Sound();
gun2sound.attachSound("gun2sound");
gun3sound = new Sound();
gun3sound.attachSound("gun3sound");
gun4sound = new Sound();
gun4sound.attachSound("gun4sound");
gun5sound = new Sound();
gun5sound.attachSound("gun5sound");
gun6sound = new Sound();
gun6sound.attachSound("gun6sound");
gun7sound = new Sound();
gun7sound.attachSound("gun7sound");
gun8sound = new Sound();
gun8sound.attachSound("gun8sound");
gun9sound = new Sound();
gun9sound.attachSound("gun9sound");
gun10sound = new Sound();
gun10sound.attachSound("gun10sound");
gun11sound = new Sound();
gun11sound.attachSound("gun11sound");
gun12sound = new Sound();
gun12sound.attachSound("gun12sound");
gun13sound = new Sound();
gun13sound.attachSound("gun13sound");
squishsound = new Sound();
squishsound.attachSound("squishsound");
birdsound = new Sound();
birdsound.attachSound("birdsound");
trucksound = new Sound();
trucksound.attachSound("trucksound");
bosssound1 = new Sound();
bosssound1.attachSound("bosssound1");
bosssound2 = new Sound();
bosssound2.attachSound("bosssound2");
bosssound3 = new Sound();
bosssound3.attachSound("bosssound3");
reloadingsound = new Sound();
reloadingsound.attachSound("reloadingsound");
bullet_hit1 = new Sound();
bullet_hit1.attachSound("bullet_hit1");
bullet_hit2 = new Sound();
bullet_hit2.attachSound("bullet_hit2");
tricks = new Sound();
tricks.attachSound("tricks");
var gamebg = new Sound("gamebg");
gamebg.attachSound("gamebg");
stop();
stopAllSounds();
Mouse.show();
_root._quality = "MEDIUM";
Frame 6
stop();
stopAllSounds();
Mouse.show();
Frame 7
ctr = 0;
ctr2 = 0;
delayer = 0;
_global.callboss = 0;
onEnterFrame = function () {
if (_global.gamelevel > 20) {
_root._quality = "MEDIUM";
}
if (_global.gamepaused == 0) {
if (ctr != _global.monsters) {
if (ctr2 != 18) {
if ((_global.gamelevel > 4) && (_global.gamelevel < 8)) {
xx = random(5);
if (xx < 2) {
spawnenemy = "enemy1";
} else {
spawnenemy = "enemy2";
}
} else if ((_global.gamelevel >= 8) && (_global.gamelevel < 12)) {
xx = random(10);
if (xx < 3) {
spawnenemy = "enemy1";
} else if ((xx > 3) && (xx < 6)) {
spawnenemy = "enemy2";
} else if ((xx > 6) && (xx < 8)) {
spawnenemy = "enemy3";
} else {
spawnenemy = "enemy4";
}
} else if ((_global.gamelevel >= 12) && (_global.gamelevel < 16)) {
xx = random(18);
if (xx < 3) {
spawnenemy = "enemy1";
} else if ((xx > 3) && (xx < 6)) {
spawnenemy = "enemy2";
} else if ((xx > 6) && (xx < 8)) {
spawnenemy = "enemy3";
} else if ((xx > 8) && (xx < 12)) {
spawnenemy = "enemy5";
} else if ((xx > 12) && (xx < 15)) {
spawnenemy = "enemy4";
} else {
spawnenemy = "enemy6";
}
} else if ((_global.gamelevel >= 16) && (_global.gamelevel < 20)) {
xx = random(18);
if (xx < 3) {
spawnenemy = "enemy2";
} else if ((xx > 3) && (xx < 6)) {
spawnenemy = "enemy3";
} else if ((xx > 6) && (xx < 8)) {
spawnenemy = "enemy4";
} else if ((xx > 8) && (xx < 12)) {
spawnenemy = "enemy5";
} else if ((xx > 12) && (xx < 15)) {
spawnenemy = "enemy6";
} else {
spawnenemy = "enemy7";
}
} else if ((_global.gamelevel >= 20) && (_global.gamelevel < 23)) {
xx = random(27);
if (xx < 3) {
spawnenemy = "enemy2";
} else if ((xx > 3) && (xx < 6)) {
spawnenemy = "enemy3";
} else if ((xx > 6) && (xx < 8)) {
spawnenemy = "enemy4";
} else if ((xx > 8) && (xx < 12)) {
spawnenemy = "enemy5";
} else if ((xx > 12) && (xx < 15)) {
spawnenemy = "enemy6";
} else if ((xx > 15) && (xx < 18)) {
spawnenemy = "enemy7";
} else if ((xx > 18) && (xx < 22)) {
spawnenemy = "enemy8";
} else {
spawnenemy = "enemy9";
}
} else if ((_global.gamelevel >= 23) && (_global.gamelevel < 25)) {
xx = random(27);
if (xx < 3) {
spawnenemy = "enemy3";
} else if ((xx > 3) && (xx < 6)) {
spawnenemy = "enemy4";
} else if ((xx > 6) && (xx < 8)) {
spawnenemy = "enemy5";
} else if ((xx > 8) && (xx < 12)) {
spawnenemy = "enemy6";
} else if ((xx > 12) && (xx < 15)) {
spawnenemy = "enemy7";
} else if ((xx > 15) && (xx < 18)) {
spawnenemy = "enemy8";
} else if ((xx > 18) && (xx < 22)) {
spawnenemy = "enemy9";
} else if ((xx > 22) && (xx < 25)) {
spawnenemy = "enemy10";
} else {
spawnenemy = "enemy10";
}
} else if ((_global.gamelevel >= 25) && (_global.gamelevel < 28)) {
xx = random(27);
if (xx < 3) {
spawnenemy = "enemy4";
} else if ((xx > 3) && (xx < 6)) {
spawnenemy = "enemy5";
} else if ((xx > 6) && (xx < 8)) {
spawnenemy = "enemy6";
} else if ((xx > 8) && (xx < 12)) {
spawnenemy = "enemy7";
} else if ((xx > 12) && (xx < 15)) {
spawnenemy = "enemy8";
} else if ((xx > 15) && (xx < 18)) {
spawnenemy = "enemy9";
} else if ((xx > 18) && (xx < 22)) {
spawnenemy = "enemy10";
} else if ((xx > 22) && (xx < 25)) {
spawnenemy = "enemy11";
} else {
spawnenemy = "enemy11";
}
} else if (_global.gamelevel == 28) {
_global.monsters = 1;
spawnenemy = "boss";
} else {
spawnenemy = "enemy1";
}
if (delayer == 0) {
if ((spawnenemy == "enemy6") || (spawnenemy == "enemy11")) {
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
_root.monsterstage.attachMovie(spawnenemy, "enemy_" + _root.monsterstage.getNextHighestDepth(), _root.monsterstage.getNextHighestDepth(), {_x:spawnx, _y:spawny});
} else if (spawnenemy == "boss") {
spawnx = -200;
spawny = 268;
_root.monsterstage.attachMovie(spawnenemy, "enemy_" + _root.monsterstage.getNextHighestDepth(), _root.monsterstage.getNextHighestDepth(), {_x:spawnx, _y:spawny});
} else {
spawnx = Math.floor(Math.random() * 351) + -400;
if (ctr2 <= 6) {
spawny = 330;
} else if ((ctr2 > 6) && (ctr2 <= 12)) {
spawny = 390;
} else if ((ctr2 > 12) && (ctr2 <= 18)) {
spawny = 460;
}
_root.monsterstage.attachMovie(spawnenemy, "enemy_" + _root.monsterstage.getNextHighestDepth(), _root.monsterstage.getNextHighestDepth(), {_x:spawnx, _y:spawny});
}
}
ctr++;
ctr2++;
}
if ((ctr2 == 18) && (delayer == 0)) {
delayer = 1;
}
if (_global.monstersummonkilled == 18) {
_global.monstersummonkilled = 0;
delayer = 0;
ctr2 = 0;
}
}
if ((_global.stagekill == _global.monsters) && (checking != 1)) {
ctr = 0;
ctr2 = 0;
delayer = 0;
_global.monstersummonkilled = 0;
_global.monsters = _global.monsters + 3;
_global.gamepaused = 1;
_root.upgrades.gotoAndPlay(2);
}
}
};
function onMouseUp() {
shooting = 0;
}
function onMouseDown() {
shooting = 1;
if (_global.gamepaused == 0) {
if ((((_global.gun1 == 1) && (_global.currgun == "gun1")) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun1bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun1bullet = _global.gun1bullet - 1;
} else {
_global.reloading = 1;
}
} else if ((((_global.gun2 == 1) && (_global.currgun == "gun2")) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun2bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun2bullet = _global.gun2bullet - 1;
} else {
_global.reloading = 1;
}
} else if ((((_global.gun10 == 1) && (_global.currgun == "gun10")) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun10bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun10bullet = _global.gun10bullet - 1;
} else {
_global.reloading = 1;
}
}
}
}
gravity = 0;
Mouse.hide();
shooting = 0;
crosshair.onEnterFrame = function () {
this._x = _xmouse;
this._y = _ymouse;
if (_global.gamepaused == 1) {
this._alpha = 0;
Mouse.show();
} else {
this._alpha = 100;
Mouse.hide();
}
};
tank.onEnterFrame = function () {
mousex = _xmouse - this._x;
mousey = (_ymouse - this._y) * -1;
angle = Math.atan(mousey / mousex) / (Math.PI/180);
if (mousex < 0) {
angle = angle + 180;
}
if ((mousex >= 0) && (mousey < 0)) {
angle = angle + 360;
}
if (angle < 20) {
angle = 20;
}
firepower = Math.sqrt((mousex * mousex) + (mousey * mousey));
firepower = _global.shotpower;
this.cannon._rotation = angle * -1;
if (_global.gamepaused == 0) {
if (((((_global.gun3 == 1) && (_global.currgun == "gun3")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun3bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun3bullet = _global.gun3bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun4 == 1) && (_global.currgun == "gun4")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun4bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun4bullet = _global.gun4bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun5 == 1) && (_global.currgun == "gun5")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun5bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun5bullet = _global.gun5bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun6 == 1) && (_global.currgun == "gun6")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun6bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun6bullet = _global.gun6bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun9 == 1) && (_global.currgun == "gun9")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun9bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun9bullet = _global.gun9bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun11 == 1) && (_global.currgun == "gun11")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun11bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun11bullet = _global.gun11bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun12 == 1) && (_global.currgun == "gun12")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun12bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (10 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun12bullet = _global.gun12bullet - 1;
} else {
_global.reloading = 1;
}
}
if (((((_global.gun13 == 1) && (_global.currgun == "gun13")) && (shooting == 1)) && (_global.shotdelay == 0)) && (_global.reloading == 0)) {
_global.shotdelay = 1;
if (_global.gun13bullet > 0) {
_global.cannonball = _global.cannonball + 1;
if (_global.cannonball > 19) {
_global.cannonball = 1;
}
angle = tank.cannon._rotation - 1;
start_ball_x = tank._x + (40 * Math.cos((angle * Math.PI) / 180));
start_ball_y = tank._y + (10 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("cannonball", "cannonball_" + _global.cannonball, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * firepower;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * firepower;
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + gravity;
this._x = this._x + (this.dirx / 50);
this._y = this._y + (this.diry / 50);
if (this._y < 0) {
this.removeMovieClip();
}
if (this._x < 0) {
this.removeMovieClip();
}
if (this._y > 500) {
this.removeMovieClip();
}
};
_global.gun13bullet = _global.gun13bullet - 1;
} else {
_global.reloading = 1;
}
}
}
};
stop();
_root.birdsound.start(0, 999);
Instance of Symbol 1187 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.tower == 1) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1191 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.toolshed == 1) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1204 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.house == 1) {
this.gotoAndStop(1);
} else if (_global.house == 2) {
this.gotoAndStop(2);
} else if (_global.house == 3) {
this.gotoAndStop(3);
} else if (_global.house == 4) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1218 MovieClip "hero" in Frame 7
onClipEvent (load) {
shoot = 0;
}
onClipEvent (enterFrame) {
if (_global.house == 1) {
this._y = 275;
} else if (_global.house == 2) {
this._y = 245;
} else if (_global.house == 3) {
this._y = 245;
} else if (_global.house == 4) {
this._y = 175;
}
}
Instance of Symbol 768 MovieClip [tank] "tank" in Frame 7
onClipEvent (enterFrame) {
if (_global.house == 1) {
this._y = 275;
} else if (_global.house == 2) {
this._y = 240;
} else if (_global.house == 3) {
this._y = 240;
} else if (_global.house == 4) {
this._y = 169;
}
}
Instance of Symbol 1229 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (_global.carpenters > 0) {
if (_global.house == 1) {
this._y = 330;
} else if (_global.house == 2) {
this._y = 285;
} else if (_global.house == 3) {
this._y = 285;
} else if (_global.house == 4) {
this._y = 275;
}
_x = 757;
if (_global.life < _global.maxlife) {
this.gotoAndStop(2);
_global.life = _global.life + _global.carpenters;
if (_global.life >= _global.maxlife) {
_global.life = _global.maxlife;
this.gotoAndStop(1);
}
}
} else {
_x = 850;
}
}
}
Instance of Symbol 1241 MovieClip "harvester" in Frame 7
onClipEvent (enterFrame) {
if (_global.harvesttime == 1) {
if (this._x > -330) {
this._x = this._x - 20;
} else {
_global.harvesttime = 0;
this._x = 1040;
}
}
}
Instance of Symbol 1256 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.txthp = (_global.life + "/") + _global.maxlife;
this.txtgold = _global.money;
this.txtscore = _global.score;
this.txtlevel = _global.gamelevel;
if (_global.currgun == "gun1") {
this.txtammo = _global.gun1bullet;
} else if (_global.currgun == "gun2") {
this.txtammo = _global.gun2bullet;
} else if (_global.currgun == "gun3") {
this.txtammo = _global.gun3bullet;
} else if (_global.currgun == "gun4") {
this.txtammo = _global.gun4bullet;
} else if (_global.currgun == "gun5") {
this.txtammo = _global.gun5bullet;
} else if (_global.currgun == "gun6") {
this.txtammo = _global.gun6bullet;
} else if (_global.currgun == "gun7") {
this.txtammo = _global.gun7bullet;
} else if (_global.currgun == "gun8") {
this.txtammo = _global.gun8bullet;
} else if (_global.currgun == "gun9") {
this.txtammo = _global.gun9bullet;
} else if (_global.currgun == "gun10") {
this.txtammo = _global.gun10bullet;
} else if (_global.currgun == "gun11") {
this.txtammo = _global.gun11bullet;
} else if (_global.currgun == "gun12") {
this.txtammo = _global.gun12bullet;
} else if (_global.currgun == "gun13") {
this.txtammo = _global.gun13bullet;
}
if ((_global.life < 1) && (checking != 1)) {
checking = 1;
_global.life = 0;
_global.cleanup = 1;
_global.gameover = 1;
_root.startbattle.start();
_root.gameover.gotoAndPlay(2);
}
}
Instance of Symbol 1265 MovieClip in Frame 7
onClipEvent (load) {
_global.checker = 0;
}
onClipEvent (enterFrame) {
if ((_global.reloading == 1) && (_global.checker == 0)) {
_global.checker = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 1271 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.gamelevel == 32) {
this._alpha = 100;
this.txtlife = _global.bosslife;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1276 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.txtcounter = _global.fuel;
}
Instance of Symbol 1339 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award1 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1340 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award2 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1341 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award3 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1342 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award4 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1344 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award5 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1346 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award6 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1349 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award7 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1350 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award8 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1351 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award9 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1353 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award10 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1354 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award11 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1355 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award12 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1358 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.award13 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1525 MovieClip "upgrades" in Frame 7
onClipEvent (enterFrame) {
if (_global.loadedgame == 1) {
_global.loadedgame = 0;
this.gotoAndPlay(2);
}
}
Frame 8
stop();
Mouse.show();
Instance of Symbol 964 MovieClip in Frame 8
on (release) {
getURL ("http://www.ahjee.com", "_blank");
}
Frame 9
stop();
_global.cleanup = 1;
Mouse.show();
Instance of Symbol 1339 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award1 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1340 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award2 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1341 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award3 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1342 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award4 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1344 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award5 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1346 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award6 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1349 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award7 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1350 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award8 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1351 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award9 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1353 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award10 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1354 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award11 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1355 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award12 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1358 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_global.award13 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 16 MovieClip Frame 10
_global.life = _global.life - 500;
Symbol 24 MovieClip Frame 8
stop();
Symbol 25 MovieClip Frame 7
_parent.gotoAndStop("move");
Symbol 38 MovieClip Frame 51
stop();
Symbol 48 MovieClip Frame 84
stop();
Symbol 49 MovieClip Frame 1
_root.chickensound.start();
Symbol 49 MovieClip Frame 25
stop();
Symbol 49 MovieClip Frame 75
stop();
_parent._parent.removeMovieClip();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
stop();
Symbol 50 MovieClip Frame 3
stop();
Symbol 50 MovieClip Frame 4
stop();
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [bosschicken] Frame 1
onClipEvent (load) {
life = 2500;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
speed = 1 + random(3);
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.bosssummon = _global.bosssummon + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 69 MovieClip Frame 4
if (_parent._parent._x >= 670) {
_global.life = _global.life - 300;
}
Symbol 69 MovieClip Frame 25
_parent._parent.removeMovieClip();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Instance of Symbol 70 MovieClip in Symbol 71 MovieClip [crow] Frame 1
onClipEvent (load) {
life = 1;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(4);
speed = 4 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 30) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
_root["cannonball_" + st].removeMovieClip();
this.gotoAndStop("hurt");
}
st++;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + st])) {
if (_global.guardthrow == 1) {
life = life - 200;
} else if (_global.guardthrow == 2) {
life = life - 300;
} else if (_global.guardthrow == 3) {
life = life - 500;
}
_root["throwbomb_" + st].removeMovieClip();
}
st++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 670) {
attacking = 1;
life = 0;
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.bosssummon = _global.bosssummon + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 91 MovieClip Frame 7
_root.bosssound3.start();
Symbol 91 MovieClip Frame 40
_parent.busy = 0;
_parent.doingjob = 0;
_parent.gotoAndStop(1);
Symbol 116 MovieClip Frame 7
_root.bosssound1.start();
Symbol 117 MovieClip Frame 28
_global.life = _global.life - 1000;
Symbol 117 MovieClip Frame 56
_parent.busy = 0;
_parent.doingjob = 0;
_parent.gotoAndStop(1);
Symbol 121 MovieClip Frame 8
_root.bosssound2.start();
Symbol 121 MovieClip Frame 11
_global.life = _global.life - 500;
_root.bosssound2.start();
Symbol 121 MovieClip Frame 18
_root.bosssound2.start();
Symbol 121 MovieClip Frame 22
_root.bosssound2.start();
Symbol 121 MovieClip Frame 27
_root.bosssound2.start();
Symbol 122 MovieClip Frame 75
_parent.busy = 0;
_parent.doingjob = 0;
_parent.gotoAndStop(1);
Symbol 162 MovieClip Frame 125
stop();
_root.gotoAndStop("ending");
_global.cleanup = 1;
_global.gamepaused = 1;
_parent._parent.removeMovieClip();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Symbol 163 MovieClip Frame 3
stop();
Symbol 163 MovieClip Frame 4
stop();
Symbol 163 MovieClip Frame 5
stop();
Instance of Symbol 163 MovieClip in Symbol 164 MovieClip [boss] Frame 1
onClipEvent (load) {
arrival = 0;
busy = 0;
doingjob = 0;
_global.bosssummon = 0;
checking = 0;
_global.bosslife = 100000 /* 0x0186A0 */;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (_global.bosssummon == 12) {
_global.bosssummon = 0;
}
if (_global.bosslife > 0) {
this._alpha = 100;
st = 0;
while (st <= 30) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
this._alpha = 50;
atkpow = _global.attackstr;
_global.bosslife = _global.bosslife - atkpow;
_root["cannonball_" + st].removeMovieClip();
}
st++;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + st])) {
if (_global.guardthrow == 1) {
life = life - 200;
} else if (_global.guardthrow == 2) {
life = life - 300;
} else if (_global.guardthrow == 3) {
life = life - 500;
}
_root["throwbomb_" + st].removeMovieClip();
}
st++;
}
if ((_parent._x < 200) && (arrival == 0)) {
_parent._x = _parent._x + 2;
}
if ((_parent._x >= 200) && (arrival == 0)) {
arrival = 1;
}
if (arrival == 1) {
if (busy == 0) {
xx = random(5);
busy = 1;
}
if ((((xx == 1) && (busy == 1)) && (doingjob == 0)) && (_global.bosssummon == 0)) {
doingjob = 1;
this.gotoAndStop("attack2");
} else if (((xx == 2) && (busy == 1)) && (doingjob == 0)) {
doingjob = 1;
this.gotoAndStop("attack3");
} else if ((((xx == 3) && (busy == 1)) && (doingjob == 0)) && (_global.bosssummon == 0)) {
doingjob == 1;
_global.bosssummon = _global.bosssummon + 1;
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = Math.floor(Math.random() * 111) + 50;
monster = _root.attachMovie("crow", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
busy = 0;
doingjob = 0;
} else if ((((xx == 4) && (busy == 1)) && (doingjob == 0)) && (_global.bosssummon == 0)) {
doingjob == 1;
_global.bosssummon = _global.bosssummon + 1;
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 390;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 390;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 390;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 390;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 390;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 390;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 460;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 460;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 460;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 460;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
spawnx = Math.floor(Math.random() * 351) + -400;
spawny = 460;
monster = _root.attachMovie("bosschicken", "bosstroop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:spawnx, _y:spawny});
busy = 0;
doingjob = 0;
} else if ((((xx == 5) && (busy == 1)) && (doingjob == 0)) && (_global.bosssummon == 0)) {
doingjob = 1;
this.gotoAndStop("attack2");
} else if ((busy == 1) && (doingjob == 0)) {
busy = 0;
this.gotoAndStop("attack2");
}
}
}
if ((_global.bosslife < 1) && (checking == 0)) {
_global.bosslife = 0;
checking = 1;
bossaway = 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
_global.cleanup = 1;
this._parent.removeMovieClip();
}
}
Symbol 176 MovieClip Frame 1
_root.squishsound.start();
Symbol 176 MovieClip Frame 7
stop();
_parent._parent._parent.removeMovieClip();
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 181 MovieClip Frame 1
_root.squishsound.start();
Symbol 181 MovieClip Frame 11
stop();
_parent._parent._parent.removeMovieClip();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 8
stop();
Symbol 199 MovieClip Frame 1
_root.squishsound.start();
Symbol 199 MovieClip Frame 11
stop();
_parent._parent._parent.removeMovieClip();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 216 MovieClip Frame 3
_root.explodesound.start();
Symbol 216 MovieClip Frame 15
stop();
_parent._parent._parent.removeMovieClip();
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 1
stop();
Instance of Symbol 177 MovieClip "bmain1" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
xx = random(3);
if (xx == 1) {
base = 460;
} else if (xx == 2) {
base = 390;
} else {
base = 330;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._y >= base) {
_parent.stopper = 1;
this.gotoAndStop(2);
}
}
Symbol 218 MovieClip Frame 2
stop();
Instance of Symbol 182 MovieClip "bmain2" in Symbol 218 MovieClip Frame 2
onClipEvent (load) {
xx = random(3);
if (xx == 1) {
base = 460;
} else if (xx == 2) {
base = 390;
} else {
base = 330;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._y >= base) {
_parent.stopper = 1;
this.gotoAndStop(2);
}
}
Symbol 218 MovieClip Frame 3
stop();
Instance of Symbol 200 MovieClip "bmain3" in Symbol 218 MovieClip Frame 3
onClipEvent (load) {
xx = random(3);
if (xx == 1) {
base = 460;
} else if (xx == 2) {
base = 390;
} else {
base = 330;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._y >= base) {
_parent.stopper = 1;
this.gotoAndStop(2);
}
}
Symbol 218 MovieClip Frame 4
stop();
Instance of Symbol 217 MovieClip "bmain4" in Symbol 218 MovieClip Frame 4
onClipEvent (load) {
xx = random(3);
if (xx == 1) {
base = 460;
} else if (xx == 2) {
base = 390;
} else {
base = 330;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._y >= base) {
_parent.stopper = 1;
this.gotoAndStop(2);
}
}
Instance of Symbol 218 MovieClip "dbomb" in Symbol 219 MovieClip [throwbomb] Frame 1
onClipEvent (load) {
if (_global.guardthrow == 1) {
this.gotoAndStop(1);
} else if (_global.guardthrow == 2) {
this.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
this.gotoAndStop(3);
} else if (_global.guardthrow == 4) {
this.gotoAndStop(4);
}
dirx = random(290) * -1;
diry = -186;
gravity = 10;
stopper = 0;
}
onClipEvent (enterFrame) {
if (stopper == 0) {
this.diry = this.diry + gravity;
this._parent._x = this._parent._x + (this.dirx / 50);
this._parent._y = this._parent._y + (this.diry / 50);
}
if (_global.cleanup == 1) {
_parent.removeMovieClip();
}
}
Symbol 280 MovieClip Frame 8
_global.life = _global.life - 100;
Symbol 292 MovieClip Frame 6
_parent.gotoAndStop("move");
Symbol 305 MovieClip Frame 51
stop();
Symbol 314 MovieClip Frame 8
stop();
Symbol 331 MovieClip Frame 2
_root.horsesound.start();
Symbol 331 MovieClip Frame 47
stop();
_parent._parent.removeMovieClip();
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 3
stop();
Symbol 332 MovieClip Frame 4
stop();
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip [enemy9] Frame 1
onClipEvent (load) {
life = 500;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(2);
speed = 3 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.horsekilled = _global.horsekilled + 1;
_global.money = _global.money + 50;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 359 MovieClip Frame 8
_global.life = _global.life - 100;
Symbol 370 MovieClip Frame 6
_parent.gotoAndStop("move");
Symbol 381 MovieClip Frame 2
_root.horsesound.start();
Symbol 381 MovieClip Frame 47
stop();
_parent._parent.removeMovieClip();
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
stop();
Symbol 382 MovieClip Frame 3
stop();
Symbol 382 MovieClip Frame 4
stop();
Instance of Symbol 382 MovieClip in Symbol 383 MovieClip [enemy8] Frame 1
onClipEvent (load) {
life = 500;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(2);
speed = 3 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.horsekilled = _global.horsekilled + 1;
_global.money = _global.money + 50;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 390 MovieClip Frame 9
_global.life = _global.life - 35;
Symbol 396 MovieClip Frame 10
stop();
_parent.gotoAndStop("move");
Symbol 402 MovieClip Frame 4
_root.goatsound.start();
Symbol 402 MovieClip Frame 18
_parent._parent.removeMovieClip();
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Symbol 403 MovieClip Frame 3
stop();
Symbol 403 MovieClip Frame 4
stop();
Instance of Symbol 403 MovieClip in Symbol 404 MovieClip [enemy4] Frame 1
onClipEvent (load) {
life = 300;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(2);
speed = 1 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.goatkilled = _global.goatkilled + 1;
_global.money = _global.money + 35;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 421 MovieClip Frame 8
stop();
Symbol 423 MovieClip Frame 5
stop();
_parent.gotoAndStop("move");
Symbol 434 MovieClip Frame 8
_root.explodesound.start();
Symbol 434 MovieClip Frame 15
stop();
Symbol 438 MovieClip Frame 9
if (_parent._parent._x >= 670) {
_global.life = _global.life - 100;
}
Symbol 438 MovieClip Frame 35
stop();
_parent._parent.removeMovieClip();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
stop();
Symbol 439 MovieClip Frame 3
stop();
Instance of Symbol 439 MovieClip in Symbol 440 MovieClip [enemy6] Frame 1
onClipEvent (load) {
life = 200;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(3);
speed = 3 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 670) {
attacking = 1;
life = 0;
_global.bombhit1 = _global.bombhit1 + 1;
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
if (attacking != 1) {
_global.money = _global.money + 50;
}
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 456 MovieClip Frame 15
_global.life = _global.life - 35;
Symbol 457 MovieClip Frame 7
stop();
_parent.gotoAndStop("move");
Symbol 458 MovieClip Frame 3
_root.piggysound.start();
Symbol 458 MovieClip Frame 47
stop();
_parent._parent.removeMovieClip();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 3
stop();
Symbol 459 MovieClip Frame 4
stop();
Instance of Symbol 459 MovieClip in Symbol 460 MovieClip [enemy5] Frame 1
onClipEvent (load) {
life = 350;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(2);
speed = 1 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.pigkilled = _global.pigkilled + 1;
_global.money = _global.money + 40;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 472 MovieClip Frame 8
_global.life = _global.life - 35;
Symbol 478 MovieClip Frame 10
_parent.gotoAndStop("move");
Symbol 484 MovieClip Frame 2
_root.sheepsound.start();
Symbol 484 MovieClip Frame 55
stop();
_parent._parent.removeMovieClip();
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
stop();
Symbol 485 MovieClip Frame 3
stop();
Symbol 485 MovieClip Frame 4
stop();
Instance of Symbol 485 MovieClip in Symbol 486 MovieClip [enemy3] Frame 1
onClipEvent (load) {
life = 300;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
speed = 1;
_global.monstersummon = _global.monstersummon + 1;
if (_global.gamelevel > 15) {
speed = 1;
}
if (_global.gamelevel > 20) {
speed = 2;
}
if (_global.gamelevel > 25) {
speed = 3;
}
if (_global.gamelevel > 30) {
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.sheepkilled = _global.sheepkilled + 1;
_global.money = _global.money + 35;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 503 MovieClip Frame 10
_parent.gotoAndStop("move");
Symbol 505 MovieClip Frame 14
_global.life = _global.life - 20;
Symbol 512 MovieClip Frame 3
_root.rabbitsound.start();
Symbol 512 MovieClip Frame 65
_parent._parent.removeMovieClip();
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 2
stop();
Symbol 513 MovieClip Frame 3
stop();
Symbol 513 MovieClip Frame 4
stop();
Instance of Symbol 513 MovieClip in Symbol 514 MovieClip [enemy2] Frame 1
onClipEvent (load) {
life = 150;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
speed = 1.5;
_global.monstersummon = _global.monstersummon + 1;
if (_global.gamelevel > 15) {
speed = 2;
}
if (_global.gamelevel > 20) {
speed = 3;
}
if (_global.gamelevel > 25) {
speed = 4;
}
if (_global.gamelevel > 30) {
speed = 5;
}
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.rabbitkilled = _global.rabbitkilled + 1;
_global.money = _global.money + 30;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 2
stop();
Symbol 524 MovieClip Frame 3
stop();
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip [cannonball] Frame 1
onClipEvent (enterFrame) {
if (_global.currgun == "gun12") {
this.gotoAndStop(2);
} else if (_global.currgun == "gun13") {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Symbol 535 MovieClip Frame 10
_global.life = _global.life - 10;
Symbol 536 MovieClip Frame 7
_parent.gotoAndStop("move");
Symbol 544 MovieClip Frame 84
stop();
Symbol 545 MovieClip Frame 1
_root.chickensound.start();
Symbol 545 MovieClip Frame 25
stop();
Symbol 545 MovieClip Frame 75
stop();
_parent._parent.removeMovieClip();
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 2
stop();
Symbol 546 MovieClip Frame 3
stop();
Symbol 546 MovieClip Frame 4
stop();
Instance of Symbol 546 MovieClip in Symbol 547 MovieClip [enemy1] Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
speed = 1;
_global.monstersummon = _global.monstersummon + 1;
if (_global.gamelevel > 15) {
speed = 1;
}
if (_global.gamelevel > 20) {
speed = 2;
}
if (_global.gamelevel > 25) {
speed = 3;
}
if (_global.gamelevel > 30) {
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.chickenkilled = _global.chickenkilled + 1;
_global.money = _global.money + 20;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 560 MovieClip Frame 15
_global.life = _global.life - 100;
Symbol 561 MovieClip Frame 7
_parent.gotoAndStop("move");
Symbol 564 MovieClip Frame 3
_root.cowsound.start();
Symbol 564 MovieClip Frame 47
stop();
_parent._parent.removeMovieClip();
Symbol 565 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 2
stop();
Symbol 565 MovieClip Frame 3
stop();
Symbol 565 MovieClip Frame 4
stop();
Instance of Symbol 565 MovieClip in Symbol 566 MovieClip [enemy7] Frame 1
onClipEvent (load) {
life = 500;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
speed = 1;
_global.monstersummon = _global.monstersummon + 1;
if (_global.gamelevel > 15) {
speed = 1;
}
if (_global.gamelevel > 20) {
speed = 2;
}
if (_global.gamelevel > 25) {
speed = 3;
}
if (_global.gamelevel > 30) {
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 650) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.money = _global.money + 70;
_global.cowkilled = _global.cowkilled + 1;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 626 MovieClip Frame 16
_global.life = _global.life - 500;
Symbol 627 MovieClip Frame 4
_parent.gotoAndStop("move");
Symbol 628 MovieClip Frame 8
_root.elephantsound.start();
Symbol 628 MovieClip Frame 47
stop();
_parent._parent.removeMovieClip();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
stop();
Symbol 629 MovieClip Frame 3
stop();
Symbol 629 MovieClip Frame 4
stop();
Instance of Symbol 629 MovieClip in Symbol 630 MovieClip [enemy10] Frame 1
onClipEvent (load) {
life = 2000;
checking = 0;
power = 100;
pushback = 1;
attacking = 0;
spd = random(3);
speed = 1 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 530) {
attacking = 1;
this.gotoAndStop("attack");
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
_global.elephantkilled = _global.elephantkilled + 1;
_global.money = _global.money + 150;
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 648 MovieClip Frame 3
_parent.gotoAndStop("move");
Symbol 653 MovieClip Frame 5
if (_parent._parent._x >= 670) {
_global.life = _global.life - 1000;
}
_root.ducksound.start();
Symbol 653 MovieClip Frame 19
stop();
_parent.removeMovieClip();
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 2
stop();
Symbol 654 MovieClip Frame 3
stop();
Instance of Symbol 654 MovieClip in Symbol 655 MovieClip [enemy11] Frame 1
onClipEvent (load) {
life = 3000;
checking = 0;
power = 50;
pushback = 1;
attacking = 0;
spd = random(3);
speed = 1 + spd;
_global.monstersummon = _global.monstersummon + 1;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (life > 0) {
if (attacking == 0) {
this._parent._x = this._parent._x + speed;
}
st = 0;
while (st <= 20) {
if (this.ztarget.hitTest(_root["cannonball_" + st])) {
atkpow = _global.attackstr;
this._x = _x - pushback;
life = life - atkpow;
if (_global.currgun != "gun13") {
_root["cannonball_" + st].removeMovieClip();
}
if (random(2) == 1) {
_root.bullet_hit1.start();
} else {
_root.bullet_hit2.start();
}
this.gotoAndStop("hurt");
}
st++;
}
bt = 0;
while (bt <= 20) {
if (this.ztarget.hitTest(_root["throwbomb_" + bt])) {
if (_global.guardthrow == 1) {
life = life - 200;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain1.gotoAndStop(2);
} else if (_global.guardthrow == 2) {
life = life - 300;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain2.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
life = life - 400;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain3.gotoAndStop(2);
} else if (_global.guardthrow == 4) {
life = life - 800;
_root["throwbomb_" + bt].dbomb.stopper = 1;
_root["throwbomb_" + bt].dbomb.bmain4.gotoAndStop(2);
}
this.gotoAndStop("hurt");
}
bt++;
}
if (this.ztarget.hitTest(_root.harvester.hbody)) {
life = 0;
}
if (this._parent._x >= 670) {
_global.bombhit2 = _global.bombhit2 + 1;
attacking = 1;
life = 0;
}
}
if ((life < 1) && (checking == 0)) {
checking = 1;
if (attacking != 1) {
_global.money = _global.money + 100;
}
_global.stagekill = _global.stagekill + 1;
_global.monsterskilled = _global.monsterskilled + 1;
_global.monstersummonkilled = _global.monstersummonkilled + 1;
this.gotoAndStop("dead");
}
}
if (_global.cleanup == 1) {
this._parent.removeMovieClip();
}
}
Symbol 659 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 2
_root.gun1sound.start();
Symbol 664 MovieClip Frame 8
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 665 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 2
stop();
Symbol 675 MovieClip Frame 2
_root.gun2sound.start();
Symbol 675 MovieClip Frame 11
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 2
stop();
Symbol 684 MovieClip Frame 2
_root.gun3sound.start();
Symbol 684 MovieClip Frame 8
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
stop();
Symbol 691 MovieClip Frame 2
_root.gun4sound.start();
Symbol 691 MovieClip Frame 7
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 692 MovieClip Frame 1
stop();
Symbol 692 MovieClip Frame 2
stop();
Symbol 698 MovieClip Frame 2
_root.gun5sound.start();
Symbol 698 MovieClip Frame 6
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 2
stop();
Symbol 705 MovieClip Frame 2
_root.gun6sound.start();
Symbol 705 MovieClip Frame 5
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 706 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 2
stop();
Symbol 713 MovieClip Frame 16
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 714 MovieClip Frame 1
stop();
Symbol 714 MovieClip Frame 2
stop();
Symbol 723 MovieClip Frame 7
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 724 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 2
stop();
Symbol 732 MovieClip Frame 2
_root.gun9sound.start();
Symbol 732 MovieClip Frame 5
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 733 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 2
stop();
Symbol 739 MovieClip Frame 2
_root.gun11sound.start();
Symbol 739 MovieClip Frame 9
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 2
stop();
Symbol 748 MovieClip Frame 3
_root.gun12sound.start();
Symbol 748 MovieClip Frame 8
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 749 MovieClip Frame 1
stop();
Symbol 749 MovieClip Frame 2
stop();
Symbol 759 MovieClip Frame 2
_root.gun10sound.start();
Symbol 759 MovieClip Frame 8
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 760 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 2
stop();
Symbol 765 MovieClip Frame 2
_root.gun13sound.start();
Symbol 765 MovieClip Frame 5
_global.shotdelay = 0;
_parent.gotoAndStop(1);
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 2
stop();
Symbol 767 MovieClip Frame 1
stop();
Instance of Symbol 665 MovieClip in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 2
stop();
Instance of Symbol 676 MovieClip in Symbol 767 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 3
stop();
Instance of Symbol 685 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 4
stop();
Instance of Symbol 692 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 5
stop();
Instance of Symbol 699 MovieClip in Symbol 767 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 6
stop();
Instance of Symbol 706 MovieClip in Symbol 767 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 7
stop();
Instance of Symbol 714 MovieClip in Symbol 767 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 8
stop();
Instance of Symbol 724 MovieClip in Symbol 767 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 9
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 10
stop();
Instance of Symbol 740 MovieClip in Symbol 767 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 11
stop();
Instance of Symbol 749 MovieClip in Symbol 767 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 12
stop();
Instance of Symbol 760 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Symbol 767 MovieClip Frame 13
stop();
Instance of Symbol 766 MovieClip in Symbol 767 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.shotdelay == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 767 MovieClip "cannon" in Symbol 768 MovieClip [tank] Frame 1
onClipEvent (enterFrame) {
if (_global.currgun == "gun1") {
this.gotoAndStop(1);
} else if (_global.currgun == "gun2") {
this.gotoAndStop(2);
} else if (_global.currgun == "gun3") {
this.gotoAndStop(3);
} else if (_global.currgun == "gun4") {
this.gotoAndStop(4);
} else if (_global.currgun == "gun5") {
this.gotoAndStop(5);
} else if (_global.currgun == "gun6") {
this.gotoAndStop(6);
} else if (_global.currgun == "gun7") {
this.gotoAndStop(7);
} else if (_global.currgun == "gun8") {
this.gotoAndStop(8);
} else if (_global.currgun == "gun9") {
this.gotoAndStop(9);
} else if (_global.currgun == "gun10") {
this.gotoAndStop(10);
} else if (_global.currgun == "gun11") {
this.gotoAndStop(11);
} else if (_global.currgun == "gun12") {
this.gotoAndStop(12);
} else if (_global.currgun == "gun13") {
this.gotoAndStop(13);
}
}
Symbol 794 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 1638 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function addEventListener(eventType, delegate) {
mochi.as2.MochiSocial.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
mochi.as2.MochiSocial.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
mochi.as2.MochiSocial.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
}
Symbol 1639 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 1640 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.7 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 1641 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1642 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
static var gameStart, levelStart;
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function trigger(kind, obj) {
if (obj == undefined) {
obj = {};
} else if (obj.kind != undefined) {
trace("WARNING: optional arguements package contains key 'id', it will be overwritten");
obj.kind = kind;
}
mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startGame() {
gameStart = new Date().getTime();
trigger("start_game");
}
static function endGame() {
var _local1 = new Date().getTime() - gameStart;
trigger("end_game", {time:_local1});
}
static function startLevel() {
levelStart = new Date().getTime();
trigger("start_level");
}
static function endLevel() {
var _local1 = new Date().getTime() - levelStart;
trigger("end_level", {time:_local1});
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1643 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 804 Button
on (press) {
_root.getURL("http://www.addictinggames.com");
}
Symbol 956 MovieClip Frame 98
stop();
Symbol 957 MovieClip Frame 1
_root.stop();
Symbol 957 MovieClip Frame 205
_root.play();
Instance of Symbol 964 MovieClip in Symbol 965 MovieClip Frame 1
on (release) {
getURL ("http://www.ahjee.com", "_blank");
}
Symbol 966 MovieClip Frame 106
_root.play();
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1021 Button
on (release) {
_root.gotoAndStop("intro");
}
Symbol 1022 Button
on (release) {
_root.clickfx.start();
myLSO = SharedObject.getLocal("barnvillesavedgame");
if (myLSO.data.myObj == undefined) {
trace("No Saved Game");
} else {
trace("Loaded Game");
_global.attackstr = myLSO.data.myObj.objArray[0];
_global.shotdelay = myLSO.data.myObj.objArray[1];
_global.life = myLSO.data.myObj.objArray[2];
_global.maxlife = myLSO.data.myObj.objArray[3];
_global.gamelevel = myLSO.data.myObj.objArray[4];
_global.monsters = myLSO.data.myObj.objArray[5];
_global.money = myLSO.data.myObj.objArray[6];
_global.shotpower = myLSO.data.myObj.objArray[7];
_global.currgun = myLSO.data.myObj.objArray[8];
_global.gun1 = myLSO.data.myObj.objArray[9];
_global.gun2 = myLSO.data.myObj.objArray[10];
_global.gun3 = myLSO.data.myObj.objArray[11];
_global.gun4 = myLSO.data.myObj.objArray[12];
_global.gun5 = myLSO.data.myObj.objArray[13];
_global.gun6 = myLSO.data.myObj.objArray[14];
_global.gun7 = myLSO.data.myObj.objArray[15];
_global.gun8 = myLSO.data.myObj.objArray[16];
_global.gun9 = myLSO.data.myObj.objArray[17];
_global.gun10 = myLSO.data.myObj.objArray[18];
_global.house = myLSO.data.myObj.objArray[19];
_global.tower = myLSO.data.myObj.objArray[20];
_global.toolshed = myLSO.data.myObj.objArray[21];
_global.fuel = myLSO.data.myObj.objArray[22];
_global.carpenters = myLSO.data.myObj.objArray[23];
_global.guards = myLSO.data.myObj.objArray[24];
_global.guardthrow = myLSO.data.myObj.objArray[25];
_global.reloadincrement = myLSO.data.myObj.objArray[26];
_global.award1 = myLSO.data.myObj.objArray[27];
_global.award2 = myLSO.data.myObj.objArray[28];
_global.award3 = myLSO.data.myObj.objArray[29];
_global.award4 = myLSO.data.myObj.objArray[30];
_global.award5 = myLSO.data.myObj.objArray[31];
_global.award6 = myLSO.data.myObj.objArray[32];
_global.award7 = myLSO.data.myObj.objArray[33];
_global.award8 = myLSO.data.myObj.objArray[34];
_global.award9 = myLSO.data.myObj.objArray[35];
_global.award10 = myLSO.data.myObj.objArray[36];
_global.award11 = myLSO.data.myObj.objArray[37];
_global.award12 = myLSO.data.myObj.objArray[38];
_global.award13 = myLSO.data.myObj.objArray[39];
_global.chickenkill = myLSO.data.myObj.objArray[40];
_global.rabbitkill = myLSO.data.myObj.objArray[41];
_global.pigkill = myLSO.data.myObj.objArray[42];
_global.cowkill = myLSO.data.myObj.objArray[43];
_global.goatkill = myLSO.data.myObj.objArray[44];
_global.sheepkill = myLSO.data.myObj.objArray[45];
_global.elephantkill = myLSO.data.myObj.objArray[46];
_global.bombhit1 = myLSO.data.myObj.objArray[47];
_global.bombhit2 = myLSO.data.myObj.objArray[48];
_global.harvesterextension = myLSO.data.myObj.objArray[49];
_global.gun11 = myLSO.data.myObj.objArray[50];
_global.gun12 = myLSO.data.myObj.objArray[51];
_global.gun13 = myLSO.data.myObj.objArray[52];
_global.award1given = myLSO.data.myObj.objArray[53];
_global.award2given = myLSO.data.myObj.objArray[54];
_global.award3given = myLSO.data.myObj.objArray[55];
_global.award4given = myLSO.data.myObj.objArray[56];
_global.award5given = myLSO.data.myObj.objArray[57];
_global.award6given = myLSO.data.myObj.objArray[58];
_global.award7given = myLSO.data.myObj.objArray[59];
_global.award8given = myLSO.data.myObj.objArray[60];
_global.award9given = myLSO.data.myObj.objArray[61];
_global.award10given = myLSO.data.myObj.objArray[62];
_global.award11given = myLSO.data.myObj.objArray[63];
_global.award12given = myLSO.data.myObj.objArray[64];
_global.award13given = myLSO.data.myObj.objArray[65];
_global.gamepaused = 1;
_global.loadedgame = 1;
_root.gotoAndStop("game");
}
}
Symbol 1023 Button
on (release) {
_root.gotoAndStop("credits");
}
Symbol 1024 Button
on (release) {
getURL ("http://www.addictinggames.com/filters/cuteshooters.html", "_blank");
}
Symbol 1026 MovieClip Frame 79
_root.boinksound.start();
Symbol 1026 MovieClip Frame 108
stop();
Symbol 1060 MovieClip Frame 1
stop();
Symbol 1084 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 1146 MovieClip Frame 320
_root.gotoAndStop("game");
stop();
Symbol 1147 MovieClip Frame 160
stop();
Symbol 1178 MovieClip Frame 15
stop();
Symbol 1184 MovieClip Frame 5
if (_global.gamepaused == 0) {
_global.bomb = _global.bomb + 1;
if (_global.bomb > 20) {
_global.bomb = 1;
}
angle = -160;
start_ball_x = 600;
start_ball_y = 80;
_root.attachMovie("throwbomb", "throwbomb_" + _global.bomb, _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
}
Symbol 1184 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 1185 MovieClip Frame 1
stop();
Symbol 1185 MovieClip Frame 2
stop();
Instance of Symbol 1185 MovieClip in Symbol 1187 MovieClip Frame 1
onClipEvent (load) {
cast = 0;
}
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
if (_global.guards > 0) {
this._alpha = 100;
if (cast < 1000) {
cast = cast + _global.guards;
this.castbar._xscale = cast;
if (cast >= 1000) {
this.gotoAndStop(2);
cast = 0;
}
}
} else {
this._alpha = 0;
}
}
}
Symbol 1204 MovieClip Frame 1
stop();
Instance of Symbol 1194 MovieClip in Symbol 1204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.wall == 1) {
this._alpha = 100;
}
}
Symbol 1204 MovieClip Frame 2
stop();
Instance of Symbol 1197 MovieClip in Symbol 1204 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.wall == 1) {
this._alpha = 100;
}
}
Symbol 1204 MovieClip Frame 3
stop();
Instance of Symbol 1200 MovieClip in Symbol 1204 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.wall == 1) {
this._alpha = 100;
}
}
Symbol 1204 MovieClip Frame 4
stop();
Instance of Symbol 1203 MovieClip in Symbol 1204 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.wall == 1) {
this._alpha = 100;
}
}
Symbol 1216 MovieClip Frame 1
stop();
Symbol 1216 MovieClip Frame 2
stop();
Instance of Symbol 1216 MovieClip in Symbol 1217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.reloading == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 1229 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 2
stop();
Instance of Symbol 1232 MovieClip in Symbol 1241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.harvesterextension == 1) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1240 MovieClip "hbody" in Symbol 1241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.harvesterextension == 1) {
this._y = -23;
} else {
this._y = 4;
}
}
Instance of Symbol 1262 MovieClip in Symbol 1263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.reloadstart == 1) {
if (_global.reloadingtime < 100) {
_global.reloadingtime = _global.reloadingtime + _global.reloadincrement;
this._xscale = _global.reloadingtime;
} else if ((_global.gun1 == 1) && (_global.currgun == "gun1")) {
_global.gun1bullet = 12;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun2 == 1) && (_global.currgun == "gun2")) {
_global.gun2bullet = 7;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun3 == 1) && (_global.currgun == "gun3")) {
_global.gun3bullet = 30;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun4 == 1) && (_global.currgun == "gun4")) {
_global.gun4bullet = 30;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun5 == 1) && (_global.currgun == "gun5")) {
_global.gun5bullet = 30;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun6 == 1) && (_global.currgun == "gun6")) {
_global.gun6bullet = 32;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun7 == 1) && (_global.currgun == "gun7")) {
_global.gun7bullet = 6;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun8 == 1) && (_global.currgun == "gun8")) {
_global.gun8bullet = 12;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun9 == 1) && (_global.currgun == "gun9")) {
_global.gun9bullet = 100;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun10 == 1) && (_global.currgun == "gun10")) {
_global.gun10bullet = 10;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun11 == 1) && (_global.currgun == "gun11")) {
_global.gun11bullet = 150;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun12 == 1) && (_global.currgun == "gun12")) {
_global.gun12bullet = 250;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
} else if ((_global.gun13 == 1) && (_global.currgun == "gun13")) {
_global.gun13bullet = 30;
_global.reloading = 0;
_global.reloadingtime = 0;
_global.reloadstart = 0;
_parent._parent.gotoAndPlay("closereload");
}
}
}
Symbol 1265 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 11
stop();
_root.reloadingsound.start();
_global.reloadstart = 1;
Symbol 1265 MovieClip Frame 21
_global.checker = 0;
Symbol 1273 Button
on (release) {
if (((_global.fuel == 1) && (_global.gamepaused == 0)) && (_global.harvesttime == 0)) {
_global.fuel = 0;
_root.trucksound.start();
_global.harvesttime = 1;
}
}
Symbol 1310 MovieClip Frame 1
stop();
Symbol 1310 MovieClip Frame 2
stop();
Symbol 1310 MovieClip Frame 3
stop();
Symbol 1310 MovieClip Frame 4
stop();
Symbol 1310 MovieClip Frame 5
stop();
Symbol 1310 MovieClip Frame 6
stop();
Symbol 1310 MovieClip Frame 7
stop();
Symbol 1310 MovieClip Frame 8
stop();
Symbol 1310 MovieClip Frame 9
stop();
Symbol 1310 MovieClip Frame 10
stop();
Symbol 1310 MovieClip Frame 11
stop();
Symbol 1310 MovieClip Frame 12
stop();
Symbol 1310 MovieClip Frame 13
stop();
Instance of Symbol 1310 MovieClip in Symbol 1311 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.award1 == 1) && (_global.award1given == 0)) {
this.gotoAndStop(1);
} else if ((_global.award2 == 1) && (_global.award2given == 0)) {
this.gotoAndStop(2);
} else if ((_global.award3 == 1) && (_global.award3given == 0)) {
this.gotoAndStop(3);
} else if ((_global.award4 == 1) && (_global.award4given == 0)) {
this.gotoAndStop(4);
} else if ((_global.award5 == 1) && (_global.award5given == 0)) {
this.gotoAndStop(5);
} else if ((_global.award6 == 1) && (_global.award6given == 0)) {
this.gotoAndStop(6);
} else if ((_global.award7 == 1) && (_global.award7given == 0)) {
this.gotoAndStop(7);
} else if ((_global.award8 == 1) && (_global.award8given == 0)) {
this.gotoAndStop(8);
} else if ((_global.award9 == 1) && (_global.award9given == 0)) {
this.gotoAndStop(9);
} else if ((_global.award10 == 1) && (_global.award10given == 0)) {
this.gotoAndStop(10);
} else if ((_global.award11 == 1) && (_global.award11given == 0)) {
this.gotoAndStop(11);
} else if ((_global.award12 == 1) && (_global.award12given == 0)) {
this.gotoAndStop(12);
} else if ((_global.award13 == 1) && (_global.award13given == 0)) {
this.gotoAndStop(13);
}
}
Symbol 1325 MovieClip Frame 1
stop();
Symbol 1325 MovieClip Frame 2
stop();
Symbol 1325 MovieClip Frame 3
stop();
Symbol 1325 MovieClip Frame 4
stop();
Symbol 1325 MovieClip Frame 5
stop();
Symbol 1325 MovieClip Frame 6
stop();
Symbol 1325 MovieClip Frame 7
stop();
Symbol 1325 MovieClip Frame 8
stop();
Symbol 1325 MovieClip Frame 9
stop();
Symbol 1325 MovieClip Frame 10
stop();
Symbol 1325 MovieClip Frame 11
stop();
Symbol 1325 MovieClip Frame 12
stop();
Symbol 1325 MovieClip Frame 13
stop();
Instance of Symbol 1325 MovieClip in Symbol 1326 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.award1 == 1) && (_global.award1given == 0)) {
this.gotoAndStop(1);
} else if ((_global.award2 == 1) && (_global.award2given == 0)) {
this.gotoAndStop(2);
} else if ((_global.award3 == 1) && (_global.award3given == 0)) {
this.gotoAndStop(3);
} else if ((_global.award4 == 1) && (_global.award4given == 0)) {
this.gotoAndStop(4);
} else if ((_global.award5 == 1) && (_global.award5given == 0)) {
this.gotoAndStop(5);
} else if ((_global.award6 == 1) && (_global.award6given == 0)) {
this.gotoAndStop(6);
} else if ((_global.award7 == 1) && (_global.award7given == 0)) {
this.gotoAndStop(7);
} else if ((_global.award8 == 1) && (_global.award8given == 0)) {
this.gotoAndStop(8);
} else if ((_global.award9 == 1) && (_global.award9given == 0)) {
this.gotoAndStop(9);
} else if ((_global.award10 == 1) && (_global.award10given == 0)) {
this.gotoAndStop(10);
} else if ((_global.award11 == 1) && (_global.award11given == 0)) {
this.gotoAndStop(11);
} else if ((_global.award12 == 1) && (_global.award12given == 0)) {
this.gotoAndStop(12);
} else if ((_global.award13 == 1) && (_global.award13given == 0)) {
this.gotoAndStop(13);
}
}
Symbol 1336 MovieClip Frame 1
stop();
Symbol 1336 MovieClip Frame 22
_root.tricks.start();
Symbol 1336 MovieClip Frame 90
if ((_global.award1 == 1) && (_global.award1given == 0)) {
_global.award1given = 1;
} else if ((_global.award2 == 1) && (_global.award2given == 0)) {
_global.award2given = 1;
} else if ((_global.award3 == 1) && (_global.award3given == 0)) {
_global.award3given = 1;
} else if ((_global.award4 == 1) && (_global.award4given == 0)) {
_global.award4given = 1;
} else if ((_global.award5 == 1) && (_global.award5given == 0)) {
_global.award5given = 1;
} else if ((_global.award6 == 1) && (_global.award6given == 0)) {
_global.award6given = 1;
} else if ((_global.award7 == 1) && (_global.award7given == 0)) {
_global.award7given = 1;
} else if ((_global.award8 == 1) && (_global.award82given == 0)) {
_global.award8given = 1;
} else if ((_global.award9 == 1) && (_global.award9given == 0)) {
_global.award9given = 1;
} else if ((_global.award10 == 1) && (_global.award10given == 0)) {
_global.award10given = 1;
} else if ((_global.award11 == 1) && (_global.award11given == 0)) {
_global.award11given = 1;
} else if ((_global.award12 == 1) && (_global.award12given == 0)) {
_global.award12given = 1;
} else if ((_global.award13 == 1) && (_global.award13given == 0)) {
_global.award13given = 1;
}
Instance of Symbol 1336 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.chickenkilled >= 30) && (_global.award1 == 0)) && (_global.award1given == 0)) {
_global.award1 = 1;
this.gotoAndPlay(2);
} else if (((_global.rabbitkilled >= 30) && (_global.award2 == 0)) && (_global.award2given == 0)) {
_global.award2 = 1;
this.gotoAndPlay(2);
} else if ((((_global.goatkilled >= 15) && (_global.sheepkilled >= 15)) && (_global.award3 == 0)) && (_global.award3given == 0)) {
_global.award3 = 1;
this.gotoAndPlay(2);
} else if ((((_global.pigkilled >= 20) && (_global.cowkilled >= 20)) && (_global.award4 == 0)) && (_global.award4given == 0)) {
_global.award4 = 1;
this.gotoAndPlay(2);
} else if (((_global.horsekilled >= 20) && (_global.award5 == 0)) && (_global.award5given == 0)) {
_global.award5 = 1;
this.gotoAndPlay(2);
} else if (((_global.elephantkilled >= 40) && (_global.award6 == 0)) && (_global.award6given == 0)) {
_global.award6 = 1;
this.gotoAndPlay(2);
} else if (((_global.gamelevel >= 2) && (_global.award7 == 0)) && (_global.award7given == 0)) {
_global.award7 = 1;
this.gotoAndPlay(2);
} else if (((_global.gamelevel >= 10) && (_global.award8 == 0)) && (_global.award8given == 0)) {
_global.award8 = 1;
this.gotoAndPlay(2);
} else if (((_global.gamelevel >= 25) && (_global.award9 == 0)) && (_global.award9given == 0)) {
_global.award9 = 1;
this.gotoAndPlay(2);
} else if (((_global.money >= 15000) && (_global.award10 == 0)) && (_global.award10given == 0)) {
_global.award10 = 1;
this.gotoAndPlay(2);
} else if (((_global.bombhit1 == 10) && (_global.award11 == 0)) && (_global.award11given == 0)) {
_global.award11 = 1;
this.gotoAndPlay(2);
} else if ((((_global.gamelevel >= 25) && (_global.gun9 == 0)) && (_global.award12 == 0)) && (_global.award12given == 0)) {
_global.award12 = 1;
this.gotoAndPlay(2);
} else if (((_global.bombhit2 == 5) && (_global.award13 == 0)) && (_global.award13given == 0)) {
_global.award13 = 1;
this.gotoAndPlay(2);
}
}
Symbol 1339 MovieClip Frame 1
stop();
Symbol 1339 MovieClip Frame 2
stop();
Symbol 1340 MovieClip Frame 1
stop();
Symbol 1340 MovieClip Frame 2
stop();
Symbol 1341 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 2
stop();
Symbol 1342 MovieClip Frame 1
stop();
Symbol 1342 MovieClip Frame 2
stop();
Symbol 1344 MovieClip Frame 1
stop();
Symbol 1344 MovieClip Frame 2
stop();
Symbol 1346 MovieClip Frame 1
stop();
Symbol 1346 MovieClip Frame 2
stop();
Symbol 1349 MovieClip Frame 1
stop();
Symbol 1349 MovieClip Frame 2
stop();
Symbol 1350 MovieClip Frame 1
stop();
Symbol 1350 MovieClip Frame 2
stop();
Symbol 1351 MovieClip Frame 1
stop();
Symbol 1351 MovieClip Frame 2
stop();
Symbol 1353 MovieClip Frame 1
stop();
Symbol 1353 MovieClip Frame 2
stop();
Symbol 1354 MovieClip Frame 1
stop();
Symbol 1354 MovieClip Frame 2
stop();
Symbol 1355 MovieClip Frame 1
stop();
Symbol 1355 MovieClip Frame 2
stop();
Symbol 1358 MovieClip Frame 1
stop();
Symbol 1358 MovieClip Frame 2
stop();
Symbol 1363 Button
on (release) {
_global.cleanup = 1;
_global.gamepaused = 1;
_root.gotoAndStop("menu");
}
Symbol 1366 Button
on (release) {
if (_root.birdsound.getVolume() == 100) {
_root.birdsound.setVolume(0);
} else {
_root.birdsound.setVolume(100);
}
}
Symbol 1374 Button
on (release) {
_root.boinksound.start();
gotoAndStop ("weapon");
}
Symbol 1379 Button
on (release) {
_root.boinksound.start();
gotoAndStop ("barn");
}
Symbol 1384 Button
on (release) {
_root.boinksound.start();
myLSO = SharedObject.getLocal("barnvillesavedgame");
if (myLSO.data.myObj == undefined) {
trace("Saved Game");
} else {
trace("Overwrote Saved Game");
}
myObj = {};
myObj.objArray = new Array();
myObj.objArray[0] = _global.attackstr;
myObj.objArray[1] = _global.shotdelay;
myObj.objArray[2] = _global.life;
myObj.objArray[3] = _global.maxlife;
myObj.objArray[4] = _global.gamelevel;
myObj.objArray[5] = _global.monsters;
myObj.objArray[6] = _global.money;
myObj.objArray[7] = _global.shotpower;
myObj.objArray[8] = _global.currgun;
myObj.objArray[9] = _global.gun1;
myObj.objArray[10] = _global.gun2;
myObj.objArray[11] = _global.gun3;
myObj.objArray[12] = _global.gun4;
myObj.objArray[13] = _global.gun5;
myObj.objArray[14] = _global.gun6;
myObj.objArray[15] = _global.gun7;
myObj.objArray[16] = _global.gun8;
myObj.objArray[17] = _global.gun9;
myObj.objArray[18] = _global.gun10;
myObj.objArray[19] = _global.house;
myObj.objArray[20] = _global.tower;
myObj.objArray[21] = _global.toolshed;
myObj.objArray[22] = _global.fuel;
myObj.objArray[23] = _global.carpenters;
myObj.objArray[24] = _global.guards;
myObj.objArray[25] = _global.guardthrow;
myObj.objArray[26] = _global.reloadincrement;
myObj.objArray[27] = _global.award1;
myObj.objArray[28] = _global.award2;
myObj.objArray[29] = _global.award3;
myObj.objArray[30] = _global.award4;
myObj.objArray[31] = _global.award5;
myObj.objArray[32] = _global.award6;
myObj.objArray[33] = _global.award7;
myObj.objArray[34] = _global.award8;
myObj.objArray[35] = _global.award9;
myObj.objArray[36] = _global.award10;
myObj.objArray[37] = _global.award11;
myObj.objArray[38] = _global.award12;
myObj.objArray[39] = _global.award13;
myObj.objArray[40] = _global.chickenkill;
myObj.objArray[41] = _global.rabbitkill;
myObj.objArray[42] = _global.pigkill;
myObj.objArray[43] = _global.cowkill;
myObj.objArray[44] = _global.goatkill;
myObj.objArray[45] = _global.sheepkill;
myObj.objArray[46] = _global.elephantkill;
myObj.objArray[47] = _global.bombhit1;
myObj.objArray[48] = _global.bombhit2;
myObj.objArray[49] = _global.harvesterextension;
myObj.objArray[50] = _global.gun11;
myObj.objArray[51] = _global.gun12;
myObj.objArray[52] = _global.gun13;
myObj.objArray[53] = _global.award1given;
myObj.objArray[54] = _global.award2given;
myObj.objArray[55] = _global.award3given;
myObj.objArray[56] = _global.award4given;
myObj.objArray[57] = _global.award5given;
myObj.objArray[58] = _global.award6given;
myObj.objArray[59] = _global.award7given;
myObj.objArray[60] = _global.award8given;
myObj.objArray[61] = _global.award9given;
myObj.objArray[62] = _global.award10given;
myObj.objArray[63] = _global.award11given;
myObj.objArray[64] = _global.award12given;
myObj.objArray[65] = _global.award13given;
myLSO.data.myObj = myObj;
gameprogress.gotoAndPlay(2);
}
Symbol 1388 Button
on (release) {
_root.boinksound.start();
gotoAndStop ("medals");
}
Symbol 1392 Button
on (release) {
_root.boinksound.start();
_global.stagekill = 0;
_global.gamelevel = _global.gamelevel + 1;
_global.monsterskilled = 0;
gotoAndPlay ("ender");
}
Symbol 1414 MovieClip Frame 1
stop();
Symbol 1414 MovieClip Frame 2
stop();
Symbol 1414 MovieClip Frame 3
stop();
Symbol 1421 MovieClip Frame 1
stop();
Symbol 1421 MovieClip Frame 2
stop();
Symbol 1421 MovieClip Frame 3
stop();
Symbol 1431 Button
on (release) {
if ((_global.currgun != "gun1") && (_global.gun1 == 1)) {
_root.boinksound.start();
_global.attackstr = 50;
_global.shotpower = 700;
_global.reloadincrement = 1;
_global.currgun = "gun1";
}
}
Symbol 1432 Button
on (release) {
if ((_global.currgun != "gun2") && (_global.gun2 == 1)) {
_root.boinksound.start();
_global.attackstr = 150;
_global.shotpower = 900;
_global.reloadincrement = 1;
_global.currgun = "gun2";
}
}
Symbol 1433 Button
on (release) {
if ((_global.currgun != "gun3") && (_global.gun3 == 1)) {
_root.boinksound.start();
_global.attackstr = 50;
_global.shotpower = 1000;
_global.reloadincrement = 1.5;
_global.currgun = "gun3";
}
}
Symbol 1434 Button
on (release) {
if ((_global.currgun != "gun4") && (_global.gun4 == 1)) {
_root.boinksound.start();
_global.attackstr = 100;
_global.shotpower = 1000;
_global.reloadincrement = 2;
_global.currgun = "gun4";
}
}
Symbol 1435 Button
on (release) {
if ((_global.currgun != "gun5") && (_global.gun5 == 1)) {
_root.boinksound.start();
_global.attackstr = 150;
_global.shotpower = 1500;
_global.reloadincrement = 3;
_global.currgun = "gun5";
}
}
Symbol 1436 Button
on (release) {
if ((_global.currgun != "gun6") && (_global.gun6 == 1)) {
_root.boinksound.start();
_global.attackstr = 200;
_global.shotpower = 1800;
_global.reloadincrement = 3;
_global.currgun = "gun6";
}
}
Symbol 1437 Button
on (release) {
if ((_global.currgun != "gun9") && (_global.gun9 == 1)) {
_root.boinksound.start();
_global.attackstr = 500;
_global.shotpower = 1700;
_global.reloadincrement = 1;
_global.currgun = "gun9";
}
}
Symbol 1438 Button
on (release) {
if ((_global.money > 0) && (_global.gun1 == 0)) {
_root.boinksound.start();
_global.gun1 = 1;
_global.money = _global.money - 0;
}
}
Symbol 1439 Button
on (release) {
if (((_global.money >= 200) && (_global.gun1 == 1)) && (_global.gun2 == 0)) {
_root.boinksound.start();
_global.gun2 = 1;
_global.money = _global.money - 200;
}
}
Symbol 1440 Button
on (release) {
if ((_global.money >= 700) && (_global.gun3 == 0)) {
_root.boinksound.start();
_global.gun3 = 1;
_global.money = _global.money - 700;
}
}
Symbol 1441 Button
on (release) {
if (((_global.money >= 500) && (_global.gun3 == 1)) && (_global.gun4 == 0)) {
_root.boinksound.start();
_global.gun4 = 1;
_global.money = _global.money - 500;
}
}
Symbol 1442 Button
on (release) {
if ((_global.money >= 2500) && (_global.gun5 == 0)) {
_root.boinksound.start();
_global.gun5 = 1;
_global.money = _global.money - 2500;
}
}
Symbol 1443 Button
on (release) {
if (((_global.money >= 1000) && (_global.gun5 == 1)) && (_global.gun6 == 0)) {
_root.boinksound.start();
_global.gun6 = 1;
_global.money = _global.money - 1000;
}
}
Symbol 1444 Button
on (release) {
if ((_global.money >= 8000) && (_global.gun9 == 0)) {
_root.boinksound.start();
_global.gun9 = 1;
_global.money = _global.money - 8000;
}
}
Symbol 1448 MovieClip Frame 1
stop();
Symbol 1472 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 500) && (_global.house == 1)) {
_global.house = 2;
_global.life = 1000;
_global.maxlife = 1000;
_global.money = _global.money - 500;
}
}
Symbol 1473 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 1500) && (_global.house == 2)) {
_global.house = 3;
_global.life = 1500;
_global.maxlife = 1500;
_global.money = _global.money - 1500;
}
}
Symbol 1474 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 3000) && (_global.house == 3)) {
_global.house = 4;
_global.life = 2000;
_global.maxlife = 2000;
_global.money = _global.money - 3000;
}
}
Symbol 1475 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 200) && (_global.life < _global.maxlife)) {
_global.life = _global.life + 250;
_global.money = _global.money - 200;
if (_global.life > _global.maxlife) {
_global.life = _global.maxlife;
}
}
}
Symbol 1476 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 2000) && (_global.toolshed == 0)) {
_global.toolshed = 1;
_global.money = _global.money - 2000;
}
}
Symbol 1477 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 1500) && (_global.tower == 0)) {
_global.tower = 1;
_global.money = _global.money - 1500;
}
}
Symbol 1478 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 800) && (_global.toolshed == 1)) {
_global.carpenters = _global.carpenters + 1;
_global.money = _global.money - 800;
}
}
Symbol 1479 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 800) && (_global.tower == 1)) {
_global.guards = _global.guards + 1;
_global.money = _global.money - 800;
}
}
Symbol 1480 Button
on (release) {
_root.boinksound.start();
if (((_global.money >= 1000) && (_global.tower == 1)) && (_global.guardthrow == 1)) {
_global.guardthrow = 2;
_global.money = _global.money - 1000;
}
}
Symbol 1481 Button
on (release) {
_root.boinksound.start();
if (((_global.money >= 2000) && (_global.tower == 1)) && (_global.guardthrow == 2)) {
_global.guardthrow = 3;
_global.money = _global.money - 2000;
}
}
Symbol 1482 Button
on (release) {
_root.boinksound.start();
if ((_global.money >= 300) && (_global.fuel == 0)) {
_global.fuel = 1;
_global.money = _global.money - 300;
}
}
Symbol 1514 Button
on (release) {
_root.boinksound.start();
if (_global.gun11 == 0) {
mochi.as2.MochiCoins.showItem({item:"fec211c23d653fc8"});
}
}
Symbol 1515 Button
on (release) {
if ((_global.currgun != "gun11") && (_global.gun11 == 1)) {
_root.boinksound.start();
_global.attackstr = 350;
_global.shotpower = 1900;
_global.reloadincrement = 2;
_global.currgun = "gun11";
}
}
Symbol 1516 Button
on (release) {
_root.boinksound.start();
if (_global.gun10 == 0) {
mochi.as2.MochiCoins.showItem({item:"4c66300c9d488c2a"});
}
}
Symbol 1517 Button
on (release) {
if ((_global.currgun != "gun10") && (_global.gun10 == 1)) {
_root.boinksound.start();
_global.attackstr = 250;
_global.shotpower = 1500;
_global.reloadincrement = 2;
_global.currgun = "gun10";
}
}
Symbol 1518 Button
on (release) {
_root.boinksound.start();
if (_global.gun12 == 0) {
mochi.as2.MochiCoins.showItem({item:"b6bd64aa3ae2ea75"});
}
}
Symbol 1519 Button
on (release) {
if ((_global.currgun != "gun12") && (_global.gun10 == 12)) {
_root.boinksound.start();
_global.attackstr = 500;
_global.shotpower = 2000;
_global.reloadincrement = 2;
_global.currgun = "gun12";
}
}
Symbol 1520 Button
on (release) {
_root.boinksound.start();
if (_global.gun13 == 0) {
mochi.as2.MochiCoins.showItem({item:"8d3be508bbe21ddf"});
}
}
Symbol 1521 Button
on (release) {
if ((_global.currgun != "gun13") && (_global.gun13 == 1)) {
_root.boinksound.start();
_global.attackstr = 800;
_global.shotpower = 2000;
_global.reloadincrement = 3;
_global.currgun = "gun13";
}
}
Symbol 1522 Button
on (release) {
if (_global.tower == 1) {
mochi.as2.MochiCoins.showItem({item:"17cf75fe1a6ac946"});
}
}
Symbol 1523 Button
on (release) {
_root.boinksound.start();
if (_global.harvesterextension == 0) {
mochi.as2.MochiCoins.showItem({item:"340900f00de094f0"});
}
}
Symbol 1524 Button
on (release) {
_root.boinksound.start();
mochi.as2.MochiCoins.showItem({item:"97cbc7798dbed4d9"});
}
Symbol 1525 MovieClip Frame 1
stop();
Symbol 1525 MovieClip Frame 2
_global.gamepaused = 1;
_global.cleanup = 1;
Mouse.hide();
gotoAndPlay (3);
Symbol 1525 MovieClip Frame 25
stop();
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun1") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun3") {
this.gotoAndStop(2);
} else if (_global.gun3 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun5") {
this.gotoAndStop(2);
} else if (_global.gun5 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun9 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun9") {
this.gotoAndStop(2);
} else if (_global.gun9 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun1 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
if (_global.gun2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun2") {
this.gotoAndStop(2);
} else if (_global.gun2 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun3 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
if (_global.gun4 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun4") {
this.gotoAndStop(2);
} else if (_global.gun4 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.gun5 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
if (_global.gun6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.currgun == "gun6") {
this.gotoAndStop(2);
} else if (_global.gun6 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Symbol 1525 MovieClip Frame 26
stop();
Instance of Symbol 1276 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
this.txtcounter = _global.carpenters;
}
Instance of Symbol 1276 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
this.txtcounter = _global.guards;
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.house > 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.house == 1) {
this.gotoAndStop(3);
} else if (_global.house == 2) {
this.gotoAndStop(1);
} else if (_global.house == 3) {
this.gotoAndStop(2);
} else if (_global.house == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.house == 1) {
this.gotoAndStop(3);
} else if (_global.house == 2) {
this.gotoAndStop(3);
} else if (_global.house == 3) {
this.gotoAndStop(1);
} else if (_global.house == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.toolshed == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.tower == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.tower == 0) {
this.gotoAndStop(3);
} else if (_global.guardthrow == 1) {
this.gotoAndStop(1);
} else if (_global.guardthrow == 2) {
this.gotoAndStop(2);
} else if (_global.guardthrow == 3) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.toolshed == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.tower == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_global.tower == 0) {
this.gotoAndStop(3);
} else if (_global.guardthrow == 1) {
this.gotoAndStop(3);
} else if (_global.guardthrow == 2) {
this.gotoAndStop(1);
} else if (_global.guardthrow == 3) {
this.gotoAndStop(2);
}
}
Symbol 1525 MovieClip Frame 27
stop();
Instance of Symbol 1339 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award1 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1340 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award2 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1341 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award3 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1342 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award4 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1344 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award5 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1346 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award6 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1349 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award7 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1350 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award8 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1351 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award9 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1353 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award10 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1354 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award11 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1355 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award12 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1358 MovieClip in Symbol 1525 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.award13 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 1525 MovieClip Frame 28
stop();
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.gun11 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.currgun == "gun11") {
this.gotoAndStop(2);
} else if (_global.gun11 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.gun12 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.currgun == "gun12") {
this.gotoAndStop(2);
} else if (_global.gun12 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.gun13 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.currgun == "gun13") {
this.gotoAndStop(2);
} else if (_global.gun13 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.tower == 0) {
this.gotoAndStop(3);
} else if (_global.guardthrow != 4) {
this.gotoAndStop(1);
} else if (_global.guardthrow == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.gun10 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1421 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.currgun == "gun10") {
this.gotoAndStop(2);
} else if (_global.gun10 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_global.harvesterextension == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1414 MovieClip in Symbol 1525 MovieClip Frame 28
onClipEvent (enterFrame) {
if ((_global.toolshed == 1) && (_global.tower == 1)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Symbol 1525 MovieClip Frame 43
_global.cleanup = 0;
_global.gamepaused = 0;
_global.gun1bullet = 12;
_global.gun2bullet = 7;
_global.gun3bullet = 30;
_global.gun4bullet = 30;
_global.gun5bullet = 30;
_global.gun6bullet = 32;
_global.gun7bullet = 6;
_global.gun8bullet = 12;
_global.gun9bullet = 100;
_global.gun10bullet = 10;
_global.gun11bullet = 150;
_global.gun12bullet = 250;
_global.gun13bullet = 30;
_global.bombhit1 = 0;
_global.bombhit2 = 0;
_global.shotdelay = 0;
_global.reloading = 0;
Symbol 1534 Button
on (release) {
getURL ("http://www.addictinggames.com/filters/cuteshooters.html", "_blank");
}
Symbol 1535 MovieClip Frame 1
stop();
Symbol 1535 MovieClip Frame 2
_root.bosssound3.start();
_global.gamepaused = 1;
_global.cleanup = 1;
Symbol 1535 MovieClip Frame 25
stop();
Symbol 1541 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1602 MovieClip Frame 125
stop();
Symbol 1605 MovieClip Frame 60
stop();
Symbol 1612 MovieClip Frame 50
stop();
Symbol 1635 Button
on (release) {
getURL ("http://www.addictinggames.com/filters/cuteshooters.html", "_blank");
}
Symbol 1636 MovieClip Frame 325
stop();