Frame 1
_global.startSound = function () {
_global.soundsOn = true;
_global.cont.fEmbiance();
};
Frame 2
function fLoadEnded() {
gotoAndStop ("title");
}
function fLoading(percent) {
mcPercent.gotoAndStop(percent);
mcPercent.showPercent.text = percent + "%";
}
var preload = new Preloader(_root.getBytesTotal());
Stage.showMenu = false;
_focusrect = false;
stop();
Instance of Symbol 61 MovieClip "mcPercent" in Frame 2
onClipEvent (enterFrame) {
_parent.preload.fLoadAction(_root.getBytesLoaded());
}
Instance of Symbol 65 MovieClip "ControlHS" in Frame 2
onClipEvent (load) {
function getScores() {
if (G_TestHighScore == true) {
}
if (gProxyObj == undefined) {
if (G_TestHighScore == true) {
}
listScores();
} else {
if (G_TestHighScore == true) {
}
gProxyObj.getScores(cbFunc2);
}
}
function submitScore(theScore) {
if (G_TestHighScore == true) {
}
gProxyObj.submitScore(theScore, cbFunc);
}
function initHiScores() {
if (G_TestHighScore == true) {
}
gProxyObj.setGame_Id("xs_accuracy");
}
function getScoreString() {
var _local5 = "Oops! The high score list isn't available right now!";
var _local8 = 28;
if (gProxyObj != undefined) {
var _local7 = gProxyObj.getScoreCount();
if (_local7 > 0) {
var _local1;
var _local6;
var _local3;
var _local4;
_local5 = "";
_local1 = 0;
while (_local1 < _local7) {
_local6 = gProxyObj.getScoreItem(_local1);
_local3 = _local6[0];
_local4 = fStyleNumber(_local6[1]);
spaceNb = ((_local8 - _local3.length) - _local4.length) - 4;
spaceTXT = "";
var _local2 = 0;
while (_local2 < spaceNb) {
spaceTXT = spaceTXT + " ";
_local2++;
}
if (_local1 < 9) {
_local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline);
} else if (_local1 < 99) {
_local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline);
} else {
_local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline);
}
_local1++;
}
} else {
_local5 = "Whoops, the high scores seem to have escaped!";
}
}
if (G_TestHighScore == true) {
}
return(_local5);
}
function listScores() {
if (G_TestHighScore == true) {
}
_parent.txt_highScore.text = getScoreString();
}
function cbFunc(thisBool) {
if (thisBool) {
listScores();
} else {
if (G_TestHighScore == true) {
}
_parent.txt_highScore.text = "Oops! The high score list isn\u2019t available right now!";
}
}
function cbFunc2(thisBool) {
if (thisBool) {
listScores();
} else {
_parent.txt_highScore.text = "Oops! The high score list isn\u2019t available right now!";
}
}
function fStyleNumber(_nNumber, _nMinimumChar) {
_sNumber = String(_nNumber);
_sNewString = "";
_nlength = _sNumber.length;
_nlength = _nlength / 3;
if (_nlength <= 1) {
_sNewNumber = _sNumber;
if (_sNewNumber.length < _nMinimumChar) {
_sNewNumber = "0" + _sNewNumber;
}
return(_sNewNumber);
}
_nLoop = _nlength;
while (_nLoop > 1) {
_sNewString = (" " + _sNumber.substr(-3)) + _sNewString;
_sNumber = _sNumber.substr(0, -3);
_nLoop--;
}
_sNewNumber = _sNumber + _sNewString;
if (_sNewNumber.length < _nMinimumChar) {
_sNewNumber = "0" + _sNewNumber;
}
return(_sNewNumber);
}
_global.HS = this;
var G_ShowHighScore = true;
var G_TestHighScore = false;
if (G_TestHighScore == true) {
gProxyObj.setServer("www.nick-q.mtvi.com");
gProxyObj.setScreenName("Jeffy");
gProxyObj.setIsLoggedIn(true);
}
}
Frame 3
_global.Sounds.SwitchToPack();
Instance of Symbol 245 MovieClip "controler" in Frame 3
onClipEvent (load) {
function fRandom(randNumber, modificator) {
var _local1 = 0;
_local1 = Math.floor(Math.random() * randNumber);
if (modificator) {
_local1 = _local1 + modificator;
}
return(_local1);
}
function fCreateEnemy(mcRef, mcLife, distance, startPos, mySpeed, myValue, dir) {
var _local2 = "";
if (dir) {
_local2 = dir;
}
this[mcRef._name] = new Creature(mcRef._name, mcLife, distance, startPos, mySpeed, myValue, _local2);
allCreature[allCreature.length] = mcRef._name;
}
function fCreateSasquatch(mcRef, mcLife, distance, startPos, mySpeed, myValue, dir) {
var _local2 = "";
if (dir) {
_local2 = dir;
}
this[mcRef._name] = new Sasquatch(mcRef._name, mcLife, distance, startPos, mySpeed, myValue, _local2);
}
function fCreateGun() {
myGun = new Gun();
}
function fCreateHud(mcRef) {
this[mcRef._name] = new Hud(mcRef._name);
}
function fPositionCursor() {
if (_global.inGame && (_parent._currentframe == 5)) {
if (_root._ymouse > 50) {
if ((_parent.help._currentframe == 1) && (_parent.sasquatchCall._currentframe == 1)) {
Mouse.hide();
}
_global.cursor._x = _root._xmouse;
_global.cursor._y = _root._ymouse;
if (_root._ymouse > 150) {
_global.cursor.signal._y = _global.cursor.upPos;
} else {
_global.cursor.signal._y = _global.cursor.downPos;
}
} else if ((_parent.help._currentframe == 1) && (_parent.sasquatchCall._currentframe == 1)) {
Mouse.show();
}
}
}
function fTimeToChange() {
var _local2 = 0;
var _local3 = allCreature.length;
randCreature = fRandom(_local3);
_local2 = randCreature;
do {
if (!((this[allCreature[_local2]].fGetState() != "in") || (this[allCreature[_local2]].fGetState() == "dead"))) {
break;
}
_local2++;
if (_local2 > _local3) {
_local2 = 0;
}
} while (_local2 != randCreature);
if ((this[allCreature[_local2]].fGetState() == "in") || (this[allCreature[_local2]].fGetState() == "dead")) {
this[allCreature[_local2]].fGetOut();
}
if ((showSasquatch >= 7) && (this.sasquatch.fGetState() == "in")) {
showSasquatch = 0;
this.sasquatch.fGetOut();
} else if (this.sasquatch.fGetState() == "in") {
showSasquatch++;
}
}
function fMoveAnimals() {
creatures = allCreature.length;
i = 0;
i = 0;
while (i < creatures) {
if (this[allCreature[i]].fGetState() == "move") {
this[allCreature[i]].fMoving();
}
i++;
}
}
function fVerifySignal() {
var _local3 = 0;
var _local4 = allCreature.length;
_global.cursor.signal.gotoAndStop(1);
_local3 = 0;
while (_local3 <= _local4) {
if (_global.cursor.scan.hitTest(_global.game[allCreature[_local3]]) && (this[allCreature[_local3]].fGetState() != "in")) {
lifePercent = this[allCreature[_local3]].fGetRemainLife();
_global.cursor.signal.gotoAndStop(2);
break;
}
_local3++;
}
if ((_global.cursor.scan.hitTest(_global.game.sasquatch) && (this.sasquatch.fGetState() != "in")) && (_global.cursor.signal._currentframe == 1)) {
lifePercent = this.sasquatch.fGetRemainLife();
_global.cursor.signal.gotoAndStop(2);
}
}
function fAddPauseAnim(me) {
paused[paused.length] = me;
}
function fRemovePauseAnim(me) {
var _local1 = 0;
var _local3 = paused.length;
var _local2 = 0;
_local1 = 0;
while (_local1 < _local3) {
if (paused[_local1] == me) {
_local2 = _local1;
break;
}
_local1++;
}
if (paused[_local2] != undefined) {
paused.splice(_local2, 1);
}
}
function fPause() {
if (_parent._currentframe == 3) {
if (vPause == false) {
vPause = true;
} else {
vPause = false;
_parent.gotoAndStop("gameLab");
}
} else if (vPause == false) {
vPause = true;
i = 0;
while (i < paused.length) {
paused[i].stop();
i++;
}
} else {
vPause = false;
i = 0;
while (i < paused.length) {
if (!paused[i].vStopped) {
paused[i].play();
}
i++;
}
}
}
function fRestartGame() {
_global.inGame = true;
allCreature = new Array();
happyCreatures = new Array();
randCreature = 0;
showSasquatch = 0;
paused = new Array();
vPause = false;
this.onEnterFrame = function () {
fPositionCursor();
fMoveAnimals();
fVerifySignal();
};
this.onMouseDown = function () {
if (((_parent._currentframe == 5) && (_root._ymouse > 50)) && (vPause == false)) {
if (_global.inGame) {
if ((ammo > 0) && (objProjectile._currentframe == undefined)) {
var _local4 = new Object();
projNo++;
objProjectile = new MovieClip();
objProjectile = _global.game.attachMovie(myGun.fReturnValue("trueType"), "objProj" + projNo, 500 + projNo);
_local4.x = _root._xmouse;
_local4.y = _root._ymouse;
_global.game.globalToLocal(_local4);
objProjectile._x = _local4.x;
objProjectile._y = _local4.y;
objProjectile.gotoAndPlay("fire");
}
}
}
};
}
function verifHit() {
xHit = fRandom(_global.cursor.dim) - (_global.cursor.dim / 2);
yHit = fRandom(_global.cursor.dim) - (_global.cursor.dim / 2);
_global.cursor.zone._x = xHit / 2;
_global.cursor.zone._y = yHit / 2;
_global.cursor.zone.gotoAndPlay(2);
xHit = xHit + _root._xmouse;
yHit = yHit + _root._ymouse;
ammo--;
}
function reactHit() {
var _local3 = 0;
var _local5 = allCreature.length;
var _local4 = false;
if (ammo <= 0) {
_global.game.messages.gotoAndStop("ammo");
}
hitted = "miss";
_local3 = 0;
while (_local3 < _local5) {
if (this[allCreature[_local3]].fCheckHit(xHit, yHit)) {
hitted = "hit";
_local4 = true;
animalHitted = allCreature[_local3];
break;
}
_local3++;
}
if ((_local4 == false) && (this.sasquatch.fGetState() != "dead")) {
if (this.sasquatch.fCheckHit(xHit, yHit)) {
animalHitted = "sasquatch";
hitted = "hit";
}
}
}
function fEndLevel() {
var _local4 = 0;
var _local5 = allCreature.length;
_global.inGame = false;
delete this.onEnterFrame;
_local4 = 0;
while (_local4 < _local5) {
delete this[allCreature[_local4]];
_local4++;
}
allCreature = new Array();
delete sasquatch;
myGun.fResetGun();
if ((credits >= 150) && (level < 6)) {
score = score + (level * 725);
nextFr = "gameLab";
_parent.transition.gotoAndPlay(2);
} else {
nextFr = "lose";
_parent.transition.gotoAndPlay(2);
}
}
_global.cont = this;
_global.inGame = false;
var level = 0;
var objProjectile;
var projNo = 0;
var xHit;
var yHit;
var allCreature = new Array();
var happyCreatures = new Array();
var randCreature = 0;
var showSasquatch = 0;
var myGun = new Object();
var oldCredits = 1000;
var credits = 1000;
var score = 0;
var ammo = 0;
var paused = new Array();
var vPause = false;
var hitted = "miss";
var lifePercent = 0;
var animalHitted = "";
var nextFr = "";
fCreateGun();
}
Instance of Symbol 260 MovieClip "Sounds" in Frame 3
onClipEvent (load) {
function ToMute() {
_global.Muted = true;
this.onEnterFrame = function () {
if (SetVolumePack > 0) {
SetVolumePack = SetVolumePack - 5;
packMusic.setVolume(SetVolumePack);
}
if (SetVolumeInG > 0) {
SetVolumeInG = SetVolumeInG - 5;
gameMusic.setVolume(SetVolumeInG);
}
if ((SetVolumePack == 0) && (SetVolumeInG == 0)) {
delete onEnterFrame;
}
};
}
function UnMute() {
_global.Muted = false;
this.onEnterFrame = function () {
if ((SetVolumePack < 60) && (musicIn == "Packaging")) {
SetVolumePack = SetVolumePack + 5;
packMusic.setVolume(SetVolumePack);
}
if ((SetVolumeInG < 60) && (musicIn == "InGame")) {
SetVolumeInG = SetVolumeInG + 5;
gameMusic.setVolume(SetVolumeInG);
}
if ((SetVolumePack == 60) || (SetVolumeInG == 60)) {
delete onEnterFrame;
}
};
}
function SwitchToPack() {
musicIn = "Packaging";
this.onEnterFrame = function () {
if (_global.Muted) {
delete onEnterFrame;
} else {
if (SetVolumePack < 60) {
SetVolumePack = SetVolumePack + 5;
packMusic.setVolume(SetVolumePack);
}
if (SetVolumeInG > 0) {
SetVolumeInG = SetVolumeInG - 5;
gameMusic.setVolume(SetVolumeInG);
}
if ((SetVolumePack == 60) && (SetVolumeInG == 0)) {
delete onEnterFrame;
}
}
};
}
function SwitchToInGame() {
musicIn = "InGame";
this.onEnterFrame = function () {
if (_global.Muted) {
delete onEnterFrame;
} else {
if (SetVolumeInG < 60) {
SetVolumeInG = SetVolumeInG + 5;
gameMusic.setVolume(SetVolumeInG);
}
if (SetVolumePack > 0) {
SetVolumePack = SetVolumePack - 5;
packMusic.setVolume(SetVolumePack);
}
if ((SetVolumeInG == 60) && (SetVolumePack == 0)) {
delete onEnterFrame;
}
}
};
}
function PlayASound(WitchSound) {
if (!_global.Muted) {
if ((((((WitchSound == "happy") || (WitchSound == "balloon")) || (WitchSound == "smoke")) || (WitchSound == "bomb")) || (WitchSound == "bigSticky")) || (WitchSound == "sasquatch")) {
StopASound("angryrabbit");
StopASound("smallSticky");
StopASound("bigShot");
StopASound("boom");
StopASound("angrybull");
StopASound("bullBreath");
StopASound("balloon");
StopASound("angrygirafe");
StopASound("angrygorilla");
StopASound("rabbitMove");
StopASound("walk2");
StopASound("sasquatch");
StopASound("snailMove");
StopASound("snailHurt");
StopASound("smoke");
StopASound("bigSticky");
StopASound("bomb");
}
eval (WitchSound).start(0, 1);
}
}
function StopASound(WitchSound) {
if (!_global.Muted) {
eval (WitchSound).stop();
}
}
_global.Sounds = this;
_global.Muted = false;
var SetVolumeInG;
var SetVolumePack;
var musicIn;
this.createEmptyMovieClip("packMusic", 1);
packMusic = new Sound("packMusic");
packMusic.attachSound("packMusic");
this.createEmptyMovieClip("gameMusic", 2);
gameMusic = new Sound("gameMusic");
gameMusic.attachSound("gameMusic");
packMusic.start(0, 1000000);
gameMusic.start(0, 1000000);
SetVolumePack = 60;
SetVolumeInG = 0;
musicIn = "Packaging";
packMusic.setVolume(SetVolumePack);
gameMusic.setVolume(SetVolumeInG);
this.createEmptyMovieClip("angryrabbit", 3);
angryrabbit = new Sound("angryrabbit");
angryrabbit.attachSound("angryrabbit");
this.createEmptyMovieClip("bigShot", 4);
bigShot = new Sound("bigShot");
bigShot.attachSound("bigShot");
this.createEmptyMovieClip("boom", 5);
boom = new Sound("boom");
boom.attachSound("boom");
this.createEmptyMovieClip("angrybull", 6);
angrybull = new Sound("angrybull");
angrybull.attachSound("angrybull");
this.createEmptyMovieClip("bullBreath", 7);
bullBreath = new Sound("bullBreath");
bullBreath.attachSound("bullBreath");
this.createEmptyMovieClip("balloon", 8);
balloon = new Sound("balloon");
balloon.attachSound("balloon");
this.createEmptyMovieClip("angrygirafe", 9);
angrygirafe = new Sound("angrygirafe");
angrygirafe.attachSound("angrygirafe");
this.createEmptyMovieClip("angrygorilla", 10);
angrygorilla = new Sound("angrygorilla");
angrygorilla.attachSound("angrygorilla");
this.createEmptyMovieClip("gunPiece", 11);
gunPiece = new Sound("gunPiece");
gunPiece.attachSound("gunPiece");
this.createEmptyMovieClip("filling", 12);
filling = new Sound("filling");
filling.attachSound("filling");
this.createEmptyMovieClip("reload", 13);
reload = new Sound("reload");
reload.attachSound("reload");
this.createEmptyMovieClip("happy", 14);
happy = new Sound("happy");
happy.attachSound("happy");
this.createEmptyMovieClip("rabbitMove", 15);
rabbitMove = new Sound("rabbitMove");
rabbitMove.attachSound("rabbitMove");
this.createEmptyMovieClip("walk2", 16);
walk2 = new Sound("walk2");
walk2.attachSound("walk2");
this.createEmptyMovieClip("sasquatch", 17);
sasquatch = new Sound("sasquatch");
sasquatch.attachSound("sasquatch");
this.createEmptyMovieClip("smallSticky", 18);
smallSticky = new Sound("smallSticky");
smallSticky.attachSound("smallSticky");
this.createEmptyMovieClip("snailMove", 19);
snailMove = new Sound("snailMove");
snailMove.attachSound("snailMove");
this.createEmptyMovieClip("snailHurt", 20);
snailHurt = new Sound("snailHurt");
snailHurt.attachSound("snailHurt");
this.createEmptyMovieClip("smoke", 21);
smoke = new Sound("smoke");
smoke.attachSound("smoke");
this.createEmptyMovieClip("bigSticky", 22);
bigSticky = new Sound("bigSticky");
bigSticky.attachSound("bigSticky");
this.createEmptyMovieClip("bomb", 23);
bomb = new Sound("bomb");
bomb.attachSound("bomb");
this.createEmptyMovieClip("ring", 24);
ring = new Sound("ring");
ring.attachSound("ring");
ring.setVolume(50);
}
Frame 4
Mouse.show();
_global.Sounds.SwitchToPack();
_global.cont.nextFr = "gameZoo";
Instance of Symbol 620 MovieClip "labo" in Frame 4
onClipEvent (load) {
_global.lab = this;
}
Instance of Symbol 645 MovieClip "hud" in Frame 4
onClipEvent (load) {
_global.cont.fCreateHud(this);
}
Frame 5
_global.cont.fRestartGame();
_global.Sounds.SwitchToInGame();
_global.cont.nextFr = "gameLab";
Instance of Symbol 967 MovieClip "game" in Frame 5
onClipEvent (load) {
_global.game = this;
}
Instance of Symbol 995 MovieClip "reticle" in Frame 5
onClipEvent (load) {
Mouse.hide();
_global.cursor = this;
}
onClipEvent (unload) {
Mouse.show();
}
Instance of Symbol 1040 MovieClip in Frame 5
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Frame 6
_global.Sounds.SwitchToPack();
_global.HS.initHiScores();
if (gProxyObj.getIsLoggedIn()) {
btn_submit_score._visible = true;
} else {
btn_submit_score._visible = false;
}
if (_global.HS.G_ShowHighScore == false) {
btn_submit_score._visible = false;
btn_view_score._visible = false;
}
var l_totalScore = (_global.cont.credits + _global.cont.score);
Points.text = _global.cont.score;
PointsS.text = Points.text;
Score.text = l_totalScore;
ScoreS.text = Score.text;
Frame 7
_global.Sounds.SwitchToPack();
_global.HS.initHiScores();
if (gProxyObj.getIsLoggedIn()) {
btn_submit_score._visible = true;
} else {
btn_submit_score._visible = false;
}
if (_global.HS.G_ShowHighScore == false) {
btn_submit_score._visible = false;
btn_view_score._visible = false;
}
var l_totalScore = (_global.cont.credits + _global.cont.score);
Points.text = _global.cont.score;
PointsS.text = Points.text;
Score.text = l_totalScore;
ScoreS.text = Score.text;
Frame 8
if (gProxyObj.getIsLoggedIn()) {
btn_submit_score._visible = true;
} else {
btn_submit_score._visible = false;
}
if (_global.ScoreSubmited == true) {
_global.HS.submitScore(_global.cont.score);
btn_submit_score._visible = false;
} else {
_global.HS.getScores();
}
txtScore.text = _global.cont.score;
Instance of Symbol 1155 MovieClip "ControlScroll" in Frame 8
onClipEvent (load) {
scrollUp = false;
scrollDown = false;
}
onClipEvent (enterFrame) {
if (scrollUp == true) {
_parent.txt_highScore.scroll--;
} else if (scrollDown == true) {
_parent.txt_highScore.scroll++;
}
}
Frame 9
gotoAndStop ("title");
Symbol 1156 MovieClip [__Packages.Preloader] Frame 0
class Preloader
{
function Preloader (mcTotalBytes) {
vTotalBytes = mcTotalBytes;
}
function fLoadAction(mcBytesLoaded) {
vLoadedBytes = mcBytesLoaded;
if (vLoadedBytes == vTotalBytes) {
_root.fLoadEnded();
} else {
vPercentage = Math.round(100 * (vLoadedBytes / vTotalBytes));
_root.fLoading(vPercentage);
}
}
var vTotalBytes = 0;
var vLoadedBytes = 0;
var vPercentage = 0;
}
Symbol 1157 MovieClip [__Packages.Creature] Frame 0
class Creature
{
function Creature (reference, life, distance, startPos, mySpeed, myValue, newDir) {
ref = reference;
currentLife = (energy = life);
curState = "in";
oldState = curState;
maxX = startPos;
minX = startPos - distance;
speed = mySpeed;
faceDiv = energy / 5;
eyesDiv = energy / 10;
creditValue = myValue;
if (newDir != "") {
myDirection = newDir;
}
fSetRandNumber();
}
function fSetRandNumber() {
switch (_global.cont.level + 1) {
case 1 :
randHide = 20;
randChange = 60;
break;
case 2 :
randHide = 25;
randChange = 70;
break;
case 3 :
randHide = 25;
randChange = 85;
break;
case 4 :
randHide = 30;
randChange = 90;
break;
case 5 :
randHide = 35;
randChange = 85;
break;
case 6 :
randHide = 40;
randChange = 80;
}
}
function fGetOut() {
if ((_global.soundsOn && (currentLife > 0)) && ((ref != "snail") && (ref != "sasquatch"))) {
_global.cont.mySounds.attachSound("angry" + ref);
_global.cont.mySounds.start();
}
_global.game[ref].gotoAndStop("shown");
_global.cont["pos" + _global.game[ref].myPos] = true;
oldState = curState;
curState = "out";
}
function fGetIn() {
oldState = curState;
curState = "in";
}
function fCheckHit(xHit, yHit) {
if (canBeHit) {
if ((curState == "out") || (curState == "move")) {
if (_global.game[ref].hitZone.hitTest(xHit, yHit, false)) {
_global.cont.score = _global.cont.score + 5;
_global.Sounds.PlayASound(_global.cont.myGun.fReturnValue("sound"));
if (_global.cont.myGun.fReturnValue("power") < 3) {
_global.game[ref].gotoAndStop("hurtLow");
} else {
_global.game[ref].gotoAndStop("hurtHi");
}
var _local3 = _global.cont._parent.carnage.bar._currentframe - (energy * 5);
if (_local3 < 1) {
_local3 = 1;
}
_global.cont._parent.carnage.bar.gotoAndPlay(_local3);
oldState = curState;
curState = "hurt";
if (randHide < 60) {
randHide = randHide + 10;
}
if ((ref == "sasquatch") && (_global.cont.myGun.fReturnValue("power") <= 1)) {
} else {
currentLife = currentLife - _global.cont.myGun.fReturnValue("power");
}
if (currentLife <= 0) {
fDeath();
}
return(true);
}
return(false);
}
} else {
return(false);
}
}
function fGetRemainLife() {
var _local2 = 100 - Math.floor((currentLife * 100) / energy);
if (_local2 >= 100) {
_local2 = 100;
} else if (_local2 <= 0) {
_local2 = 0;
}
return(_local2);
}
function fGetFace() {
face = 6 - Math.floor(currentLife / faceDiv);
if (face >= 6) {
face = 5;
}
return(face);
}
function fGetEyes() {
if (currentLife <= 0) {
eyes = 10;
} else {
eyes = 1;
}
return(eyes);
}
function fGetState() {
return(curState);
}
function fResetLife() {
currentLife = energy;
canBeHit = true;
}
function fSetState(newState) {
oldState = curState;
curState = newState;
}
function fDeath() {
_global.Sounds.PlayASound("happy");
_global.cont.happyCreatures[_global.cont.happyCreatures.length] = ref;
if (_global.cont.sasquatch.fGetState() != "dead") {
_global.cont.sasquatch.fGetOut();
}
oldState = curState;
if ((((ref == "rabbit") || (ref == "snail")) && (_global.cont.myGun.fReturnValue("oldLure") == "tiny")) || ((((ref == "girafe") || (ref == "bull")) || (ref == "gorilla")) && (_global.cont.myGun.fReturnValue("oldLure") == "big"))) {
_global.cont.credits = _global.cont.credits + Math.round(creditValue + Math.floor(creditValue / 3));
_global.cont.score = _global.cont.score + Math.round(creditValue + Math.floor(creditValue / 3));
_global.cont.oldCredits = _global.cont.oldCredits + Math.round(creditValue + Math.floor(creditValue / 3));
} else {
_global.cont.credits = _global.cont.credits + creditValue;
_global.cont.score = _global.cont.score + creditValue;
_global.cont.oldCredits = _global.cont.oldCredits + creditValue;
}
curState = "dead";
currentLife = 0;
canBeHit = false;
_global.cont.showSasquatch = 0;
_global.cont._parent.carnage.bar.gotoAndPlay(_global.cont._parent.carnage.bar._currentframe - 90);
if (_global.cont.happyCreatures.length == _global.cont.allCreature.length) {
if (_global.cont.ammo <= 0) {
_global.cont.myGun.fAddAmmo(0);
if (_global.cont.level >= 6) {
_global.game.messages.gotoAndStop("allAnimals");
}
} else if (_global.cont.sasquatch.fGetState() != "dead") {
_global.cont.fPause();
_global.cont._parent.sasquatchCall.gotoAndPlay(2);
} else {
_global.game.messages.gotoAndStop("complete");
}
}
}
function fChooseAction() {
var _local3 = _global.cont.fRandom(100);
if (_local3 <= randHide) {
_global.game[ref].gotoAndStop("hiden");
} else if (_local3 <= randChange) {
if ((curState == "out") || ((curState == "hurt") && (oldState == "out"))) {
_global.game[ref].gotoAndStop("move");
oldState = curState;
curState = "move";
} else {
_global.game[ref].gotoAndStop("idleUp");
oldState = curState;
curState = "out";
}
} else if (curState == "hurt") {
if (oldState == "move") {
_global.game[ref].gotoAndStop("move");
oldState = curState;
curState = "move";
} else {
_global.game[ref].gotoAndStop("idleUp");
oldState = curState;
curState = "out";
}
} else {
_global.game[ref].myAction.play();
}
}
function fMoving() {
if (myDirection == "left") {
if ((_global.game[ref]._x - speed) >= minX) {
_global.game[ref]._x = _global.game[ref]._x - speed;
} else {
_global.game[ref]._x = _global.game[ref]._x + (speed - (_global.game[ref] - maxX));
if (_global.game[ref]._xscale == -100) {
_global.game[ref]._xscale = 100;
} else {
_global.game[ref]._xscale = -100;
}
myDirection = "right";
}
} else if ((_global.game[ref]._x + speed) <= maxX) {
_global.game[ref]._x = _global.game[ref]._x + speed;
} else {
_global.game[ref]._x = _global.game[ref]._x - (speed - (maxX - _global.game[ref]));
if (_global.game[ref]._xscale == -100) {
_global.game[ref]._xscale = 100;
} else {
_global.game[ref]._xscale = -100;
}
myDirection = "left";
}
}
var ref = "";
var curState = "";
var oldState = "";
var energy = 0;
var currentLife = 0;
var minX = 0;
var maxX = 0;
var myDirection = "left";
var speed = 0;
var randHide = 0;
var randChange = 0;
var face = 1;
var faceDiv = 0;
var eyes = 1;
var eyesDiv = 0;
var canBeHit = true;
var creditValue = 0;
}
Symbol 1158 MovieClip [__Packages.Sasquatch] Frame 0
class Sasquatch extends Creature
{
var curState, oldState, creditValue, currentLife, canBeHit, ref;
function Sasquatch (reference, life, distance, startPos, mySpeed, myValue, newDir) {
super(reference, life, distance, startPos, mySpeed, myValue, newDir);
}
function fDeath() {
curState = "dead";
oldState = curState;
_global.cont.credits = _global.cont.credits + creditValue;
_global.cont.score = _global.cont.score + creditValue;
_global.cont.oldCredits = _global.cont.oldCredits + creditValue;
currentLife = 0;
canBeHit = false;
_global.game.messages.gotoAndStop("sasquatch");
_global.cont.score = _global.cont.score + 5000;
}
function fChooseAction() {
_global.game[ref].gotoAndStop("RageCall");
}
function fRageCall() {
var _local2 = 0;
var _local3 = _global.cont.allCreature.length;
_global.cont.happyCreatures = new Array();
_local2 = 0;
while (_local2 < _local3) {
if ((_global.cont[_global.cont.allCreature[_local2]].fGetState() != "in") || (_global.cont[_global.cont.allCreature[_local2]].fGetState() != "dead")) {
_global.game[_global.cont.allCreature[_local2]].gotoAndStop("hiden");
}
_global.cont[_global.cont.allCreature[_local2]].fResetLife();
_local2++;
}
}
function fGetIn() {
if (curState != "dead") {
oldState = curState;
curState = "in";
}
}
}
Symbol 1159 MovieClip [__Packages.Gun] Frame 0
class Gun
{
function Gun () {
}
function fSetValue(gunPart, newPart, price, newType) {
this[gunPart] = newPart;
this[gunPart + "Price"] = price;
if (newType) {
this[gunPart + "Type"] = newType;
}
}
function fAddAmmo(ammoSize, newType, newPower, price, myAmmo, ammoSound, ammoNum) {
if (newType) {
ammoPrice = price;
ammoType = newType;
power = newPower;
trueType = myAmmo;
sound = ammoSound;
ammoPack = ammoNum;
}
if (ammoSize != 0) {
ammo = ammo + ammoNum;
} else {
_global.cont.ammo = 0;
power = 0;
ammoPrice = 0;
ammo = 0;
ammoPack = 1;
ammoType = "";
trueType = "";
sound = "";
}
}
function fReturnValue(param) {
return(this[param]);
}
function fCreateGun() {
if (((((frame != "") || (oldFrame != "")) && ((cannon != "") || (oldCannon != ""))) && (ammo > 0)) && ((sight != "") || (oldSight != "none"))) {
_global.cont.oldCredits = _global.cont.credits;
if (frame != "") {
this[frame + "Frame"] = (oldFrame = frame);
frame = "";
}
if (cannon != "") {
this[cannon + "Cannon"] = (oldCannon = cannon);
cannon = "";
}
if (cannonType != "") {
oldCannonType = cannonType;
cannonType = 0;
}
if (sight != "") {
this[sight + "Sight"] = (oldSight = sight);
sight = "";
}
if (lure != "") {
this[lure + "Lure"] = (oldLure = lure);
lure = "";
}
return(true);
}
return(false);
}
function fResetGun() {
if (oldFrame != "none") {
frame = oldFrame;
} else {
frame = "";
}
if (oldCannon != "none") {
cannon = oldCannon;
cannonType = oldCannonType;
} else {
cannon = "";
oldCannonType = 0;
}
if (oldSight != "none") {
sight = oldSight;
} else {
sight = "";
}
if (oldLure != "none") {
lure = oldLure;
} else {
lure = "";
}
fAddAmmo(0);
if ((_global.lab.rollover._currentframe < 36) && (_global.lab.rollover._currentframe != 1)) {
_global.lab.rollover.gotoAndPlay("close");
}
if (oldFrame != "none") {
_global.lab.frame.gotoAndStop(1);
_global.lab.ammo.gotoAndStop(2);
_global.lab.ammo.gotoAndStop(1);
_global.lab.cannon.gotoAndStop(1);
_global.lab.misc.gotoAndStop(1);
} else {
_global.lab.frame.gotoAndStop(2);
_global.lab.ammo.gotoAndStop(2);
_global.lab.cannon.gotoAndStop(1);
_global.lab.misc.gotoAndStop(1);
_global.lab.frame.smoke.gotoAndStop(1);
_global.lab.frame.glue.gotoAndStop(1);
_global.lab.frame.both.gotoAndStop(1);
}
fSetGun();
}
function fSetGun() {
_global.cont.credits = _global.cont.oldCredits;
_global.lab.ammos.gotoAndStop(1);
_global.lab.frames.gotoAndStop(oldFrame);
_global.lab.cannons.gotoAndStop(oldCannon);
_global.lab.sights.gotoAndStop(oldSight);
_global.lab.lures.gotoAndStop(oldLure);
_global.lab.cannons.posCannon.gotoAndStop(oldFrame);
_global.lab.sights.posSight.gotoAndStop(oldFrame);
_global.lab.lures.posLure.gotoAndStop(oldFrame);
_global.lab.frames.filled.gotoAndStop("none");
}
var frame = "";
var cannon = "";
var sight = "";
var lure = "";
var ammo = 0;
var ammoType = "";
var ammoPack = 1;
var cannonType = 0;
var oldCannonType = 0;
var oldFrame = "none";
var oldCannon = "none";
var oldSight = "none";
var oldLure = "none";
var glueFrame = "";
var smokeFrame = "";
var bothFrame = "";
var smallCannon = "";
var mediumCannon = "";
var largeCannon = "";
var tinyLure = "";
var bigLure = "";
var noviceSight = "";
var proSight = "";
var laserSight = "";
var power = 0;
var ammoPrice = 0;
var framePrice = 0;
var cannonPrice = 0;
var sightPrice = 0;
var lurePrice = 0;
var trueType = "";
var sound = "";
}
Symbol 1160 MovieClip [__Packages.Hud] Frame 0
class Hud
{
function Hud (mcRef) {
ref = mcRef;
}
function fReturnValue(param) {
return(this[param]);
}
function fNextLevel() {
level++;
}
var ref = "";
var level = 0;
}
Symbol 60 MovieClip Frame 89
stop();
_parent._parent.gotoAndStop("title");
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 101
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
if (_global.cont.myGun.fReturnValue("ammoType") == "smoke") {
gotoAndStop ("smoke");
} else if (_global.cont.myGun.fReturnValue("ammo") == "gums") {
gotoAndStop ("gum");
} else if (_global.cont.myGun.fReturnValue("ammo") == "balls") {
gotoAndStop ("slime");
} else if (_global.cont.myGun.fReturnValue("ammo") == "blasts") {
gotoAndStop ("blast");
}
Symbol 236 Button
on (release) {
_global.Sounds.PlayASound("reload");
help.gotoAndStop(2);
_global.cont.fPause();
}
Symbol 243 Button
on (release) {
_global.Sounds.PlayASound("reload");
gotoAndStop ("gameLab");
}
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 22
_parent.gotoAndStop(_global.cont.nextFr);
Symbol 260 MovieClip Frame 1
stop();
Symbol 280 Button
on (release) {
_global.Sounds.PlayASound("reload");
_global.cont.fPause();
gotoAndStop (1);
}
Symbol 284 Button
on (release) {
_global.Sounds.PlayASound("reload");
nextFrame();
}
Symbol 293 Button
on (release) {
_global.Sounds.PlayASound("reload");
prevFrame();
}
Instance of Symbol 297 MovieClip "bar" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
_global.ctrl.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.ctrl.fRemovePauseAnim(this);
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
fakeBTN.enabled = false;
Symbol 313 MovieClip Frame 18
_global.Sounds.PlayASound("sasquatch");
_global.cont.sasquatch.fRageCall();
Symbol 313 MovieClip Frame 66
Symbol 313 MovieClip Frame 89
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 91
_global.cont.fPause();
_global.game.sasquatch.gotoAndStop("hiden");
Symbol 329 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
posSight.gotoAndStop(_parent.frames._currentframe);
Symbol 336 MovieClip Frame 3
posSight.gotoAndStop(_parent.frames._currentframe);
Symbol 336 MovieClip Frame 4
posSight.gotoAndStop(_parent.frames._currentframe);
Symbol 343 MovieClip Frame 1
stop();
if (_global.cont.myGun.fReturnValue("ammo") == "gums") {
gotoAndStop ("gum");
} else if (_global.cont.myGun.fReturnValue("ammo") == "balls") {
gotoAndStop ("slime");
} else if (_global.cont.myGun.fReturnValue("ammo") == "blasts") {
gotoAndStop ("blast");
}
Symbol 346 MovieClip Frame 1
stop();
if (_global.cont.myGun.fReturnValue("ammoType") == "smoke") {
gotoAndStop ("smoke");
}
Symbol 347 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 2
posCannon.gotoAndStop(_parent.frames._currentframe);
Symbol 360 MovieClip Frame 3
posCannon.gotoAndStop(_parent.frames._currentframe);
Symbol 360 MovieClip Frame 4
posCannon.gotoAndStop(_parent.frames._currentframe);
Symbol 363 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
posLure.gotoAndStop(_parent.frames._currentframe);
Symbol 367 MovieClip Frame 3
posLure.gotoAndStop(_parent.frames._currentframe);
Symbol 371 Button
on (release) {
if (_global.cont.myGun.fCreateGun()) {
_global.Sounds.PlayASound("reload");
_global.cont.level++;
_global.cont._parent.transition.gotoAndPlay(2);
_global.cont.nextFr = "gameZoo";
}
}
Symbol 375 Button
on (release) {
_global.Sounds.PlayASound("reload");
_parent.gotoAndStop("restart");
}
Symbol 379 Button
on (release) {
_global.Sounds.PlayASound("reload");
messages.gotoAndStop(1);
_global.cont.myGun.fResetGun();
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 405 Button
on (release) {
if ((this[firstBtn]._currentframe == 1) && (this[firstBtn].checkMark._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("gunPiece");
_global.cont.credits = _global.cont.credits - price;
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
_parent.frames.gotoAndStop(frame);
_parent.cannons.posCannon.gotoAndStop(_parent.frames._currentframe);
_parent.sights.posSight.gotoAndStop(_parent.frames._currentframe);
_parent.lures.posLure.gotoAndStop(_parent.frames._currentframe);
_parent.ammos.gotoAndStop(1);
_global.cont.myGun.fSetValue(part, frame, price);
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.frame[frame].gotoAndStop(2);
_parent.frame[secGun].gotoAndStop(1);
_parent.frame[thirdGun].gotoAndStop(1);
} else {
_parent.messages.gotoAndStop(3);
}
} else if (this[firstBtn]._currentframe == 3) {
_global.Sounds.PlayASound("gunPiece");
_parent.frames.gotoAndStop(frame);
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
if ((_global.cont.myGun.fReturnValue("frame") != frame) && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("frame") + "Frame") == "")) {
_global.cont.credits = _global.cont.credits + _global.cont.myGun.fReturnValue("framePrice");
}
_parent.cannons.posCannon.gotoAndStop(_parent.frames._currentframe);
_parent.sights.posSight.gotoAndStop(_parent.frames._currentframe);
_parent.lures.posLure.gotoAndStop(_parent.frames._currentframe);
_parent.ammos.gotoAndStop(1);
_global.cont.myGun.fSetValue(part, frame);
_parent.frame[frame].gotoAndStop(2);
_parent.frame[secGun].gotoAndStop(1);
_parent.frame[thirdGun].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(2);
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 406 Button
on (release) {
_global.cont.credits = _global.cont.credits + _parent.price;
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
_parent._parent.frames.gotoAndStop(_global.cont.myGun.fReturnValue("oldFrame"));
_parent._parent.cannons.posCannon.gotoAndStop(_parent._parent.frames._currentframe);
_parent._parent.sights.posSight.gotoAndStop(_parent._parent.frames._currentframe);
_parent._parent.lures.posLure.gotoAndStop(_parent._parent.frames._currentframe);
_parent._parent.ammos.gotoAndStop(1);
_global.cont.myGun.fSetValue(_parent.part, _global.cont.myGun.fReturnValue("oldFrame"));
_parent[_parent.firstBtn].checkMark.gotoAndStop(1);
_parent.showPrice.gotoAndStop(2);
_parent._parent.frame[_parent.frame].gotoAndStop(1);
_parent._parent.frame[_parent.secGun].gotoAndStop(1);
_parent._parent.frame[_parent.thirdGun].gotoAndStop(1);
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
gotoAndStop (1);
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 454 Button
on (release) {
if ((this[firstBtn]._currentframe == 1) && (this[firstBtn].checkMark._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("gunPiece");
_global.cont.credits = _global.cont.credits - price;
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
_parent.cannons.gotoAndStop(cannon);
_parent.ammos.gotoAndStop(1);
_parent.frames.filled.gotoAndStop(1);
_global.cont.myGun.fSetValue(part, cannon, price, 1);
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.cannon[cannon].gotoAndStop(2);
_parent.cannon[secGun].gotoAndStop(1);
_parent.cannon[thirdGun].gotoAndStop(1);
} else {
_parent.messages.gotoAndStop(3);
}
} else if (this[firstBtn]._currentframe == 3) {
_global.Sounds.PlayASound("gunPiece");
_parent.cannons.gotoAndStop(cannon);
_parent.frames.filled.gotoAndStop(1);
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
if ((_global.cont.myGun.fReturnValue("cannon") != cannon) && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("cannon") + "Cannon") == "")) {
_global.cont.credits = _global.cont.credits + _global.cont.myGun.fReturnValue("cannonPrice");
}
_global.cont.myGun.fSetValue(part, cannon, 0, 1);
_parent.cannon[cannon].gotoAndStop(2);
_parent.cannon[secGun].gotoAndStop(1);
_parent.cannon[thirdGun].gotoAndStop(1);
_global.cont.myGun.fAddAmmo(0);
this[firstBtn].checkMark.gotoAndStop(2);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent.ammos.gotoAndStop(1);
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 455 Button
on (release) {
_global.cont.credits = _global.cont.credits + _parent.price;
_parent._parent.frames.filled.gotoAndStop(1);
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
_parent._parent.cannons.gotoAndStop(_global.cont.myGun.fReturnValue("oldCannon"));
if (_global.cont.myGun.fReturnValue("oldCannonType") != 0) {
_global.cont.myGun.fSetValue(_parent.part, _global.cont.myGun.fReturnValue("oldCannon"), 0, _global.cont.myGun.fReturnValue("oldCannonType"));
} else {
_global.cont.myGun.fSetValue(_parent.part, "", 0, 10);
}
_parent[_parent.firstBtn].checkMark.gotoAndStop(1);
_parent.showPrice.gotoAndStop(2);
_parent._parent.cannon[_parent.cannon].gotoAndStop(1);
_parent._parent.cannon[_parent.secGun].gotoAndStop(1);
_parent._parent.cannon[_parent.thirdGun].gotoAndStop(1);
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent._parent.ammos.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 456 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 461 Button
on (release) {
if ((this[firstBtn]._currentframe == 1) && (this[firstBtn].checkMark._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("gunPiece");
_global.cont.credits = _global.cont.credits - price;
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
_parent.cannons.gotoAndStop(cannon);
_global.cont.myGun.fSetValue(part, cannon, price, 2);
_global.cont.myGun.fAddAmmo(0);
_parent.frames.filled.gotoAndStop(1);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent.ammos.gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.cannon[cannon].gotoAndStop(2);
_parent.cannon[secGun].gotoAndStop(1);
_parent.cannon[thirdGun].gotoAndStop(1);
} else {
_parent.messages.gotoAndStop(3);
}
} else if (this[firstBtn]._currentframe == 3) {
_global.Sounds.PlayASound("gunPiece");
_parent.cannons.gotoAndStop(cannon);
_parent.frames.filled.gotoAndStop(1);
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
if ((_global.cont.myGun.fReturnValue("cannon") != cannon) && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("cannon") + "Cannon") == "")) {
_global.cont.credits = _global.cont.credits + _global.cont.myGun.fReturnValue("cannonPrice");
}
_global.cont.myGun.fSetValue(part, cannon, 0, 2);
_parent.cannon[cannon].gotoAndStop(2);
_parent.cannon[secGun].gotoAndStop(1);
_parent.cannon[thirdGun].gotoAndStop(1);
_global.cont.myGun.fAddAmmo(0);
this[firstBtn].checkMark.gotoAndStop(2);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent.ammos.gotoAndStop(1);
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 465 MovieClip Frame 1
stop();
Symbol 466 Button
on (release) {
if ((this[firstBtn]._currentframe == 1) && (this[firstBtn].checkMark._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("gunPiece");
_global.cont.credits = _global.cont.credits - price;
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
_parent.cannons.gotoAndStop(cannon);
_parent.frames.filled.gotoAndStop(1);
_global.cont.myGun.fSetValue(part, cannon, price, 3);
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent.ammos.gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.cannon[cannon].gotoAndStop(2);
_parent.cannon[secGun].gotoAndStop(1);
_parent.cannon[thirdGun].gotoAndStop(1);
} else {
_parent.messages.gotoAndStop(3);
}
} else if (this[firstBtn]._currentframe == 3) {
_global.Sounds.PlayASound("gunPiece");
_parent.cannons.gotoAndStop(cannon);
_parent.frames.filled.gotoAndStop(1);
_global.cont.credits = _global.cont.credits + (Math.round(_global.cont.myGun.fReturnValue("ammo") / _global.cont.myGun.fReturnValue("ammoPack")) * _global.cont.myGun.fReturnValue("ammoPrice"));
if ((_global.cont.myGun.fReturnValue("cannon") != cannon) && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("cannon") + "Cannon") == "")) {
_global.cont.credits = _global.cont.credits + _global.cont.myGun.fReturnValue("cannonPrice");
}
_global.cont.myGun.fSetValue(part, cannon, 0, 3);
_parent.cannon[cannon].gotoAndStop(2);
_parent.cannon[secGun].gotoAndStop(1);
_parent.cannon[thirdGun].gotoAndStop(1);
_global.cont.myGun.fAddAmmo(0);
this[firstBtn].checkMark.gotoAndStop(2);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent.ammos.gotoAndStop(1);
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 471 Button
on (release) {
if (_parent._parent.cannons._currentframe != 1) {
_global.cont.credits = _global.cont.credits + (_parent.price * Math.round(_global.cont.myGun.fReturnValue("ammo") / _parent.ammoNum));
_global.cont.myGun.fAddAmmo(0);
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
_parent._parent.frames.filled.gotoAndStop(1);
_parent._parent.ammos.gotoAndStop(1);
_parent[_parent.firstBtn].checkMark.gotoAndStop(1);
_parent[_parent.firstBtn].buyText.gotoAndStop(1);
_parent.showPrice.gotoAndStop(2);
gotoAndStop (1);
}
}
Symbol 472 MovieClip Frame 1
stop();
Symbol 473 Button
on (release) {
if ((_parent.cannons._currentframe != 1) && (this[firstBtn]._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("filling");
_global.cont.credits = _global.cont.credits - price;
_parent.ammos.gotoAndStop(ammo);
_global.cont.myGun.fAddAmmo(ammoSize, ammoType, power, price, ammo, ammoSound, ammoNum);
_parent.frames.filled.gotoAndStop("gum");
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
this[firstBtn].buyText.gotoAndStop(2);
} else {
_parent.messages.gotoAndStop(3);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 477 MovieClip Frame 1
stop();
Symbol 478 Button
on (release) {
if ((_parent.cannons._currentframe != 1) && (this[firstBtn]._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("filling");
_global.cont.credits = _global.cont.credits - price;
_parent.ammos.gotoAndStop(ammo);
_global.cont.myGun.fAddAmmo(ammoSize, ammoType, power, price, ammo, ammoSound, ammoNum);
_parent.frames.filled.gotoAndStop("smoke");
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
this[firstBtn].buyText.gotoAndStop(2);
} else {
_parent.messages.gotoAndStop(3);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 482 MovieClip Frame 1
stop();
Symbol 483 Button
on (release) {
if ((_parent.cannons._currentframe != 1) && (this[firstBtn]._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("filling");
_global.cont.credits = _global.cont.credits - price;
_parent.ammos.gotoAndStop(ammo);
_global.cont.myGun.fAddAmmo(ammoSize, ammoType, power, price, ammo, ammoSound, ammoNum);
_parent.frames.filled.gotoAndStop("slime");
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
this[firstBtn].buyText.gotoAndStop(2);
} else {
_parent.messages.gotoAndStop(3);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 487 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 1
stop();
Symbol 492 Button
on (release) {
if ((_parent.cannons._currentframe != 1) && (this[firstBtn]._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("filling");
_global.cont.credits = _global.cont.credits - price;
_parent.ammos.gotoAndStop(ammo);
_global.cont.myGun.fAddAmmo(ammoSize, ammoType, power, price, ammo, ammoSound, ammoNum);
_parent.frames.filled.gotoAndStop("smoke");
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
this[firstBtn].buyText.gotoAndStop(2);
} else {
_parent.messages.gotoAndStop(3);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 496 MovieClip Frame 1
stop();
Symbol 497 Button
on (release) {
if ((_parent.cannons._currentframe != 1) && (this[firstBtn]._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("filling");
_global.cont.credits = _global.cont.credits - price;
_parent.ammos.gotoAndStop(ammo);
_global.cont.myGun.fAddAmmo(ammoSize, ammoType, power, price, ammo, ammoSound, ammoNum);
_parent.frames.filled.gotoAndStop("blast");
_global.cont.ammo = _global.cont.myGun.fReturnValue("ammo");
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
this[firstBtn].buyText.gotoAndStop(2);
} else {
_parent.messages.gotoAndStop(3);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 502 Button
on (release) {
if ((this[firstBtn]._currentframe == 1) && (this[firstBtn].checkMark._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("gunPiece");
_global.cont.credits = _global.cont.credits - price;
_parent.sights.gotoAndStop(sight);
_global.cont.myGun.fSetValue(part, sight, price);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.misc[sight].gotoAndStop(2);
_parent.misc[secGun].gotoAndStop(1);
_parent.misc[thirdGun].gotoAndStop(1);
} else {
_parent.messages.gotoAndStop(3);
}
} else if (this[firstBtn]._currentframe == 3) {
_global.Sounds.PlayASound("gunPiece");
if ((_global.cont.myGun.fReturnValue("sight") != sight) && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("sight") + "Sight") == "")) {
_global.cont.credits = _global.cont.credits + _global.cont.myGun.fReturnValue("sightPrice");
}
_parent.sights.gotoAndStop(sight);
_global.cont.myGun.fSetValue(part, sight);
_parent.misc[sight].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.misc[secGun].gotoAndStop(1);
_parent.misc[thirdGun].gotoAndStop(1);
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 503 Button
on (release) {
_global.cont.credits = _global.cont.credits + _parent.price;
_parent._parent.sights.gotoAndStop(_global.cont.myGun.fReturnValue("oldSight"));
_global.cont.myGun.fSetValue(_parent.part, _global.cont.myGun.fReturnValue("oldSight"));
_parent[_parent.firstBtn].checkMark.gotoAndStop(1);
_parent.showPrice.gotoAndStop(2);
_parent._parent.misc[_parent.sight].gotoAndStop(1);
_parent._parent.misc[_parent.secGun].gotoAndStop(1);
_parent._parent.misc[_parent.thirdGun].gotoAndStop(1);
gotoAndStop (1);
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 1
stop();
Symbol 517 Button
on (release) {
if ((this[firstBtn]._currentframe == 1) && (this[firstBtn].checkMark._currentframe == 1)) {
if (_global.cont.credits >= price) {
_global.Sounds.PlayASound("gunPiece");
_global.cont.credits = _global.cont.credits - price;
_parent.lures.gotoAndStop(lure);
_global.cont.myGun.fSetValue(part, lure, price);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.misc[lure].gotoAndStop(2);
_parent.misc[secGun].gotoAndStop(1);
} else {
_parent.messages.gotoAndStop(3);
}
} else if (this[firstBtn]._currentframe == 3) {
_global.Sounds.PlayASound("gunPiece");
if ((_global.cont.myGun.fReturnValue("lure") != lure) && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("lure") + "Lure") == "")) {
_global.cont.credits = _global.cont.credits + _global.cont.myGun.fReturnValue("lurePrice");
}
_parent.lures.gotoAndStop(lure);
_global.cont.myGun.fSetValue(part, lure);
_parent.misc[lure].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
_parent.misc[secGun].gotoAndStop(1);
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 518 Button
on (release) {
_global.cont.credits = _global.cont.credits + _parent.price;
_parent._parent.lures.gotoAndStop(_global.cont.myGun.fReturnValue("oldLure"));
_global.cont.myGun.fSetValue(_parent.part, _global.cont.myGun.fReturnValue("oldLure"));
_parent[_parent.firstBtn].checkMark.gotoAndStop(1);
_parent.showPrice.gotoAndStop(2);
_parent._parent.misc[_parent.lure].gotoAndStop(1);
_parent._parent.misc[_parent.secGun].gotoAndStop(1);
gotoAndStop (1);
}
Symbol 519 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 1
stop();
var flag = false;
var frame = "none";
var part = "none";
var cannon = "none";
var lure = "none";
var secGun = "none";
var thirdGun = "none";
var sight = "none";
var ammo = "none";
var ammoType = "none";
var ammoSize = 0;
var frToGo = "none";
var price = 0;
var power = 0;
var ammoNum = 0;
var ammoSound = "";
var firstBtn = "smkFrBtn";
var secondBtn = "smkFrBtn2";
Symbol 528 MovieClip Frame 18
gotoAndStop(frToGo);
Symbol 528 MovieClip Frame 19
price = 503;
part = "frame";
frame = "smoke";
secGun = "glue";
thirdGun = "both";
firstBtn = "smkFrBtn";
secondBtn = "smkFrBtn2";
if (_global.cont.myGun.fReturnValue(frame + "Frame") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == frame) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == frame) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldFrame"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 20
price = 497;
part = "frame";
frame = "glue";
secGun = "smoke";
thirdGun = "both";
firstBtn = "gluFrBtn";
secondBtn = "gluFrBtn2";
if (_global.cont.myGun.fReturnValue(frame + "Frame") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == frame) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == frame) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldFrame"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 21
price = 1083;
part = "frame";
frame = "both";
secGun = "smoke";
thirdGun = "glue";
firstBtn = "botFrBtn";
secondBtn = "botFrBtn2";
if (_global.cont.myGun.fReturnValue(frame + "Frame") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == frame) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == frame) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldFrame"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 22
price = 286;
part = "cannon";
cannon = "small";
secGun = "medium";
thirdGun = "large";
firstBtn = "smaCnBtn";
secondBtn = "smaCnBtn2";
if (_global.cont.myGun.fReturnValue(cannon + "Cannon") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == cannon) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == cannon) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldCannon"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 23
price = 547;
part = "cannon";
cannon = "medium";
secGun = "small";
thirdGun = "large";
firstBtn = "medCnBtn";
secondBtn = "medCnBtn2";
if (_global.cont.myGun.fReturnValue(cannon + "Cannon") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == cannon) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == cannon) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldCannon"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 24
price = 721;
part = "cannon";
cannon = "large";
secGun = "small";
thirdGun = "medium";
firstBtn = "larCnBtn";
secondBtn = "larCnBtn2";
if (_global.cont.myGun.fReturnValue(cannon + "Cannon") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == cannon) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == cannon) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldCannon"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 25
price = 152;
ammoNum = 50;
ammo = "gums";
ammoSound = "smallSticky";
ammoType = "glue";
ammoSize = 1;
power = 0.75;
firstBtn = "gumAmBtn";
secondBtn = "gumAmBtn2";
if (_global.cont.myGun.fReturnValue("frame") != "") {
if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
} else if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
Symbol 528 MovieClip Frame 26
price = 308;
ammoNum = 45;
ammo = "puffs";
ammoSound = "smoke";
ammoType = "smoke";
ammoSize = 1;
power = 1;
firstBtn = "pufAmBtn";
secondBtn = "pufAmBtn2";
if (_global.cont.myGun.fReturnValue("frame") != "") {
if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
} else if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
Symbol 528 MovieClip Frame 27
price = 513;
ammoNum = 35;
ammo = "balls";
ammoSound = "smallSticky";
ammoType = "glue";
ammoSize = 2;
power = 1.5;
firstBtn = "balAmBtn";
secondBtn = "balAmBtn2";
if (_global.cont.myGun.fReturnValue("frame") != "") {
if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
} else if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
Symbol 528 MovieClip Frame 28
price = 755;
ammoNum = 30;
ammo = "balloons";
ammoSound = "balloon";
ammoType = "smoke";
ammoSize = 2;
power = 2;
firstBtn = "booAmBtn";
secondBtn = "booAmBtn2";
if (_global.cont.myGun.fReturnValue("frame") != "") {
if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
} else if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
Symbol 528 MovieClip Frame 29
price = 1179;
ammoNum = 25;
ammo = "bombs";
ammoSound = "bombs";
ammoType = "smoke";
ammoSize = 3;
power = 3;
firstBtn = "bomAmBtn";
secondBtn = "bomAmBtn2";
if (_global.cont.myGun.fReturnValue("frame") != "") {
if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
} else if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
Symbol 528 MovieClip Frame 30
price = 1564;
ammoNum = 20;
ammo = "blasts";
ammoSound = "bigSticky";
ammoType = "glue";
ammoSize = 3;
power = 4;
firstBtn = "blaAmBtn";
secondBtn = "blaAmBtn2";
if (_global.cont.myGun.fReturnValue("frame") != "") {
if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
} else if ((((_global.cont.myGun.fReturnValue("frame") != ammoType) && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannonType") != ammoSize)) || ((_global.cont.myGun.fReturnValue("ammoType") != "") && (_global.cont.myGun.fReturnValue("ammoType") != ammoType))) {
btnInv.enabled = false;
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
btnInv.enabled = true;
this[firstBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue("ammo") > 0) {
this[firstBtn].buyText.gotoAndStop(2);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[secondBtn].gotoAndStop(1);
}
}
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
Symbol 528 MovieClip Frame 31
price = 50;
part = "sight";
sight = "novice";
secGun = "pro";
thirdGun = "laser";
firstBtn = "novSiBtn";
secondBtn = "novSiBtn2";
if (_global.cont.myGun.fReturnValue(sight + "Sight") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == sight) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == sight) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldSight"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 32
price = 1527;
part = "sight";
sight = "pro";
secGun = "novice";
thirdGun = "laser";
firstBtn = "proSiBtn";
secondBtn = "proSiBtn2";
if (_global.cont.myGun.fReturnValue(sight + "Sight") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == sight) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == sight) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldSight"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 33
price = 2508;
part = "sight";
sight = "laser";
secGun = "pro";
thirdGun = "novice";
firstBtn = "lasSiBtn";
secondBtn = "lasSiBtn2";
if (_global.cont.myGun.fReturnValue(sight + "Sight") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == sight) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == sight) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldSight"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 34
price = 3297;
part = "lure";
lure = "tiny";
secGun = "big";
firstBtn = "tinLuBtn";
secondBtn = "tinLuBtn2";
if (_global.cont.myGun.fReturnValue(lure + "Lure") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == lure) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == lure) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldLure"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 35
price = 4525;
part = "lure";
lure = "big";
secGun = "tiny";
firstBtn = "bigLuBtn";
secondBtn = "bigLuBtn2";
if (_global.cont.myGun.fReturnValue(lure + "Lure") != "") {
this[firstBtn].gotoAndStop(3);
this[secondBtn].gotoAndStop(1);
if (_global.cont.myGun.fReturnValue(part) == lure) {
this[firstBtn].checkMark.gotoAndStop(2);
} else {
this[firstBtn].checkMark.gotoAndStop(1);
}
} else if (_global.cont.myGun.fReturnValue(part) == lure) {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(2);
this[firstBtn].checkMark.gotoAndStop(2);
} else if ((_global.cont.myGun.fReturnValue(part) != "") && (_global.cont.myGun.fReturnValue(part) != _global.cont.myGun.fReturnValue("oldLure"))) {
this[firstBtn].gotoAndStop(4);
this[secondBtn].gotoAndStop(1);
} else {
this[firstBtn].gotoAndStop(1);
this[secondBtn].gotoAndStop(1);
this[firstBtn].checkMark.gotoAndStop(1);
}
if (this[firstBtn]._currentframe == 3) {
showPrice._visible = false;
} else {
showPrice._visible = true;
if (_global.cont.credits >= price) {
showPrice.gotoAndStop(2);
} else {
showPrice.gotoAndStop(1);
}
}
Symbol 528 MovieClip Frame 36
play();
Symbol 532 Button
on (release) {
_parent._parent.messages.gotoAndStop(1);
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.ammo == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
Symbol 536 Button
on (release) {
if ((_parent._parent.frames._currentframe != 1) && (_parent._parent.cannons._currentframe != 1)) {
_parent._parent.messages.gotoAndStop(4);
}
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.ammo == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
Symbol 537 MovieClip Frame 1
stop();
Symbol 538 Button
on (release) {
_parent._parent.messages.gotoAndStop(1);
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.ammo == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
Symbol 542 Button
on (release) {
if ((_parent._parent.frames._currentframe != 1) && (_parent._parent.cannons._currentframe != 1)) {
_parent._parent.messages.gotoAndStop(4);
}
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.ammo == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
Symbol 543 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 568 Button
on (release) {
gotoAndStop (1);
_parent.cannon.gotoAndStop(1);
_parent.frame.gotoAndStop(1);
_parent.misc.gotoAndStop(1);
_parent.messages.gotoAndStop(1);
if ((_global.lab.rollover._currentframe > 18) && (_global.lab.rollover._currentframe < 36)) {
_parent.rollover.gotoAndPlay("close");
}
}
Symbol 569 MovieClip Frame 1
stop();
Instance of Symbol 537 MovieClip "balloons" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue("cannon") != "")) {
if (((_global.cont.myGun.fReturnValue("frame") != "smoke") && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannon") != "medium")) {
gotoAndStop (3);
}
} else if ((_global.cont.myGun.fReturnValue("oldFrame") != "none") && (_global.cont.myGun.fReturnValue("oldCannon") != "none")) {
if (((_global.cont.myGun.fReturnValue("oldFrame") != "smoke") && (_global.cont.myGun.fReturnValue("oldFrame") != "both")) || (_global.cont.myGun.fReturnValue("oldCannon") != "medium")) {
gotoAndStop (3);
}
} else {
gotoAndStop (3);
}
}
Instance of Symbol 543 MovieClip "puffs" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue("cannon") != "")) {
if (((_global.cont.myGun.fReturnValue("frame") != "smoke") && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannon") != "small")) {
gotoAndStop (3);
}
} else if ((_global.cont.myGun.fReturnValue("oldFrame") != "none") && (_global.cont.myGun.fReturnValue("oldCannon") != "none")) {
if (((_global.cont.myGun.fReturnValue("oldFrame") != "smoke") && (_global.cont.myGun.fReturnValue("oldFrame") != "both")) || (_global.cont.myGun.fReturnValue("oldCannon") != "small")) {
gotoAndStop (3);
}
} else {
gotoAndStop (3);
}
}
Instance of Symbol 548 MovieClip "gums" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue("cannon") != "")) {
if (((_global.cont.myGun.fReturnValue("frame") != "glue") && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannon") != "small")) {
gotoAndStop (3);
}
} else if ((_global.cont.myGun.fReturnValue("oldFrame") != "none") && (_global.cont.myGun.fReturnValue("oldCannon") != "none")) {
if (((_global.cont.myGun.fReturnValue("oldFrame") != "glue") && (_global.cont.myGun.fReturnValue("oldFrame") != "both")) || (_global.cont.myGun.fReturnValue("oldCannon") != "small")) {
gotoAndStop (3);
}
} else {
gotoAndStop (3);
}
}
Instance of Symbol 552 MovieClip "balls" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue("cannon") != "")) {
if (((_global.cont.myGun.fReturnValue("frame") != "glue") && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannon") != "medium")) {
gotoAndStop (3);
}
} else if ((_global.cont.myGun.fReturnValue("oldFrame") != "none") && (_global.cont.myGun.fReturnValue("oldCannon") != "none")) {
if (((_global.cont.myGun.fReturnValue("oldFrame") != "glue") && (_global.cont.myGun.fReturnValue("oldFrame") != "both")) || (_global.cont.myGun.fReturnValue("oldCannon") != "medium")) {
gotoAndStop (3);
}
} else {
gotoAndStop (3);
}
}
Instance of Symbol 556 MovieClip "bombs" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue("cannon") != "")) {
if (((_global.cont.myGun.fReturnValue("frame") != "smoke") && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannon") != "large")) {
gotoAndStop (3);
}
} else if ((_global.cont.myGun.fReturnValue("oldFrame") != "none") && (_global.cont.myGun.fReturnValue("oldCannon") != "none")) {
if (((_global.cont.myGun.fReturnValue("oldFrame") != "smoke") && (_global.cont.myGun.fReturnValue("oldFrame") != "both")) || (_global.cont.myGun.fReturnValue("oldCannon") != "large")) {
gotoAndStop (3);
}
} else {
gotoAndStop (3);
}
}
Instance of Symbol 562 MovieClip "blasts" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue("cannon") != "")) {
if (((_global.cont.myGun.fReturnValue("frame") != "glue") && (_global.cont.myGun.fReturnValue("frame") != "both")) || (_global.cont.myGun.fReturnValue("cannon") != "large")) {
gotoAndStop (3);
}
} else if ((_global.cont.myGun.fReturnValue("oldFrame") != "none") && (_global.cont.myGun.fReturnValue("oldCannon") != "none")) {
if (((_global.cont.myGun.fReturnValue("oldFrame") != "glue") && (_global.cont.myGun.fReturnValue("oldFrame") != "both")) || (_global.cont.myGun.fReturnValue("oldCannon") != "large")) {
gotoAndStop (3);
}
} else {
gotoAndStop (3);
}
}
Symbol 572 Button
on (release) {
gotoAndStop (2);
_parent.ammo.gotoAndStop(2);
_parent.frame.gotoAndStop(1);
_parent.misc.gotoAndStop(1);
_parent.messages.gotoAndStop(1);
if ((_global.lab.rollover._currentframe > 18) && (_global.lab.rollover._currentframe < 36)) {
_parent.rollover.gotoAndPlay("close");
}
}
Symbol 574 Button
on (release) {
_parent._parent.messages.gotoAndStop(1);
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.cannon == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
Symbol 576 MovieClip Frame 1
stop();
Symbol 578 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 2
if ((_global.cont.myGun.fReturnValue(_name) != "") && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue(_name) + "Cannon") == "")) {
if ((_global.cont.myGun.fReturnValue("smallCannon") == "") && (_global.cont.myGun.fReturnValue(_name) == "small")) {
small.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("mediumCannon") == "") && (_global.cont.myGun.fReturnValue(_name) == "medium")) {
medium.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("largeCannon") == "") && (_global.cont.myGun.fReturnValue(_name) == "large")) {
large.gotoAndStop(2);
}
}
Symbol 584 Button
on (release) {
gotoAndStop (2);
_parent.ammo.gotoAndStop(2);
_parent.cannon.gotoAndStop(1);
_parent.misc.gotoAndStop(1);
_parent.messages.gotoAndStop(1);
if ((_global.lab.rollover._currentframe > 18) && (_global.lab.rollover._currentframe < 36)) {
_parent.rollover.gotoAndPlay("close");
}
}
Symbol 587 Button
on (release) {
_parent._parent.messages.gotoAndStop(1);
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.frame == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
Symbol 589 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 2
if ((_global.cont.myGun.fReturnValue("frame") != "") && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("frame") + "Frame") == "")) {
if ((_global.cont.myGun.fReturnValue("glueFrame") == "") && (_global.cont.myGun.fReturnValue("frame") == "glue")) {
glue.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("smokeFrame") == "") && (_global.cont.myGun.fReturnValue("frame") == "smoke")) {
smoke.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("bothFrame") == "") && (_global.cont.myGun.fReturnValue("frame") == "both")) {
both.gotoAndStop(2);
}
}
Symbol 596 Button
on (release) {
gotoAndStop (2);
_parent.ammo.gotoAndStop(2);
_parent.frame.gotoAndStop(1);
_parent.cannon.gotoAndStop(1);
_parent.messages.gotoAndStop(1);
if ((_global.lab.rollover._currentframe > 18) && (_global.lab.rollover._currentframe < 36)) {
_parent.rollover.gotoAndPlay("close");
}
}
Symbol 597 Button
on (release) {
_parent._parent.messages.gotoAndStop(1);
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
_parent._parent.rollover.lure = "none";
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.sight == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else {
_parent._parent.rollover.lure = "none";
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
}
Symbol 599 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 1
stop();
Symbol 604 Button
on (release) {
_parent._parent.messages.gotoAndStop(1);
if (_parent._parent.rollover.flag == false) {
_parent._parent.rollover.flag = true;
_parent._parent.rollover.sight = "none";
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
} else if ((_parent._parent.rollover.lure == this._name) && (_parent._parent.rollover._currentframe < 36)) {
_parent._parent.rollover.gotoAndPlay("close");
} else {
_parent._parent.rollover.sight = "none";
if (_parent._parent.rollover._currentframe == 1) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndPlay(2);
} else if (_parent._parent.rollover._currentframe < 36) {
_parent._parent.rollover.frToGo = this._name;
_parent._parent.rollover.gotoAndStop(18);
}
}
}
Symbol 606 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
if ((_global.cont.myGun.fReturnValue("sight") != "") && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("sight") + "Sight") == "")) {
if ((_global.cont.myGun.fReturnValue("noviceSight") == "") && (_global.cont.myGun.fReturnValue("sight") == "novice")) {
novice.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("proSight") == "") && (_global.cont.myGun.fReturnValue("sight") == "pro")) {
pro.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("laserSight") == "") && (_global.cont.myGun.fReturnValue("sight") == "laser")) {
laser.gotoAndStop(2);
}
}
if ((_global.cont.myGun.fReturnValue("lure") != "") && (_global.cont.myGun.fReturnValue(_global.cont.myGun.fReturnValue("lure") + "Lure") == "")) {
if ((_global.cont.myGun.fReturnValue("tinyLure") == "") && (_global.cont.myGun.fReturnValue("lure") == "tiny")) {
tiny.gotoAndStop(2);
}
if ((_global.cont.myGun.fReturnValue("bigLure") == "") && (_global.cont.myGun.fReturnValue("lure") == "big")) {
big.gotoAndStop(2);
}
}
Symbol 611 MovieClip Frame 2
if ((((_parent.frames._currentframe != 1) && (_parent.cannons._currentframe != 1)) && (_parent.ammos._currentframe != 1)) && (_parent.sights._currentframe != 1)) {
_parent.fakePlayBtn._visible = false;
_parent.btnGO._visible = true;
_parent.btnGO.enabled = true;
} else {
_parent.fakePlayBtn._visible = true;
_parent.btnGO._visible = false;
_parent.btnGO.enabled = false;
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 1
_global.cont.myGun.fResetGun();
if (frames._currentframe == 1) {
frame.gotoAndStop(2);
ammo.gotoAndStop(2);
cannon.gotoAndStop(1);
misc.gotoAndStop(1);
messages.gotoAndStop(2);
}
if ((((frames._currentframe != 1) && (cannons._currentframe != 1)) && (ammos._currentframe != 1)) && (sights._currentframe != 1)) {
btnGO._visible = true;
btnGO.enabled = true;
} else {
btnGO._visible = false;
btnGO.enabled = false;
}
Symbol 625 Button
on (release) {
_global.Sounds.PlayASound("reload");
_parent.help.gotoAndStop(2);
_global.cont.fPause();
}
Symbol 630 Button
on (release) {
_global.Sounds.ToMute();
this.gotoAndStop(2);
}
Symbol 634 Button
on (release) {
_global.Sounds.UnMute();
_global.Sounds.PlayASound("reload");
gotoAndStop (1);
}
Symbol 635 MovieClip Frame 1
stop();
Instance of Symbol 635 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
if (_global.Muted) {
gotoAndStop (2);
} else {
stop();
}
}
Symbol 671 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._parent._parent._name].fGetEyes());
Symbol 682 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._name].fGetFace());
Symbol 697 MovieClip Frame 28
stop();
_parent.gotoAndStop("idleUp");
Symbol 714 MovieClip Frame 31
_global.Sounds.PlayASound("boom");
Symbol 714 MovieClip Frame 84
_global.Sounds.PlayASound("angrygorilla");
Symbol 714 MovieClip Frame 179
_global.Sounds.PlayASound("boom");
Symbol 714 MovieClip Frame 201
_global.Sounds.PlayASound("boom");
Symbol 714 MovieClip Frame 226
_global.Sounds.PlayASound("angrygorilla");
Symbol 714 MovieClip Frame 300
stop();
_global.cont[_parent._name].fChooseAction();
Symbol 716 MovieClip Frame 1
_visible = false;
Symbol 726 MovieClip Frame 13
stop();
_parent.gotoAndStop("hiden");
Symbol 734 MovieClip Frame 28
stop();
_parent.gotoAndStop("hiden");
Symbol 735 MovieClip Frame 29
stop();
_global.cont[_parent._name].fGetIn();
_parent.gotoAndStop("idleDown");
Symbol 736 MovieClip Frame 1
stop();
Instance of Symbol 697 MovieClip in Symbol 736 MovieClip Frame 8
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 714 MovieClip "myAction" in Symbol 736 MovieClip Frame 14
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 719 MovieClip "myAction" in Symbol 736 MovieClip Frame 20
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 726 MovieClip in Symbol 736 MovieClip Frame 26
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 33
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 735 MovieClip in Symbol 736 MovieClip Frame 40
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 738 MovieClip Frame 16
stop();
_parent.gotoAndStop("idleUp");
Symbol 739 MovieClip Frame 79
stop();
_global.cont[_parent._name].fChooseAction();
Symbol 741 MovieClip Frame 10
_global.Sounds.PlayASound("boom");
Symbol 741 MovieClip Frame 20
_global.Sounds.PlayASound("boom");
Symbol 748 MovieClip Frame 36
stop();
_parent.gotoAndStop("hiden");
Symbol 749 MovieClip Frame 49
stop();
_parent.gotoAndStop("hiden");
Symbol 750 MovieClip Frame 18
stop();
_global.cont[_parent._name].fGetIn();
_parent.gotoAndStop("idleDown");
Symbol 751 MovieClip Frame 18
_global.Sounds.PlayASound("sasquatch");
Symbol 751 MovieClip Frame 26
_global.cont.sasquatch.fRageCall();
Symbol 751 MovieClip Frame 89
stop();
_parent.gotoAndStop("hiden");
Symbol 752 MovieClip Frame 1
stop();
Instance of Symbol 737 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 738 MovieClip in Symbol 752 MovieClip Frame 8
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 739 MovieClip "myAction" in Symbol 752 MovieClip Frame 14
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 741 MovieClip "myAction" in Symbol 752 MovieClip Frame 20
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 752 MovieClip Frame 26
_global.Sounds.StopASound("sasquatch");
Instance of Symbol 748 MovieClip in Symbol 752 MovieClip Frame 26
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 752 MovieClip Frame 33
_global.Sounds.StopASound("sasquatch");
Instance of Symbol 749 MovieClip in Symbol 752 MovieClip Frame 33
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 750 MovieClip in Symbol 752 MovieClip Frame 40
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 751 MovieClip in Symbol 752 MovieClip Frame 47
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 770 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._parent._parent._name].fGetEyes());
Symbol 790 MovieClip Frame 11
stop();
Symbol 791 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._name].fGetFace());
Symbol 804 MovieClip Frame 14
stop();
_parent.gotoAndStop("idleUp");
Symbol 809 MovieClip Frame 26
_global.Sounds.PlayASound("angrygirafe");
Symbol 809 MovieClip Frame 109
_global.Sounds.PlayASound("angrygirafe");
Symbol 809 MovieClip Frame 161
stop();
_global.cont[_parent._name].fChooseAction();
Symbol 810 MovieClip Frame 4
_global.Sounds.PlayASound("walk1");
Symbol 810 MovieClip Frame 8
_global.Sounds.PlayASound("walk2");
Symbol 811 MovieClip Frame 15
stop();
_parent.gotoAndStop("hiden");
Symbol 812 MovieClip Frame 23
stop();
_parent.gotoAndStop("hiden");
Symbol 813 MovieClip Frame 14
stop();
_global.cont[_parent._name].fGetIn();
_parent.gotoAndStop("idleDown");
Symbol 814 MovieClip Frame 1
stop();
Instance of Symbol 793 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 804 MovieClip in Symbol 814 MovieClip Frame 8
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 809 MovieClip "myAction" in Symbol 814 MovieClip Frame 14
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 810 MovieClip "myAction" in Symbol 814 MovieClip Frame 20
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 811 MovieClip in Symbol 814 MovieClip Frame 26
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 812 MovieClip in Symbol 814 MovieClip Frame 33
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 813 MovieClip in Symbol 814 MovieClip Frame 40
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 822 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._parent._parent._name].fGetEyes());
Symbol 825 MovieClip Frame 27
stop();
_parent.gotoAndStop("idleUp");
Symbol 826 MovieClip Frame 60
_global.cont[_parent._name].fChooseAction();
Symbol 827 MovieClip Frame 1
_global.Sounds.PlayASound("snailMove");
Symbol 827 MovieClip Frame 25
_global.Sounds.PlayASound("snailMove");
Symbol 828 MovieClip Frame 21
stop();
_global.cont[_parent._name].fGetIn();
_parent.gotoAndStop("idleDown");
Symbol 829 MovieClip Frame 19
stop();
_parent.gotoAndStop("hiden");
Symbol 830 MovieClip Frame 29
stop();
_parent.gotoAndStop("hiden");
Symbol 831 MovieClip Frame 1
stop();
Instance of Symbol 817 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 825 MovieClip in Symbol 831 MovieClip Frame 8
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 826 MovieClip "myAction" in Symbol 831 MovieClip Frame 14
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 827 MovieClip "myAction" in Symbol 831 MovieClip Frame 20
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 828 MovieClip in Symbol 831 MovieClip Frame 26
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 829 MovieClip in Symbol 831 MovieClip Frame 33
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 830 MovieClip in Symbol 831 MovieClip Frame 40
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 833 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._parent._parent._name].fGetEyes());
Symbol 879 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._name].fGetFace());
Symbol 880 MovieClip Frame 12
stop();
_parent.gotoAndStop("idleUp");
Symbol 881 MovieClip Frame 8
_global.Sounds.PlayASound("angryrabbit");
Symbol 881 MovieClip Frame 127
_global.Sounds.PlayASound("angryrabbit");
Symbol 881 MovieClip Frame 238
stop();
_global.cont[_parent._name].fChooseAction();
Symbol 883 MovieClip Frame 3
_global.Sounds.PlayASound("rabbitMove");
Symbol 884 MovieClip Frame 19
stop();
_parent.gotoAndStop("hiden");
Symbol 885 MovieClip Frame 22
stop();
_parent.gotoAndStop("hiden");
Symbol 886 MovieClip Frame 17
stop();
_global.cont[_parent._name].fGetIn();
_parent.gotoAndStop("idleDown");
Symbol 887 MovieClip Frame 1
stop();
Instance of Symbol 836 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 880 MovieClip in Symbol 887 MovieClip Frame 8
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 881 MovieClip "myAction" in Symbol 887 MovieClip Frame 14
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 883 MovieClip "myAction" in Symbol 887 MovieClip Frame 20
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 884 MovieClip in Symbol 887 MovieClip Frame 26
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 885 MovieClip in Symbol 887 MovieClip Frame 33
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 886 MovieClip in Symbol 887 MovieClip Frame 40
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 909 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._parent._parent._name].fGetEyes());
Symbol 928 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._name].fGetFace());
Symbol 930 MovieClip Frame 21
stop();
_parent.gotoAndStop("idleUp");
Symbol 937 MovieClip Frame 15
_global.Sounds.PlayASound("bullBreath");
Symbol 937 MovieClip Frame 60
_global.Sounds.PlayASound("angryBull");
Symbol 937 MovieClip Frame 72
_global.Sounds.PlayASound("angryBull");
Symbol 937 MovieClip Frame 82
_global.Sounds.PlayASound("bullBreath");
Symbol 937 MovieClip Frame 121
_global.Sounds.PlayASound("angryBull");
Symbol 937 MovieClip Frame 135
_global.Sounds.PlayASound("bullBreath");
Symbol 937 MovieClip Frame 163
_global.Sounds.PlayASound("bullBreath");
Symbol 937 MovieClip Frame 221
stop();
_global.cont[_parent._name].fChooseAction();
Symbol 938 MovieClip Frame 1
gotoAndStop(_global.cont[_parent._parent._parent._name].fGetEyes());
Symbol 940 MovieClip Frame 13
_global.Sounds.PlayASound("walk1");
Symbol 940 MovieClip Frame 20
_global.Sounds.PlayASound("walk2");
Symbol 940 MovieClip Frame 27
_global.Sounds.PlayASound("walk1");
Symbol 940 MovieClip Frame 34
_global.Sounds.PlayASound("walk2");
Symbol 940 MovieClip Frame 44
_global.Sounds.PlayASound("walk1");
Symbol 940 MovieClip Frame 52
_global.Sounds.PlayASound("walk2");
Symbol 940 MovieClip Frame 61
_global.Sounds.PlayASound("walk1");
Symbol 941 MovieClip Frame 26
stop();
_global.cont[_parent._name].fGetIn();
_parent.gotoAndStop("idleDown");
Symbol 942 MovieClip Frame 18
stop();
_parent.gotoAndStop("hiden");
Symbol 943 MovieClip Frame 27
stop();
_parent.gotoAndStop("hiden");
Symbol 944 MovieClip Frame 1
stop();
Instance of Symbol 929 MovieClip in Symbol 944 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 930 MovieClip in Symbol 944 MovieClip Frame 8
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 937 MovieClip "myAction" in Symbol 944 MovieClip Frame 14
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 940 MovieClip "myAction" in Symbol 944 MovieClip Frame 20
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 941 MovieClip in Symbol 944 MovieClip Frame 26
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 942 MovieClip in Symbol 944 MovieClip Frame 33
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 943 MovieClip in Symbol 944 MovieClip Frame 40
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 949 MovieClip Frame 30
_global.cont.nextFr = "lose";
_global.cont._parent.transition.gotoAndPlay(2);
stop();
Symbol 952 MovieClip Frame 30
_global.cont.fEndLevel();
stop();
Symbol 957 MovieClip Frame 1
stop();
if (_global.cont.credits < 150) {
gotoAndStop (2);
}
Symbol 960 MovieClip Frame 30
stop();
_parent.gotoAndStop(1);
Symbol 963 MovieClip Frame 30
stop();
_global.cont._parent.transition.gotoAndPlay(2);
_global.cont.nextFr = "win";
Symbol 966 MovieClip Frame 1
stop();
Instance of Symbol 736 MovieClip "gorilla" in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fCreateEnemy(this, 10, 120, this._x + 40, 4, 400, "right");
}
Instance of Symbol 752 MovieClip "sasquatch" in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fCreateSasquatch(this, 18, 145, this._x + 145, 3, 2000, "right");
}
Instance of Symbol 814 MovieClip "girafe" in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fCreateEnemy(this, 6, 210, this._x, 5, 325);
}
Instance of Symbol 831 MovieClip "snail" in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fCreateEnemy(this, 3, 50, this._x + 21, 0.5, 300, "right");
}
Instance of Symbol 887 MovieClip "rabbit" in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fCreateEnemy(this, 4, 115, this._x + 115, 2, 325);
}
Instance of Symbol 944 MovieClip "bull" in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fCreateEnemy(this, 7, 300, this._x + 160, 5, 350);
}
Symbol 969 MovieClip Frame 1
_visible = false;
Symbol 972 MovieClip Frame 1
stop();
Symbol 972 MovieClip Frame 10
_x = 0;
_y = 0;
Symbol 990 MovieClip Frame 1
stop();
Symbol 995 MovieClip Frame 1
upPos = -120;
downPos = 110;
var dim = 0;
if (_global.cont.myGun.fReturnValue("oldSight") == "pro") {
dim = 30;
gotoAndStop (2);
} else if (_global.cont.myGun.fReturnValue("oldSight") == "laser") {
dim = 0;
gotoAndStop (3);
} else {
stop();
dim = 60;
}
Symbol 995 MovieClip Frame 2
upPos = -86;
downPos = 74;
Symbol 995 MovieClip Frame 3
upPos = -60;
downPos = 40;
Symbol 1001 MovieClip Frame 29
stop();
_parent.gotoAndStop("Cleaning");
Symbol 1002 MovieClip [puffs] Frame 1
stop();
Symbol 1002 MovieClip [puffs] Frame 2
_global.cont.verifHit();
play();
Symbol 1002 MovieClip [puffs] Frame 3
_global.cont.reactHit();
gotoAndPlay(_global.cont.hitted);
Symbol 1002 MovieClip [puffs] Frame 4
stop();
Symbol 1002 MovieClip [puffs] Frame 6
removeMovieClip(this);
stop();
Symbol 1011 MovieClip Frame 39
stop();
_parent.gotoAndStop("Cleaning");
Symbol 1012 MovieClip [balloons] Frame 1
stop();
Symbol 1012 MovieClip [balloons] Frame 2
play();
_global.cont.verifHit();
Symbol 1012 MovieClip [balloons] Frame 3
play();
Symbol 1012 MovieClip [balloons] Frame 21
_global.cont.reactHit();
gotoAndPlay(_global.cont.hitted);
Symbol 1012 MovieClip [balloons] Frame 22
stop();
Symbol 1012 MovieClip [balloons] Frame 23
play();
Symbol 1012 MovieClip [balloons] Frame 41
removeMovieClip(this);
stop();
Symbol 1020 MovieClip Frame 11
stop();
_parent.gotoAndStop("Cleaning");
Symbol 1021 MovieClip [blasts] Frame 1
stop();
Symbol 1021 MovieClip [blasts] Frame 2
play();
_global.cont.verifHit();
Symbol 1021 MovieClip [blasts] Frame 5
_global.cont.reactHit();
gotoAndPlay(_global.cont.hitted);
Symbol 1021 MovieClip [blasts] Frame 6
stop();
Symbol 1021 MovieClip [blasts] Frame 8
removeMovieClip(this);
stop();
Symbol 1026 MovieClip Frame 23
stop();
_parent.gotoAndStop("Cleaning");
Symbol 1027 MovieClip [bombs] Frame 1
stop();
Symbol 1027 MovieClip [bombs] Frame 2
play();
_global.cont.verifHit();
Symbol 1027 MovieClip [bombs] Frame 27
_global.cont.reactHit();
gotoAndPlay(_global.cont.hitted);
Symbol 1027 MovieClip [bombs] Frame 28
stop();
Symbol 1027 MovieClip [bombs] Frame 29
play();
Symbol 1027 MovieClip [bombs] Frame 47
removeMovieClip(this);
stop();
Symbol 1034 MovieClip [gums] Frame 1
stop();
Symbol 1034 MovieClip [gums] Frame 2
play();
_global.cont.verifHit();
Symbol 1034 MovieClip [gums] Frame 3
_global.cont.reactHit();
gotoAndPlay(_global.cont.hitted);
Symbol 1034 MovieClip [gums] Frame 4
play();
Symbol 1034 MovieClip [gums] Frame 20
removeMovieClip(this);
stop();
Symbol 1038 MovieClip [balls] Frame 1
stop();
Symbol 1038 MovieClip [balls] Frame 2
play();
_global.cont.verifHit();
Symbol 1038 MovieClip [balls] Frame 4
_global.cont.reactHit();
gotoAndPlay(_global.cont.hitted);
Symbol 1038 MovieClip [balls] Frame 5
stop();
Symbol 1038 MovieClip [balls] Frame 7
removeMovieClip(this);
stop();
Symbol 1040 MovieClip Frame 20
if ((_global.cont.level == 5) || (_global.cont.level == 6)) {
_global.cont.fTimeToChange();
gotoAndPlay (1);
}
Symbol 1040 MovieClip Frame 40
if ((_global.cont.level == 3) || (_global.cont.level == 4)) {
_global.cont.fTimeToChange();
gotoAndPlay (1);
}
Symbol 1040 MovieClip Frame 60
if ((_global.cont.level == 1) || (_global.cont.level == 2)) {
_global.cont.fTimeToChange();
gotoAndPlay (1);
}
Symbol 1043 MovieClip Frame 1265
stop();
_global.game.messages.gotoAndStop("carnage");
_parent.bell.gotoAndPlay(2);
Symbol 1048 MovieClip Frame 1
stop();
ringTime = 0;
vStopped = true;
Symbol 1048 MovieClip Frame 2
vStopped = false;
Symbol 1048 MovieClip Frame 4
if (ringTime >= 10) {
_global.game.messages.gotoAndStop("carnage");
} else {
ringTime++;
gotoAndPlay (2);
}
Instance of Symbol 1043 MovieClip "bar" in Symbol 1050 MovieClip Frame 1
onClipEvent (load) {
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Instance of Symbol 1048 MovieClip "bell" in Symbol 1050 MovieClip Frame 1
onClipEvent (load) {
vStopped = true;
_global.cont.fAddPauseAnim(this);
}
onClipEvent (unload) {
_global.cont.fRemovePauseAnim(this);
}
Symbol 1055 Button
on (release) {
_global.Sounds.PlayASound("reload");
gotoAndStop ("restart");
}
Symbol 1075 MovieClip Frame 1
stop();
Symbol 1093 Button
on (release) {
_global.Sounds.PlayASound("reload");
_global.ScoreSubmited = true;
gotoAndStop ("highScore");
}
Symbol 1099 Button
on (release) {
_global.Sounds.PlayASound("reload");
gotoAndStop ("restart");
}
Symbol 1103 Button
on (release) {
_global.Sounds.PlayASound("reload");
_global.ScoreSubmited = false;
gotoAndStop ("highScore");
}
Symbol 1147 Button
on (press) {
ControlScroll.scrollUp = true;
}
on (release, releaseOutside) {
ControlScroll.scrollUp = false;
}
Symbol 1148 Button
on (press) {
ControlScroll.scrollDown = true;
}
on (release, releaseOutside) {
ControlScroll.scrollDown = false;
}
Symbol 1149 Button
on (release) {
_global.Sounds.PlayASound("reload");
_global.HS.submitScore(_global.cont.score);
btn_submit_score._visible = false;
}