Frame 1
function deadClick() {
}
function gotoMySite() {
getURL ("http://www.thepoxbox.com", "_top");
}
function sitelock(urls_allowed) {
lock = true;
domain_parts = _url.split("://");
real_domain = domain_parts[1].split("/");
domain.text = real_domain[0];
for (x in urls_allowed) {
if (urls_allowed[x] == real_domain[0]) {
lock = false;
}
}
if (lock) {
}
}
function load_game() {
savefile = SharedObject.getLocal("savegame");
if (savefile.data.mm1 != undefined) {
_root.mmm1 = savefile.data.mm1;
_root.mmm2 = savefile.data.mm2;
_root.mmm3 = savefile.data.mm3;
_root.mmm4 = savefile.data.mm4;
_root.mmm5 = savefile.data.mm5;
_root.mmm6 = savefile.data.mm6;
_root.mmm7 = savefile.data.mm7;
_root.mmm8 = savefile.data.mm8;
_root.mmm9 = savefile.data.mm9;
_root.mmm10 = savefile.data.mm10;
_root.mmm11 = savefile.data.mm11;
_root.mmm12 = savefile.data.mm12;
_root.mmm13 = savefile.data.mm13;
_root.mmm14 = savefile.data.mm14;
_root.mmm15 = savefile.data.mm15;
_root.mmm16 = savefile.data.mm16;
_root.mmm17 = savefile.data.mm17;
_root.mmm18 = savefile.data.mm18;
_root.mmm19 = savefile.data.mm19;
_root.mmm20 = savefile.data.mm20;
_root.mmm21 = savefile.data.mm21;
_root.mmm22 = savefile.data.mm22;
_root.mmm23 = savefile.data.mm23;
_root.mmm24 = savefile.data.mm24;
_root.mmm25 = savefile.data.mm25;
_root.mmm26 = savefile.data.mm26;
_root.mmm27 = savefile.data.mm27;
_root.mmm28 = savefile.data.mm28;
_root.mmm29 = savefile.data.mm29;
_root.mmm30 = savefile.data.mm30;
_root.soundoff = savefile.data.sound;
return(true);
}
return(false);
}
stop();
_root.winmedalname = "";
_root.winmedaldescription = "";
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("\u00A9 2010 poxpower", deadClick);
var mySiteLink = new ContextMenuItem("www.thepoxbox.com", gotoMySite);
myMenu.customItems.push(mySiteLink, copyrightNotice);
_root.menu = myMenu;
urls_allowed = ["www.flashgamelicense.com", "www.flashgamelicense.com", "www.thepoxbox.com"];
sitelock(urls_allowed);
_root.efffcv = 22;
_root.mmm1 = savefile.data.mm1;
_root.mmm2 = savefile.data.mm2;
_root.mmm3 = savefile.data.mm3;
_root.mmm4 = savefile.data.mm4;
_root.mmm5 = savefile.data.mm5;
_root.mmm6 = savefile.data.mm6;
_root.mmm7 = savefile.data.mm7;
_root.mmm8 = savefile.data.mm8;
_root.mmm9 = savefile.data.mm9;
_root.mmm10 = savefile.data.mm10;
_root.mmm11 = savefile.data.mm11;
_root.mmm12 = savefile.data.mm12;
_root.mmm13 = savefile.data.mm13;
_root.mmm14 = savefile.data.mm14;
_root.mmm15 = savefile.data.mm15;
_root.mmm16 = savefile.data.mm16;
_root.mmm17 = savefile.data.mm17;
_root.mmm18 = savefile.data.mm18;
_root.mmm19 = savefile.data.mm19;
_root.mmm20 = savefile.data.mm20;
_root.mmm21 = savefile.data.mm21;
_root.mmm22 = savefile.data.mm22;
_root.mmm23 = savefile.data.mm23;
_root.mmm24 = savefile.data.mm24;
_root.mmm25 = savefile.data.mm25;
_root.mmm26 = savefile.data.mm26;
_root.mmm27 = savefile.data.mm27;
_root.mmm28 = savefile.data.mm28;
_root.mmm29 = savefile.data.mm29;
_root.mmm30 = savefile.data.mm30;
_root.soundoff = savefile.data.sound;
var savefile;
savefile = SharedObject.getLocal("savegame");
_root.trub = false;
_root.trub2 = false;
_root.losscount = 0;
mochi.as2.MochiServices.connect("646e8ce1963b5148");
Instance of Symbol 106 MovieClip [API Connector (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
api_id = "15157:8IDifg5r";
encryption_key = "gcW6KNF4NHsSFWs0DAYHREIApx3IL7Xi";
version = "";
fake_session = true;
debug = true;
error_screens = true;
medal_popups = true;
}
Instance of Symbol 3263 MovieClip [bullet] in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(e0.hitit)) {
this.gotoAndPlay("explode");
}
}
Frame 11
Mouse.show();
Frame 17
Frame 25
Mouse.show();
stop();
Frame 34
stop();
Frame 44
function playEffect(sname) {
sname.start();
sname.setVolume(bgvolume);
}
Mouse.show();
pausee = false;
spacedown = false;
_root.racetime = 0;
_root.streakcount = 0;
_root.timespeed = 30;
_root.timecount = 0;
_root.gamefreeze = false;
_root.infinite = false;
_root.timewin = false;
_root.youlose = false;
_root.youwin = false;
_root.effcv = 1;
_root.infinite = false;
_root.gamefreeze = false;
_root.instructions = false;
_root.practice = false;
_root.racetime = 10;
_root.timeattack = false;
_root.storymode = false;
_root.timeroff = true;
_root.gameon = false;
_root.newgamestart = false;
_root.multiplier = 1;
_root.score = 0;
_root.lives = 10;
_root.storycount = 0;
_root.keyquality = 81;
_root.fatframe = false;
_root.fatframe2 = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.difficulty = 0;
_root.targetscore = 1000;
mainmenu = _root.backgrounda.backgrounda2.attachMovie("mainplatee", "mainmenu", -100);
mainmenu._x = 0;
mainmenu._y = 0;
this.createEmptyMovieClip("sfx", 1);
this.createEmptyMovieClip("bgloop", 0);
_root.keym = 77;
_root.keymusic = false;
_root.bgvolume = 100;
_root.loop1 = new Sound(_root.bgloop);
_root.loop1.attachSound("3D_Box2");
_root.loopstarted1 = false;
_root.loop3 = new Sound(_root.bgloop);
_root.loop3.attachSound("carloop.wav");
_root.loopstarted3 = false;
_root.loop2 = new Sound(_root.bgloop);
_root.loop2.attachSound("bottlefactory.wav");
_root.loopstarted2 = false;
_root.loop4 = new Sound(_root.bgloop);
_root.loop4.attachSound("crowd.wav");
_root.loopstarted4 = false;
_root.loop5 = new Sound(_root.bgloop);
_root.loop5.attachSound("beauty.wav");
_root.loopstarted5 = false;
_root.loop6 = new Sound(_root.bgloop);
_root.loop6.attachSound("bloos.wav");
_root.loopstarted6 = false;
_root.loop7 = new Sound(_root.bgloop);
_root.loop7.attachSound("planb.wav");
_root.loopstarted7 = false;
_root.loop8 = new Sound(_root.bgloop);
_root.loop8.attachSound("slice.wav");
_root.loopstarted8 = false;
_root.loop9 = new Sound(_root.bgloop);
_root.loop9.attachSound("jesusdie.wav");
_root.loopstarted9 = false;
_root.loop11 = new Sound(_root.bgloop);
_root.loop11.attachSound("girlbreathe.wav");
_root.loopstarted11 = false;
_root.loop12 = new Sound(_root.bgloop);
_root.loop12.attachSound("lazorloop.wav");
_root.loopstarted12 = false;
_root.loop13 = new Sound(_root.bgloop);
_root.loop13.attachSound("waterloop.wav");
_root.loopstarted13 = false;
_root.loop14 = new Sound(_root.bgloop);
_root.loop14.attachSound("astroid2loop.wav");
_root.loopstarted14 = false;
_root.loop15 = new Sound(_root.bgloop);
_root.loop15.attachSound("jetloop.wav");
_root.loopstarted15 = false;
earthshake = new Sound(sfx);
earthshake.attachSound("earthshake.wav");
click2 = new Sound(sfx);
click2.attachSound("click2");
electricity4 = new Sound(sfx);
electricity4.attachSound("electricity4");
static2 = new Sound(sfx);
static2.attachSound("static2");
closingin = new Sound(sfx);
closingin.attachSound("closingin");
slam3 = new Sound(sfx);
slam3.attachSound("slam3");
boip = new Sound(sfx);
boip.attachSound("boip");
buzzer = new Sound(sfx);
buzzer.attachSound("buzzer");
doorclose = new Sound(sfx);
doorclose.attachSound("doorclose.wav");
gameovar = new Sound(sfx);
gameovar.attachSound("gameovar.wav");
opendoor = new Sound(sfx);
opendoor.attachSound("opendoor.wav");
shing = new Sound(sfx);
shing.attachSound("shing.wav");
startfun = new Sound(sfx);
startfun.attachSound("startfun.wav");
astroidshot = new Sound(sfx);
astroidshot.attachSound("astroidshot.wav");
breakwindow = new Sound(sfx);
breakwindow.attachSound("breakwindow.wav");
calculator = new Sound(sfx);
calculator.attachSound("calculator.wav");
carbreak = new Sound(sfx);
carbreak.attachSound("carbreak.wav");
carrev = new Sound(sfx);
carrev.attachSound("carrev.wav");
carscreech = new Sound(sfx);
carscreech.attachSound("carscreech.wav");
cicadas = new Sound(sfx);
cicadas.attachSound("cicadas.wav");
contraaliendie = new Sound(sfx);
contraaliendie.attachSound("contraaliendie.wav");
contradie = new Sound(sfx);
contradie.attachSound("contradie.wav");
contraeyeshot = new Sound(sfx);
contraeyeshot.attachSound("contraeyeshot.wav");
crunch = new Sound(sfx);
crunch.attachSound("crunch.wav");
enterpipe = new Sound(sfx);
enterpipe.attachSound("enterpipe.wav");
foodsplat = new Sound(sfx);
foodsplat.attachSound("foodsplat.wav");
girlscream = new Sound(sfx);
girlscream.attachSound("girlscream.wav");
glassbreak = new Sound(sfx);
glassbreak.attachSound("glassbreak.wav");
gunshot = new Sound(sfx);
gunshot.attachSound("gunshot.wav");
handcardown = new Sound(sfx);
handcardown.attachSound("handcardown.wav");
handcarup = new Sound(sfx);
handcarup.attachSound("handcarup.wav");
icebreak = new Sound(sfx);
icebreak.attachSound("icebreak.wav");
glasss = new Sound(sfx);
glasss.attachSound("glasss.wav");
kick = new Sound(sfx);
kick.attachSound("kick.wav");
kontrabigbang = new Sound(sfx);
kontrabigbang.attachSound("kontrabigbang.wav");
kontrabullet = new Sound(sfx);
kontrabullet.attachSound("kontrabullet.wav");
kontraexplosion = new Sound(sfx);
kontraexplosion.attachSound("kontraexplosion.wav");
loaderloorslide = new Sound(sfx);
loaderloorslide.attachSound("loaderloorslide.wav");
mammothcrap = new Sound(sfx);
mammothcrap.attachSound("mammothcrap.wav");
mouthshot = new Sound(sfx);
mouthshot.attachSound("mouthshot.wav");
pipehit = new Sound(sfx);
pipehit.attachSound("pipehit.wav");
playbuttonover = new Sound(sfx);
playbuttonover.attachSound("playbuttonover.wav");
scream = new Sound(sfx);
scream.attachSound("scream.wav");
slam = new Sound(sfx);
slam.attachSound("slam.wav");
stomp = new Sound(sfx);
stomp.attachSound("stomp.wav");
storymodecomplete = new Sound(sfx);
storymodecomplete.attachSound("storymodecomplete.wav");
sweepleg = new Sound(sfx);
sweepleg.attachSound("sweepleg.wav");
swing = new Sound(sfx);
swing.attachSound("swing.wav");
swords = new Sound(sfx);
swords.attachSound("swords.wav");
timer = new Sound(sfx);
timer.attachSound("timer.wav");
tink1 = new Sound(sfx);
tink1.attachSound("tink1.wav");
tink2 = new Sound(sfx);
tink2.attachSound("tink2.wav");
tink3 = new Sound(sfx);
tink3.attachSound("tink3.wav");
tink4 = new Sound(sfx);
tink4.attachSound("tink4.wav");
tink5 = new Sound(sfx);
tink5.attachSound("tink5.wav");
tink6 = new Sound(sfx);
tink6.attachSound("tink6.wav");
turncircle = new Sound(sfx);
turncircle.attachSound("turncircle.wav");
victorybuttonover = new Sound(sfx);
victorybuttonover.attachSound("victorybuttonover.wav");
victoryding = new Sound(sfx);
victoryding.attachSound("victoryding.wav");
weirdboing = new Sound(sfx);
weirdboing.attachSound("weirdboing.wav");
wheellock = new Sound(sfx);
wheellock.attachSound("wheellock.wav");
cheer = new Sound(sfx);
cheer.attachSound("cheer.wav");
crowdboo = new Sound(sfx);
crowdboo.attachSound("crowdboo.wav");
astroid2blast = new Sound(sfx);
astroid2blast.attachSound("astroid2blast.wav");
astroid2die = new Sound(sfx);
astroid2die.attachSound("astroid2die.wav");
astroiddie = new Sound(sfx);
astroiddie.attachSound("astroiddie.wav");
badfood = new Sound(sfx);
badfood.attachSound("badfood.wav");
brmenus = new Sound(sfx);
brmenus.attachSound("brmenus.wav");
brselect = new Sound(sfx);
brselect.attachSound("brselect.wav");
carcrash = new Sound(sfx);
carcrash.attachSound("carcrash.wav");
charge = new Sound(sfx);
charge.attachSound("charge.wav");
chargehole = new Sound(sfx);
chargehole.attachSound("chargehole.wav");
chargeset = new Sound(sfx);
chargeset.attachSound("chargeset.wav");
chargesmall = new Sound(sfx);
chargesmall.attachSound("chargesmall.wav");
crackwood = new Sound(sfx);
crackwood.attachSound("crackwood.wav");
earthcrack = new Sound(sfx);
earthcrack.attachSound("earthcrack.wav");
eatfish = new Sound(sfx);
eatfish.attachSound("eatfish.wav");
elephant = new Sound(sfx);
elephant.attachSound("elephant.wav");
evangelize = new Sound(sfx);
evangelize.attachSound("evangelize.wav");
finddifference = new Sound(sfx);
finddifference.attachSound("finddifference.wav");
firelazer = new Sound(sfx);
firelazer.attachSound("firelazer.wav");
fruitgrab = new Sound(sfx);
fruitgrab.attachSound("fruitgrab.wav");
gameoverbutton = new Sound(sfx);
gameoverbutton.attachSound("gameoverbutton.wav");
getcard = new Sound(sfx);
getcard.attachSound("getcard.wav");
grabball = new Sound(sfx);
grabball.attachSound("grabball.wav");
grabglass = new Sound(sfx);
grabglass.attachSound("grabglass.wav");
greatselect = new Sound(sfx);
greatselect.attachSound("greatselect.wav");
hitgold = new Sound(sfx);
hitgold.attachSound("hitgold.wav");
hitplatform = new Sound(sfx);
hitplatform.attachSound("hitplatform.wav");
hurtmammoth = new Sound(sfx);
hurtmammoth.attachSound("hurtmammoth.wav");
jumprope = new Sound(sfx);
jumprope.attachSound("jumprope.wav");
karatejump = new Sound(sfx);
karatejump.attachSound("karatejump.wav");
kickcrunch = new Sound(sfx);
kickcrunch.attachSound("kickcrunch.wav");
mallet = new Sound(sfx);
mallet.attachSound("mallet.wav");
maxcharge = new Sound(sfx);
maxcharge.attachSound("maxcharge.wav");
oiramjump = new Sound(sfx);
oiramjump.attachSound("oiramjump.wav");
pausegame = new Sound(sfx);
pausegame.attachSound("pausegame.wav");
reloadgun = new Sound(sfx);
reloadgun.attachSound("reload.wav");
ropescream = new Sound(sfx);
ropescream.attachSound("ropescream.wav");
ropeswing = new Sound(sfx);
ropeswing.attachSound("ropeswing.wav");
scream2 = new Sound(sfx);
scream2.attachSound("scream2.wav");
takedamage = new Sound(sfx);
takedamage.attachSound("takedamage.wav");
thud = new Sound(sfx);
thud.attachSound("thud.wav");
hurtage = new Sound(sfx);
hurtage.attachSound("hurtage.wav");
touchblue = new Sound(sfx);
touchblue.attachSound("touchblue.wav");
antyay = new Sound(sfx);
antyay.attachSound("antyay.wav");
atroid2destroy = new Sound(sfx);
atroid2destroy.attachSound("atroid2destroy.wav");
blackhole = new Sound(sfx);
blackhole.attachSound("blackhole.wav");
bloodsplash = new Sound(sfx);
bloodsplash.attachSound("bloodsplash.wav");
getreasure = new Sound(sfx);
getreasure.attachSound("getreasure.wav");
girlhappy = new Sound(sfx);
girlhappy.attachSound("girlhappy.wav");
girljump = new Sound(sfx);
girljump.attachSound("girljump.wav");
flipcard = new Sound(sfx);
flipcard.attachSound("flipcard.wav");
guyhey = new Sound(sfx);
guyhey.attachSound("guyhey.wav");
guyhurt = new Sound(sfx);
guyhurt.attachSound("guyhurt.wav");
jesusfade = new Sound(sfx);
jesusfade.attachSound("jesusfade.wav");
jesusflash = new Sound(sfx);
jesusflash.attachSound("jesusflash.wav");
jetexplode = new Sound(sfx);
jetexplode.attachSound("jetexplode.wav");
jetexplode2 = new Sound(sfx);
jetexplode2.attachSound("jetexplode2.wav");
jetloop = new Sound(sfx);
jetloop.attachSound("jetloop.wav");
jetshoot = new Sound(sfx);
jetshoot.attachSound("jetshoot.wav");
leaf = new Sound(sfx);
leaf.attachSound("leaf.wav");
lightsplash = new Sound(sfx);
lightsplash.attachSound("lightsplash.wav");
reversorget = new Sound(sfx);
reversorget.attachSound("reversorget.wav");
ropecaught = new Sound(sfx);
ropecaught.attachSound("ropecaught.wav");
runaway = new Sound(sfx);
runaway.attachSound("runaway.wav");
spring = new Sound(sfx);
spring.attachSound("spring.wav");
step1 = new Sound(sfx);
step1.attachSound("step1.wav");
step2 = new Sound(sfx);
step2.attachSound("step2.wav");
thanks = new Sound(sfx);
thanks.attachSound("thanks.wav");
play();
Frame 73
stop();
this.onEnterFrame = function () {
if (_root.timespeed < 20) {
timespeed = 20;
}
};
Frame 84
_root.timespeed = 30;
_root.timeroff = true;
_root.screakcount = 0;
_root.newgamestart = false;
_root.multiplier = 1;
_root.score = 0;
_root.lives = 10;
_root.storycount = 0;
_root.storymode = false;
_root.timeattack = false;
gotoAndPlay ("startup");
Symbol 6 Button
on (release) {
com.newgrounds.API.loadNewgrounds();
}
Symbol 12 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (865 % 511) * true);
return(\x03);
}
var \x01 = (-67 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 13 MovieClip Frame 11
gotoAndPlay (1);
Symbol 14 MovieClip [Flash Ad (NewgroundsAPI)] Frame 1
#initclip 30
Object.registerClass("Flash Ad (NewgroundsAPI)", com.newgrounds.components.FlashAd);
#endinitclip
Symbol 42 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 44 MovieClip Frame 10
stop();
Symbol 46 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 58 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 58 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 58 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 58 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 64 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
!!!ERROR
Symbol 64 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 64 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 67 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 67 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 67 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 88 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 92 Button
on (release) {
!!!ERROR
Symbol 98 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 100 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 101 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 105 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 106 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 31
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 106 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 24
Symbol 124 MovieClip Frame 37
_root.loaderr.doortwo.play();
_root.loaderr.doorone.play();
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 30
stop();
_root.gotoAndPlay("startgame");
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 30
stop();
Symbol 166 Button
on (release) {
_root.loaderr.doorone.door.lock1.play();
_root.loaderr.doorone.door.lock2.play();
_root.loaderr.doortwo.door.lock1.play();
_root.loaderr.doortwo.door.lock2.play();
gotoAndPlay ("fade");
_root.hider.play();
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 21
stop();
Symbol 167 MovieClip Frame 42
stop();
Symbol 184 Button
on (press) {
_root.play();
}
Symbol 189 MovieClip Frame 19
play();
Symbol 189 MovieClip Frame 24
gotoAndPlay ("this");
Symbol 191 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
_root.loaderr.loading.loadbar._x = -38 + int((100 * _local4) * 0.39);
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
_root.loaderr.loading.loadbar._x = 1;
}
_root.loaderr.loading.gotoAndPlay("loaded");
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 191 MovieClip Frame 55
stop();
Symbol 204 Button
on (release) {
getURL ("http://www.maxgames.com/", (target = "blank"));
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 29
stop();
Symbol 208 MovieClip [medalpop] Frame 1
stop();
Symbol 208 MovieClip [medalpop] Frame 12
if (((_root.mmm1 > 4) && (_root.savefile.data.mm1 != 1)) && (!_root.practice)) {
_root.mm1 = 1;
_root.savefile.data.mm1 = 1;
var medal_name = "Student";
com.newgrounds.API.unlockMedal(medal_name);
midilz = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz._x = 214;
midilz._y = 515;
midilz.winmedalname = "Student";
midilz.winmedaldescription = "Read the instructions";
midilz.panel.iconn.gotoAndStop(1);
}
Symbol 208 MovieClip [medalpop] Frame 14
if (((_root.mmm2 > 4) && (_root.savefile.data.mm2 != 1)) && (!_root.practice)) {
_root.mm2 = 1;
_root.savefile.data.mm2 = 1;
var medal_name = "Submitter";
com.newgrounds.API.unlockMedal(medal_name);
midilz2 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz2._x = 214;
midilz2._y = 515;
midilz2.winmedalname = "Submitter";
midilz2.winmedaldescription = "Submit a score!";
midilz2.panel.iconn.gotoAndStop(2);
}
Symbol 208 MovieClip [medalpop] Frame 16
if (((_root.mmm3 > 4) && (_root.savefile.data.mm3 != 1)) && (!_root.practice)) {
_root.mm3 = 1;
_root.savefile.data.mm3 = 1;
var medal_name = "Dubble Trubble";
com.newgrounds.API.unlockMedal(medal_name);
midilz3 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz3._x = 214;
midilz3._y = 515;
midilz3.winmedalname = "Dubble Trubble";
midilz3.winmedaldescription = "Try out STORY MODE and RANDOM MODE.";
midilz3.panel.iconn.gotoAndStop(3);
}
Symbol 208 MovieClip [medalpop] Frame 18
if (((_root.mmm4 > 4) && (_root.savefile.data.mm4 != 1)) && (!_root.practice)) {
_root.mm4 = 1;
_root.savefile.data.mm4 = 1;
var medal_name = "Good Spork";
com.newgrounds.API.unlockMedal(medal_name);
midilz4 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz4._x = 214;
midilz4._y = 515;
midilz4.winmedalname = "Good Spork";
midilz4.winmedaldescription = "Find me a spork!";
midilz4.panel.iconn.gotoAndStop(4);
}
Symbol 208 MovieClip [medalpop] Frame 20
if (((_root.mmm5 > 4) && (_root.savefile.data.mm5 != 1)) && (!_root.practice)) {
_root.mm5 = 1;
_root.savefile.data.mm5 = 1;
var medal_name = "Poker";
com.newgrounds.API.unlockMedal(medal_name);
midilz5 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz5._x = 214;
midilz5._y = 515;
midilz5.winmedalname = "Poker";
midilz5.winmedaldescription = "Poke the mammoth in the eye in MAMMOTH THAW.";
midilz5.panel.iconn.gotoAndStop(5);
}
Symbol 208 MovieClip [medalpop] Frame 22
if (((_root.mmm6 > 4) && (_root.savefile.data.mm6 != 1)) && (!_root.practice)) {
_root.mm6 = 1;
_root.savefile.data.mm6 = 1;
var medal_name = "Clean Sweep";
com.newgrounds.API.unlockMedal(medal_name);
midilz6 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz6._x = 214;
midilz6._y = 515;
midilz6.winmedalname = "Clean Sweep";
midilz6.winmedaldescription = "Sweep 10 times in SWEEP THE LEG.";
midilz6.panel.iconn.gotoAndStop(6);
}
Symbol 208 MovieClip [medalpop] Frame 24
if (((_root.mmm7 > 4) && (_root.savefile.data.mm7 != 1)) && (!_root.practice)) {
_root.mm7 = 1;
_root.savefile.data.mm7 = 1;
var medal_name = "Math Wiz";
com.newgrounds.API.unlockMedal(medal_name);
midilz7 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz7._x = 214;
midilz7._y = 515;
midilz7.winmedalname = "Math Wiz";
midilz7.winmedaldescription = "Win KALCULATOR in 7 operations or less.";
midilz7.panel.iconn.gotoAndStop(7);
}
Symbol 208 MovieClip [medalpop] Frame 26
if (((_root.mmm8 > 4) && (_root.savefile.data.mm8 != 1)) && (!_root.practice)) {
_root.mm8 = 1;
_root.savefile.data.mm8 = 1;
var medal_name = "Bad Monkey";
com.newgrounds.API.unlockMedal(medal_name);
midilz8 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz8._x = 214;
midilz8._y = 515;
midilz8.winmedalname = "Bad Monkey";
midilz8.winmedaldescription = "Lose at MONKEY GRAB.";
midilz8.panel.iconn.gotoAndStop(8);
}
Symbol 208 MovieClip [medalpop] Frame 28
if (((_root.mmm9 > 4) && (_root.savefile.data.mm9 != 1)) && (!_root.practice)) {
_root.mm9 = 1;
_root.savefile.data.mm9 = 1;
var medal_name = "Butcher";
com.newgrounds.API.unlockMedal(medal_name);
midilz9 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz9._x = 214;
midilz9._y = 515;
midilz9.winmedalname = "Butcher";
midilz9.winmedaldescription = "Lose at ROPE JUMP.";
midilz9.panel.iconn.gotoAndStop(9);
}
Symbol 208 MovieClip [medalpop] Frame 30
if (((_root.mmm10 > 4) && (_root.savefile.data.mm10 != 1)) && (!_root.practice)) {
_root.mm10 = 1;
_root.savefile.data.mm10 = 1;
var medal_name = "Antichrist";
com.newgrounds.API.unlockMedal(medal_name);
midilz10 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz10._x = 214;
midilz10._y = 515;
midilz10.winmedalname = "Antichrist";
midilz10.winmedaldescription = "Kill a Jesus in COP TRAINING.";
midilz10.panel.iconn.gotoAndStop(10);
}
Symbol 208 MovieClip [medalpop] Frame 32
if (((_root.mmm11 > 4) && (_root.savefile.data.mm11 != 1)) && (!_root.practice)) {
_root.mm11 = 1;
_root.savefile.data.mm11 = 1;
var medal_name = "Astroid Killer";
com.newgrounds.API.unlockMedal(medal_name);
midilz11 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz11._x = 214;
midilz11._y = 515;
midilz11.winmedalname = "Astroid Killer";
midilz11.winmedaldescription = "Destroy 10 asteroids in ASTROIDS 2.";
midilz11.panel.iconn.gotoAndStop(11);
}
Symbol 208 MovieClip [medalpop] Frame 34
if (((_root.mmm12 > 4) && (_root.savefile.data.mm12 != 1)) && (!_root.practice)) {
_root.mm12 = 1;
_root.savefile.data.mm12 = 1;
var medal_name = "Top Gun";
com.newgrounds.API.unlockMedal(medal_name);
midilz12 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz12._x = 214;
midilz12._y = 515;
midilz12.winmedalname = "Top Gun";
midilz12.winmedaldescription = "Destroy 10 planes in JETS.";
midilz12.panel.iconn.gotoAndStop(12);
}
Symbol 208 MovieClip [medalpop] Frame 36
if (((_root.mmm13 > 4) && (_root.savefile.data.mm13 != 1)) && (!_root.practice)) {
_root.mm13 = 1;
_root.savefile.data.mm13 = 1;
var medal_name = "Fat Ass";
com.newgrounds.API.unlockMedal(medal_name);
midilz13 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz13._x = 214;
midilz13._y = 515;
midilz13.winmedalname = "Fat Ass";
midilz13.winmedaldescription = "Eat 12 food items in DIET RUN.";
midilz13.panel.iconn.gotoAndStop(13);
}
Symbol 208 MovieClip [medalpop] Frame 38
if (((_root.mmm14 > 4) && (_root.savefile.data.mm14 != 1)) && (!_root.practice)) {
_root.mm14 = 1;
_root.savefile.data.mm14 = 1;
var medal_name = "Drunk";
com.newgrounds.API.unlockMedal(medal_name);
midilz14 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz14._x = 214;
midilz14._y = 515;
midilz14.winmedalname = "Drunk";
midilz14.winmedaldescription = "Serve 30 beers in BARTENDER.";
midilz14.panel.iconn.gotoAndStop(14);
}
Symbol 208 MovieClip [medalpop] Frame 40
if (((_root.mmm15 > 4) && (_root.savefile.data.mm15 != 1)) && (!_root.practice)) {
_root.mm15 = 1;
_root.savefile.data.mm15 = 1;
var medal_name = "Pipe Dream";
com.newgrounds.API.unlockMedal(medal_name);
midilz15 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz15._x = 214;
midilz15._y = 515;
midilz15.winmedalname = "Pipe Dream";
midilz15.winmedaldescription = "Get all 3 balls to fall on the correct platform in PIPES.";
midilz15.panel.iconn.gotoAndStop(15);
}
Symbol 208 MovieClip [medalpop] Frame 42
if (((_root.mmm16 > 4) && (_root.savefile.data.mm16 != 1)) && (!_root.practice)) {
_root.mm16 = 1;
_root.savefile.data.mm16 = 1;
var medal_name = "Marksman";
com.newgrounds.API.unlockMedal(medal_name);
midilz16 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz16._x = 214;
midilz16._y = 515;
midilz16.winmedalname = "Marksman";
midilz16.winmedaldescription = "Get 3 perfect stops in CHARGE.";
midilz16.panel.iconn.gotoAndStop(16);
}
Symbol 208 MovieClip [medalpop] Frame 44
if (((_root.mmm17 > 4) && (_root.savefile.data.mm17 != 1)) && (!_root.practice)) {
_root.mm17 = 1;
_root.savefile.data.mm17 = 1;
var medal_name = "Close Race";
com.newgrounds.API.unlockMedal(medal_name);
midilz17 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz17._x = 214;
midilz17._y = 515;
midilz17.winmedalname = "Close Race";
midilz17.winmedaldescription = "Win RACE with 3 seconds or less left on the clock";
midilz17.panel.iconn.gotoAndStop(17);
}
Symbol 208 MovieClip [medalpop] Frame 46
if (((_root.mmm18 > 4) && (_root.savefile.data.mm18 != 1)) && (!_root.practice)) {
_root.mm18 = 1;
_root.savefile.data.mm18 = 1;
var medal_name = "Alien Buster";
com.newgrounds.API.unlockMedal(medal_name);
midilz18 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz18._x = 214;
midilz18._y = 515;
midilz18.winmedalname = "Alien Buster";
midilz18.winmedaldescription = "Beat THE FINAL STAGE without losing a single life.";
midilz18.panel.iconn.gotoAndStop(18);
}
Symbol 208 MovieClip [medalpop] Frame 48
if (((_root.mmm19 > 4) && (_root.savefile.data.mm19 != 1)) && (!_root.practice)) {
_root.mm19 = 1;
_root.savefile.data.mm19 = 1;
var medal_name = "Epic Failure";
com.newgrounds.API.unlockMedal(medal_name);
midilz19 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz19._x = 214;
midilz19._y = 515;
midilz19.winmedalname = "Epic Failure";
midilz19.winmedaldescription = "Get GAME OVER 10 times in one session of play.";
midilz19.panel.iconn.gotoAndStop(19);
}
Symbol 208 MovieClip [medalpop] Frame 50
if (((_root.mmm20 > 4) && (_root.savefile.data.mm20 != 1)) && (!_root.practice)) {
_root.mm20 = 1;
_root.savefile.data.mm20 = 1;
var medal_name = "Multiplicity";
com.newgrounds.API.unlockMedal(medal_name);
midilz20 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz20._x = 214;
midilz20._y = 515;
midilz20.winmedalname = "Multiplicity";
midilz20.winmedaldescription = "Get your MULTIPLIER up to 10";
midilz20.panel.iconn.gotoAndStop(20);
}
Symbol 208 MovieClip [medalpop] Frame 52
if (((_root.mmm21 > 4) && (_root.savefile.data.mm21 != 1)) && (!_root.practice)) {
_root.mm21 = 1;
_root.savefile.data.mm21 = 1;
var medal_name = "Quitter";
com.newgrounds.API.unlockMedal(medal_name);
midilz21 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz21._x = 214;
midilz21._y = 515;
midilz21.winmedalname = "Quitter";
midilz21.winmedaldescription = "Get your MULTIPLIER up to 10 and then QUIT your game from the PAUSE menu.";
midilz21.panel.iconn.gotoAndStop(21);
}
Symbol 208 MovieClip [medalpop] Frame 54
if (((_root.mmm22 > 4) && (_root.savefile.data.mm22 != 1)) && (!_root.practice)) {
_root.mm22 = 1;
_root.savefile.data.mm22 = 1;
var medal_name = "Streaker";
com.newgrounds.API.unlockMedal(medal_name);
midilz22 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz22._x = 214;
midilz22._y = 515;
midilz22.winmedalname = "Streaker";
midilz22.winmedaldescription = "Get a streak of 10 or more.";
midilz22.panel.iconn.gotoAndStop(22);
}
Symbol 208 MovieClip [medalpop] Frame 56
if (((_root.mmm23 > 4) && (_root.savefile.data.mm23 != 1)) && (!_root.practice)) {
_root.mm23 = 1;
_root.savefile.data.mm23 = 1;
var medal_name = "Streak Master";
com.newgrounds.API.unlockMedal(medal_name);
midilz23 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz23._x = 214;
midilz23._y = 515;
midilz23.winmedalname = "Streak Master";
midilz23.winmedaldescription = "Get a streak of 20 or more.";
midilz23.panel.iconn.gotoAndStop(23);
}
Symbol 208 MovieClip [medalpop] Frame 58
if (((_root.mmm24 > 4) && (_root.savefile.data.mm24 != 1)) && (!_root.practice)) {
_root.mm24 = 1;
_root.savefile.data.mm24 = 1;
var medal_name = "Half-Ass";
com.newgrounds.API.unlockMedal(medal_name);
midilz24 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz24._x = 214;
midilz24._y = 515;
midilz24.winmedalname = "Half-Ass";
midilz24.winmedaldescription = "Finish half of STORY MODE";
midilz24.panel.iconn.gotoAndStop(24);
}
Symbol 208 MovieClip [medalpop] Frame 60
if (((_root.mmm25 > 4) && (_root.savefile.data.mm25 != 1)) && (!_root.practice)) {
_root.mm25 = 1;
_root.savefile.data.mm25 = 1;
var medal_name = "The Ending Story";
com.newgrounds.API.unlockMedal(medal_name);
midilz25 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz25._x = 214;
midilz25._y = 515;
midilz25.winmedalname = "The Ending Story";
midilz25.winmedaldescription = "Finish STORY MODE";
midilz25.panel.iconn.gotoAndStop(25);
}
Symbol 208 MovieClip [medalpop] Frame 62
if (((_root.mmm26 > 4) && (_root.savefile.data.mm26 != 1)) && (!_root.practice)) {
_root.mm26 = 1;
_root.savefile.data.mm26 = 1;
var medal_name = "Five Kay";
com.newgrounds.API.unlockMedal(medal_name);
midilz26 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz26._x = 214;
midilz26._y = 515;
midilz26.winmedalname = "Five Kay";
midilz26.winmedaldescription = "Reach a score of 5000 points or more.";
midilz26.panel.iconn.gotoAndStop(26);
}
Symbol 208 MovieClip [medalpop] Frame 64
if (((_root.mmm27 > 4) && (_root.savefile.data.mm27 != 1)) && (!_root.practice)) {
_root.mm27 = 1;
_root.savefile.data.mm27 = 1;
var medal_name = "It's Over 10 000!";
com.newgrounds.API.unlockMedal(medal_name);
midilz27 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz27._x = 214;
midilz27._y = 515;
midilz27.winmedalname = "It's Over 10 000!";
midilz27.winmedaldescription = "Get a score of 10 000 points or more.";
midilz27.panel.iconn.gotoAndStop(27);
}
Symbol 208 MovieClip [medalpop] Frame 66
if (((_root.mmm28 > 4) && (_root.savefile.data.mm28 != 1)) && (!_root.practice)) {
_root.mm28 = 1;
_root.savefile.data.mm28 = 1;
var medal_name = "Streak God";
com.newgrounds.API.unlockMedal(medal_name);
midilz28 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz28._x = 214;
midilz28._y = 515;
midilz28.winmedalname = "Streak God";
midilz28.winmedaldescription = "Get a streak of 50 or more.";
midilz28.panel.iconn.gotoAndStop(28);
}
Symbol 208 MovieClip [medalpop] Frame 68
if (((_root.mmm29 > 4) && (_root.savefile.data.mm29 != 1)) && (!_root.practice)) {
_root.mm29 = 1;
_root.savefile.data.mm29 = 1;
var medal_name = "Random God";
com.newgrounds.API.unlockMedal(medal_name);
midilz29 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz29._x = 214;
midilz29._y = 515;
midilz29.winmedalname = "Random God";
midilz29.winmedaldescription = "Win 30 games in RANDOM MODE with 10 lives remaining.";
midilz29.panel.iconn.gotoAndStop(29);
}
Symbol 208 MovieClip [medalpop] Frame 70
if (((_root.mmm30 > 4) && (_root.savefile.data.mm30 != 1)) && (!_root.practice)) {
_root.mm30 = 1;
_root.savefile.data.mm30 = 1;
var medal_name = "Story God";
com.newgrounds.API.unlockMedal(medal_name);
midilz30 = _root.attachMovie("medalpopper", "cloccudaa" + _root.efffcv, _root.efffcv + 100);
_root.efffcv++;
midilz30._x = 214;
midilz30._y = 515;
midilz30.winmedalname = "Story God";
midilz30.winmedaldescription = "Complete STORY MODE with all 10 lives.";
midilz30.panel.iconn.gotoAndStop(30);
}
Symbol 274 MovieClip Frame 1
stop();
Symbol 276 MovieClip [medalpopper] Frame 89
this.unloadMovie();
this.removeMovieClip();
Symbol 4279 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
!!!ERROR
Symbol 4280 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
!!!ERROR
Symbol 4281 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
!!!ERROR
Symbol 4282 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
!!!ERROR
Symbol 4283 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
!!!ERROR
Symbol 16 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 17 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 18 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 19 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 22 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 24 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 23 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 33 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 21 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 15 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 4284 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
!!!ERROR
Symbol 4285 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
!!!ERROR
Symbol 1 MovieClip [__Packages.com.newgrounds.components.FlashAd] Frame 0
!!!ERROR
Symbol 20 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 25 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 26 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 27 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 28 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 29 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 30 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 31 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 32 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 34 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 35 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 296 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
gotoAndStop(_root.storycount);
};
Symbol 310 Button
on (release) {
getURL ("http://www.maxgames.com/", (target = "blank"));
}
Symbol 314 Button
on (release) {
getURL ("http://www.maxgames.com/guides/insanity-box-2.html", (target = "blank"));
}
Symbol 318 Button
on (release) {
if (_root.multiplier > 9) {
_root.mmm21 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
Mouse.show();
_root.pausee = false;
_root.spacedown = false;
_root.timespeed = 30;
_root.timecount = 0;
_root.gamefreeze = false;
_root.infinite = false;
_root.timewin = false;
_root.youlose = false;
_root.youwin = false;
_root.effcv = 1;
_root.infinite = false;
_root.gamefreeze = false;
_root.instructions = false;
_root.timeattack = false;
_root.storymode = false;
_root.timeroff = true;
_root.newgamestart = false;
_root.multiplier = 1;
_root.score = 0;
_root.lives = 10;
_root.storycount = 0;
_root.keyquality = 81;
_root.fatframe = false;
_root.fatframe2 = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.targetscore = 1000;
_root.keymusic = false;
_root.bgvolume = 100;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
mainmenu = _root.backgrounda.backgrounda2.attachMovie("mainplatee", "mainmenu", -100);
mainmenu._x = 0;
mainmenu._y = 0;
_parent.unloadMovie();
_parent.removeMovieClip();
}
Symbol 334 MovieClip [golddoorswin] Frame 1
play();
_root.streakcount = _root.streakcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.doorclose);
}
if (_root.multiplier > 9) {
_root.mmm20 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.streakcount > 9) {
_root.mmm22 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.streakcount > 19) {
_root.mmm23 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.score > 4999) {
_root.mmm26 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.score > 9999) {
_root.mmm27 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.streakcount > 49) {
_root.mmm28 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (((_root.streakcount > 29) && (_root.lives > 9)) && (!_root.storymode)) {
_root.mmm29 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
Instance of Symbol 321 MovieClip "pausescreen" in Symbol 334 MovieClip [golddoorswin] Frame 3
onClipEvent (enterFrame) {
if (!Key.isDown(32)) {
_root.spacedown = false;
}
if ((Key.isDown(32) && (!_root.spacedown)) && (!_root.pausee)) {
_root.spacedown = true;
if (!_root.soundoff) {
_root.playEffect(_root.pausegame);
}
_root.pausee = true;
this._y = this._y + 1000;
this._alpha = 100;
_parent.stop();
}
if ((Key.isDown(32) && (!_root.spacedown)) && (_root.pausee)) {
_root.spacedown = true;
_root.pausee = false;
this._y = this._y - 1000;
this._alpha = 0;
_parent.play();
}
}
Symbol 334 MovieClip [golddoorswin] Frame 4
if (_root.storymode && (_root.lives > 0)) {
report._alpha = 100;
}
Symbol 334 MovieClip [golddoorswin] Frame 11
if (!_root.soundoff) {
_root.playEffect(_root.shing);
}
Symbol 334 MovieClip [golddoorswin] Frame 47
play();
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = false;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
if (_root.timeattack && (_root.lives > 0)) {
gaimez = _root.backgrounda.backgrounda2.attachMovie(("minigame" + random(50)) + 1, "yay", -200);
gaimez._x = 0;
gaimez._y = 0;
}
if ((_root.storymode && (_root.storycount < 30)) && (_root.lives > 0)) {
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame" + (_root.storycount + 1), "yay", -200);
gaimez._x = 0;
gaimez._y = 0;
}
if (_root.lives < 1) {
gaimezz = _root.backgrounda.backgrounda2.attachMovie("gameover", "over", -205);
gaimezz._x = 0;
gaimezz._y = 0;
}
if (((_root.storycount > 29) && (_root.storymode)) && (_root.lives > 0)) {
gaimezzz = _root.backgrounda.backgrounda2.attachMovie("victory", "win", -206);
gaimezzz._x = 0;
gaimezzz._y = 0;
}
if (_root.timeattack && (_root.lives > 0)) {
gametime = _root.backgrounda.backgrounda2.attachMovie("minigame" + (random(30) + 1), "gaimim", -200);
gametime._x = 0;
gametime._y = 0;
if (_root.timespeed > 20) {
_root.timespeed = _root.timespeed - 1;
}
}
Symbol 334 MovieClip [golddoorswin] Frame 59
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 355 MovieClip Frame 4
gotoAndPlay (1);
Symbol 355 MovieClip Frame 5
play();
if (!_root.soundoff) {
_root.playEffect(_root.atroid2destroy);
}
Symbol 355 MovieClip Frame 23
this.removeMovieClip();
this.unloadMovie();
Symbol 393 Button
on (release) {
_parent.gotoAndStop("gaming");
}
Symbol 397 MovieClip Frame 1
function moveasteroid() {
var _local3 = 0;
while (_local3 < enemies.length) {
var _local2 = enemies[_local3];
_local2._x = _local2._x + _local2.xvel;
_local2._y = _local2._y + _local2.yvel;
if (_local2.hitTest(house)) {
_parent.gotoAndStop("fail");
dude.gotoAndPlay("asplode");
stopgame = true;
}
_local3++;
}
}
function aim() {
target._x = _xmouse;
target._y = _ymouse;
}
function controls() {
onMouseUp = function () {
fup = true;
};
onMouseDown = function () {
if (fup) {
fup = false;
if (!_root.soundoff) {
_root.playEffect(_root.astroidshot);
}
makeBullet();
}
};
}
function moveBullets() {
var _local7 = 0;
while (_local7 < bullets.length) {
var _local4 = bullets[_local7];
_local4._x = _local4._x + _local4.xvel;
_local4._y = _local4._y + _local4.yvel;
if ((((_local4._x < 0) || (_local4._x > Stage.width)) || (_local4._y < 0)) || (_local4._y > Stage.height)) {
_local4.unloadMovie();
_local4.removeMovieClip();
bullets.splice(_local7, 1);
_local7--;
}
var _local6 = 0;
while (_local6 < enemies.length) {
var _local3 = enemies[_local6];
if (_local4.hitTest(_local3.hitit)) {
var _local8 = this.attachMovie("boom", "boom" + effcv, effcv + 8888);
effcv++;
_local3.hp = _local3.hp - 1;
_local8._x = _local4._x;
_local8._y = _local4._y;
_local4.unloadMovie();
_local4.removeMovieClip();
bullets.splice(_local7, 1);
_local7--;
if (_local3.hp < 1) {
var _local5 = this.attachMovie("boom2", "brainboom" + effcv, effcv + 4888);
effcv++;
_local5._x = _local3._x;
_local5._y = _local3._y;
if (!_root.soundoff) {
_root.playEffect(_root.astroiddie);
}
_local5._xscale = _local5._xscale / _local3.sized;
_local5._yscale = _local5._yscale / _local3.sized;
maxsteroids = maxsteroids - 1;
_root.score = _root.score + (2 * _root.multiplier);
_local3.unloadMovie();
_local3.removeMovieClip();
enemies.splice(_local6, 1);
_local6--;
}
}
_local6++;
}
_local7++;
}
}
function makeBullet() {
var _local2 = this.attachMovie("bullet", "bullet" + effcv, effcv + 9999);
effcv++;
_local2._x = dude._x;
_local2._y = dude._y;
var _local4 = target._x - dude._x;
var _local3 = target._y - dude._y;
var _local5 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
_local4 = _local4 / _local5;
_local3 = _local3 / _local5;
_local2.xvel = _local4 * 5;
_local2.yvel = _local3 * 5;
bullets.push(_local2);
}
dude.onMouseMove = function () {
this._rotation = 180 + ((180 * Math.atan2(this._y - this._parent._ymouse, this._x - this._parent._xmouse)) / Math.PI);
};
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
effcv = 0;
FIRE = 65;
bullets = new Array();
enemies = new Array();
var i = 0;
while (i < 4) {
var e = this["e" + i];
enemies.push(e);
i++;
}
var cloudcount = 0;
var maxsteroids = 0;
var goup = false;
var godown = true;
var goright = false;
var goleft = false;
var size = 0;
var stopgame = false;
var rand = 0;
dude.swapDepths(30230);
target.swapDepths(30232);
this.onEnterFrame = function () {
if ((!stopgame) && (!_root.gamefreeze)) {
aim();
controls();
moveBullets();
moveasteroid();
if (godown) {
spawnzone._y = spawnzone._y + 10;
if (spawnzone._y > 550) {
goright = true;
godown = false;
}
}
if (goright) {
spawnzone._x = spawnzone._x + 10;
if (spawnzone._x > 417) {
goright = false;
goup = true;
}
}
if (goup) {
spawnzone._y = spawnzone._y - 10;
if (spawnzone._y < -70) {
goup = false;
goleft = true;
}
}
if (goleft) {
spawnzone._x = spawnzone._x - 10;
if (spawnzone._x < -75) {
goleft = false;
godown = true;
}
}
cloudcount = cloudcount + 1;
rand = random(10);
if (rand == 2) {
if ((cloudcount > 8) && (maxsteroids < 9)) {
e = this.attachMovie("asteroid", "cloccudaa" + effcv, effcv + 100);
effcv++;
e._x = spawnzone._x;
e._y = spawnzone._y;
size = random(10) + 1;
e._xscale = e._xscale / size;
e._yscale = e._yscale / size;
if (_root.timespeed > 25) {
e.hp = 2;
}
if (_root.timespeed < 26) {
e.hp = 3;
}
if (_root.timespeed < 20) {
e.hp = 4;
}
if (_root.timespeed < 13) {
e.hp = 5;
}
e.sized = size;
maxsteroids = maxsteroids + 1;
var _local4 = dude._x - e._x;
var _local3 = dude._y - e._y;
var _local5 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
_local4 = _local4 / _local5;
_local3 = _local3 / _local5;
e.xvel = _local4 * 1;
e.yvel = _local3 * 1;
enemies.push(e);
cloudcount = 0;
}
}
}
};
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 63
stop();
_root.timestop = false;
_root.newgamestart = true;
Mouse.hide();
Instance of Symbol 399 MovieClip in Symbol 419 MovieClip Frame 63
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_parent.gotoAndPlay("success");
}
}
Symbol 419 MovieClip Frame 91
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.loop7.stop();
_root.loopstarted7 = false;
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 419 MovieClip Frame 127
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 419 MovieClip Frame 145
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 419 MovieClip Frame 146
play();
Mouse.show();
_root.youwin = true;
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.loop7.stop();
_root.loopstarted7 = false;
_root.youwin = true;
_root.gamefreeze = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * 10);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 419 MovieClip Frame 195
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 419 MovieClip Frame 208
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 433 Button
on (release) {
_root.difficulty = 0;
gotoAndStop (2);
_parent._parent.play();
}
Symbol 438 Button
on (release) {
_root.difficulty = 1;
gotoAndStop (2);
_parent._parent.play();
}
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 2
stop();
Symbol 445 MovieClip [golddoorsgetready] Frame 1
stop();
Symbol 445 MovieClip [golddoorsgetready] Frame 30
play();
if (!_root.soundoff) {
_root.playEffect(_root.shing);
}
Symbol 445 MovieClip [golddoorsgetready] Frame 75
if (_root.storymode) {
gametime = _root.backgrounda.backgrounda2.attachMovie("minigame" + (_root.storycount + 1), "gaimim", -200);
gametime._x = 0;
gametime._y = 0;
}
if (_root.timeattack && (_root.lives > 0)) {
gametime = _root.backgrounda.backgrounda2.attachMovie("minigame" + (random(30) + 1), "gaimim", -200);
gametime._x = 0;
gametime._y = 0;
if (_root.timespeed > 10) {
_root.timespeed = _root.timespeed - 1;
}
}
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
Symbol 445 MovieClip [golddoorsgetready] Frame 87
this.unloadMovie();
this.removeMovieClip();
Symbol 454 MovieClip [golddoorsfail] Frame 1
play();
_root.streakcount = 0;
if (!_root.soundoff) {
_root.playEffect(_root.doorclose);
}
if (_root.score > 4999) {
_root.mmm26 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.score > 9999) {
_root.mmm27 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
Symbol 454 MovieClip [golddoorsfail] Frame 3
if (_root.storymode && (_root.lives > 0)) {
report._alpha = 100;
}
Instance of Symbol 321 MovieClip "pausescreen" in Symbol 454 MovieClip [golddoorsfail] Frame 3
onClipEvent (enterFrame) {
if (!Key.isDown(32)) {
_root.spacedown = false;
}
if ((Key.isDown(32) && (!_root.spacedown)) && (!_root.pausee)) {
_root.spacedown = true;
if (!_root.soundoff) {
_root.playEffect(_root.pausegame);
}
_root.pausee = true;
this._y = this._y + 1000;
this._alpha = 100;
_parent.stop();
}
if ((Key.isDown(32) && (!_root.spacedown)) && (_root.pausee)) {
_root.spacedown = true;
_root.pausee = false;
this._y = this._y - 1000;
this._alpha = 0;
_parent.play();
}
}
Symbol 454 MovieClip [golddoorsfail] Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.shing);
}
Symbol 454 MovieClip [golddoorsfail] Frame 47
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = false;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
if (_root.timeattack && (_root.lives > 0)) {
gaimez = _root.backgrounda.backgrounda2.attachMovie(("minigame" + random(50)) + 1, "yay", -200);
gaimez._x = 0;
gaimez._y = 0;
}
if ((_root.storymode && (_root.storycount < 30)) && (_root.lives > 0)) {
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame" + (_root.storycount + 1), "yay", -200);
gaimez._x = 0;
gaimez._y = 0;
}
if (_root.lives < 1) {
gaimez = _root.backgrounda.backgrounda2.attachMovie("gameover", "over", -205);
gaimez._x = 0;
gaimez._y = 0;
}
if (((_root.storycount > 29) && (_root.storymode)) && (_root.lives > 0)) {
gaimez = _root.backgrounda.backgrounda2.attachMovie("victory", "win", -206);
gaimez._x = 0;
gaimez._y = 0;
}
if (_root.timeattack && (_root.lives > 0)) {
gametime = _root.backgrounda.backgrounda2.attachMovie("minigame" + (random(30) + 1), "gaimim", -200);
gametime._x = 0;
gametime._y = 0;
if (_root.timespeed > 10) {
_root.timespeed = _root.timespeed - 1;
}
}
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
Symbol 454 MovieClip [golddoorsfail] Frame 59
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 474 MovieClip Frame 10
stop();
Symbol 474 MovieClip Frame 11
stop();
Symbol 474 MovieClip Frame 24
stop();
Symbol 474 MovieClip Frame 34
stop();
Symbol 477 MovieClip Frame 10
stop();
Symbol 477 MovieClip Frame 11
stop();
Symbol 477 MovieClip Frame 24
stop();
Symbol 477 MovieClip Frame 34
stop();
Symbol 480 MovieClip Frame 10
stop();
Symbol 480 MovieClip Frame 11
stop();
Symbol 480 MovieClip Frame 24
stop();
Symbol 480 MovieClip Frame 34
stop();
Symbol 483 MovieClip Frame 10
stop();
Symbol 483 MovieClip Frame 11
stop();
Symbol 483 MovieClip Frame 24
stop();
Symbol 483 MovieClip Frame 34
stop();
Symbol 486 MovieClip Frame 10
stop();
Symbol 486 MovieClip Frame 11
stop();
Symbol 486 MovieClip Frame 24
stop();
Symbol 486 MovieClip Frame 34
stop();
Symbol 489 MovieClip Frame 10
stop();
Symbol 489 MovieClip Frame 11
stop();
Symbol 489 MovieClip Frame 24
stop();
Symbol 489 MovieClip Frame 34
stop();
Symbol 492 MovieClip Frame 10
stop();
Symbol 492 MovieClip Frame 11
stop();
Symbol 492 MovieClip Frame 24
stop();
Symbol 492 MovieClip Frame 34
stop();
Symbol 495 MovieClip Frame 10
stop();
Symbol 495 MovieClip Frame 11
stop();
Symbol 495 MovieClip Frame 24
stop();
Symbol 495 MovieClip Frame 34
stop();
Symbol 508 Button
on (release) {
if (flipcount < 3) {
flip1 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 509 Button
on (release) {
if (flipcount < 3) {
flip2 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 510 Button
on (release) {
if (flipcount < 3) {
flip3 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 511 Button
on (release) {
if (flipcount < 3) {
flip4 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 512 Button
on (release) {
if (flipcount < 3) {
flip5 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 513 Button
on (release) {
if (flipcount < 3) {
flip6 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 514 Button
on (release) {
if (flipcount < 3) {
flip7 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 515 Button
on (release) {
if (flipcount < 3) {
flip8 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 516 Button
on (release) {
if (flipcount < 3) {
flip9 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 517 Button
on (release) {
if (flipcount < 3) {
flip10 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 518 Button
on (release) {
if (flipcount < 3) {
flip11 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 519 Button
on (release) {
if (flipcount < 3) {
flip12 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 520 Button
on (release) {
if (flipcount < 3) {
flip13 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 521 Button
on (release) {
if (flipcount < 3) {
flip14 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 522 Button
on (release) {
if (flipcount < 3) {
flip15 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 523 Button
on (release) {
if (flipcount < 3) {
flip16 = true;
flipcount = flipcount + 1;
if (!_root.soundoff) {
_root.playEffect(_root.flipcard);
}
}
}
Symbol 524 MovieClip Frame 1
var matchcount = 0;
var fliptimer = 0;
var flip1 = false;
var flp2 = false;
var flip3 = false;
var flp4 = false;
var flip5 = false;
var flp6 = false;
var flip7 = false;
var flp8 = false;
var flip9 = false;
var flp10 = false;
var flip11 = false;
var flp12 = false;
var flip13 = false;
var flp14 = false;
var flip15 = false;
var flp16 = false;
var flipcount = 0;
var match1 = false;
var match2 = false;
var match3 = false;
var match4 = false;
var match5 = false;
var match6 = false;
var match7 = false;
var match8 = false;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if (_root.youlose) {
card001.gotoAndStop("fail");
card002.gotoAndStop("fail");
card003.gotoAndStop("fail");
card004.gotoAndStop("fail");
card005.gotoAndStop("fail");
card006.gotoAndStop("fail");
card007.gotoAndStop("fail");
card008.gotoAndStop("fail");
card009.gotoAndStop("fail");
card010.gotoAndStop("fail");
card011.gotoAndStop("fail");
card012.gotoAndStop("fail");
card013.gotoAndStop("fail");
card014.gotoAndStop("fail");
card015.gotoAndStop("fail");
card016.gotoAndStop("fail");
}
if (_root.gamefreeze && (!_root.youlose)) {
card001.gotoAndStop("win");
card002.gotoAndStop("win");
card003.gotoAndStop("win");
card004.gotoAndStop("win");
card005.gotoAndStop("win");
card006.gotoAndStop("win");
card007.gotoAndStop("win");
card008.gotoAndStop("win");
card009.gotoAndStop("win");
card010.gotoAndStop("win");
card011.gotoAndStop("win");
card012.gotoAndStop("win");
card013.gotoAndStop("win");
card014.gotoAndStop("win");
card015.gotoAndStop("win");
card016.gotoAndStop("win");
}
if (!_root.gamefreeze) {
if (matchcount > 4) {
_parent.gotoAndPlay("success");
_root.gamefreeze = true;
_root.youwin = true;
}
if (flip1 && (flipcount < 3)) {
card001.gotoAndStop("flipped");
}
if (flip2 && (flipcount < 3)) {
card002.gotoAndStop("flipped");
}
if (flip3 && (flipcount < 3)) {
card003.gotoAndStop("flipped");
}
if (flip4 && (flipcount < 3)) {
card004.gotoAndStop("flipped");
}
if (flip5 && (flipcount < 3)) {
card005.gotoAndStop("flipped");
}
if (flip6 && (flipcount < 3)) {
card006.gotoAndStop("flipped");
}
if (flip7 && (flipcount < 3)) {
card007.gotoAndStop("flipped");
}
if (flip8 && (flipcount < 3)) {
card008.gotoAndStop("flipped");
}
if (flip9 && (flipcount < 3)) {
card009.gotoAndStop("flipped");
}
if (flip10 && (flipcount < 3)) {
card010.gotoAndStop("flipped");
}
if (flip11 && (flipcount < 3)) {
card011.gotoAndStop("flipped");
}
if (flip12 && (flipcount < 3)) {
card012.gotoAndStop("flipped");
}
if (flip13 && (flipcount < 3)) {
card013.gotoAndStop("flipped");
}
if (flip14 && (flipcount < 3)) {
card014.gotoAndStop("flipped");
}
if (flip15 && (flipcount < 3)) {
card015.gotoAndStop("flipped");
}
if (flip16 && (flipcount < 3)) {
card016.gotoAndStop("flipped");
}
if ((flip1 && (flip4)) && (!match1)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match1 = true;
btn1._x = btn1._x + 1000;
btn4._x = btn4._x + 1000;
matchcount = matchcount + 1;
}
if ((flip6 && (flip16)) && (!match2)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match2 = true;
btn6._x = btn6._x + 1000;
btn16._x = btn16._x + 1000;
matchcount = matchcount + 1;
}
if ((flip5 && (flip10)) && (!match3)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match3 = true;
btn5._x = btn5._x + 1000;
btn10._x = btn10._x + 1000;
matchcount = matchcount + 1;
}
if ((flip2 && (flip3)) && (!match4)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match4 = true;
btn2._x = btn2._x + 1000;
btn3._x = btn3._x + 1000;
matchcount = matchcount + 1;
}
if ((flip13 && (flip8)) && (!match5)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match5 = true;
btn13._x = btn13._x + 1000;
btn8._x = btn8._x + 1000;
matchcount = matchcount + 1;
}
if ((flip7 && (flip12)) && (!match6)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match6 = true;
btn7._x = btn7._x + 1000;
btn12._x = btn12._x + 1000;
matchcount = matchcount + 1;
}
if ((flip9 && (flip15)) && (!match7)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match7 = true;
_root.mmm4 = 43;
_root.medalz.gotoAndPlay("medalcheck");
btn9._x = btn9._x + 1000;
btn15._x = btn15._x + 1000;
matchcount = matchcount + 1;
}
if ((flip11 && (flip14)) && (!match8)) {
if (!_root.soundoff) {
_root.playEffect(_root.getcard);
}
match8 = true;
btn11._x = btn11._x + 1000;
btn14._x = btn14._x + 1000;
matchcount = matchcount + 1;
}
if (flipcount > 1) {
fliptimer = fliptimer + 1;
if (fliptimer > 5) {
if (!match1) {
flip1 = false;
flip4 = false;
card001.gotoAndPlay("hide");
card004.gotoAndPlay("hide");
}
if (!match2) {
flip6 = false;
flip16 = false;
card006.gotoAndPlay("hide");
card016.gotoAndPlay("hide");
}
if (!match3) {
flip5 = false;
flip10 = false;
card005.gotoAndPlay("hide");
card010.gotoAndPlay("hide");
}
if (!match4) {
flip2 = false;
flip3 = false;
card002.gotoAndPlay("hide");
card003.gotoAndPlay("hide");
}
if (!match5) {
flip13 = false;
flip8 = false;
card013.gotoAndPlay("hide");
card008.gotoAndPlay("hide");
}
if (!match6) {
flip7 = false;
flip12 = false;
card007.gotoAndPlay("hide");
card012.gotoAndPlay("hide");
}
if (!match7) {
flip9 = false;
flip15 = false;
card009.gotoAndPlay("hide");
card015.gotoAndPlay("hide");
}
if (!match8) {
flip11 = false;
flip14 = false;
card011.gotoAndPlay("hide");
card014.gotoAndPlay("hide");
}
fliptimer = 0;
flipcount = 0;
}
}
}
};
Symbol 525 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 59
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 525 MovieClip Frame 59
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
}
}
Symbol 525 MovieClip Frame 87
play();
_root.gamefreeze = true;
_root.youlose = true;
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 525 MovieClip Frame 123
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 525 MovieClip Frame 141
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 525 MovieClip Frame 142
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 525 MovieClip Frame 191
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 525 MovieClip Frame 204
stop();
_root.gameon = false;
_root.youlose = false;
_root.gamefreeze = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 549 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 17
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 13
if (!_root.soundoff) {
_root.playEffect(_root.elephant);
}
Symbol 579 MovieClip Frame 27
if (!_root.soundoff) {
_root.playEffect(_root.mammothcrap);
}
Symbol 579 MovieClip Frame 41
gotoAndPlay (29);
Symbol 582 Button
on (press) {
mammothcry = true;
if (!_root.soundoff) {
_root.playEffect(_root.hurtmammoth);
}
}
Symbol 584 Button
on (press) {
_root.mmm5 = 43;
_root.medalz.gotoAndPlay("medalcheck");
mammothcry = true;
if (!_root.soundoff) {
_root.playEffect(_root.hurtmammoth);
}
}
Symbol 590 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 596 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 602 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 608 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 614 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 620 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 626 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 632 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 638 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 644 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 650 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 656 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 662 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 668 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 674 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 680 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 686 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 692 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 698 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 704 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 710 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 716 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 722 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 728 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 734 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 740 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 746 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 752 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 758 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 764 Button
on (press) {
if (!_root.gamefreeze) {
_parent.icecrack = true;
_parent.crackcount = _parent.crackcount + 1;
_root.score = _root.score + 2;
this._alpha = 0;
_parent.mammoth2._alpha = _parent.mammoth2._alpha - 2;
krak = _parent.attachMovie("break", "clcdcudaa" + _root.effcv, _root.effcv + 10);
_root.effcv++;
krak._x = this._x;
krak._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 6
play();
Symbol 782 MovieClip Frame 1
stop();
Symbol 782 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.hurtage);
}
if (_root.difficulty == 1) {
liffe._alpha = 100;
}
if (_root.difficulty == 0) {
lifffe._alpha = 100;
}
Symbol 783 MovieClip Frame 1
var clickdown = false;
var effcv = 0;
var mammothcry = false;
var icecrack = false;
var crackcount = 0;
var effcv = 1;
var mhp = 5;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop6.stop();
_root.loopstarted6 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted6)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop6.start(0, 999);
_root.loop6.setVolume(_root.bgvolume);
_root.loopstarted6 = true;
}
if (!_root.gamefreeze) {
if (crackcount > 29) {
_parent.gotoAndPlay("success");
mammoth.gotoAndPlay("shit");
_root.gamefreeze = true;
}
picky2._x = _xmouse;
picky2._y = _ymouse;
if (Key.isDown(1) && (!clickdown)) {
picky2.gotoAndPlay("pick");
clickdown = true;
if (icecrack) {
bit = this.attachMovie("flake", "cflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale / (random(3) + 1);
bit._xscale = bit._xscale / (random(3) + 1);
bit = this.attachMovie("flake", "cflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale / (random(3) + 1);
bit._xscale = bit._xscale / (random(3) + 1);
bit = this.attachMovie("flake", "cflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale / (random(3) + 1);
bit._xscale = bit._xscale / (random(3) + 1);
icecrack = false;
}
if (mammothcry) {
ebit = this.attachMovie("hole", "csf3lak" + effcv, effcv + 100);
effcv++;
ebit._x = _xmouse;
ebit._y = _ymouse;
bit = this.attachMovie("blood", "csflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale * (random(2) + 1);
bit._xscale = bit._xscale * (random(2) + 1);
bit = this.attachMovie("blood", "csflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale * (random(2) + 1);
bit._xscale = bit._xscale * (random(2) + 1);
bit = this.attachMovie("blood", "csflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale * (random(2) + 1);
bit._xscale = bit._xscale * (random(2) + 1);
bit = this.attachMovie("blood", "csflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale * (random(2) + 1);
bit._xscale = bit._xscale * (random(2) + 1);
bit = this.attachMovie("blood", "csflak" + effcv, effcv + 100);
effcv++;
bit._x = _xmouse + random(3);
bit._y = _ymouse + random(3);
bit._yscale = bit._yscale * (random(2) + 1);
bit._xscale = bit._xscale * (random(2) + 1);
mammoth.eye.play();
mammothcry = false;
if (_root.difficulty == 0) {
bloodscreen.play();
mhp = mhp - 1;
}
if (_root.difficulty == 1) {
bloodscreen.play();
_root.lives = _root.lives - 1;
}
if (_root.lives < 1) {
_parent.gotoAndPlay("fail");
_root.gamefreeze = true;
}
if ((mhp == 0) && (_root.difficulty == 0)) {
_parent.gotoAndPlay("fail");
_root.gamefreeze = true;
}
}
}
if (!Key.isDown(1)) {
clickdown = false;
}
}
};
Symbol 794 MovieClip Frame 1
stop();
Symbol 794 MovieClip Frame 51
stop();
_root.timestop = false;
_root.newgamestart = true;
Mouse.hide();
Instance of Symbol 399 MovieClip in Symbol 794 MovieClip Frame 51
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 794 MovieClip Frame 79
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 794 MovieClip Frame 115
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 794 MovieClip Frame 133
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 794 MovieClip Frame 134
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 794 MovieClip Frame 183
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 794 MovieClip Frame 196
stop();
_root.gameon = false;
Mouse.show();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 801 Button
on (release) {
play();
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
_parent.nextFrame();
}
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.gameoverbutton);
}
}
Symbol 804 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
_root.mmm2 = 43;
_root.medalz.gotoAndPlay("medalcheck");
if (_root.storymode) {
var o = {n:[14, 7, 8, 8, 1, 14, 0, 1, 0, 6, 0, 7, 14, 3, 13, 0], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.score});
}
if (!_root.storymode) {
var o = {n:[3, 5, 10, 10, 13, 6, 3, 10, 12, 0, 7, 0, 4, 4, 9, 8], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.score});
}
_parent.unloadMovie();
_parent.removeMovieClip();
}
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.gameoverbutton);
}
}
Symbol 808 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
getURL ("http://www.thepoxbox.com/what.php?id=insanitybox2", "_blank");
}
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.gameoverbutton);
}
}
Symbol 809 MovieClip Frame 11
stop();
Symbol 810 MovieClip Frame 13
stop();
Symbol 811 MovieClip Frame 15
stop();
Symbol 812 MovieClip Frame 17
stop();
Symbol 813 MovieClip Frame 19
stop();
Symbol 814 MovieClip Frame 21
stop();
Symbol 815 MovieClip Frame 23
stop();
Symbol 816 MovieClip Frame 10
stop();
Symbol 824 MovieClip Frame 1
var fakescore = 0;
this.onEnterFrame = function () {
fakescore = random(20000);
};
Symbol 824 MovieClip Frame 24
if (_root.difficulty == 1) {
_root.score = _root.score * 2;
}
stop();
Symbol 825 MovieClip Frame 11
stop();
Symbol 826 MovieClip Frame 13
stop();
Symbol 827 MovieClip Frame 15
stop();
Symbol 828 MovieClip Frame 17
stop();
Symbol 829 MovieClip Frame 19
stop();
Symbol 830 MovieClip Frame 21
stop();
Symbol 831 MovieClip Frame 23
stop();
Symbol 832 MovieClip Frame 35
stop();
Symbol 833 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.gameovar);
}
_root.losscount = _root.losscount + 1;
if (_root.losscount > 9) {
_root.mmm19 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
Symbol 833 MovieClip Frame 28
stop();
Symbol 833 MovieClip Frame 61
stop();
_root.timespeed = 30;
_root.timeroff = true;
_root.screakcount = 0;
_root.newgamestart = false;
_root.multiplier = 1;
_root.score = 0;
_root.lives = 10;
_root.storycount = 0;
_root.storymode = false;
_root.timeattack = false;
mainmenu = _root.backgrounda.backgrounda2.attachMovie("mainplatee", "mainmenu", -100);
mainmenu._x = 0;
mainmenu._y = 0;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 843 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.victorybuttonover);
}
Symbol 843 MovieClip Frame 2
stop();
Symbol 845 Button
on (release) {
play();
_parent.nextFrame();
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
}
Symbol 848 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.victorybuttonover);
}
Symbol 848 MovieClip Frame 2
stop();
Symbol 850 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
_root.mmm2 = 43;
_root.medalz.gotoAndPlay("medalcheck");
if (_root.storymode) {
var o = {n:[14, 7, 8, 8, 1, 14, 0, 1, 0, 6, 0, 7, 14, 3, 13, 0], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.score});
}
if (!_root.storymode) {
var o = {n:[3, 5, 10, 10, 13, 6, 3, 10, 12, 0, 7, 0, 4, 4, 9, 8], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.score});
}
_parent.unloadMovie();
_parent.removeMovieClip();
}
Symbol 853 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.victorybuttonover);
}
Symbol 853 MovieClip Frame 2
stop();
Symbol 855 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
getURL ("http://www.thepoxbox.com/what.php?id=insanitybox2", "_blank");
}
Symbol 862 MovieClip Frame 1
gotoAndPlay(random(6) + 1);
Symbol 862 MovieClip Frame 2
gotoAndPlay(random(6) + 1);
Symbol 862 MovieClip Frame 3
gotoAndPlay(random(6) + 1);
Symbol 862 MovieClip Frame 4
gotoAndPlay(random(6) + 1);
Symbol 862 MovieClip Frame 5
gotoAndPlay(random(6) + 1);
Symbol 862 MovieClip Frame 6
gotoAndPlay(random(6) + 1);
Symbol 865 MovieClip Frame 1
var fakescore = 0;
this.onEnterFrame = function () {
fakescore = random(20000);
};
Symbol 865 MovieClip Frame 24
if (_root.difficulty == 1) {
_root.score = _root.score * 2;
}
stop();
Symbol 866 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.storymodecomplete);
}
Symbol 866 MovieClip Frame 28
stop();
_root.mmm25 = 43;
_root.medalz.gotoAndPlay("medalcheck");
if (_root.lives > 9) {
_root.mmm30 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
Symbol 866 MovieClip Frame 61
stop();
_root.timespeed = 30;
_root.timeroff = true;
_root.newgamestart = false;
_root.multiplier = 1;
_root.score = 0;
_root.lives = 10;
_root.streakcount = 0;
_root.storycount = 0;
_root.storymode = false;
_root.timeattack = false;
mainmenu = _root.backgrounda.backgrounda2.attachMovie("mainplatee", "mainmenu", -100);
mainmenu._x = 0;
mainmenu._y = 0;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 921 MovieClip Frame 1
_parent.jumping = false;
stop();
Symbol 921 MovieClip Frame 11
play();
if (!_root.soundoff) {
_root.playEffect(_root.karatejump);
}
Symbol 921 MovieClip Frame 30
gotoAndStop (1);
Symbol 921 MovieClip Frame 31
if (!_root.soundoff) {
_root.playEffect(_root.karatejump);
}
Symbol 921 MovieClip Frame 38
_parent.jon.gotoAndPlay("die");
if (!_root.soundoff) {
_root.playEffect(_root.kickcrunch);
}
Symbol 921 MovieClip Frame 43
gotoAndPlay (1);
Symbol 921 MovieClip Frame 44
if (!_root.soundoff) {
_root.youwin = true;
_root.playEffect(_root.sweepleg);
}
if (!_root.soundoff) {
_root.playEffect(_root.kickcrunch);
}
Symbol 921 MovieClip Frame 54
stop();
Symbol 936 MovieClip Frame 1
_parent.sweeping = false;
stop();
Symbol 936 MovieClip Frame 11
play();
Symbol 936 MovieClip Frame 13
_parent.controlsoff = false;
stop();
Symbol 936 MovieClip Frame 26
play();
_parent.sweeping = true;
Symbol 936 MovieClip Frame 28
if ((!_parent.jumping) && (!_root.gamefreeze)) {
_root.gamefreeze = true;
_parent.dan.gotoAndPlay("dead");
_parent._parent.gotoAndPlay("success");
}
if (!_root.soundoff) {
_root.playEffect(_root.swing);
}
_root.score = _root.score + (3 * _root.multiplier);
Symbol 936 MovieClip Frame 38
_parent.controlsoff = false;
_parent.sweeping = false;
if (_root.gamefreeze) {
gotoAndStop (1);
}
if (!_root.gamefreeze) {
_parent.sweepage = _parent.sweepage + 1;
if (_parent.sweepage > 9) {
_root.mmm6 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
gotoAndStop ("crouched");
}
Symbol 936 MovieClip Frame 39
play();
if (!_root.soundoff) {
_root.playEffect(_root.sweepleg);
}
Symbol 936 MovieClip Frame 51
stop();
Symbol 936 MovieClip Frame 53
play();
Symbol 937 MovieClip Frame 1
var downdown = false;
var leftdown = false;
var adown = false;
var crouch = false;
var controlsoff = false;
var jumpnumb = 0;
var jumping = false;
var blarg = false;
var sweepage = 0;
this.onEnterFrame = function () {
if (_root.youwin) {
_root.loop4.stop();
}
if (_root.soundoff) {
_root.loop4.stop();
_root.loopstarted4 = false;
}
if (((!_root.soundoff) & (!_root.loopstarted4)) && (!_root.youwin)) {
_root.loop4.start(0, 999);
_root.loop4.setVolume(_root.bgvolume);
_root.loopstarted4 = true;
}
if (_root.youlose && (!blarg)) {
dan.gotoAndPlay("jumpkick");
_parent.gotoAndPlay("fail");
blarg = true;
}
if (!_root.gamefreeze) {
if (((!Key.isDown(40)) && (crouch)) && (!controlsoff)) {
downdown = false;
crouch = false;
jon.gotoAndPlay("uncrouch");
}
if ((Key.isDown(40) && (!downdown)) && (!controlsoff)) {
downdown = true;
jon.gotoAndPlay("crouch");
crouch = true;
controlsoff = true;
}
if ((((Key.isDown(65) && (Key.isDown(37))) && (Key.isDown(40))) && (!sweeping)) && (!controlsoff)) {
jon.gotoAndPlay("sweep");
controlsoff = true;
sweeping = true;
}
if (!Key.isDown(65)) {
adown = false;
}
if (!Key.isDown(37)) {
leftdown = false;
}
jumpnumb = random(40);
if ((jumpnumb < 3) && (!jumping)) {
dan.gotoAndPlay("jump");
jumping = true;
}
}
};
Symbol 948 MovieClip Frame 1
stop();
Symbol 948 MovieClip Frame 59
stop();
_root.timestop = false;
_root.newgamestart = true;
Mouse.hide();
Instance of Symbol 399 MovieClip in Symbol 948 MovieClip Frame 59
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 948 MovieClip Frame 87
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 948 MovieClip Frame 134
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 948 MovieClip Frame 152
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 948 MovieClip Frame 153
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 948 MovieClip Frame 202
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 948 MovieClip Frame 215
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 964 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 1;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 1;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 1;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 1;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 966 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 2;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 2;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 2;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 2;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 968 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 3;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 3;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 3;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 3;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 970 Button
on (press) {
operationss = operationss + 1;
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
hidenumbers = false;
times = false;
plus = true;
minus = false;
}
Symbol 972 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 4;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 4;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 4;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 4;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 974 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 5;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 5;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 5;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 5;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 976 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 6;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 6;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 6;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 6;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 977 Button
on (press) {
operationss = operationss + 1;
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
hidenumbers = false;
times = false;
plus = false;
minus = true;
}
Symbol 979 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 7;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 7;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 7;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 7;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 981 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 8;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 8;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 8;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 8;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 983 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!firstnumber) {
yourscore = 9;
firstnumber = true;
hidenumbers = true;
hideoperations = false;
}
if (plus) {
yourscore = yourscore + 9;
hidenumbers = true;
hideoperations = false;
}
if (minus) {
yourscore = yourscore - 9;
hidenumbers = true;
hideoperations = false;
}
if (times) {
yourscore = yourscore * 9;
hidenumbers = true;
hideoperations = false;
}
}
Symbol 985 Button
on (press) {
operationss = operationss + 1;
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
hidenumbers = false;
times = true;
plus = false;
minus = false;
}
Symbol 987 Button
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.calculator);
}
if (!_gamefreeze) {
yourscore = 0;
firstnumber = false;
hidenumbers = false;
plus = false;
minus = false;
times = false;
}
}
Symbol 991 MovieClip Frame 1
var targetscore = (random(2000) + 1);
var yourscore = 0;
var enter1 = false;
var enter2 = false;
var enter3 = false;
var enter4 = false;
var enter5 = false;
var enter6 = false;
var enter7 = false;
var enter8 = false;
var enter9 = false;
var times = false;
var plus = false;
var minus = false;
var hidenumbers = false;
var hideoperations = true;
var firstnumber = false;
var operationss = 0;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop8.stop();
_root.loopstarted8 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted8)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop8.start(0, 999);
_root.loop8.setVolume(_root.bgvolume);
_root.loopstarted8 = true;
}
if (!_root.gamefreeze) {
if (yourscore == targetscore) {
_root.gamefreeze = true;
hidenumbers = true;
hideoperations = true;
if (operationss < 8) {
_root.mmm7 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
_parent.gotoAndPlay("success");
}
if (!hidenumbers) {
numbers._x = 6000;
}
if (hidenumbers) {
numbers._x = 6;
}
if (hideoperations) {
operations._x = 258;
}
if (!hideoperations) {
operations._x = 6000;
}
}
};
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1002 MovieClip Frame 35
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1002 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
}
}
Symbol 1002 MovieClip Frame 63
play();
_root.gamefreeze = true;
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1002 MovieClip Frame 99
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1002 MovieClip Frame 117
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1002 MovieClip Frame 118
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1002 MovieClip Frame 167
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1002 MovieClip Frame 180
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1011 MovieClip Frame 1
stop();
Symbol 1011 MovieClip Frame 8
stop();
_parent.grabby = false;
Symbol 1014 MovieClip Frame 17
gotoAndPlay ("loop");
Symbol 1016 MovieClip Frame 14
gotoAndPlay ("loop");
Symbol 1018 MovieClip Frame 15
gotoAndPlay ("loop");
Symbol 1020 MovieClip Frame 14
gotoAndPlay ("loop");
Symbol 1035 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_parent.orange) {
gotoAndStop ("orange");
}
if (_parent.blueberry) {
gotoAndStop ("blueberry");
}
if (_parent.cherry) {
gotoAndStop ("cherry");
}
if (_parent.banana) {
gotoAndStop ("banana");
}
};
Symbol 1035 MovieClip Frame 9
stop();
this.onEnterFrame = function () {
if (parent.orange) {
gotoAndStop ("orange");
}
if (parent.blueberry) {
gotoAndStop ("blueberry");
}
if (parent.cherry) {
gotoAndStop ("cherry");
}
if (parent.banana) {
gotoAndStop ("banana");
}
};
Symbol 1035 MovieClip Frame 16
stop();
this.onEnterFrame = function () {
if (parent.orange) {
gotoAndStop ("orange");
}
if (parent.blueberry) {
gotoAndStop ("blueberry");
}
if (parent.cherry) {
gotoAndStop ("cherry");
}
if (parent.banana) {
gotoAndStop ("banana");
}
};
Symbol 1035 MovieClip Frame 25
stop();
this.onEnterFrame = function () {
if (parent.orange) {
gotoAndStop ("orange");
}
if (parent.blueberry) {
gotoAndStop ("blueberry");
}
if (parent.cherry) {
gotoAndStop ("cherry");
}
if (parent.banana) {
gotoAndStop ("banana");
}
};
Symbol 1036 MovieClip Frame 1
var clickdown = false;
var orange = false;
var blueberry = false;
var cherry = false;
var banana = false;
var randomfruit = 0;
var blueberries = false;
var cherries = false;
var oranges = false;
var bananas = false;
var eee = 0;
var totalfruit = 0;
var grabby = false;
var fruittotal = 30;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
cherries2 = new Array();
oranges2 = new Array();
blueberries2 = new Array();
bananas2 = new Array();
var position1x = 50;
var position1y = 138;
var position2x = 139;
var position2y = 167;
var position3x = 216;
var position3y = 131;
var position4x = 283;
var position4y = 190;
var position5x = 90;
var position5y = 260;
var position6x = 221;
var position6y = 251;
var position7x = 71;
var position7y = 361;
var position8x = 182;
var position8y = 351;
var position9x = 310;
var position9y = 355;
var position10x = 117;
var position10y = 434;
var position11x = 261;
var position11y = 422;
var p1 = false;
var p2 = false;
var p3 = false;
var p4 = false;
var p5 = false;
var p6 = false;
var p7 = false;
var p8 = false;
var p9 = false;
var p10 = false;
var p11 = false;
var getposition = 0;
var ignoreloop = false;
paw.swapDepths(30230);
noeat.swapDepths(30231);
gett.swapDepths(30232);
damaged.swapDepths(30233);
randomfruit = random(4);
if (randomfruit == 0) {
blueberry = true;
}
if (randomfruit == 1) {
banana = true;
}
if (randomfruit == 2) {
cherry = true;
}
if (randomfruit == 3) {
orange = true;
}
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop6.stop();
_root.loopstarted6 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted6)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop6.start(0, 999);
_root.loop6.setVolume(_root.bgvolume);
_root.loopstarted6 = true;
}
if ((!_root.gamefreeze) && (!_root.youlose)) {
checkcherries();
checkblueberries();
checkbananas();
checkoranges();
paw._x = _xmouse;
paw._y = _ymouse;
if (paw._y < 90) {
paw._y = 90;
}
onMouseUp = function () {
paw.gotoAndStop(1);
grabby = false;
clickdown = false;
};
onMouseDown = function () {
if (!clickdown) {
paw.gotoAndPlay("grab");
clickdown = true;
}
};
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp == 0)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (fruittotal < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if ((cherries2.length == 11) && (cherry)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if ((blueberries2.length == 11) && (blueberry)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if ((bananas2.length == 11) && (banana)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if ((oranges2.length == 11) && (orange)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
randomfruit = random(4);
if ((totalfruit < 11) && (randomfruit == 2)) {
fruit = this.attachMovie("cherry2", "cloccudaa" + eee, -eee);
eee++;
ignoreloop = false;
if ((!p1) && (!ignoreloop)) {
fruit._x = position1x + random(5);
fruit._y = position1y + random(5);
p1 = true;
fruit.pose = 1;
ignoreloop = true;
}
if ((!p2) && (!ignoreloop)) {
fruit._x = position2x + random(5);
fruit._y = position2y + random(5);
p2 = true;
fruit.pose = 2;
ignoreloop = true;
}
if ((!p3) && (!ignoreloop)) {
fruit._x = position3x + random(5);
fruit._y = position3y + random(5);
p3 = true;
fruit.pose = 3;
ignoreloop = true;
}
if ((!p4) && (!ignoreloop)) {
fruit._x = position4x + random(5);
fruit._y = position4y + random(5);
p4 = true;
fruit.pose = 4;
ignoreloop = true;
}
if ((!p5) && (!ignoreloop)) {
fruit._x = position5x + random(5);
fruit._y = position5y + random(5);
p5 = true;
fruit.pose = 5;
ignoreloop = true;
}
if ((!p6) && (!ignoreloop)) {
fruit._x = position6x + random(5);
fruit._y = position6y + random(5);
p6 = true;
fruit.pose = 6;
ignoreloop = true;
}
if ((!p7) && (!ignoreloop)) {
fruit._x = position7x + random(5);
fruit._y = position7y + random(5);
p7 = true;
fruit.pose = 7;
ignoreloop = true;
}
if ((!p8) && (!ignoreloop)) {
fruit._x = position8x + random(5);
fruit._y = position8y + random(5);
p8 = true;
fruit.pose = 8;
ignoreloop = true;
}
if ((!p9) && (!ignoreloop)) {
fruit._x = position9x + random(5);
fruit._y = position9y + random(5);
p9 = true;
fruit.pose = 9;
ignoreloop = true;
}
if ((!p10) && (!ignoreloop)) {
fruit._x = position10x + random(5);
fruit._y = position10y + random(5);
p10 = true;
fruit.pose = 10;
ignoreloop = true;
}
if ((!p11) && (!ignoreloop)) {
fruit._x = position11x + random(5);
fruit._y = position11y + random(5);
p11 = true;
fruit.pose = 11;
ignoreloop = true;
}
cherries2.push(fruit);
totalfruit = totalfruit + 1;
}
var _local11 = 0;
while (_local11 < cherries2.length) {
var _local5 = cherries2[_local11];
if (_local5.lvl2.hitarea.hitTest(paw.hitarea) && (!grabby)) {
splat = this.attachMovie("gusher", "clofeaa" + eee, eee);
eee++;
if (cherry) {
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
grabby = true;
fruittotal = fruittotal - 1;
splat._x = _local5._x + 20;
splat._y = _local5._y + 40;
if (_local5.pose == 1) {
p1 = false;
}
if (_local5.pose == 2) {
p2 = false;
}
if (_local5.pose == 3) {
p3 = false;
}
if (_local5.pose == 4) {
p4 = false;
}
if (_local5.pose == 5) {
p5 = false;
}
if (_local5.pose == 5) {
p5 = false;
}
if (_local5.pose == 6) {
p6 = false;
}
if (_local5.pose == 7) {
p7 = false;
}
if (_local5.pose == 8) {
p8 = false;
}
if (_local5.pose == 9) {
p9 = false;
}
if (_local5.pose == 10) {
p10 = false;
}
if (_local5.pose == 11) {
p11 = false;
}
myColor = new Color(splat);
myColorTransform = new Object();
myColorTransform = {rb:255, gb:0, bb:-150};
myColor.setTransform(myColorTransform);
_local5.unloadMovie();
_local5.removeMovieClip();
cherries2.splice(_local11, 1);
totalfruit = totalfruit - 1;
_local11--;
}
_local11++;
}
randomfruit = random(4);
if ((totalfruit < 11) && (randomfruit == 0)) {
fruit1 = this.attachMovie("blueberry2", "cloc2udaa" + eee, -eee);
eee++;
ignoreloop = false;
if ((!p1) && (!ignoreloop)) {
fruit1._x = position1x + random(5);
fruit1._y = position1y + random(5);
p1 = true;
fruit1.pose = 1;
ignoreloop = true;
}
if ((!p2) && (!ignoreloop)) {
fruit1._x = position2x + random(5);
fruit1._y = position2y + random(5);
p2 = true;
fruit1.pose = 2;
ignoreloop = true;
}
if ((!p3) && (!ignoreloop)) {
fruit1._x = position3x + random(5);
fruit1._y = position3y + random(5);
p3 = true;
fruit1.pose = 3;
ignoreloop = true;
}
if ((!p4) && (!ignoreloop)) {
fruit1._x = position4x + random(5);
fruit1._y = position4y + random(5);
p4 = true;
fruit1.pose = 4;
ignoreloop = true;
}
if ((!p5) && (!ignoreloop)) {
fruit1._x = position5x + random(5);
fruit1._y = position5y + random(5);
p5 = true;
fruit1.pose = 5;
ignoreloop = true;
}
if ((!p6) && (!ignoreloop)) {
fruit1._x = position6x + random(5);
fruit1._y = position6y + random(5);
p6 = true;
fruit1.pose = 6;
ignoreloop = true;
}
if ((!p7) && (!ignoreloop)) {
fruit1._x = position7x + random(5);
fruit1._y = position7y + random(5);
p7 = true;
fruit1.pose = 7;
ignoreloop = true;
}
if ((!p8) && (!ignoreloop)) {
fruit1._x = position8x + random(5);
fruit1._y = position8y + random(5);
p8 = true;
fruit1.pose = 8;
ignoreloop = true;
}
if ((!p9) && (!ignoreloop)) {
fruit1._x = position9x + random(5);
fruit1._y = position9y + random(5);
p9 = true;
fruit1.pose = 9;
ignoreloop = true;
}
if ((!p10) && (!ignoreloop)) {
fruit1._x = position10x + random(5);
fruit1._y = position10y + random(5);
p10 = true;
fruit1.pose = 10;
ignoreloop = true;
}
if ((!p11) && (!ignoreloop)) {
fruit1._x = position11x + random(5);
fruit1._y = position11y + random(5);
p11 = true;
fruit1.pose = 11;
ignoreloop = true;
}
blueberries2.push(fruit1);
totalfruit = totalfruit + 1;
}
var _local10 = 0;
while (_local10 < blueberries2.length) {
var _local6 = blueberries2[_local10];
if (_local6.lvl2.hitarea.hitTest(paw.hitarea) && (!grabby)) {
splat = this.attachMovie("gusher", "clofeaa" + eee, eee);
eee++;
if (blueberry) {
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
grabby = true;
fruittotal = fruittotal - 1;
splat._x = _local6._x;
splat._y = _local6._y;
if (_local6.pose == 1) {
p1 = false;
}
if (_local6.pose == 2) {
p2 = false;
}
if (_local6.pose == 3) {
p3 = false;
}
if (_local6.pose == 4) {
p4 = false;
}
if (_local6.pose == 5) {
p5 = false;
}
if (_local6.pose == 5) {
p5 = false;
}
if (_local6.pose == 6) {
p6 = false;
}
if (_local6.pose == 7) {
p7 = false;
}
if (_local6.pose == 8) {
p8 = false;
}
if (_local6.pose == 9) {
p9 = false;
}
if (_local6.pose == 10) {
p10 = false;
}
if (_local6.pose == 11) {
p11 = false;
}
myColor2 = new Color(splat);
myColorTransform = new Object();
myColorTransform = {rb:0, gb:0, bb:0};
myColor2.setTransform(myColorTransform);
_local6.unloadMovie();
_local6.removeMovieClip();
blueberries2.splice(_local10, 1);
totalfruit = totalfruit - 1;
_local10--;
}
_local10++;
}
randomfruit = random(4);
if ((totalfruit < 11) && (randomfruit == 1)) {
fruit11 = this.attachMovie("banana2", "cl2c2udaa" + eee, -eee);
eee++;
ignoreloop = false;
if ((!p1) && (!ignoreloop)) {
fruit11._x = position1x + random(5);
fruit11._y = position1y + random(5);
p1 = true;
fruit11.pose = 1;
ignoreloop = true;
}
if ((!p2) && (!ignoreloop)) {
fruit11._x = position2x + random(5);
fruit11._y = position2y + random(5);
p2 = true;
fruit11.pose = 2;
ignoreloop = true;
}
if ((!p3) && (!ignoreloop)) {
fruit11._x = position3x + random(5);
fruit11._y = position3y + random(5);
p3 = true;
fruit11.pose = 3;
ignoreloop = true;
}
if ((!p4) && (!ignoreloop)) {
fruit11._x = position4x + random(5);
fruit11._y = position4y + random(5);
p4 = true;
fruit11.pose = 4;
ignoreloop = true;
}
if ((!p5) && (!ignoreloop)) {
fruit11._x = position5x + random(5);
fruit11._y = position5y + random(5);
p5 = true;
fruit11.pose = 5;
ignoreloop = true;
}
if ((!p6) && (!ignoreloop)) {
fruit11._x = position6x + random(5);
fruit11._y = position6y + random(5);
p6 = true;
fruit11.pose = 6;
ignoreloop = true;
}
if ((!p7) && (!ignoreloop)) {
fruit11._x = position7x + random(5);
fruit11._y = position7y + random(5);
p7 = true;
fruit11.pose = 7;
ignoreloop = true;
}
if ((!p8) && (!ignoreloop)) {
fruit11._x = position8x + random(5);
fruit11._y = position8y + random(5);
p8 = true;
fruit11.pose = 8;
ignoreloop = true;
}
if ((!p9) && (!ignoreloop)) {
fruit11._x = position9x + random(5);
fruit11._y = position9y + random(5);
p9 = true;
fruit11.pose = 9;
ignoreloop = true;
}
if ((!p10) && (!ignoreloop)) {
fruit11._x = position10x + random(5);
fruit11._y = position10y + random(5);
p10 = true;
fruit11.pose = 10;
ignoreloop = true;
}
if ((!p11) && (!ignoreloop)) {
fruit11._x = position11x + random(5);
fruit11._y = position11y + random(5);
p11 = true;
fruit11.pose = 11;
ignoreloop = true;
}
fruit11._xscale = fruit11._xscale * 0.75;
fruit11._yscale = fruit11._yscale * 0.75;
bananas2.push(fruit11);
totalfruit = totalfruit + 1;
}
var _local9 = 0;
while (_local9 < bananas2.length) {
var _local4 = bananas2[_local9];
if (_local4.lvl2.hitarea.hitTest(paw.hitarea) && (!grabby)) {
splat = this.attachMovie("gusher", "clofeaa" + eee, eee);
eee++;
if (banana) {
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
grabby = true;
fruittotal = fruittotal - 1;
splat._x = _local4._x;
splat._y = _local4._y;
if (_local4.pose == 1) {
p1 = false;
}
if (_local4.pose == 2) {
p2 = false;
}
if (_local4.pose == 3) {
p3 = false;
}
if (_local4.pose == 4) {
p4 = false;
}
if (_local4.pose == 5) {
p5 = false;
}
if (_local4.pose == 5) {
p5 = false;
}
if (_local4.pose == 6) {
p6 = false;
}
if (_local4.pose == 7) {
p7 = false;
}
if (_local4.pose == 8) {
p8 = false;
}
if (_local4.pose == 9) {
p9 = false;
}
if (_local4.pose == 10) {
p10 = false;
}
if (_local4.pose == 11) {
p11 = false;
}
myColor3 = new Color(splat);
myColorTransform = new Object();
myColorTransform = {rb:255, gb:255, bb:255};
myColor3.setTransform(myColorTransform);
_local4.unloadMovie();
_local4.removeMovieClip();
bananas2.splice(_local9, 1);
totalfruit = totalfruit - 1;
_local9--;
}
_local9++;
}
randomfruit = random(4);
if ((totalfruit < 11) && (randomfruit == 3)) {
fruit111 = this.attachMovie("orange2", "cl3c2udaa" + eee, -eee);
eee++;
ignoreloop = false;
if ((!p1) && (!ignoreloop)) {
fruit111._x = position1x + random(5);
fruit111._y = position1y + random(5);
p1 = true;
fruit111.pose = 1;
ignoreloop = true;
}
if ((!p2) && (!ignoreloop)) {
fruit111._x = position2x + random(5);
fruit111._y = position2y + random(5);
p2 = true;
fruit111.pose = 2;
ignoreloop = true;
}
if ((!p3) && (!ignoreloop)) {
fruit111._x = position3x + random(5);
fruit111._y = position3y + random(5);
p3 = true;
fruit111.pose = 3;
ignoreloop = true;
}
if ((!p4) && (!ignoreloop)) {
fruit111._x = position4x + random(5);
fruit111._y = position4y + random(5);
p4 = true;
fruit111.pose = 4;
ignoreloop = true;
}
if ((!p5) && (!ignoreloop)) {
fruit111._x = position5x + random(5);
fruit111._y = position5y + random(5);
p5 = true;
fruit111.pose = 5;
ignoreloop = true;
}
if ((!p6) && (!ignoreloop)) {
fruit111._x = position6x + random(5);
fruit111._y = position6y + random(5);
p6 = true;
fruit111.pose = 6;
ignoreloop = true;
}
if ((!p7) && (!ignoreloop)) {
fruit111._x = position7x + random(5);
fruit111._y = position7y + random(5);
p7 = true;
fruit111.pose = 7;
ignoreloop = true;
}
if ((!p8) && (!ignoreloop)) {
fruit111._x = position8x + random(5);
fruit111._y = position8y + random(5);
p8 = true;
fruit111.pose = 8;
ignoreloop = true;
}
if ((!p9) && (!ignoreloop)) {
fruit111._x = position9x + random(5);
fruit111._y = position9y + random(5);
p9 = true;
fruit111.pose = 9;
ignoreloop = true;
}
if ((!p10) && (!ignoreloop)) {
fruit111._x = position10x + random(5);
fruit111._y = position10y + random(5);
p10 = true;
fruit111.pose = 10;
ignoreloop = true;
}
if ((!p11) && (!ignoreloop)) {
fruit111._x = position11x + random(5);
fruit111._y = position11y + random(5);
p11 = true;
fruit111.pose = 11;
ignoreloop = true;
}
oranges2.push(fruit111);
totalfruit = totalfruit + 1;
}
var _local8 = 0;
while (_local8 < oranges2.length) {
var _local7 = oranges2[_local8];
if (_local7.lvl2.hitarea.hitTest(paw.hitarea) && (!grabby)) {
splat = this.attachMovie("gusher", "clofeaa" + eee, eee);
eee++;
if (orange) {
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
grabby = true;
fruittotal = fruittotal - 1;
splat._x = _local7._x;
splat._y = _local7._y;
if (_local7.pose == 1) {
p1 = false;
}
if (_local7.pose == 2) {
p2 = false;
}
if (_local7.pose == 3) {
p3 = false;
}
if (_local7.pose == 4) {
p4 = false;
}
if (_local7.pose == 5) {
p5 = false;
}
if (_local7.pose == 5) {
p5 = false;
}
if (_local7.pose == 6) {
p6 = false;
}
if (_local7.pose == 7) {
p7 = false;
}
if (_local7.pose == 8) {
p8 = false;
}
if (_local7.pose == 9) {
p9 = false;
}
if (_local7.pose == 10) {
p10 = false;
}
if (_local7.pose == 11) {
p11 = false;
}
myColor4 = new Color(splat);
myColorTransform = new Object();
myColorTransform = {rb:255, gb:24, bb:-255};
myColor4.setTransform(myColorTransform);
_local7.unloadMovie();
_local7.removeMovieClip();
oranges2.splice(_local8, 1);
totalfruit = totalfruit - 1;
_local8--;
}
_local8++;
}
}
};
Symbol 1051 Button
on (press) {
gotoAndPlay (141);
}
Symbol 1054 MovieClip Frame 142
stop();
_parent.gotoAndPlay(180);
Symbol 1055 MovieClip Frame 1
stop();
Symbol 1055 MovieClip Frame 50
stop();
Mouse.hide();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1055 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 1055 MovieClip Frame 78
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.mmm8 = 43;
_root.medalz.gotoAndPlay("medalcheck");
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1055 MovieClip Frame 114
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1055 MovieClip Frame 132
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1055 MovieClip Frame 133
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1055 MovieClip Frame 146
stop();
Symbol 1055 MovieClip Frame 182
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1055 MovieClip Frame 195
stop();
_root.gameon = false;
_root.evilmonkeyrumble.stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1170 MovieClip Frame 1
stop();
_parent.jumpage = false;
_parent.jumping = false;
if (_root.youwin) {
gotoAndPlay ("win");
}
Symbol 1170 MovieClip Frame 3
if (_root.youwin) {
gotoAndPlay ("win");
}
Symbol 1170 MovieClip Frame 6
if (_root.youwin) {
gotoAndPlay ("win");
}
Symbol 1170 MovieClip Frame 7
play();
Symbol 1170 MovieClip Frame 12
_parent.jumping = true;
if (!_root.soundoff) {
_root.playEffect(_root.jumprope);
}
Symbol 1170 MovieClip Frame 28
gotoAndPlay (1);
if (_root.youwin) {
gotoAndPlay ("win");
}
Symbol 1170 MovieClip Frame 29
if (!_root.soundoff) {
_root.playEffect(_root.ropecaught);
}
if (!_root.soundoff) {
_root.playEffect(_root.ropescream);
}
Symbol 1170 MovieClip Frame 37
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 40
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 43
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 46
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 49
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 54
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 59
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 62
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 64
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 66
if (!_root.soundoff) {
_root.playEffect(_root.lightsplash);
}
Symbol 1170 MovieClip Frame 71
stop();
Symbol 1170 MovieClip Frame 73
play();
Symbol 1170 MovieClip Frame 87
stop();
Symbol 1209 MovieClip Frame 45
gotoAndPlay (1);
Symbol 1209 MovieClip Frame 81
gotoAndPlay ("jump2");
Symbol 1209 MovieClip Frame 108
gotoAndPlay ("jump3");
Symbol 1209 MovieClip Frame 132
gotoAndPlay ("jump4");
Symbol 1224 MovieClip Frame 15
_parent.rope.swapDepths(30231);
Symbol 1224 MovieClip Frame 21
if (!_root.soundoff) {
_root.playEffect(_root.ropeswing);
}
Symbol 1224 MovieClip Frame 28
if (_root.youwin) {
stop();
guy1.stop();
guy2.stop();
bler._alpha = 0;
}
Symbol 1224 MovieClip Frame 30
_parent.rope.swapDepths(30200);
Symbol 1224 MovieClip Frame 33
if ((!_parent.jumping) && (!_root.gamefreeze)) {
_root.gamefreeze = true;
_parent._parent.gotoAndPlay("fail");
_parent.rope.stop();
_parent.jumpy.gotoAndPlay("death");
bler._alpha = 0;
guy1.stop();
guy2.stop();
}
Symbol 1224 MovieClip Frame 45
_parent.jumpcount = _parent.jumpcount + 1;
_root.score = _root.score + (2 * _root.multiplier);
if (_parent.jumpcount > 2) {
guy1.gotoAndPlay("jump2");
guy2.gotoAndPlay("jump2");
gotoAndPlay ("jump2");
}
if (_parent.jumpcount < 3) {
gotoAndPlay (1);
}
Symbol 1224 MovieClip Frame 57
_parent.rope.swapDepths(30231);
Symbol 1224 MovieClip Frame 59
if (!_root.soundoff) {
_root.playEffect(_root.ropeswing);
}
Symbol 1224 MovieClip Frame 67
if (_root.youwin) {
stop();
guy1.stop();
guy2.stop();
bler._alpha = 0;
}
Symbol 1224 MovieClip Frame 69
_parent.rope.swapDepths(30200);
Symbol 1224 MovieClip Frame 72
if ((!_parent.jumping) && (!_root.gamefreeze)) {
_root.gamefreeze = true;
_parent._parent.gotoAndPlay("fail");
_parent.rope.stop();
_parent.jumpy.gotoAndPlay("death");
bler._alpha = 0;
guy1.stop();
guy2.stop();
}
Symbol 1224 MovieClip Frame 81
_parent.jumpcount = _parent.jumpcount + 1;
_root.score = _root.score + (2 * _root.multiplier);
if (_parent.jumpcount > 5) {
guy1.gotoAndPlay("jump3");
guy2.gotoAndPlay("jump3");
gotoAndPlay ("jump3");
}
if (_parent.jumpcount < 6) {
gotoAndPlay ("jump2");
}
Symbol 1224 MovieClip Frame 90
_parent.rope.swapDepths(30231);
Symbol 1224 MovieClip Frame 91
if (!_root.soundoff) {
_root.playEffect(_root.ropeswing);
}
Symbol 1224 MovieClip Frame 97
if (_root.youwin) {
stop();
guy1.stop();
guy2.stop();
bler._alpha = 0;
}
Symbol 1224 MovieClip Frame 99
_parent.rope.swapDepths(30200);
Symbol 1224 MovieClip Frame 102
if (!_parent.jumping) {
_root.gamefreeze = true;
_parent._parent.gotoAndPlay("fail");
_parent.rope.stop();
_parent.jumpy.gotoAndPlay("death");
bler._alpha = 0;
guy1.stop();
guy2.stop();
}
Symbol 1224 MovieClip Frame 108
_parent.jumpcount = _parent.jumpcount + 1;
_root.score = _root.score + (2 * _root.multiplier);
if (_parent.jumpcount > 8) {
gotoAndPlay ("jump4");
guy1.gotoAndPlay("jump4");
guy2.gotoAndPlay("jump4");
} else {
gotoAndPlay ("jump3");
}
Symbol 1224 MovieClip Frame 117
_parent.rope.swapDepths(30231);
Symbol 1224 MovieClip Frame 118
if (!_root.soundoff) {
_root.playEffect(_root.ropeswing);
}
Symbol 1224 MovieClip Frame 121
if (_root.youwin) {
stop();
guy1.stop();
guy2.stop();
bler._alpha = 0;
}
Symbol 1224 MovieClip Frame 124
if (_root.youwin) {
stop();
guy1.stop();
guy2.stop();
bler._alpha = 0;
}
_parent.rope.swapDepths(30200);
Symbol 1224 MovieClip Frame 127
if (!_parent.jumping) {
_root.gamefreeze = true;
_parent._parent.gotoAndPlay("fail");
_parent.rope.stop();
_parent.jumpy.gotoAndPlay("death");
bler._alpha = 0;
guy1.stop();
guy2.stop();
}
Symbol 1224 MovieClip Frame 132
if (_root.youwin) {
stop();
guy1.stop();
guy2.stop();
bler._alpha = 0;
}
_parent.jumpcount = _parent.jumpcount + 1;
_root.score = _root.score + (2 * _root.multiplier);
gotoAndPlay ("jump4");
Symbol 1225 MovieClip Frame 1
var jumping = false;
var spacedown = false;
var jumpcount = 0;
var jumpage = false;
jumpy.swapDepths(30230);
rope.swapDepths(30231);
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop8.stop();
_root.loopstarted8 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted8)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop8.start(0, 999);
_root.loop8.setVolume(_root.bgvolume);
_root.loopstarted8 = true;
}
if ((!_root.youwin) && (!_root.gamefreeze)) {
if (!Key.isDown(32)) {
spacedown = false;
}
if (((Key.isDown(32) && (!jumping)) && (!spacedown)) && (!jumpage)) {
spacedown = true;
jumpage = true;
jumpy.gotoAndPlay("jump");
}
}
};
Symbol 1228 MovieClip Frame 1
stop();
Symbol 1228 MovieClip Frame 54
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1228 MovieClip Frame 54
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_parent.gotoAndPlay("success");
}
}
Symbol 1228 MovieClip Frame 82
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.mmm9 = 43;
_root.medalz.gotoAndPlay("medalcheck");
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1228 MovieClip Frame 156
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1228 MovieClip Frame 174
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1228 MovieClip Frame 175
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1228 MovieClip Frame 264
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1228 MovieClip Frame 277
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1252 MovieClip Frame 1
stop();
_parent.down = false;
_parent.controlsoff = false;
Symbol 1252 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.handcardown);
}
Symbol 1252 MovieClip Frame 5
stop();
_parent.speed = _parent.speed + 1;
_parent.down = true;
_parent.controlsoff = false;
Symbol 1252 MovieClip Frame 6
if (!_root.soundoff) {
_root.playEffect(_root.handcarup);
}
Symbol 1252 MovieClip Frame 7
_parent.speed = _parent.speed + 1;
Symbol 1259 MovieClip Frame 1
var speed = 0;
var speedcount = 0;
var down = false;
var downdown = false;
var updown = false;
var controlsoff = false;
var goal = 150;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if (!gamefreeze) {
speedcount = speedcount + 1;
if (speedcount > 5) {
speed = speed - 1;
speedcount = 0;
}
if (goal < 5) {
goaled._x = goaled._x - speed;
}
if (((goal < 1) && (!_root.youlose)) && (!_root.youwin)) {
controlsoff = true;
_root.youwin = true;
_parent.gotoAndPlay("success");
}
if (speed > 0) {
wheel1._rotation = wheel1._rotation + speed;
wheel2._rotation = wheel2._rotation + speed;
goal = goal - (speed / 30);
trackk._x = trackk._x - speed;
if (trackk._x < 135) {
trackk._x = 223;
}
mountains1._x = mountains1._x - (speed / 3);
if (mountains1._x < 36) {
mountains1._x = 260;
}
mountains2._x = mountains2._x - (speed / 5);
if (mountains2._x < 99) {
mountains2._x = 270;
}
clouds._x = clouds._x - (speed / 20);
}
if (goal < 0) {
goal = 0;
}
if (speed > 20) {
speed = 20;
}
if (speed < 1) {
speed = 0;
}
if (!controlsoff) {
if (!Key.isDown(38)) {
updown = false;
}
if ((Key.isDown(38) && (!updown)) && (!down)) {
handle.play();
controlsoff = true;
updown = true;
}
if (!Key.isDown(40)) {
downdown = false;
}
if ((Key.isDown(40) && (!downdown)) && (down)) {
handle.play();
controlsoff = true;
downdown = false;
}
}
}
};
Symbol 1270 MovieClip Frame 1
stop();
Symbol 1270 MovieClip Frame 58
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1270 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 1270 MovieClip Frame 86
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1270 MovieClip Frame 122
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1270 MovieClip Frame 140
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1270 MovieClip Frame 141
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1270 MovieClip Frame 190
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1270 MovieClip Frame 203
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1304 MovieClip Frame 1
stop();
rand = random(2);
if (rand == 0) {
arrows._yscale = arrows._yscale * -1;
}
Symbol 1304 MovieClip Frame 6
stop();
rand = random(2);
if (rand == 0) {
arrows._yscale = arrows._yscale * -1;
}
Symbol 1304 MovieClip Frame 12
stop();
rand = random(2);
if (rand == 0) {
arrows._yscale = arrows._yscale * -1;
}
Symbol 1304 MovieClip Frame 18
stop();
rand = random(2);
if (rand == 0) {
arrows._yscale = arrows._yscale * -1;
}
Symbol 1306 MovieClip Frame 1
stop();
Symbol 1319 MovieClip Frame 1
stop();
Symbol 1320 MovieClip Frame 1
stop();
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
var up = true;
var left = false;
var right = false;
var down = false;
var downdown = false;
var updown = false;
var leftdown = false;
var rightdown = false;
var getdirection = 0;
var getcount = 0;
var rand = 0;
var hitsleft = 20;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if ((!_root.gamefreeze) && (!_root.youlose)) {
if (getcount == 20) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if (_root.lives < 1) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp == 0)) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (!Key.isDown(40)) {
downdown = false;
}
if (Key.isDown(40) && (!downdown)) {
downdown = true;
if (!up) {
bad.play();
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
if (up) {
if (!_root.soundoff) {
_root.playEffect(_root.reversorget);
}
getcount = getcount + 1;
hitsleft = hitsleft - 1;
good.play();
}
getdirection = random(4);
up = false;
down = false;
right = false;
left = false;
if (getdirection == 0) {
arrows.gotoAndStop("up");
up = true;
}
if (getdirection == 1) {
arrows.gotoAndStop("down");
down = true;
}
if (getdirection == 2) {
arrows.gotoAndStop("left");
left = true;
}
if (getdirection == 3) {
arrows.gotoAndStop("right");
right = true;
}
}
if (!Key.isDown(38)) {
updown = false;
}
if (Key.isDown(38) && (!updown)) {
updown = true;
if (!down) {
bad.play();
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
if (down) {
if (!_root.soundoff) {
_root.playEffect(_root.reversorget);
}
getcount = getcount + 1;
hitsleft = hitsleft - 1;
good.play();
}
getdirection = random(4);
up = false;
down = false;
right = false;
left = false;
if (getdirection == 0) {
arrows.gotoAndStop("up");
up = true;
}
if (getdirection == 1) {
arrows.gotoAndStop("down");
down = true;
}
if (getdirection == 2) {
arrows.gotoAndStop("left");
left = true;
}
if (getdirection == 3) {
arrows.gotoAndStop("right");
right = true;
}
}
if (!Key.isDown(37)) {
leftdown = false;
}
if (Key.isDown(37) && (!leftdown)) {
leftdown = true;
if (!right) {
bad.play();
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
if (right) {
if (!_root.soundoff) {
_root.playEffect(_root.reversorget);
}
getcount = getcount + 1;
hitsleft = hitsleft - 1;
good.play();
}
getdirection = random(4);
up = false;
down = false;
right = false;
left = false;
if (getdirection == 0) {
arrows.gotoAndStop("up");
up = true;
}
if (getdirection == 1) {
arrows.gotoAndStop("down");
down = true;
}
if (getdirection == 2) {
arrows.gotoAndStop("left");
left = true;
}
if (getdirection == 3) {
arrows.gotoAndStop("right");
right = true;
}
}
if (!Key.isDown(39)) {
rightdown = false;
}
if (Key.isDown(39) && (!rightdown)) {
rightdown = true;
if (!left) {
bad.play();
if (_root.difficulty == 1) {
damaged.play();
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
damaged.play();
}
}
if (left) {
if (!_root.soundoff) {
_root.playEffect(_root.reversorget);
}
getcount = getcount + 1;
hitsleft = hitsleft - 1;
good.play();
}
getdirection = random(4);
up = false;
down = false;
right = false;
left = false;
if (getdirection == 0) {
arrows.gotoAndStop("up");
up = true;
}
if (getdirection == 1) {
arrows.gotoAndStop("down");
down = true;
}
if (getdirection == 2) {
arrows.gotoAndStop("left");
left = true;
}
if (getdirection == 3) {
arrows.gotoAndStop("right");
right = true;
}
}
}
};
Symbol 1337 MovieClip Frame 19
stop();
Symbol 1338 MovieClip Frame 1
stop();
Symbol 1338 MovieClip Frame 57
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1338 MovieClip Frame 57
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 1338 MovieClip Frame 85
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1338 MovieClip Frame 121
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1338 MovieClip Frame 139
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1338 MovieClip Frame 140
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1338 MovieClip Frame 212
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1338 MovieClip Frame 225
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1347 Button
on (press) {
nextFrame();
if (!_root.soundoff) {
_root.playEffect(_root.touchblue);
}
}
Symbol 1348 MovieClip Frame 1
stop();
Symbol 1348 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.hurtage);
}
_parent.mhp = _parent.mhp - 1;
if (_root.difficulty == 1) {
liffe._alpha = 100;
}
if (_root.difficulty == 0) {
lifffe._alpha = 100;
}
Symbol 1349 Button
on (press) {
nextFrame();
if (!_root.soundoff) {
_root.playEffect(_root.touchblue);
}
}
Symbol 1350 Button
on (press) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
damaged.gotoAndPlay(1);
}
if (_root.difficulty == 0) {
damaged.gotoAndPlay(1);
}
}
Symbol 1351 Button
on (press) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
damaged.gotoAndPlay(1);
}
}
Symbol 1353 Button
on (press) {
_parent._parent.gotoAndPlay("success");
_parent.nextFrame();
if (!_root.soundoff) {
_root.playEffect(_root.touchblue);
}
}
Symbol 1362 MovieClip Frame 1
stop();
var mhp = 10;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 2
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 3
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 4
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 5
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 6
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 7
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 8
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 9
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1362 MovieClip Frame 10
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Instance of Symbol 1354 MovieClip in Symbol 1362 MovieClip Frame 10
onClipEvent (enterFrame) {
this._x = this._x + (random(60) - 30);
this._y = this._y + (random(60) - 30);
if (this._x > 151) {
this._x = 151;
}
if (this._x < -177) {
this._x = -177;
}
if (this._y > 209) {
this._y = 209;
}
if (this._y < -235) {
this._y = -235;
}
}
Symbol 1362 MovieClip Frame 11
stop();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.youlose) {
hider._x = -184;
}
if ((!_root.youlose) && (_root.lives < 1)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
hider._x = -184;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
};
Symbol 1374 MovieClip Frame 1
stop();
Symbol 1374 MovieClip Frame 35
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1374 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 1374 MovieClip Frame 63
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1374 MovieClip Frame 99
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1374 MovieClip Frame 117
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1374 MovieClip Frame 118
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1374 MovieClip Frame 167
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1374 MovieClip Frame 180
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1398 MovieClip Frame 1
stop();
_parent.shooting = false;
Symbol 1398 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.gunshot);
}
Symbol 1398 MovieClip Frame 17
gotoAndPlay (1);
Symbol 1398 MovieClip Frame 18
if (!_root.soundoff) {
_root.playEffect(_root.reloadgun);
}
Symbol 1398 MovieClip Frame 24
_parent.empty = false;
_parent.bullets.gotoAndStop(1);
Symbol 1403 MovieClip Frame 1
stop();
Symbol 1403 MovieClip Frame 11
_parent.empty = true;
stop();
Symbol 1406 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
}
Symbol 1411 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1416 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
_parent.destroyed = true;
_root.score = _root.score + (5 * _root.multiplier);
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1421 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1426 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1431 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
_root.score = _root.score + (5 * _root.multiplier);
_parent.destroyed = true;
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1436 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1441 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1446 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
_root.score = _root.score + (5 * _root.multiplier);
_parent.destroyed = true;
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1451 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1456 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1461 Button
on (press) {
if ((!_parent._parent.shooting) && (!_parent._parent.empty)) {
nextFrame();
_root.score = _root.score + (5 * _root.multiplier);
_parent.destroyed = true;
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1466 Button
on (press) {
if (((!_root.youwin) && (!_parent._parent.shooting)) && (!_parent._parent.empty)) {
nextFrame();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
}
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
_parent._parent.damaged.play();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1471 Button
on (press) {
if (((!_root.youwin) && (!_parent._parent.shooting)) && (!_parent._parent.empty)) {
nextFrame();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
}
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
_parent._parent.damaged.play();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1476 Button
on (press) {
if (((!_root.youwin) && (!_parent._parent.shooting)) && (!_parent._parent.empty)) {
nextFrame();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
}
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
_parent._parent.damaged.play();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1481 Button
on (press) {
if (((!_root.youwin) && (!_parent._parent.shooting)) && (!_parent._parent.empty)) {
nextFrame();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
}
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
_parent._parent.damaged.play();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1486 Button
on (press) {
if (((!_root.youwin) && (!_parent._parent.shooting)) && (!_parent._parent.empty)) {
nextFrame();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
}
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
_parent._parent.damaged.play();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1491 Button
on (press) {
if (((!_root.youwin) && (!_parent._parent.shooting)) && (!_parent._parent.empty)) {
nextFrame();
_root.mmm10 = 43;
_root.medalz.gotoAndPlay("medalcheck");
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
}
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
_parent._parent.damaged.play();
}
if (!_root.soundoff) {
_root.playEffect(_root.crackwood);
}
}
Symbol 1492 MovieClip Frame 2
stop();
Symbol 1492 MovieClip Frame 5
_root.score = _root.score + 10;
Symbol 1493 MovieClip Frame 1
stop();
guys.gotoAndStop(1);
var destroyed = false;
var baddies = false;
var randomchar = 0;
destroyed = false;
Symbol 1493 MovieClip Frame 2
randomchar = random(6);
if (randomchar == 0) {
guys.gotoAndStop("pedobear");
baddies = true;
}
if (randomchar == 1) {
guys.gotoAndStop("zombie");
baddies = true;
}
if (randomchar == 2) {
guys.gotoAndStop("gangster");
baddies = true;
}
if (randomchar == 3) {
guys.gotoAndStop("alien");
baddies = true;
}
if (randomchar == 4) {
guys.gotoAndStop("baby");
}
if (randomchar == 5) {
guys.gotoAndStop("jesus");
}
Symbol 1493 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.spring);
}
Symbol 1493 MovieClip Frame 121
if (((!destroyed) && (baddies)) && (!_root.youwin)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
if (_root.difficulty == 0) {
_parent.mhp = _parent.mhp - 1;
}
_parent.damaged.play();
}
_parent.guy1here = false;
Symbol 1494 MovieClip Frame 1
stop();
guys.gotoAndStop(1);
var destroyed = false;
var baddies = false;
var randomchar = 0;
destroyed = false;
Symbol 1494 MovieClip Frame 2
randomchar = random(6);
if (randomchar == 0) {
guys.gotoAndStop("pedobear");
baddies = true;
}
if (randomchar == 1) {
guys.gotoAndStop("zombie");
baddies = true;
}
if (randomchar == 2) {
guys.gotoAndStop("gangster");
baddies = true;
}
if (randomchar == 3) {
guys.gotoAndStop("alien");
baddies = true;
}
if (randomchar == 4) {
guys.gotoAndStop("baby");
}
if (randomchar == 5) {
guys.gotoAndStop("jesus");
}
Symbol 1494 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.spring);
}
Symbol 1494 MovieClip Frame 135
if (((!destroyed) && (baddies)) && (!_root.youwin)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
if (_root.difficulty == 0) {
_parent.mhp = _parent.mhp - 1;
}
_parent.damaged.play();
}
_parent.guy2here = false;
Symbol 1495 MovieClip Frame 1
stop();
guys.gotoAndStop(1);
var destroyed = false;
var baddies = false;
var randomchar = 0;
destroyed = false;
Symbol 1495 MovieClip Frame 2
randomchar = random(6);
if (randomchar == 0) {
guys.gotoAndStop("pedobear");
baddies = true;
}
if (randomchar == 1) {
guys.gotoAndStop("zombie");
baddies = true;
}
if (randomchar == 2) {
guys.gotoAndStop("gangster");
baddies = true;
}
if (randomchar == 3) {
guys.gotoAndStop("alien");
baddies = true;
}
if (randomchar == 4) {
guys.gotoAndStop("baby");
}
if (randomchar == 5) {
guys.gotoAndStop("jesus");
}
Symbol 1495 MovieClip Frame 4
if (!_root.soundoff) {
_root.playEffect(_root.spring);
}
Symbol 1495 MovieClip Frame 140
if (((!destroyed) && (baddies)) && (!_root.youwin)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
if (_root.difficulty == 0) {
_parent.mhp = _parent.mhp - 1;
}
_parent.damaged.play();
}
_parent.guy3here = false;
Symbol 1496 MovieClip Frame 1
stop();
guys.gotoAndStop(1);
var destroyed = false;
var baddies = false;
var randomchar = 0;
destroyed = false;
Symbol 1496 MovieClip Frame 2
randomchar = random(6);
if (randomchar == 0) {
guys.gotoAndStop("pedobear");
baddies = true;
}
if (randomchar == 1) {
guys.gotoAndStop("zombie");
baddies = true;
}
if (randomchar == 2) {
guys.gotoAndStop("gangster");
baddies = true;
}
if (randomchar == 3) {
guys.gotoAndStop("alien");
baddies = true;
}
if (randomchar == 4) {
guys.gotoAndStop("baby");
}
if (randomchar == 5) {
guys.gotoAndStop("jesus");
}
Symbol 1496 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.spring);
}
Symbol 1496 MovieClip Frame 146
if (((!destroyed) && (baddies)) && (!_root.youwin)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
if (_root.difficulty == 0) {
_parent.mhp = _parent.mhp - 1;
}
_parent.damaged.play();
}
_parent.guy4here = false;
Symbol 1505 MovieClip [ding] Frame 5
this.unloadMovie();
this.removeMovieClip();
Symbol 1506 MovieClip Frame 1
var shooting = false;
var clickdown = false;
var spacedown = false;
var empty = false;
var effcv = 0;
var destroyed = false;
var bad = false;
var good = false;
var randomguy = 0;
var spawncount = 0;
var spawn = false;
var guy1here = false;
var guy2here = false;
var guy3here = false;
var guy4here = false;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 10;
Mouse.hide();
bigbutton.swapDepths(43364);
damaged.swapDepths(33344);
damaged.swapDepths(33333);
hands.swapDepths(30230);
target.swapDepths(30231);
bullets.swapDepths(30232);
bg1.swapDepths(50);
hitarea1.swapDepths(55);
guy3.swapDepths(111);
guy4.swapDepths(112);
bg2.swapDepths(2000);
hitarea2.swapDepths(2001);
guy1.swapDepths(5000);
guy2.swapDepths(5001);
bg3.swapDepths(10000);
hitarea3.swapDepths(10001);
hitarea4.swapDepths(10002);
hitarea5.swapDepths(10003);
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.gamefreeze) {
bigbutton._x = -11;
}
if (!_root.gamefreeze) {
if (_root.youwin) {
bigbutton._x = -11;
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
guy1.stop();
guy2.stop();
guy3.stop();
guy4.stop();
}
if ((_root.lives < 1) && (!_root.youlose)) {
bigbutton._x = -11;
gamefreeze = true;
_root.youlose = true;
guy1.stop();
guy2.stop();
guy3.stop();
guy4.stop();
_parent.gotoAndPlay("fail");
}
if (((_root.difficulty == 0) && (mhp == 0)) && (!_root.youlose)) {
bigbutton._x = -11;
gamefreeze = true;
_root.youlose = true;
guy1.stop();
guy2.stop();
guy3.stop();
guy4.stop();
_parent.gotoAndPlay("fail");
}
randomguy = random(120);
if ((randomguy == 0) && (!guy1here)) {
guy1here = true;
guy1.play();
}
if ((randomguy == 1) && (!guy2here)) {
guy2here = true;
guy2.play();
}
if ((randomguy == 2) && (!guy3here)) {
guy3here = true;
guy3.play();
}
if ((randomguy == 3) && (!guy4here)) {
guy4here = true;
guy4.play();
}
if (!Key.isDown(32)) {
spacedown = false;
}
if ((Key.isDown(32) && (empty)) && (!spacedown)) {
hands.gotoAndPlay("reload");
spacedown = true;
}
if (!Key.isDown(1)) {
clickdown = false;
}
if ((Key.isDown(1) && (!clickdown)) && (!shooting)) {
clickdown = true;
if (!empty) {
shooting = true;
bullets.nextFrame();
hands.gotoAndPlay("shoot");
e = this.attachMovie("ding", "cloccddaa" + effcv, effcv + 120);
effcv++;
e._x = target._x;
e._y = target._y;
e._xscale = e._xscale * 0.2;
e._yscale = e._yscale * 0.2;
if (hitarea2.hitTest(_root._xmouse, _root._ymouse, true)) {
h = this.attachMovie("holeee", "clogdaa" + effcv, effcv + 3000);
effcv++;
h._x = target._x;
h._y = target._y;
h._xscale = h._xscale * 0.3;
h._yscale = h._yscale * 0.3;
}
if (hitarea1.hitTest(_root._xmouse, _root._ymouse, true)) {
h = this.attachMovie("holeee", "clogdaa" + effcv, effcv + 120);
effcv++;
h._x = target._x;
h._y = target._y;
h._xscale = h._xscale * 0.5;
h._yscale = h._yscale * 0.5;
}
if (hitarea3.hitTest(_root._xmouse, _root._ymouse, true)) {
h = this.attachMovie("holeee", "clogdaa" + effcv, effcv + 10005);
effcv++;
h._x = target._x;
h._y = target._y;
}
if (hitarea4.hitTest(_root._xmouse, _root._ymouse, true)) {
h = this.attachMovie("holeee", "clogdaa" + effcv, effcv + 10005);
effcv++;
h._x = target._x;
h._y = target._y;
}
if (hitarea5.hitTest(_root._xmouse, _root._ymouse, true)) {
h = this.attachMovie("holeee", "clogdaa" + effcv, effcv + 10005);
effcv++;
h._x = target._x;
h._y = target._y;
}
}
if (empty) {
hands.gotoAndPlay("empty");
}
}
target._x = _xmouse;
target._y = _ymouse;
hands._x = _xmouse - 72;
hands._y = _ymouse;
if (hands._y < 256) {
hands._y = 256;
}
}
};
Symbol 1510 Button
on (release) {
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
}
Symbol 1515 MovieClip Frame 1
stop();
Symbol 1515 MovieClip Frame 66
stop();
if (_root.practice) {
quitb._x = -68;
quitb._y = -223;
}
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1515 MovieClip Frame 66
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_parent.gotoAndPlay("success");
}
}
Symbol 1515 MovieClip Frame 94
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1515 MovieClip Frame 130
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1515 MovieClip Frame 148
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1515 MovieClip Frame 149
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1515 MovieClip Frame 198
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1515 MovieClip Frame 211
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1536 MovieClip Frame 10
stop();
Symbol 1539 MovieClip Frame 1
stop();
_parent.tapping = false;
Symbol 1547 MovieClip Frame 10
stop();
Symbol 1547 MovieClip Frame 20
if (!_parent.gotit) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
_parent.gimme = true;
Symbol 1547 MovieClip Frame 40
stop();
Symbol 1547 MovieClip Frame 50
if (!_parent.gotit) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
_parent.gimme = true;
Symbol 1547 MovieClip Frame 70
stop();
Symbol 1547 MovieClip Frame 80
if (!_parent.gotit) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
_parent.gimme = true;
Symbol 1547 MovieClip Frame 95
stop();
Symbol 1547 MovieClip Frame 105
if (!_parent.gotit) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
_parent.gimme = true;
Symbol 1547 MovieClip Frame 120
stop();
Symbol 1547 MovieClip Frame 130
if (!_parent.gotit) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
_parent.gimme = true;
Symbol 1547 MovieClip Frame 150
stop();
Symbol 1547 MovieClip Frame 160
if (!_parent.gotit) {
_root.lives = _root.lives - 1;
_parent.damaged.play();
}
_parent.gimme = true;
Symbol 1549 MovieClip Frame 1
clickdown = false;
tapping = false;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 10;
var tapred = false;
var tappurple = false;
var tapgreen = false;
var tapblue = false;
var tapyellow = false;
var taporange = false;
var tapcount = 0;
var randomkey = 0;
var gotit = false;
var gimme = false;
var keythere = true;
var speed = 0;
var onedown = false;
var twodown = false;
var threedown = false;
var fourdown = false;
var fivedown = false;
var sixdown = false;
randomkey = random(6);
if (randomkey == 0) {
instructions.gotoAndPlay("purple");
tappurple = true;
}
if (randomkey == 1) {
instructions.gotoAndPlay("blue");
tapblue = true;
}
if (randomkey == 2) {
instructions.gotoAndPlay("green");
tapgreen = true;
}
if (randomkey == 3) {
instructions.gotoAndPlay("red");
tapred = true;
}
if (randomkey == 4) {
instructions.gotoAndPlay("orange");
taporange = true;
}
if (randomkey == 5) {
instructions.gotoAndPlay("yellow");
tapyellow = true;
}
this.onEnterFrame = function () {
if (!_root.gamefreeze) {
if (!Key.isDown(49)) {
onedown = false;
}
if (!Key.isDown(50)) {
twodown = false;
}
if (!Key.isDown(51)) {
threedown = false;
}
if (!Key.isDown(52)) {
fourdown = false;
}
if (!Key.isDown(53)) {
fivedown = false;
}
if (!Key.isDown(54)) {
sixdown = false;
}
if (Key.isDown(49) && (!onedown)) {
if (!_root.soundoff) {
_root.playEffect(_root.tink1);
}
onedown = true;
shine1.gotoAndPlay(1);
speed = speed + 1;
instructions.play();
tapcount = 0;
gotit = true;
if (tappurple) {
_root.score = _root.score + (1 * _root.multiplier);
}
if (!tappurple) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
tappurple = false;
tapblue = false;
tapgreen = false;
tapyellow = false;
tapred = false;
taporange = false;
}
if (Key.isDown(50) && (!twodown)) {
if (!_root.soundoff) {
_root.playEffect(_root.tink2);
}
twodown = true;
shine2.gotoAndPlay(1);
speed = speed + 1;
instructions.play();
tapcount = 0;
gotit = true;
if (tapblue) {
gotit = true;
_root.score = _root.score + (1 * _root.multiplier);
}
if (!tapblue) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
tappurple = false;
tapblue = false;
tapgreen = false;
tapyellow = false;
tapred = false;
taporange = false;
}
if (Key.isDown(51) && (!threedown)) {
if (!_root.soundoff) {
_root.playEffect(_root.tink3);
}
threedown = true;
shine3.gotoAndPlay(1);
speed = speed + 1;
instructions.play();
tapcount = 0;
gotit = true;
if (tapgreen) {
gotit = true;
_root.score = _root.score + (1 * _root.multiplier);
}
if (!tapgreen) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
tappurple = false;
tapblue = false;
tapgreen = false;
tapyellow = false;
tapred = false;
taporange = false;
}
if (Key.isDown(52) && (!fourdown)) {
if (!_root.soundoff) {
_root.playEffect(_root.tink4);
}
fourdown = true;
shine4.gotoAndPlay(1);
speed = speed + 1;
instructions.play();
tapcount = 0;
gotit = true;
if (tapred) {
gotit = true;
_root.score = _root.score + (1 * _root.multiplier);
}
if (!tapred) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
tappurple = false;
tapblue = false;
tapgreen = false;
tapyellow = false;
tapred = false;
taporange = false;
}
if (Key.isDown(53) && (!fivedown)) {
if (!_root.soundoff) {
_root.playEffect(_root.tink5);
}
shine5.gotoAndPlay(1);
speed = speed + 1;
instructions.play();
tapcount = 0;
gotit = true;
if (taporange) {
gotit = true;
_root.score = _root.score + (1 * _root.multiplier);
}
if (!taporange) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
tappurple = false;
tapblue = false;
tapgreen = false;
tapyellow = false;
tapred = false;
taporange = false;
fivedown = true;
}
if (Key.isDown(54) && (!sixdown)) {
if (!_root.soundoff) {
_root.playEffect(_root.tink6);
}
shine6.gotoAndPlay(1);
speed = speed + 1;
instructions.play();
tapcount = 0;
gotit = true;
if (tapyellow) {
gotit = true;
_root.score = _root.score + (1 * _root.multiplier);
}
if (!tapyellow) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
tappurple = false;
tapblue = false;
tapgreen = false;
tapyellow = false;
tapred = false;
taporange = false;
sixdown = true;
}
if (gimme) {
randomkey = random(6);
if (randomkey == 0) {
instructions.gotoAndPlay("purple");
tappurple = true;
}
if (randomkey == 1) {
instructions.gotoAndPlay("blue");
tapblue = true;
}
if (randomkey == 2) {
instructions.gotoAndPlay("green");
tapgreen = true;
}
if (randomkey == 3) {
instructions.gotoAndPlay("red");
tapred = true;
}
if (randomkey == 4) {
instructions.gotoAndPlay("orange");
taporange = true;
}
if (randomkey == 5) {
instructions.gotoAndPlay("yellow");
tapyellow = true;
}
gimme = false;
keythere = true;
gotit = false;
}
if (speed > 15) {
speed = 15;
}
tapcount = tapcount + 1;
if (tapcount > (60 - speed)) {
instructions.play();
tapcount = 0;
}
if (_root.youwin) {
megabutton._x = -7;
}
if (_root.lives < 1) {
megabutton._x = -7;
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
megabutton._x = -7;
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
}
};
Symbol 1556 MovieClip Frame 10
stop();
Symbol 1562 MovieClip Frame 1
stop();
Symbol 1562 MovieClip Frame 53
stop();
if (_root.practice) {
quitb._x = 42;
quitb._y = -221;
}
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1562 MovieClip Frame 53
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
}
Symbol 1562 MovieClip Frame 81
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1562 MovieClip Frame 117
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1562 MovieClip Frame 135
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1562 MovieClip Frame 136
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1562 MovieClip Frame 167
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1562 MovieClip Frame 180
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1583 MovieClip Frame 24
stop();
Symbol 1584 MovieClip Frame 1
stop();
Symbol 1584 MovieClip Frame 9
stop();
Symbol 1584 MovieClip Frame 19
stop();
Symbol 1584 MovieClip Frame 28
stop();
Symbol 1584 MovieClip Frame 34
stop();
Symbol 1584 MovieClip Frame 40
stop();
if (!_root.soundoff) {
_root.playEffect(_root.runaway);
}
Symbol 1602 MovieClip Frame 21
stop();
Symbol 1603 MovieClip Frame 1
stop();
Symbol 1603 MovieClip Frame 9
stop();
Symbol 1603 MovieClip Frame 17
stop();
Symbol 1603 MovieClip Frame 25
stop();
Symbol 1603 MovieClip Frame 34
stop();
Symbol 1603 MovieClip Frame 43
stop();
if (!_root.soundoff) {
_root.playEffect(_root.runaway);
}
Symbol 1621 MovieClip Frame 23
stop();
Symbol 1622 MovieClip Frame 1
stop();
Symbol 1622 MovieClip Frame 9
stop();
Symbol 1622 MovieClip Frame 17
stop();
Symbol 1622 MovieClip Frame 24
stop();
Symbol 1622 MovieClip Frame 32
stop();
Symbol 1622 MovieClip Frame 42
stop();
if (!_root.soundoff) {
_root.playEffect(_root.runaway);
}
Symbol 1640 MovieClip Frame 14
stop();
Symbol 1641 MovieClip Frame 1
stop();
Symbol 1641 MovieClip Frame 8
stop();
Symbol 1641 MovieClip Frame 16
stop();
Symbol 1641 MovieClip Frame 24
stop();
Symbol 1641 MovieClip Frame 33
stop();
Symbol 1641 MovieClip Frame 42
stop();
if (!_root.soundoff) {
_root.playEffect(_root.runaway);
}
Symbol 1650 MovieClip Frame 1
stop();
Symbol 1650 MovieClip Frame 13
stop();
Symbol 1659 MovieClip Frame 1
stop();
Symbol 1659 MovieClip Frame 6
stop();
Symbol 1659 MovieClip Frame 12
stop();
Symbol 1659 MovieClip Frame 19
stop();
Symbol 1659 MovieClip Frame 27
stop();
Symbol 1670 MovieClip Frame 1
stop();
Symbol 1670 MovieClip Frame 2
stop();
Symbol 1670 MovieClip Frame 8
stop();
Symbol 1670 MovieClip Frame 14
stop();
Symbol 1670 MovieClip Frame 20
stop();
Symbol 1670 MovieClip Frame 26
stop();
Symbol 1670 MovieClip Frame 33
stop();
Symbol 1678 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop8.stop();
_root.loopstarted8 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted8)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop8.start(0, 999);
_root.loop8.setVolume(_root.bgvolume);
_root.loopstarted8 = true;
}
};
Symbol 1693 MovieClip Frame 33
stop();
Symbol 1698 MovieClip Frame 78
stop();
Symbol 1700 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop9.stop();
_root.loopstarted9 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted9)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop9.start(0, 999);
_root.loop9.setVolume(_root.bgvolume);
_root.loopstarted9 = true;
}
};
Symbol 1705 MovieClip Frame 1
var run1 = false;
var run2 = false;
var run3 = false;
var run4 = false;
Symbol 1705 MovieClip Frame 68
stop();
var downdown = false;
var updown = false;
var leftdown = false;
var rightdown = false;
var adown = false;
var grich = true;
var gsam = false;
var gchris = false;
var gdan = false;
var menuone = true;
var menutwo = false;
var menuthree = false;
var menufour = false;
var menufive = false;
menu.menu2.gotoAndStop("one");
menuone = true;
menu.highlights.gotoAndStop("rich");
grich = true;
rich._x = rich._x - 3;
this.onEnterFrame = function () {
if (!_root.gamefreeze) {
if (!Key.isDown(65)) {
adown = false;
}
if (Key.isDown(65) && (!adown)) {
if (!_root.soundoff) {
_root.playEffect(_root.brselect);
}
play();
}
if (!Key.isDown(37)) {
leftdown = false;
}
if (!Key.isDown(39)) {
rightdown = false;
}
if (!Key.isDown(40)) {
downdown = false;
}
if (!Key.isDown(38)) {
updown = false;
}
if (((Key.isDown(40) && (menuone)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(40) && (menutwo)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(40) && (menuthree)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(40) && (menufour)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if (((Key.isDown(38) && (menuone)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(38) && (menufour)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(38) && (menuthree)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(38) && (menutwo)) && (!updown)) && (!menufive)) {
updown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if ((Key.isDown(39) && (!menufive)) && (!rightdown)) {
rightdown = true;
menufive = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("five");
}
if ((Key.isDown(37) && (menufive)) && (!leftdown)) {
lefttdown = true;
menufive = false;
if (menuone) {
menu.menu2.gotoAndStop("one");
}
if (menutwo) {
menu.menu2.gotoAndStop("two");
}
if (menuthree) {
menu.menu2.gotoAndStop("three");
}
if (menufour) {
menu.menu2.gotoAndStop("four");
}
}
}
};
Symbol 1705 MovieClip Frame 71
rich._x = rich._x + 3;
menu.menu2.gotoAndStop(1);
menu.highlights.gotoAndStop(1);
if (menufive) {
rich.gotoAndStop("running");
run1 = true;
}
if (!menufive) {
rich.gotoAndStop("cast");
}
Symbol 1705 MovieClip Frame 75
stop();
var downdown = false;
var updown = false;
var leftdown = false;
var rightdown = false;
var adown = false;
var grich = true;
var gsam = false;
var gchris = false;
var gdan = false;
var menuone = true;
var menutwo = false;
var menuthree = false;
var menufour = false;
var menufive = false;
menu.menu2.gotoAndStop("one");
menuone = true;
menu.highlights.gotoAndStop("sam");
sam._x = sam._x - 3;
this.onEnterFrame = function () {
if (!_root.gamefreeze) {
if (!Key.isDown(65)) {
adown = false;
}
if (Key.isDown(65) && (!adown)) {
if (!_root.soundoff) {
_root.playEffect(_root.brselect);
}
play();
}
if (!Key.isDown(37)) {
leftdown = false;
}
if (!Key.isDown(39)) {
rightdown = false;
}
if (!Key.isDown(40)) {
downdown = false;
}
if (!Key.isDown(38)) {
updown = false;
}
if (((Key.isDown(40) && (menuone)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(40) && (menutwo)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(40) && (menuthree)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(40) && (menufour)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if (((Key.isDown(38) && (menuone)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(38) && (menufour)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(38) && (menuthree)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(38) && (menutwo)) && (!updown)) && (!menufive)) {
updown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if ((Key.isDown(39) && (!menufive)) && (!rightdown)) {
rightdown = true;
menufive = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("five");
}
if ((Key.isDown(37) && (menufive)) && (!leftdown)) {
lefttdown = true;
menufive = false;
if (menuone) {
menu.menu2.gotoAndStop("one");
}
if (menutwo) {
menu.menu2.gotoAndStop("two");
}
if (menuthree) {
menu.menu2.gotoAndStop("three");
}
if (menufour) {
menu.menu2.gotoAndStop("four");
}
}
}
};
Symbol 1705 MovieClip Frame 78
sam._x = sam._x + 3;
menu.menu2.gotoAndStop(1);
menu.highlights.gotoAndStop(1);
if (menufive) {
sam.gotoAndStop("running");
run2 = true;
}
if (!menufive) {
sam.gotoAndStop("cast");
}
Symbol 1705 MovieClip Frame 82
stop();
var downdown = false;
var updown = false;
var leftdown = false;
var rightdown = false;
var adown = false;
var grich = true;
var gsam = false;
var gchris = false;
var gdan = false;
var menuone = true;
var menutwo = false;
var menuthree = false;
var menufour = false;
var menufive = false;
menu.menu2.gotoAndStop("one");
menuone = true;
menu.highlights.gotoAndStop("chris");
grich = true;
chris._x = chris._x - 3;
this.onEnterFrame = function () {
if (!_root.gamefreeze) {
if (!Key.isDown(65)) {
adown = false;
}
if (Key.isDown(65) && (!adown)) {
if (!_root.soundoff) {
_root.playEffect(_root.brselect);
}
play();
}
if (!Key.isDown(37)) {
leftdown = false;
}
if (!Key.isDown(39)) {
rightdown = false;
}
if (!Key.isDown(40)) {
downdown = false;
}
if (!Key.isDown(38)) {
updown = false;
}
if (((Key.isDown(40) && (menuone)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(40) && (menutwo)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(40) && (menuthree)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(40) && (menufour)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if (((Key.isDown(38) && (menuone)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(38) && (menufour)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(38) && (menuthree)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(38) && (menutwo)) && (!updown)) && (!menufive)) {
updown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if ((Key.isDown(39) && (!menufive)) && (!rightdown)) {
rightdown = true;
menufive = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("five");
}
if ((Key.isDown(37) && (menufive)) && (!leftdown)) {
lefttdown = true;
menufive = false;
if (menuone) {
menu.menu2.gotoAndStop("one");
}
if (menutwo) {
menu.menu2.gotoAndStop("two");
}
if (menuthree) {
menu.menu2.gotoAndStop("three");
}
if (menufour) {
menu.menu2.gotoAndStop("four");
}
}
}
};
Symbol 1705 MovieClip Frame 86
chris._x = chris._x + 3;
menu.menu2.gotoAndStop(1);
menu.highlights.gotoAndStop(1);
if (menufive) {
chris.gotoAndStop("running");
run3 = true;
}
if (!menufive) {
chris.gotoAndStop("cast");
}
Symbol 1705 MovieClip Frame 90
stop();
var downdown = false;
var updown = false;
var leftdown = false;
var rightdown = false;
var adown = false;
var grich = true;
var gsam = false;
var gchris = false;
var gdan = false;
var menuone = true;
var menutwo = false;
var menuthree = false;
var menufour = false;
var menufive = false;
menu.menu2.gotoAndStop("one");
menuone = true;
menu.highlights.gotoAndStop("dan");
grich = true;
dan._x = dan._x - 3;
this.onEnterFrame = function () {
if (!_root.gamefreeze) {
if (!Key.isDown(65)) {
adown = false;
}
if (Key.isDown(65) && (!adown)) {
if (!_root.soundoff) {
_root.playEffect(_root.brselect);
}
play();
}
if (!Key.isDown(37)) {
leftdown = false;
}
if (!Key.isDown(39)) {
rightdown = false;
}
if (!Key.isDown(40)) {
downdown = false;
}
if (!Key.isDown(38)) {
updown = false;
}
if (((Key.isDown(40) && (menuone)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(40) && (menutwo)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(40) && (menuthree)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(40) && (menufour)) && (!downdown)) && (!menufive)) {
downdown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if (((Key.isDown(38) && (menuone)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = true;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("four");
}
if (((Key.isDown(38) && (menufour)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = true;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("three");
}
if (((Key.isDown(38) && (menuthree)) && (!updown)) && (!menufive)) {
updown = true;
menuone = false;
menufour = false;
menuthree = false;
menufive = false;
menutwo = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("two");
}
if (((Key.isDown(38) && (menutwo)) && (!updown)) && (!menufive)) {
updown = true;
menuone = true;
menufour = false;
menuthree = false;
menufive = false;
menutwo = false;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("one");
}
if ((Key.isDown(39) && (!menufive)) && (!rightdown)) {
rightdown = true;
menufive = true;
if (!_root.soundoff) {
_root.playEffect(_root.brmenus);
}
menu.menu2.gotoAndStop("five");
}
if ((Key.isDown(37) && (menufive)) && (!leftdown)) {
lefttdown = true;
menufive = false;
if (menuone) {
menu.menu2.gotoAndStop("one");
}
if (menutwo) {
menu.menu2.gotoAndStop("two");
}
if (menuthree) {
menu.menu2.gotoAndStop("three");
}
if (menufour) {
menu.menu2.gotoAndStop("four");
}
}
}
};
Symbol 1705 MovieClip Frame 94
this.onEnterFrame = function () {
};
dan._x = dan._x + 3;
menu.menu2.gotoAndStop(1);
menu.highlights.gotoAndStop(1);
if (menufive) {
dan.gotoAndStop("running");
run4 = true;
}
if (!menufive) {
dan.gotoAndStop("cast");
}
_root.infinite = true;
Symbol 1705 MovieClip Frame 114
if (((run1 && (run2)) && (run3)) && (run4)) {
gotoAndPlay ("runaway");
}
Symbol 1705 MovieClip Frame 115
play();
Symbol 1705 MovieClip Frame 134
if (!_root.soundoff) {
_root.playEffect(_root.evangelize);
}
Symbol 1705 MovieClip Frame 175
chris.gotoAndStop("hurt");
sam.gotoAndStop("hurt");
rich.gotoAndStop("hurt");
dan.gotoAndStop("hurt");
Symbol 1705 MovieClip Frame 241
rich.gotoAndStop("dead");
menu.hp.gotoAndStop("zerohp");
damaged.play();
_root.lives = _root.lives - 1;
Symbol 1705 MovieClip Frame 247
sam.gotoAndStop("dead");
Symbol 1705 MovieClip Frame 252
chris.gotoAndStop("dead");
Symbol 1705 MovieClip Frame 257
dan.gotoAndStop("dead");
_root.youlose = true;
Symbol 1705 MovieClip Frame 327
stop();
_parent.gotoAndPlay("fail");
Symbol 1705 MovieClip Frame 362
chris.gotoAndStop("runaway");
sam.gotoAndStop("runaway");
rich.gotoAndStop("runaway");
dan.gotoAndStop("runaway");
Symbol 1705 MovieClip Frame 410
if (!_root.soundoff) {
_root.playEffect(_root.jesusflash);
}
Symbol 1705 MovieClip Frame 424
this._y = this._y - 1;
Symbol 1705 MovieClip Frame 426
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 428
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 430
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 432
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 434
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 436
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 438
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 440
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 442
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 444
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 446
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 448
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 450
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 452
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 454
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 456
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 458
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 460
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 462
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 464
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 466
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 468
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 470
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 472
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 474
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 476
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 478
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 480
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 482
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 484
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 486
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 488
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 490
this._y = this._y + 2;
Symbol 1705 MovieClip Frame 492
this._y = this._y - 2;
Symbol 1705 MovieClip Frame 494
this._y = this._y + 1;
Symbol 1705 MovieClip Frame 499
_root.loop9.stop();
_root.loopstarted9 = false;
Symbol 1705 MovieClip Frame 582
stop();
_parent.gotoAndPlay("success");
Symbol 1706 MovieClip Frame 1
stop();
Symbol 1706 MovieClip Frame 66
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1706 MovieClip Frame 66
onClipEvent (enterFrame) {
if (_root.outoftime) {
if (!_root.youlose) {
_parent.gaime.gotoAndPlay("evangelize");
_root.youlose = true;
}
}
}
Symbol 1706 MovieClip Frame 94
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1706 MovieClip Frame 101
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1706 MovieClip Frame 119
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1706 MovieClip Frame 120
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1706 MovieClip Frame 130
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1706 MovieClip Frame 143
stop();
_root.gameon = false;
_root.loop8.stop();
_root.loopstarted8 = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1717 Button
on (rollOver) {
mouseon = true;
}
on (rollOut) {
mouseon = false;
}
Symbol 1724 MovieClip Frame 1
stop();
Symbol 1724 MovieClip Frame 8
stop();
if (!_root.soundoff) {
_root.playEffect(_root.chargesmall);
}
Symbol 1724 MovieClip Frame 14
Symbol 1732 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.soundoff) {
_root.loop10.stop();
_root.loopstarted10 = false;
}
if ((!_root.soundoff) && (!_root.loopstarted10)) {
_root.loop10.start(0, 999);
_root.loop10.setVolume(_root.bgvolume);
_root.loopstarted10 = true;
}
};
Symbol 1733 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.earthshake);
}
Symbol 1734 MovieClip Frame 1
stop();
Symbol 1734 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.chargehole);
}
Symbol 1734 MovieClip Frame 9
stop();
Symbol 1734 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.chargehole);
}
Symbol 1734 MovieClip Frame 18
Symbol 1734 MovieClip Frame 19
if (!_root.soundoff) {
_root.playEffect(_root.chargehole);
}
Symbol 1734 MovieClip Frame 96
if (!_root.soundoff) {
_root.playEffect(_root.chargehole);
}
Symbol 1734 MovieClip Frame 131
_root.loop10.stop();
_root.loopstarted10 = false;
stop();
Symbol 1735 MovieClip Frame 1
var mouseon = false;
var pickeup = false;
var st1 = false;
var st2 = false;
var st3 = false;
var st4 = false;
var st5 = false;
var st6 = false;
var st7 = false;
var st8 = false;
var rotatecount = 0;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if (!_root.gamefreeze) {
if (rotatecount == 2) {
_root.gamefreeze = true;
_root.youwin = true;
_parent.gotoAndPlay("success");
}
if (_root.youlose) {
damaged.play();
_root.gamefreeze = true;
}
if (atom.hitTest(_root._xmouse, _root._ymouse, true)) {
touch._alpha = 0;
pickedup = true;
}
if (mouseon && (pickedup)) {
atom._x = _xmouse;
atom._y = _ymouse;
}
if (!mouseon) {
pickedup = false;
atom._x = 176;
atom._y = 94;
st1 = false;
station1.gotoAndStop("off");
st2 = false;
station2.gotoAndStop("off");
st3 = false;
station3.gotoAndStop("off");
st4 = false;
station4.gotoAndStop("off");
st5 = false;
station5.gotoAndStop("off");
st6 = false;
station6.gotoAndStop("off");
st7 = false;
station7.gotoAndStop("off");
st8 = false;
station8.gotoAndStop("off");
}
if (atom.hitTest(station1)) {
st1 = true;
station1.gotoAndStop("on");
}
if (atom.hitTest(station2) && (st1)) {
st2 = true;
station2.gotoAndStop("on");
}
if (atom.hitTest(station3) && (st2)) {
st3 = true;
station3.gotoAndStop("on");
}
if (atom.hitTest(station4) && (st3)) {
st4 = true;
station4.gotoAndStop("on");
}
if (atom.hitTest(station5) && (st4)) {
st5 = true;
station5.gotoAndStop("on");
}
if (atom.hitTest(station6) && (st5)) {
st6 = true;
station6.gotoAndStop("on");
}
if (atom.hitTest(station7) && (st6)) {
st7 = true;
station7.gotoAndStop("on");
}
if (atom.hitTest(station8) && (st7)) {
rotatecount = rotatecount + 1;
if (rotatecount == 1) {
hole.play();
}
if (rotatecount == 2) {
hole.play();
}
if (rotatecount == 3) {
hole.play();
}
st1 = false;
st2 = false;
st3 = false;
st4 = false;
st5 = false;
st6 = false;
st7 = false;
station1.gotoAndPlay("charge");
station2.gotoAndPlay("charge");
station3.gotoAndPlay("charge");
station4.gotoAndPlay("charge");
station5.gotoAndPlay("charge");
station6.gotoAndPlay("charge");
station7.gotoAndPlay("charge");
station8.gotoAndPlay("charge");
}
}
};
Symbol 1739 MovieClip Frame 1
stop();
Symbol 1739 MovieClip Frame 61
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1739 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 1739 MovieClip Frame 89
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1739 MovieClip Frame 125
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1739 MovieClip Frame 143
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1739 MovieClip Frame 144
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1739 MovieClip Frame 281
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1739 MovieClip Frame 294
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1786 MovieClip Frame 1
stop();
Symbol 1786 MovieClip Frame 16
if (!_root.soundoff) {
_root.playEffect(_root.astroid2die);
}
Symbol 1786 MovieClip Frame 43
stop();
Symbol 1786 MovieClip Frame 44
stop();
Symbol 1788 MovieClip [streak] Frame 15
this.unloadMovie();
this.removeMovieClip();
Symbol 1811 MovieClip [lazor] Frame 15
stop();
Symbol 1812 MovieClip Frame 1
function moveAstroids2() {
var _local2 = 0;
while (_local2 < astroids2.length) {
var _local1 = astroids2[_local2];
_local1._height = _local1._height * 1.05;
_local1._width = _local1._width * 1.05;
if (Key.isDown(38)) {
_local1._y = _local1._y + 15;
}
if (Key.isDown(40)) {
_local1._y = _local1._y - 15;
}
if (Key.isDown(37)) {
_local1._x = _local1._x + 15;
}
if (Key.isDown(39)) {
_local1._x = _local1._x - 15;
}
if (_local1._height > 700) {
_local1.unloadMovie();
_local1.removeMovieClip();
astroids2.splice(_local2, 1);
_local2--;
}
_local2++;
}
}
function moveAstroids() {
var _local4 = 0;
while (_local4 < astroids.length) {
var _local3 = astroids[_local4];
_local3.dist = _local3.dist + 1;
_local3._height = _local3._height * 1.03;
_local3._width = _local3._width * 1.03;
_local3._rotation = _local3._rotation + _local3.rotatespeed;
_local3.angleget = _local3.angleget + rotatespeed;
if (_local3.angleget > 360) {
_local3.angleget = 0;
}
if (Key.isDown(38)) {
_local3._y = _local3._y + 15;
}
if (Key.isDown(40)) {
_local3._y = _local3._y - 15;
}
if (Key.isDown(37)) {
_local3._x = _local3._x + 15;
}
if (Key.isDown(39)) {
_local3._x = _local3._x - 15;
}
if ((_local3._height > 600) && (_local3.hitarea.hitTest(hitarea))) {
damaged.play();
if (!_root.gamefreeze) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
ex1 = this.attachMovie("astroidblow", "clodaa" + effcv, 3913);
effcv++;
ex1._x = _local3._x;
ex1._y = _local3._y;
ex1._height = _local3._height;
ex1._width = _local3._width;
ex1._rotation = _local3.angleget;
astroids2.push(ex1);
_local3.unloadMovie();
_local3.removeMovieClip();
astroids.splice(_local4, 1);
_local4--;
}
if (_local3._height > 700) {
_local3.unloadMovie();
_local3.removeMovieClip();
astroids.splice(_local4, 1);
_local4--;
}
_local4++;
}
}
function moveBullets() {
var _local6 = 0;
while (_local6 < bullets.length) {
var _local4 = bullets[_local6];
_local4.timer = _local4.timer - 1;
_local4.dist = _local4.dist - 14;
if (Key.isDown(38)) {
_local4._y = _local4._y + 5;
}
if (Key.isDown(40)) {
_local4._y = _local4._y - 5;
}
if (Key.isDown(37)) {
_local4._x = _local4._x + 5;
}
if (Key.isDown(39)) {
_local4._x = _local4._x - 5;
}
if (_local4.timer < 1) {
_local4.unloadMovie();
_local4.removeMovieClip();
bullets.splice(j, 1);
j--;
}
var _local5 = 0;
while (_local5 < astroids.length) {
var _local3 = astroids[_local5];
if (_local4.hitarea.hitTest(_local3.hitarea)) {
if (_local3.dist > _local4.dist) {
boom = this.attachMovie("zapboom", "cloxdaa" + effcv, effcv + 9000);
effcv++;
boom.timer = 6;
boom._x = _local4.hitarea._x;
boom._y = _local4.hitarea._y + 200;
boom._height = boom._height * (_local3.dist / 100);
boom._width = boom._width * (_local3.dist / 100);
blasts.push(boom);
_local3.hp = _local3.hp - 1;
_local4.unloadMovie();
_local4.removeMovieClip();
bullets.splice(j, 1);
j--;
if (_local3.hp == 0) {
ex1 = this.attachMovie("astroidblow", "clodaa" + effcv, 4000 + effcv);
effcv++;
_root.score = _root.score + (5 * _root.multiplier);
ex1._x = _local3._x;
ex1._y = _local3._y;
destroyedd = destroyedd + 1;
if (destroyedd > 9) {
_root.mmm11 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
ex1._height = _local3._height;
ex1._width = _local3._width;
ex1._rotation = _local3.angleget;
astroids2.push(ex1);
_local3.unloadMovie();
_local3.removeMovieClip();
astroids.splice(_local5, 1);
_local5--;
}
}
}
_local5++;
}
_local6++;
}
}
function moveStreaks() {
var _local1 = 0;
while (_local1 < streaks.length) {
var _local2 = streaks[_local1];
_local2.timer = _local2.timer - 1;
if (_local2.timer < 1) {
_local2.unloadMovie();
_local2.removeMovieClip();
streaks.splice(_local1, 1);
_local1--;
}
_local1++;
}
}
function moveBlasts() {
var _local2 = 0;
while (_local2 < blasts.length) {
var _local1 = blasts[_local2];
b1.timer = b1.timer - 1;
if (Key.isDown(38)) {
_local1._y = _local1._y + 5;
}
if (Key.isDown(40)) {
_local1._y = _local1._y - 5;
}
if (Key.isDown(37)) {
_local1._x = _local1._x + 5;
}
if (Key.isDown(39)) {
_local1._x = _local1._x - 5;
}
if (_local1.timer < 1) {
_local1.unloadMovie();
_local1.removeMovieClip();
blasts.splice(_local2, 1);
_local2--;
}
_local2++;
}
}
var adown = false;
var effcv = 0;
var downdown = false;
var updown = false;
var leftdown = false;
var rightdown = false;
var astroidcount = 0;
var randomnum = 0;
var cccc = 0;
var destroyedd = 0;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
damaged.swapDepths(30233);
hp.swapDepths(30232);
cockpit.swapDepths(30230);
damaged.swapDepths(30231);
bullets = new Array();
streaks = new Array();
astroids = new Array();
astroids2 = new Array();
blasts = new Array();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop14.stop();
_root.loopstarted14 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted14)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop14.start(0, 999);
_root.loop14.setVolume(_root.bgvolume);
_root.loopstarted14 = true;
}
if (!_root.gamefreeze) {
moveAstroids();
moveStreaks();
moveBlasts();
moveBullets();
moveAstroids2();
if (_root.lives < 1) {
_root.gamefreeze = true;
cockpit.gotoAndPlay("asplode");
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
cockpit.gotoAndPlay("asplode");
_parent.gotoAndPlay("fail");
}
if (Key.isDown(38)) {
space._y = space._y + 5;
}
if (Key.isDown(40)) {
space._y = space._y - 5;
}
if (Key.isDown(37)) {
space._x = space._x + 5;
}
if (Key.isDown(39)) {
space._x = space._x - 5;
}
if (space._x > 535) {
space._x = -169;
}
if (space._x < -873) {
space._x = -169;
}
if (space._y > 585) {
space._y = -185;
}
if (space._y < -955) {
space._y = -185;
}
if (!Key.isDown(65)) {
adown = false;
}
if (Key.isDown(65) && (!adown)) {
adown = true;
zap = this.attachMovie("lazor", "cloudaa" + effcv, effcv + 10000);
effcv++;
if (!_root.soundoff) {
_root.playEffect(_root.astroid2blast);
}
zap._x = -25;
zap._y = 205;
zap.dist = 220;
zap.timer = 20;
bullets.push(zap);
zap1 = this.attachMovie("lazor", "cloxdaa" + effcv, effcv + 10000);
effcv++;
if (!_root.soundoff) {
_root.playEffect(_root.astroid2blast);
}
zap1._xscale = (zap1._xscale = zap1._xscale * -1);
zap1.dist = 220;
zap1._x = 379;
zap1.timer = 20;
zap1._y = 205;
bullets.push(zap1);
}
s1 = this.attachMovie("streak", "cloxdaa" + effcv, effcv + 100);
effcv++;
s1._x = 200 - random(40);
s1.timer = 15;
s1._rotation = random(360) + 1;
s1._y = 220 - random(30);
streaks.push(s1);
astroidcount = astroidcount + 1;
if (astroidcount > 1) {
astroidcount = 0;
a1 = this.attachMovie("asstroid", "clodaa" + effcv, 4000 - effcv);
a1.depth = 4000 - effcv;
a1.dist = 0;
effcv++;
a1._x = 1000 - random(2000);
a1._y = 1000 - random(2000);
a1._xscale = a1._xscale * 0.02;
a1._yscale = a1._yscale * 0.02;
randomnum = random(5) + 1;
a1._rotation = random(360) + 1;
a1.rotatespeed = randomnum;
randomnum = random(2);
if (randomnum == 1) {
a1._yscale = a1._yscale * -1;
}
randomnum = random(2);
if (randomnum == 1) {
a1._xscale = a1._xscale * -1;
}
a1.hp = 3;
a1.angleget = 0;
astroids.push(a1);
}
}
};
Symbol 1818 MovieClip Frame 1
stop();
Symbol 1818 MovieClip Frame 35
stop();
if (_root.practice) {
quitb._x = -168;
quitb._y = 193;
}
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1818 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_root.gamefreeze = true;
spacegame.cockpit.gotoAndStop("win");
_parent.gotoAndPlay("success");
}
}
Symbol 1818 MovieClip Frame 63
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1818 MovieClip Frame 99
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1818 MovieClip Frame 117
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1818 MovieClip Frame 118
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
_root.mmm24 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1818 MovieClip Frame 167
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 1818 MovieClip Frame 180
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
_root.loop14.stop();
_root.loopstarted14 = false;
Symbol 1845 MovieClip Frame 1
function moveClouds() {
var _local1 = 0;
while (_local1 < clouds.length) {
var _local2 = clouds[_local1];
_local2._x = _local2._x - 3;
if (_local2._x < -250) {
_local2.unloadMovie();
_local2.removeMovieClip();
clouds.splice(_local1, 1);
_local1--;
}
_local1++;
}
}
function moveJets() {
var _local4 = 0;
while (_local4 < jets.length) {
var _local3 = jets[_local4];
_local3._x = _local3._x - _local3.speedy;
if (_local3._x < -250) {
_local3.unloadMovie();
_local3.removeMovieClip();
jets.splice(_local4, 1);
_local4--;
}
if ((_local3.hitarea.hitTest(yourplane.hitarea) && (!dead)) && (!_root.gamefreeze)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
if (!_root.soundoff) {
_root.playEffect(_root.jetexplode);
}
dead = true;
yourplane._alpha = 0;
bo = this.attachMovie("jetexplosion", "clodaa" + effcv, effcv + 20000);
effcv++;
bo.timer = 30;
bo._x = _xmouse;
bo._y = _ymouse;
explosions.push(bo);
bo = this.attachMovie("jetexplosion", "clodaa" + effcv, effcv + 20000);
effcv++;
bo.timer = 30;
bo._x = _local3._x;
bo._y = _local3._y;
explosions.push(bo);
_local3.unloadMovie();
_local3.removeMovieClip();
jets.splice(_local4, 1);
_local4--;
}
_local4++;
}
}
function moveLedge() {
var _local4 = 0;
while (_local4 < ledges.length) {
var _local3 = ledges[_local4];
_local3._x = _local3._x - 7;
if (_local3._x < -250) {
_local3.unloadMovie();
_local3.removeMovieClip();
ledges.splice(_local4, 1);
_local4--;
}
if ((_local3.hitarea.hitTest(yourplane.hitarea) && (!dead)) && (!_root.gamefreeze)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
dead = true;
yourplane._alpha = 0;
bo = this.attachMovie("jetexplosion", "clodaa" + effcv, effcv + 20000);
effcv++;
bo.timer = 30;
bo._x = _xmouse;
bo._y = _ymouse;
explosions.push(bo);
}
_local4++;
}
}
function moveExplosions() {
var _local2 = 0;
while (t < explosions.length) {
var _local1 = explosions[_local2];
_local1._x = _local1._x - 7;
_local1.timer = _local1.timer - 1;
if (_local1.timer < 1) {
_local1.unloadMovie();
_local1.removeMovieClip();
explosions.splice(_local2, 1);
_local2--;
}
_local2++;
}
}
function moveBullets() {
var _local6 = 0;
while (_local6 < bullets.length) {
var _local5 = bullets[_local6];
_local5._x = _local5._x + 15;
if (_local5._x > 600) {
_local5.unloadMovie();
_local5.removeMovieClip();
bullets.splice(_local6, 1);
_local6--;
}
var _local4 = 0;
while (_local4 < jets.length) {
var _local3 = jets[_local4];
if (_local5.hitarea.hitTest(_local3.hitarea)) {
bo = this.attachMovie("jetexplosion", "clodaa" + effcv, effcv + 20000);
effcv++;
if (!_root.soundoff) {
_root.playEffect(_root.jetexplode2);
}
bo.timer = 30;
bo._x = _local3._x - 15;
bo._y = _local3._y;
bo._height = bo._height / 5;
bo._width = bo._width / 5;
explosions.push(bo);
_local5.unloadMovie();
_local5.removeMovieClip();
bullets.splice(_local6, 1);
_local6--;
_local3.hp = _local3.hp - 1;
if (_local3.hp < 1) {
bo = this.attachMovie("jetexplosion", "clodaa" + effcv, effcv + 20000);
effcv++;
destroyedd = destroyedd + 1;
if (destroyedd > 9) {
_root.mmm12 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (!_root.soundoff) {
_root.playEffect(_root.jetexplode2);
}
bo.timer = 30;
bo._x = _local3._x;
bo._y = _local3._y;
_root.score = _root.score + (4 * _root.multiplier);
explosions.push(bo);
_local3.unloadMovie();
_local3.removeMovieClip();
jets.splice(_local4, 1);
_local4--;
}
}
_local4++;
}
_local6++;
}
}
var cloudtimer = 0;
var effcv = 0;
var randomget = 0;
var dead = false;
var respawncount = 0;
var jetcount = 0;
var clickdown = false;
var destroyedd = 0;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
Mouse.hide();
yourplane.swapDepths(30230);
hp.swapDepths(30232);
damaged.swapDepths(30237);
clouds = new Array();
bullets = new Array();
jets = new Array();
ledges = new Array();
explosions = new Array();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop15.stop();
_root.loopstarted15 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted15)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop15.start(0, 999);
_root.loop15.setVolume(_root.bgvolume);
_root.loopstarted15 = true;
}
moveClouds();
moveLedge();
moveExplosions();
moveJets();
moveBullets();
sky._x = sky._x - 2;
if (sky._x < -355) {
sky._x = 0;
}
mountain._x = mountain._x - 4;
if (mountain._x < -367) {
mountain._x = 0;
}
yourplane._x = _xmouse;
yourplane._y = _ymouse;
if (!_root.gamefreeze) {
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((mhp < 1) && (_root.difficulty == 0)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (yourplane._x < 38) {
yourplane._x = 38;
}
if (yourplane._x > 310) {
yourplane._x = 310;
}
if (yourplane._y < 5) {
yourplane._y = 5;
}
if (yourplane._y > 450) {
yourplane._y = 450;
}
if (!Key.isDown(1)) {
clickdown = false;
}
if ((Key.isDown(1) && (!clickdown)) && (!dead)) {
clickdown = true;
ba = this.attachMovie("ball", "clodaa" + effcv, effcv + 6000);
effcv++;
if (!_root.soundoff) {
_root.playEffect(_root.jetshoot);
}
ba._x = _xmouse + 50;
ba._y = _ymouse + 20;
ba._height = ba._height / 2;
ba._width = ba._width / 2;
bullets.push(ba);
}
if (dead) {
respawncount = respawncount + 1;
if (respawncount > 30) {
yourplane._alpha = 50;
}
if (respawncount > 60) {
yourplane._alpha = 100;
dead = false;
respawncount = 0;
}
}
cloudtimer = cloudtimer + 1;
if (cloudtimer > 80) {
cloudtimer = 0;
c = this.attachMovie("cloud" + (random(3) + 1), "clodaa" + effcv, effcv + 100);
effcv++;
c._x = 600;
c._y = 300 - random(350);
clouds.push(c);
}
randomget = random(100);
if (randomget < 2) {
l = this.attachMovie("ledge", "clodaa" + effcv, effcv + 1000);
effcv++;
l._x = 600;
l._y = 289 + random(100);
ledges.push(l);
}
jetcount = jetcount + 1;
if (jetcount > 10) {
jetcount = 0;
je = this.attachMovie("badjet" + (random(2) + 1), "cloga" + effcv, effcv + 5000);
effcv++;
je.speedy = random(5) + 5;
je.hp = 5;
je._x = 600;
je._y = 340 - random(340);
jets.push(je);
}
}
};
Symbol 1863 MovieClip Frame 1
stop();
Symbol 1863 MovieClip Frame 63
stop();
_root.timestop = false;
_root.newgamestart = true;
if (_root.practice) {
quitb._x = -163;
quitb._y = 185;
}
Instance of Symbol 399 MovieClip in Symbol 1863 MovieClip Frame 63
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
}
Symbol 1863 MovieClip Frame 91
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1863 MovieClip Frame 127
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
Symbol 1863 MovieClip Frame 145
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1863 MovieClip Frame 146
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1863 MovieClip Frame 195
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
Symbol 1863 MovieClip Frame 208
stop();
_root.loop15.stop();
_root.oopstarted15 = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1885 MovieClip Frame 1
stop();
Symbol 1885 MovieClip Frame 11
stop();
Symbol 1885 MovieClip Frame 21
stop();
Symbol 1917 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_root.fatframe2) {
nextFrame();
_root.fatframe2 = false;
}
};
Symbol 1917 MovieClip Frame 31
stop();
Symbol 1919 MovieClip Frame 1
var weight = 324;
stop();
this.onEnterFrame = function () {
if (_root.fatframe) {
nextFrame();
weight = weight - 7;
_root.fatframe = false;
}
};
Symbol 1919 MovieClip Frame 31
stop();
Symbol 1977 MovieClip Frame 1
stop();
Symbol 1977 MovieClip Frame 19
gotoAndStop (1);
Symbol 1979 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop11.stop();
_root.loopstarted11 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted11)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop11.start(0, 999);
_root.loop11.setVolume(_root.bgvolume);
_root.loopstarted11 = true;
}
};
Symbol 1980 MovieClip Frame 1
function movebadFood() {
var _local4 = 0;
while (_local4 < badfood.length) {
var _local3 = badfood[_local4];
if (_local3.hitarea.hitTest(girl.hitarea) && (!dead)) {
girl._x = girl._x - 20;
if (!_root.soundoff) {
_root.playEffect(_root.crunch);
}
if (!_root.soundoff) {
_root.playEffect(_root.badfood);
}
eaten = eaten + 1;
if (eaten > 14) {
_root.mmm13 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
ga = this.attachMovie("badarrow", "cloccudaa" + effcv, effcv + 2000);
effcv++;
ga._x = _local3._x;
ga._y = _local3._y;
ga._rotation = ga._rotation - 90;
faces.gotoAndPlay("sick");
_local3.unloadMovie();
_local3.removeMovieClip();
badfood.splice(_local4, 1);
_local4--;
}
if (!_local3.dropped) {
_local3._y = _local3._y + 10;
}
if (_local3.hitarea.hitTest(dropzone)) {
_local3.dropped = true;
}
if (_local3.dropped && (!_local3.edge)) {
_local3._x = _local3._x - _local3.speedy;
}
if ((_local3._x < 72) && (!_local3.floored)) {
_local3.edge = true;
_local3._x = _local3._x - _local3.speedy;
_local3.dropspeed = _local3.dropspeed + 1;
_local3._y = _local3._y + _local3.dropspeed;
if (_local3.hitarea.hitTest(dropzone2)) {
_local3.floored = true;
if (!_root.soundoff) {
_root.playEffect(_root.foodsplat);
}
}
}
if (_local3.floored) {
_local3.timer = _local3.timer - 1;
_local3.vanishtimer = _local3.vanishtimer + 1;
if ((_local3.vanishtimer > 3) && (!_local3.gone)) {
_local3._alpha = 0;
_local3.vanishtimer = 0;
_local3.gone = true;
}
if ((_local3.vanishtimer > 3) && (_local3.gone)) {
_local3._alpha = 100;
_local3.vanishtimer = 0;
_local3.gone = false;
}
if (_local3.timer < 0) {
_local3.unloadMovie();
_local3.removeMovieClip();
badfood.splice(_local4, 1);
_local4--;
}
}
_local4++;
}
}
function movegoodFood() {
var _local4 = 0;
while (_local4 < goodfood.length) {
var _local3 = goodfood[_local4];
if (_local3.hitarea.hitTest(girl.hitarea) && (!dead)) {
if (!_root.soundoff) {
_root.playEffect(_root.crunch);
}
girl._x = girl._x + 30;
_root.score = _root.score + 5;
ga = this.attachMovie("goodarrow", "cloccudaa" + effcv, effcv + 2000);
effcv++;
eaten = eaten + 1;
if (eaten > 11) {
_root.mmm13 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (!_root.soundoff) {
_root.playEffect(_root.girlhappy);
}
ga._x = _local3._x;
ga._y = _local3._y;
ga._rotation = ga._rotation + 90;
_root.score = _root.score + (4 * _root.multiplier);
faces.gotoAndPlay("happy");
_local3.unloadMovie();
_local3.removeMovieClip();
goodfood.splice(_local4, 1);
_local4--;
}
if (!_local3.dropped) {
_local3._y = _local3._y + 10;
}
if (_local3.hitarea.hitTest(dropzone)) {
_local3.dropped = true;
}
if (_local3.dropped && (!_local3.edge)) {
_local3._x = _local3._x - _local3.speedy;
}
if ((_local3._x < 72) && (!_local3.floored)) {
_local3.edge = true;
_local3._x = _local3._x - _local3.speedy;
_local3.dropspeed = _local3.dropspeed + 1;
_local3._y = _local3._y + _local3.dropspeed;
if (_local3.hitarea.hitTest(dropzone2)) {
_local3.floored = true;
if (!_root.soundoff) {
_root.playEffect(_root.foodsplat);
}
}
}
if (_local3.floored) {
_local3.timer = _local3.timer - 1;
_local3.vanishtimer = _local3.vanishtimer + 1;
if ((_local3.vanishtimer > 3) && (!_local3.gone)) {
_local3._alpha = 0;
_local3.vanishtimer = 0;
_local3.gone = true;
}
if ((_local3.vanishtimer > 3) && (_local3.gone)) {
_local3._alpha = 100;
_local3.vanishtimer = 0;
_local3.gone = false;
}
if (_local3.timer < 0) {
_local3.unloadMovie();
_local3.removeMovieClip();
goodfood.splice(_local4, 1);
_local4--;
}
}
_local4++;
}
}
var randomfood = 0;
var foodcount = 0;
var foodkind = 0;
var effcv = 0;
var adown = false;
var sdown = false;
var girlspeed = 0;
var girldropped = false;
var deadtimer = 60;
var blinktimer = 0;
var blinked = false;
var spawned = false;
var jumping = false;
var dead = false;
var jumpspeed = 10;
var jumptime = 0;
var girldrop = false;
var eaten = 0;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 3;
damaged.swapDepths(30230);
hp.swapDepths(30220);
badfood = new Array();
goodfood = new Array();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop8.stop();
_root.loopstarted8 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted8)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop8.start(0, 999);
_root.loop8.setVolume(_root.bgvolume);
_root.loopstarted8 = true;
}
if (!_root.gamefreeze) {
movebadFood();
movegoodFood();
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent._parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent._parent.gotoAndPlay("fail");
}
if (!dead) {
if (!Key.isDown(83)) {
sdown = false;
}
if ((Key.isDown(83) && (!sdown)) && (!jumping)) {
sdown = true;
if (!_root.soundoff) {
_root.playEffect(_root.girljump);
}
girl.gotoAndStop("jump");
jumping = true;
}
if (jumping) {
if (!girldrop) {
girl._y = girl._y - jumpspeed;
jumpspeed = jumpspeed - 1;
}
if ((jumpspeed < 0) && (!girldrop)) {
jumpspeed = 0;
girldrop = true;
}
if (girldrop) {
jumpspeed = jumpspeed + 1;
girl._y = girl._y + jumpspeed;
if (girl._y > 121) {
girl._y = 121;
jumpspeed = 10;
jumping = false;
girldrop = false;
girl.gotoAndStop("run");
}
}
}
}
if ((!dead) && (!jumping)) {
girl._x = girl._x - 1;
}
if (!Key.isDown(65)) {
adown = false;
}
if ((Key.isDown(65) && (!dead)) && (!adown)) {
girl._x = girl._x + 3;
if ((_root.timeleft < 22) && (_root.multiplier > 5)) {
girl._x = girl._x - 1;
}
adown = true;
}
if (girl._x > 175) {
girl._x = 175;
}
if ((girl._x < 50) && (!dead)) {
girl.gotoAndStop("dead");
dead = true;
}
if (dead) {
if (dead && (!girl.dropped)) {
girl._x = girl._x - 8;
girlspeed = girlspeed + 1;
girl._y = girl._y + girlspeed;
}
if ((girl._y > 146) && (!girl.dropped)) {
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
if (!_root.soundoff) {
_root.playEffect(_root.girlscream);
}
girl.dropped = true;
girlspeed = 0;
}
if (girl.dropped && (dead)) {
if (!spawned) {
deadtimer = deadtimer - 1;
}
blinktimer = blinktimer + 1;
if ((blinktimer > 3) && (!blinked)) {
blinktimer = 0;
blinked = true;
girl._alpha = 0;
}
if ((blinktimer > 3) && (blinked)) {
blinktimer = 0;
blinked = false;
girl._alpha = 100;
}
if ((deadtimer < 0) && (!spawned)) {
deadtimer = 0;
girl._x = 175;
girl._y = 121;
girl.gotoAndStop("run");
spawned = true;
}
if (spawned) {
deadtimer = deadtimer + 1;
if (deadtimer > 30) {
dead = false;
girl._alpha = 100;
deadtimer = 60;
spawned = false;
girl.dropped = false;
}
}
}
}
foodcount = foodcount + 1;
if (foodcount > 60) {
foodcount = 0;
foodkind = random(3) + 1;
if (foodkind > 1) {
foodkind = 0;
f = this.attachMovie("badfood" + (random(6) + 1), "clocudaa" + effcv, effcv + 1600);
effcv++;
f._x = 239;
f._y = -31;
f.dropped = false;
f.speedy = 8;
f.dropspeed = 0;
f.timer = 40;
f.vanishtimer = 0;
f.edge = false;
f.floored = false;
f.gone = false;
badfood.push(f);
}
}
if (foodkind == 1) {
foodkind = 0;
g = this.attachMovie("goodfood" + (random(2) + 1), "clocudaa" + effcv, effcv + 1600);
effcv++;
g._x = 239;
g._y = -31;
g.dropped = false;
g.speedy = 8;
g.dropspeed = 0;
g.timer = 40;
g.vanishtimer = 0;
g.edge = false;
g.floored = false;
g.gone = false;
goodfood.push(g);
}
}
};
Symbol 1996 MovieClip Frame 1
stop();
Symbol 1996 MovieClip Frame 66
stop();
if (_root.practice) {
quitb._x = -156;
quitb._y = 5;
}
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 1996 MovieClip Frame 66
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_root.youwin = true;
_parent.gotoAndPlay("success");
}
}
Symbol 1996 MovieClip Frame 94
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1996 MovieClip Frame 130
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
Symbol 1996 MovieClip Frame 148
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 1996 MovieClip Frame 149
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 1996 MovieClip Frame 198
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
Symbol 1996 MovieClip Frame 211
stop();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2002 Button
on (press) {
if (!_root.gamefreeze) {
_parent._parent.gotoAndPlay("success");
_root.gamefreeze = true;
}
}
Symbol 2014 MovieClip Frame 1
var changed = false;
this.onEnterFrame = function () {
if (!changed) {
leaf2._alpha = random(100);
leaf4._alpha = random(100);
leaf3._alpha = random(100);
changed = true;
}
};
Symbol 2018 Button
on (press) {
startDrag (this);
this.swapDepths(100 + _parent.ddd);
_parent.ddd++;
if (!_root.soundoff) {
_root.playEffect(_root.leaf);
}
}
on (release) {
stopDrag();
if (!_root.soundoff) {
_root.playEffect(_root.leaf);
}
}
Symbol 2019 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.handoff) {
this.stopDrag();
}
};
Symbol 2020 MovieClip Frame 1
var ddd = 0;
var placeant = false;
var handoff = false;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if (!placeant) {
placeant = true;
ant._x = 336 - random(336);
ant._y = 445 - random(445);
}
if ((((_xmouse < 5) or (_xmouse > 350)) or (_ymouse < 5)) or ((_ymouse > 460) && (!handoff))) {
handoff = true;
}
if (((((_xmouse > 5) && (_xmouse < 350)) && (_ymouse > 5)) && (_ymouse < 460)) && (handoff)) {
handoff = false;
}
};
Symbol 2040 MovieClip Frame 1
stop();
Symbol 2040 MovieClip Frame 35
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2040 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 2040 MovieClip Frame 63
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2040 MovieClip Frame 99
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2040 MovieClip Frame 117
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2040 MovieClip Frame 118
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2040 MovieClip Frame 124
if (!_root.soundoff) {
_root.playEffect(_root.antyay);
}
Symbol 2040 MovieClip Frame 167
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2040 MovieClip Frame 180
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2068 MovieClip Frame 1
stop();
Symbol 2068 MovieClip Frame 7
stop();
Symbol 2068 MovieClip Frame 14
stop();
Symbol 2068 MovieClip Frame 22
stop();
Symbol 2079 MovieClip [glassbreak] Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.glassbreak);
}
Symbol 2079 MovieClip [glassbreak] Frame 30
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 2083 MovieClip Frame 121
_root.lives = _root.lives - 1;
_parent._parent.damaged.play();
_parent.gotoAndPlay("done");
Symbol 2100 MovieClip Frame 48
_parent.drinking = true;
_parent.gotoAndPlay("done");
Symbol 2108 MovieClip Frame 48
_parent.drinking = true;
_parent.gotoAndPlay("done");
Symbol 2115 MovieClip Frame 48
_parent.drinking = true;
_parent.gotoAndPlay("done");
Symbol 2117 MovieClip Frame 1
stop();
var timecounter = 0;
var drinking = false;
var randomdrink = 0;
Instance of Symbol 1013 MovieClip in Symbol 2117 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.gamefreeze) {
_parent.timecounter = random(90);
if ((_parent.timecounter < 2) && (!_parent.drinking)) {
if (!_root.soundoff) {
_root.playEffect(_root.guyhey);
}
_parent.timecounter = 100;
_parent.randomdrink = random(3);
if (_parent.randomdrink == 0) {
_parent._parent.guy1d1 = true;
_parent.gotoAndStop("drink1");
}
if (_parent.randomdrink == 1) {
_parent._parent.guy1d2 = true;
_parent.gotoAndStop("drink2");
}
if (_parent.randomdrink == 2) {
_parent._parent.guy1d3 = true;
_parent.gotoAndStop("drink3");
}
}
}
}
Symbol 2117 MovieClip Frame 9
stop();
Symbol 2117 MovieClip Frame 20
stop();
Symbol 2117 MovieClip Frame 32
stop();
Symbol 2117 MovieClip Frame 46
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2117 MovieClip Frame 58
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2117 MovieClip Frame 71
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2117 MovieClip Frame 85
play();
if (drinking) {
_parent.spawnglass1 = true;
}
_parent.guy1d1 = false;
_parent.guy1d2 = false;
_parent.guy1d3 = false;
drinking = false;
timecounter = 0;
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
Symbol 2117 MovieClip Frame 146
gotoAndStop (1);
Symbol 2125 MovieClip Frame 1
stop();
var timecounter = 0;
var drinking = false;
var randomdrink = 0;
Instance of Symbol 1013 MovieClip in Symbol 2125 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.gamefreeze) {
_parent.timecounter = random(90);
if ((_parent.timecounter < 2) && (!_parent.drinking)) {
if (!_root.soundoff) {
_root.playEffect(_root.guyhey);
}
_parent.timecounter = 100;
_parent.randomdrink = random(3);
if (_parent.randomdrink == 0) {
_parent._parent.guy2d1 = true;
_parent.gotoAndStop("drink1");
}
if (_parent.randomdrink == 1) {
_parent._parent.guy2d2 = true;
_parent.gotoAndStop("drink2");
}
if (_parent.randomdrink == 2) {
_parent._parent.guy2d3 = true;
_parent.gotoAndStop("drink3");
}
}
}
}
Symbol 2125 MovieClip Frame 9
stop();
Symbol 2125 MovieClip Frame 20
stop();
Symbol 2125 MovieClip Frame 32
stop();
Symbol 2125 MovieClip Frame 46
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2125 MovieClip Frame 58
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2125 MovieClip Frame 71
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2125 MovieClip Frame 85
play();
if (drinking) {
_parent.spawnglass2 = true;
}
_parent.guy2d1 = false;
_parent.guy2d2 = false;
_parent.guy2d3 = false;
drinking = false;
timecounter = 0;
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
Symbol 2125 MovieClip Frame 146
gotoAndStop (1);
Symbol 2133 MovieClip Frame 1
stop();
var timecounter = 0;
var drinking = false;
var randomdrink = 0;
Instance of Symbol 1013 MovieClip in Symbol 2133 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.gamefreeze) {
_parent.timecounter = random(90);
if ((_parent.timecounter < 2) && (!_parent.drinking)) {
if (!_root.soundoff) {
_root.playEffect(_root.guyhey);
}
_parent.timecounter = 100;
_parent.randomdrink = random(3);
if (_parent.randomdrink == 0) {
_parent._parent.guy3d1 = true;
_parent.gotoAndStop("drink1");
}
if (_parent.randomdrink == 1) {
_parent._parent.guy3d2 = true;
_parent.gotoAndStop("drink2");
}
if (_parent.randomdrink == 2) {
_parent._parent.guy3d3 = true;
_parent.gotoAndStop("drink3");
}
}
}
}
Symbol 2133 MovieClip Frame 9
stop();
Symbol 2133 MovieClip Frame 20
stop();
Symbol 2133 MovieClip Frame 32
stop();
Symbol 2133 MovieClip Frame 46
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2133 MovieClip Frame 58
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2133 MovieClip Frame 71
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2133 MovieClip Frame 85
play();
if (drinking) {
_parent.spawnglass3 = true;
}
_parent.guy3d1 = false;
_parent.guy3d2 = false;
_parent.guy3d3 = false;
drinking = false;
timecounter = 0;
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
Symbol 2133 MovieClip Frame 146
gotoAndStop (1);
Symbol 2141 MovieClip Frame 1
stop();
var timecounter = 0;
var drinking = false;
var randomdrink = 0;
Instance of Symbol 1013 MovieClip in Symbol 2141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.gamefreeze) {
_parent.timecounter = random(90);
if ((_parent.timecounter < 2) && (!_parent.drinking)) {
if (!_root.soundoff) {
_root.playEffect(_root.guyhey);
}
_parent.timecounter = 100;
_parent.randomdrink = random(3);
if (_parent.randomdrink == 0) {
_parent._parent.guy4d1 = true;
_parent.gotoAndStop("drink1");
}
if (_parent.randomdrink == 1) {
_parent._parent.guy4d2 = true;
_parent.gotoAndStop("drink2");
}
if (_parent.randomdrink == 2) {
_parent._parent.guy4d3 = true;
_parent.gotoAndStop("drink3");
}
}
}
}
Symbol 2141 MovieClip Frame 9
stop();
Symbol 2141 MovieClip Frame 20
stop();
Symbol 2141 MovieClip Frame 32
stop();
Symbol 2141 MovieClip Frame 46
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2141 MovieClip Frame 58
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2141 MovieClip Frame 71
stop();
if (!_root.soundoff) {
_root.playEffect(_root.thanks);
}
Symbol 2141 MovieClip Frame 85
play();
if (drinking) {
_parent.spawnglass4 = true;
}
_parent.guy4d1 = false;
_parent.guy4d2 = false;
_parent.guy4d3 = false;
drinking = false;
timecounter = 0;
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
Symbol 2141 MovieClip Frame 146
gotoAndStop (1);
Symbol 2142 MovieClip Frame 1
function moveDrinks() {
var _local4 = 0;
while (_local4 < drinks.length) {
var _local3 = drinks[_local4];
if (!_root.gamefreeze) {
if (!_local3.drop) {
_local3._x = _local3._x + _local3.xspeedy;
}
if (_local3._x > 300) {
_local3.drop = true;
}
if (_local3.drop && (!_local3.floored)) {
_local3._x = _local3._x + (_local3.xspeedy / 2);
_local3._y = _local3._y + _local3.yspeedy;
_local3.yspeedy = _local3.yspeedy + 1;
if (((_local3.hitarea.hitTest(droparea1) or _local3.hitarea.hitTest(droparea2)) or _local3.hitarea.hitTest(droparea3)) or _local3.hitarea.hitTest(droparea4)) {
br = this.attachMovie("glassbreak", "clddaa" + effcv, effcv + 100);
effcv++;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
br._x = _local3._x;
br._y = _local3._y;
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
}
if (_local3.hitarea.hitTest(guy1.hitarea)) {
if ((_local3.t == 1) && (guy1d1)) {
_root.score = _root.score + (1 * _root.multiplier);
guy1.gotoAndStop("drinking1");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 2) && (guy1d2)) {
_root.score = _root.score + (1 * _root.multiplier);
guy1.gotoAndStop("drinking2");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 3) && (guy1d3)) {
_root.score = _root.score + (1 * _root.multiplier);
guy1.gotoAndStop("drinking3");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
}
if (_local3.hitarea.hitTest(guy2.hitarea)) {
if ((_local3.t == 1) && (guy2d1)) {
_root.score = _root.score + (1 * _root.multiplier);
guy2.gotoAndStop("drinking1");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 2) && (guy2d2)) {
_root.score = _root.score + (1 * _root.multiplier);
guy2.gotoAndStop("drinking2");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 3) && (guy2d3)) {
_root.score = _root.score + (1 * _root.multiplier);
guy2.gotoAndStop("drinking3");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
}
if (_local3.hitarea.hitTest(guy3.hitarea)) {
if ((_local3.t == 1) && (guy3d1)) {
_root.score = _root.score + (1 * _root.multiplier);
guy3.gotoAndStop("drinking1");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 2) && (guy3d2)) {
_root.score = _root.score + (1 * _root.multiplier);
guy3.gotoAndStop("drinking2");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 3) && (guy3d3)) {
_root.score = _root.score + (1 * _root.multiplier);
guy3.gotoAndStop("drinking3");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
}
if (_local3.hitarea.hitTest(guy4.hitarea)) {
if ((_local3.t == 1) && (guy4d1)) {
_root.score = _root.score + (1 * _root.multiplier);
guy4.gotoAndStop("drinking1");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 2) && (guy4d2)) {
_root.score = _root.score + (1 * _root.multiplier);
guy4.gotoAndStop("drinking2");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
if ((_local3.t == 3) && (guy4d3)) {
_root.score = _root.score + (1 * _root.multiplier);
guy4.gotoAndStop("drinking3");
_local3.unloadMovie();
_local3.removeMovieClip();
drinks.splice(_local4, 1);
_local4--;
}
}
}
_local4++;
}
}
function moveEmptydrinks() {
var _local4 = 0;
while (_local4 < emptydrinks.length) {
var _local3 = emptydrinks[_local4];
if (!_root.gamefreeze) {
if (!_local3.drop) {
_local3._x = _local3._x - _local3.xspeedy;
}
if (_local3._x < 58) {
_local3.drop = true;
}
if (_local3.drop && (!_local3.floored)) {
_local3._x = _local3._x - (_local3.xspeedy / 2);
_local3._y = _local3._y + _local3.yspeedy;
_local3.yspeedy = _local3.yspeedy + 1;
if (((_local3.hitarea.hitTest(droparea7) or _local3.hitarea.hitTest(droparea5)) or _local3.hitarea.hitTest(droparea6)) or _local3.hitarea.hitTest(droparea8)) {
br = this.attachMovie("glassbreak", "clddaa" + effcv, 0 + _local3.depth);
effcv++;
if (!_root.soundoff) {
_root.playEffect(_root.glassbreak);
}
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
br._x = _local3._x;
br._y = _local3._y;
_local3.unloadMovie();
_local3.removeMovieClip();
emptydrinks.splice(_local4, 1);
_local4--;
}
}
if (_local3.hitarea.hitTest(barman.barman2.hitarea)) {
if (!_root.soundoff) {
_root.playEffect(_root.grabglass);
}
_root.score = _root.score + 3;
_local3.unloadMovie();
_local3.removeMovieClip();
emptydrinks.splice(_local4, 1);
_local4--;
}
}
_local4++;
}
}
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 10;
var served = 0;
var b1 = true;
var b2 = false;
var b3 = false;
var b4 = false;
var effcv = 1;
var glassspeed = 6;
var fallspeed = 0;
var guy1d1 = false;
var guy1d2 = false;
var guy1d3 = false;
var guy2d1 = false;
var guy2d2 = false;
var guy2d3 = false;
var guy3d1 = false;
var guy3d2 = false;
var guy3d3 = false;
var guy4d1 = false;
var guy4d2 = false;
var guy4d3 = false;
var spawnglass1 = false;
var spawnglass2 = false;
var spawnglass3 = false;
var spawnglass4 = false;
var updown = false;
var downdown = false;
var adown = false;
var sdown = false;
var ddown = false;
damaged.swapDepths(30022);
hp.swapDepths(30020);
barfront.swapDepths(30000);
barman.swapDepths(15000);
tap3.swapDepths(14000);
tap2.swapDepths(13000);
tap1.swapDepths(12000);
bartop.swapDepths(10000);
guy1.swapDepths(14001);
guy2.swapDepths(13001);
guy3.swapDepths(12001);
guy4.swapDepths(10004);
drinks = new Array();
emptydrinks = new Array();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop8.stop();
_root.loopstarted8 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted8)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop8.start(0, 999);
_root.loop8.setVolume(_root.bgvolume);
_root.loopstarted8 = true;
}
if (!_root.gamefreeze) {
moveEmptydrinks();
moveDrinks();
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (_root.youwin) {
_root.gamefreeze = true;
}
if (spawnglass1) {
spawnglass1 = false;
e = this.attachMovie("empty", "cloccudaa" + effcv, effcv + 25000);
effcv++;
e._x = 252;
e._y = 345;
e.depth = 25000;
e.drop = false;
e.xspeedy = glassspeed;
e.yspeedy = fallspeed;
emptydrinks.push(e);
}
if (spawnglass2) {
spawnglass2 = false;
e = this.attachMovie("empty", "cloccudaa" + effcv, effcv + 13002);
effcv++;
e._x = 252;
e._y = 246;
e.depth = 13003;
e.drop = false;
e.xspeedy = glassspeed;
e.yspeedy = fallspeed;
emptydrinks.push(e);
}
if (spawnglass3) {
spawnglass3 = false;
e = this.attachMovie("empty", "cloccudaa" + effcv, effcv + 12002);
effcv++;
e._x = 252;
e._y = 151;
e.depth = 12003;
e.drop = false;
e.xspeedy = glassspeed;
e.yspeedy = fallspeed;
emptydrinks.push(e);
}
if (spawnglass4) {
spawnglass4 = false;
e = this.attachMovie("empty", "cloccudaa" + effcv, effcv + 10002);
effcv++;
e._x = 252;
e._y = 55;
e.depth = 10003;
e.drop = false;
e.xspeedy = glassspeed;
e.yspeedy = fallspeed;
emptydrinks.push(e);
}
if (!Key.isDown(38)) {
updown = false;
}
if (!Key.isDown(40)) {
downdown = false;
}
if ((Key.isDown(38) && (b1)) && (!updown)) {
updown = true;
barman.gotoAndStop("two");
barman.swapDepths(13900);
b1 = false;
b2 = true;
b3 = false;
b4 = false;
}
if ((Key.isDown(38) && (b2)) && (!updown)) {
updown = true;
barman.gotoAndStop("three");
barman.swapDepths(12900);
b1 = false;
b2 = false;
b3 = true;
b4 = false;
}
if ((Key.isDown(38) && (b3)) && (!updown)) {
updown = true;
barman.gotoAndStop("four");
barman.swapDepths(11900);
b1 = false;
b2 = false;
b3 = false;
b4 = true;
}
if ((Key.isDown(40) && (b4)) && (!down)) {
downdown = true;
barman.gotoAndStop("three");
barman.swapDepths(12900);
b1 = false;
b2 = false;
b3 = true;
b4 = false;
}
if ((Key.isDown(40) && (b3)) && (!downdown)) {
downdown = true;
barman.gotoAndStop("two");
barman.swapDepths(13900);
b1 = false;
b2 = true;
b3 = false;
b4 = false;
}
if ((Key.isDown(40) && (b2)) && (!downdown)) {
downdown = true;
barman.gotoAndStop("one");
barman.swapDepths(15000);
b1 = true;
b2 = false;
b3 = false;
b4 = false;
}
if (!Key.isDown(65)) {
adown = false;
}
if (!Key.isDown(83)) {
sdown = false;
}
if (!Key.isDown(68)) {
ddown = false;
}
if (Key.isDown(65) && (!adown)) {
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
adown = true;
if (b1) {
d = this.attachMovie("drink1", "cloccudaa" + effcv, effcv + 14005);
effcv++;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d._x = 85;
d._y = 316;
d.t = 1;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b2) {
d = this.attachMovie("drink1", "cloccudaa" + effcv, effcv + 13005);
effcv++;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d._x = 85;
d._y = 214;
d.t = 1;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b3) {
d = this.attachMovie("drink1", "cloccudaa" + effcv, effcv + 12005);
effcv++;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d._x = 85;
d._y = 124;
d.t = 1;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b4) {
d = this.attachMovie("drink1", "cloccudaa" + effcv, effcv + 11005);
effcv++;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d._x = 85;
d._y = 25;
d.t = 1;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
}
if (Key.isDown(83) && (!sdown)) {
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
sdown = true;
if (b1) {
d = this.attachMovie("drink2", "cloccudaa" + effcv, effcv + 14001);
effcv++;
d._x = 85;
d._y = 316;
d.t = 2;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b2) {
d = this.attachMovie("drink2", "cloccudaa" + effcv, effcv + 13001);
effcv++;
d._x = 85;
d._y = 214;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d.t = 2;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b3) {
d = this.attachMovie("drink2", "cloccudaa" + effcv, effcv + 12001);
effcv++;
d._x = 85;
d._y = 124;
d.t = 2;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b4) {
d = this.attachMovie("drink2", "cloccudaa" + effcv, effcv + 11001);
effcv++;
d._x = 85;
d._y = 25;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d.t = 2;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
}
if (Key.isDown(68) && (!ddown)) {
if (!_root.soundoff) {
_root.playEffect(_root.glasss);
}
ddown = true;
if (b1) {
d = this.attachMovie("drink3", "cloccudaa" + effcv, effcv + 14001);
effcv++;
d._x = 85;
d._y = 316;
d.t = 3;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b2) {
d = this.attachMovie("drink3", "cloccudaa" + effcv, effcv + 13001);
effcv++;
d._x = 85;
d._y = 214;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d.t = 3;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b3) {
d = this.attachMovie("drink3", "cloccudaa" + effcv, effcv + 12001);
effcv++;
d._x = 85;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d._y = 124;
d.t = 3;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
if (b4) {
d = this.attachMovie("drink3", "cloccudaa" + effcv, effcv + 11001);
effcv++;
d._x = 85;
served = served + 1;
if (served > 29) {
_root.mmm14 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
d._y = 25;
d.t = 3;
d.drop = false;
d.xspeedy = glassspeed;
d.yspeedy = fallspeed;
drinks.push(d);
}
}
}
};
Symbol 2151 MovieClip Frame 1
stop();
Symbol 2151 MovieClip Frame 71
stop();
if (_root.practice) {
quitb._x = -42;
quitb._y = 163;
}
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2151 MovieClip Frame 71
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.youwin = true;
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
}
Symbol 2151 MovieClip Frame 99
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2151 MovieClip Frame 135
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2151 MovieClip Frame 153
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2151 MovieClip Frame 154
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2151 MovieClip Frame 203
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2151 MovieClip Frame 216
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2170 MovieClip Frame 5
if (!_root.soundoff) {
_root.playEffect(_root.step1);
}
Symbol 2170 MovieClip Frame 13
if (!_root.soundoff) {
_root.playEffect(_root.step2);
}
Symbol 2172 MovieClip Frame 1
stop();
Symbol 2172 MovieClip Frame 10
stop();
Symbol 2172 MovieClip Frame 21
if (!_root.soundoff) {
_root.playEffect(_root.scream2);
}
Symbol 2172 MovieClip Frame 45
stop();
Symbol 2184 MovieClip Frame 1
stop();
maskee.cacheAsBitmap = true;
maskMC.cacheAsBitmap = true;
maskee.setMask(maskMC);
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
var treasure = false;
var walking = false;
var faceleft = false;
var faceright = false;
var faceup = true;
var facefown = false;
var guyspeed = 6;
var getx = 0;
var gety = 0;
var dead = false;
var deadtimer = 0;
var randomnum = 0;
if (!treasure) {
treasure = true;
randomnum = random(7);
if (randomnum == 0) {
maskee.treasure._x = maskee.spot1._x;
maskee.treasure._y = maskee.spot1._y;
}
if (randomnum == 1) {
maskee.treasure._x = maskee.spot2._x;
maskee.treasure._y = maskee.spot2._y;
}
if (randomnum == 2) {
maskee.treasure._x = maskee.spot3._x;
maskee.treasure._y = maskee.spot3._y;
}
if (randomnum == 3) {
maskee.treasure._x = maskee.spot4._x;
maskee.treasure._y = maskee.spot4._y;
}
if (randomnum == 4) {
maskee.treasure._x = maskee.spot5._x;
maskee.treasure._y = maskee.spot5._y;
}
if (randomnum == 5) {
maskee.treasure._x = maskee.spot6._x;
maskee.treasure._y = maskee.spot6._y;
}
if (randomnum == 6) {
maskee.treasure._x = maskee.spot7._x;
maskee.treasure._y = maskee.spot7._y;
}
}
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if (!_root.gamefreeze) {
if (maskee.guy.hitarea.hitTest(maskee.treasure)) {
_root.gamefreeze = true;
maskee.guy.gotoAndStop(1);
_parent.gotoAndPlay("success");
}
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (((((((((((((((((((((((maskee.guy.hitarea.hitTest(maskee.hitarea1) or maskee.guy.hitarea.hitTest(maskee.hitarea2)) or maskee.guy.hitarea.hitTest(maskee.hitarea3)) or maskee.guy.hitarea.hitTest(maskee.hitarea4)) or maskee.guy.hitarea.hitTest(maskee.hitarea5)) or maskee.guy.hitarea.hitTest(maskee.hitarea6)) or maskee.guy.hitarea.hitTest(maskee.hitarea7)) or maskee.guy.hitarea.hitTest(maskee.hitarea8)) or maskee.guy.hitarea.hitTest(maskee.hitarea9)) or maskee.guy.hitarea.hitTest(maskee.hitarea10)) or maskee.guy.hitarea.hitTest(maskee.hitarea11)) or maskee.guy.hitarea.hitTest(maskee.hitarea12)) or maskee.guy.hitarea.hitTest(maskee.hitarea13)) or maskee.guy.hitarea.hitTest(maskee.hitarea14)) or maskee.guy.hitarea.hitTest(maskee.hitarea15)) or maskee.guy.hitarea.hitTest(maskee.hitarea16)) or maskee.guy.hitarea.hitTest(maskee.hitarea17)) or maskee.guy.hitarea.hitTest(maskee.hitarea18)) or maskee.guy.hitarea.hitTest(maskee.hitarea19)) or maskee.guy.hitarea.hitTest(maskee.hitarea20)) or maskee.guy.hitarea.hitTest(maskee.hitarea21)) or maskee.guy.hitarea.hitTest(maskee.hitarea22)) or maskee.guy.hitarea.hitTest(maskee.hitarea23)) or (maskee.guy.hitarea.hitTest(maskee.hitarea24) && (!dead))) {
dead = true;
maskee.guy.gotoAndPlay("dead");
}
if (dead) {
deadtimer = deadtimer + 1;
maskMC.light1._alpha = maskMC.light1._alpha - 4;
if (deadtimer > 30) {
maskee.guy._x = 162;
maskee.guy._y = 458;
maskee.light._x = 147;
maskee.light._y = 444;
maskMC.light1._alpha = 100;
maskee.guy.gotoAndStop(1);
if (deadtimer < 32) {
damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
}
}
if (deadtimer > 40) {
dead = false;
deadtimer = 0;
}
}
maskMC.light1._x = maskee.light._x;
maskMC.light1._y = maskee.light._y;
if (!dead) {
if (maskee.guy._x > 345) {
maskee.guy._x = 345;
}
if (maskee.guy._y > 460) {
maskee.guy._y = 460;
}
if (maskee.guy._x < 17) {
maskee.guy._x = 17;
}
if (maskee.guy._y < 11) {
maskee.guy._y = 11;
}
if (maskee.light._x < 10) {
maskee.light._x = 10;
}
if (maskee.light._x > 342) {
maskee.light._x = 342;
}
if (maskee.light._y < 10) {
maskee.light._y = 10;
}
if (maskee.light._y > 458) {
maskee.light._y = 458;
}
if ((((!Key.isDown(37)) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
if (walking) {
walking = false;
}
maskee.guy.gotoAndStop(1);
}
if (Key.isDown(37)) {
if (!walking) {
maskee.guy.gotoAndStop("walking");
walking = true;
}
maskee.guy._x = maskee.guy._x - guyspeed;
maskee.light._x = maskee.light._x - guyspeed;
if (faceup) {
maskee.guy._rotation = maskee.guy._rotation - 90;
faceleft = true;
faceright = false;
faceup = false;
facedown = false;
}
if (facedown) {
maskee.guy._rotation = maskee.guy._rotation + 90;
faceleft = true;
faceright = false;
faceup = false;
facedown = false;
}
if (faceright) {
maskee.guy._rotation = maskee.guy._rotation - 180;
faceleft = true;
faceright = false;
faceup = false;
facedown = false;
}
}
if (Key.isDown(39)) {
if (!walking) {
maskee.guy.gotoAndStop("walking");
walking = true;
}
maskee.guy._x = maskee.guy._x + guyspeed;
maskee.light._x = maskee.light._x + guyspeed;
if (faceup) {
maskee.guy._rotation = maskee.guy._rotation + 90;
faceleft = false;
faceright = true;
faceup = false;
facedown = false;
}
if (facedown) {
maskee.guy._rotation = maskee.guy._rotation - 90;
faceleft = false;
faceright = true;
faceup = false;
facedown = false;
}
if (faceleft) {
maskee.guy._rotation = maskee.guy._rotation + 180;
faceleft = false;
faceright = true;
faceup = false;
facedown = false;
}
}
if (Key.isDown(38)) {
if (!walking) {
maskee.guy.gotoAndStop("walking");
walking = true;
}
maskee.guy._y = maskee.guy._y - guyspeed;
maskee.light._y = maskee.light._y - guyspeed;
if (facedown) {
maskee.guy._rotation = maskee.guy._rotation - 180;
faceleft = false;
faceright = false;
faceup = true;
facedown = false;
}
if (faceright) {
maskee.guy._rotation = maskee.guy._rotation - 90;
faceleft = false;
faceright = false;
faceup = true;
facedown = false;
}
if (faceleft) {
maskee.guy._rotation = maskee.guy._rotation + 90;
faceleft = false;
faceright = false;
faceup = true;
facedown = false;
}
}
if (Key.isDown(40)) {
if (!walking) {
maskee.guy.gotoAndStop("walking");
walking = true;
}
maskee.guy._y = maskee.guy._y + guyspeed;
maskee.light._y = maskee.light._y + guyspeed;
if (faceleft) {
maskee.guy._rotation = maskee.guy._rotation - 90;
faceleft = false;
faceright = false;
faceup = false;
facedown = true;
}
if (faceright) {
maskee.guy._rotation = maskee.guy._rotation + 90;
faceleft = false;
faceright = false;
faceup = false;
facedown = true;
}
if (faceup) {
maskee.guy._rotation = maskee.guy._rotation - 180;
faceleft = false;
faceright = false;
faceup = false;
facedown = true;
}
}
}
}
};
Symbol 2222 MovieClip Frame 29
stop();
Symbol 2225 MovieClip Frame 1
stop();
Symbol 2225 MovieClip Frame 68
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2225 MovieClip Frame 68
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 2225 MovieClip Frame 96
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2225 MovieClip Frame 132
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2225 MovieClip Frame 150
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2225 MovieClip Frame 151
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
if (!_root.soundoff) {
_root.playEffect(_root.getreasure);
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2225 MovieClip Frame 200
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2225 MovieClip Frame 213
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2260 Button
on (press) {
if (!_parent._parent.frozen) {
startDrag (this);
_parent.grabby._alpha = 0;
_parent.redmove = true;
_parent.dragred = true;
if (!_root.soundoff) {
_root.playEffect(_root.grabball);
}
}
}
on (release) {
stopDrag();
_parent.dragred = false;
}
Symbol 2263 Button
on (press) {
if (!_parent._parent.frozen) {
startDrag (this);
_parent.grabby._alpha = 0;
_parent.bluemove = true;
_parent.dragblue = true;
if (!_root.soundoff) {
_root.playEffect(_root.grabball);
}
}
}
on (release) {
stopDrag();
_parent.dragblue = false;
}
Symbol 2266 Button
on (press) {
if (!_parent._parent.frozen) {
startDrag (this);
_parent.grabby._alpha = 0;
_parent.greenmove = true;
_parent.draggreen = true;
if (!_root.soundoff) {
_root.playEffect(_root.grabball);
}
}
}
on (release) {
stopDrag();
_parent.draggreen = false;
}
Symbol 2275 MovieClip Frame 1
function moveBalls() {
var _local3 = 0;
while (_local3 < balls.length) {
var _local2 = balls[_local3];
if (_local2.godown) {
_local2._y = _local2._y + ballspeed;
}
if (_local2.goleft) {
_local2._x = _local2._x - ballspeed;
}
if (_local2.goright) {
_local2._x = _local2._x + ballspeed;
}
if (_local2._y > 410) {
damaged.play();
yourballs = yourballs + 1;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
_local2.unloadMovie();
_local2.removeMovieClip();
balls.splice(_local3, 1);
_local3--;
}
if (_local2.colored == 1) {
if ((((((((_local2.hitarea.hitTest(pipe1.red) or _local2.hitarea.hitTest(pipe2.red)) or _local2.hitarea.hitTest(pipe3.red)) or _local2.hitarea.hitTest(pipe4.red)) or _local2.hitarea.hitTest(pipe5.red)) or _local2.hitarea.hitTest(pipe6.red)) or _local2.hitarea.hitTest(pipe7.red)) or _local2.hitarea.hitTest(pipe8.red)) or _local2.hitarea.hitTest(pipe9.red)) {
if (!_root.soundoff) {
_root.playEffect(_root.hitplatform);
}
ballgetcount = ballgetcount + 1;
yourballs = yourballs + 1;
gotten = gotten + 1;
balls.splice(_local3, 1);
_local3--;
}
}
if (_local2.colored == 2) {
if ((((((((_local2.hitarea.hitTest(pipe1.blue) or _local2.hitarea.hitTest(pipe2.blue)) or _local2.hitarea.hitTest(pipe3.blue)) or _local2.hitarea.hitTest(pipe4.blue)) or _local2.hitarea.hitTest(pipe5.blue)) or _local2.hitarea.hitTest(pipe6.blue)) or _local2.hitarea.hitTest(pipe7.blue)) or _local2.hitarea.hitTest(pipe8.blue)) or _local2.hitarea.hitTest(pipe9.blue)) {
if (!_root.soundoff) {
_root.playEffect(_root.hitplatform);
}
ballgetcount = ballgetcount + 1;
gotten = gotten + 1;
yourballs = yourballs + 1;
balls.splice(_local3, 1);
_local3--;
}
}
if (_local2.colored == 3) {
if ((((((((_local2.hitarea.hitTest(pipe1.green) or _local2.hitarea.hitTest(pipe2.green)) or _local2.hitarea.hitTest(pipe3.green)) or _local2.hitarea.hitTest(pipe4.green)) or _local2.hitarea.hitTest(pipe5.green)) or _local2.hitarea.hitTest(pipe6.green)) or _local2.hitarea.hitTest(pipe7.green)) or _local2.hitarea.hitTest(pipe8.green)) or _local2.hitarea.hitTest(pipe9.green)) {
if (!_root.soundoff) {
_root.playEffect(_root.hitplatform);
}
ballgetcount = ballgetcount + 1;
gotten = gotten + 1;
yourballs = yourballs + 1;
balls.splice(_local3, 1);
_local3--;
}
}
if (_local2.p == 1) {
if ((((((_local2.hitarea.hitTest(pipe1.down) or _local2.hitarea.hitTest(pipe1.down1)) or _local2.hitarea.hitTest(pipe1.down2)) or _local2.hitarea.hitTest(pipe1.down3)) or _local2.hitarea.hitTest(pipe1.down4)) or _local2.hitarea.hitTest(pipe1.down5)) or _local2.hitarea.hitTest(pipe1.down6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if ((((((_local2.hitarea.hitTest(pipe1.right0) or _local2.hitarea.hitTest(pipe1.right1)) or _local2.hitarea.hitTest(pipe1.right1)) or _local2.hitarea.hitTest(pipe1.right2)) or _local2.hitarea.hitTest(pipe1.right3)) or _local2.hitarea.hitTest(pipe1.right4)) or _local2.hitarea.hitTest(pipe1.right5)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe1.left1) or _local2.hitarea.hitTest(pipe1.left2)) or _local2.hitarea.hitTest(pipe1.left3)) or _local2.hitarea.hitTest(pipe1.left4)) or _local2.hitarea.hitTest(pipe1.left5)) or _local2.hitarea.hitTest(pipe1.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 2) {
if (((((((_local2.hitarea.hitTest(pipe2.down) or _local2.hitarea.hitTest(pipe2.down1)) or _local2.hitarea.hitTest(pipe2.down2)) or _local2.hitarea.hitTest(pipe2.down3)) or _local2.hitarea.hitTest(pipe2.down4)) or _local2.hitarea.hitTest(pipe2.down5)) or _local2.hitarea.hitTest(pipe2.down6)) or _local2.hitarea.hitTest(pipe2.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe2.right0) or _local2.hitarea.hitTest(pipe2.right1)) or _local2.hitarea.hitTest(pipe2.right1)) or _local2.hitarea.hitTest(pipe2.right2)) or _local2.hitarea.hitTest(pipe2.right3)) or _local2.hitarea.hitTest(pipe2.right4)) or _local2.hitarea.hitTest(pipe2.right5)) or _local2.hitarea.hitTest(pipe2.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe2.left1) or _local2.hitarea.hitTest(pipe2.left2)) or _local2.hitarea.hitTest(pipe2.left3)) or _local2.hitarea.hitTest(pipe2.left4)) or _local2.hitarea.hitTest(pipe2.left5)) or _local2.hitarea.hitTest(pipe2.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 3) {
if (((((((_local2.hitarea.hitTest(pipe3.down) or _local2.hitarea.hitTest(pipe3.down1)) or _local2.hitarea.hitTest(pipe3.down2)) or _local2.hitarea.hitTest(pipe3.down3)) or _local2.hitarea.hitTest(pipe3.down4)) or _local2.hitarea.hitTest(pipe3.down5)) or _local2.hitarea.hitTest(pipe3.down6)) or _local2.hitarea.hitTest(pipe3.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe3.right0) or _local2.hitarea.hitTest(pipe3.right1)) or _local2.hitarea.hitTest(pipe3.right1)) or _local2.hitarea.hitTest(pipe3.right2)) or _local2.hitarea.hitTest(pipe3.right3)) or _local2.hitarea.hitTest(pipe3.right4)) or _local2.hitarea.hitTest(pipe3.right5)) or _local2.hitarea.hitTest(pipe3.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe3.left1) or _local2.hitarea.hitTest(pipe3.left2)) or _local2.hitarea.hitTest(pipe3.left3)) or _local2.hitarea.hitTest(pipe3.left4)) or _local2.hitarea.hitTest(pipe3.left5)) or _local2.hitarea.hitTest(pipe3.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 4) {
if (((((((_local2.hitarea.hitTest(pipe4.down) or _local2.hitarea.hitTest(pipe4.down1)) or _local2.hitarea.hitTest(pipe4.down2)) or _local2.hitarea.hitTest(pipe4.down3)) or _local2.hitarea.hitTest(pipe4.down4)) or _local2.hitarea.hitTest(pipe4.down5)) or _local2.hitarea.hitTest(pipe4.down6)) or _local2.hitarea.hitTest(pipe4.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe4.right0) or _local2.hitarea.hitTest(pipe4.right1)) or _local2.hitarea.hitTest(pipe4.right1)) or _local2.hitarea.hitTest(pipe4.right2)) or _local2.hitarea.hitTest(pipe4.right3)) or _local2.hitarea.hitTest(pipe4.right4)) or _local2.hitarea.hitTest(pipe4.right5)) or _local2.hitarea.hitTest(pipe4.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe4.left1) or _local2.hitarea.hitTest(pipe4.left2)) or _local2.hitarea.hitTest(pipe4.left3)) or _local2.hitarea.hitTest(pipe4.left4)) or _local2.hitarea.hitTest(pipe4.left5)) or _local2.hitarea.hitTest(pipe4.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 5) {
if (((((((_local2.hitarea.hitTest(pipe5.down) or _local2.hitarea.hitTest(pipe5.down1)) or _local2.hitarea.hitTest(pipe5.down2)) or _local2.hitarea.hitTest(pipe5.down3)) or _local2.hitarea.hitTest(pipe5.down4)) or _local2.hitarea.hitTest(pipe5.down5)) or _local2.hitarea.hitTest(pipe5.down6)) or _local2.hitarea.hitTest(pipe5.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe5.right0) or _local2.hitarea.hitTest(pipe5.right1)) or _local2.hitarea.hitTest(pipe5.right1)) or _local2.hitarea.hitTest(pipe5.right2)) or _local2.hitarea.hitTest(pipe5.right3)) or _local2.hitarea.hitTest(pipe5.right4)) or _local2.hitarea.hitTest(pipe5.right5)) or _local2.hitarea.hitTest(pipe5.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe5.left1) or _local2.hitarea.hitTest(pipe5.left2)) or _local2.hitarea.hitTest(pipe5.left3)) or _local2.hitarea.hitTest(pipe5.left4)) or _local2.hitarea.hitTest(pipe5.left5)) or _local2.hitarea.hitTest(pipe5.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 6) {
if (((((((_local2.hitarea.hitTest(pipe6.down) or _local2.hitarea.hitTest(pipe6.down1)) or _local2.hitarea.hitTest(pipe6.down2)) or _local2.hitarea.hitTest(pipe6.down3)) or _local2.hitarea.hitTest(pipe6.down4)) or _local2.hitarea.hitTest(pipe6.down5)) or _local2.hitarea.hitTest(pipe6.down6)) or _local2.hitarea.hitTest(pipe6.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe6.right0) or _local2.hitarea.hitTest(pipe6.right1)) or _local2.hitarea.hitTest(pipe6.right1)) or _local2.hitarea.hitTest(pipe6.right2)) or _local2.hitarea.hitTest(pipe6.right3)) or _local2.hitarea.hitTest(pipe6.right4)) or _local2.hitarea.hitTest(pipe6.right5)) or _local2.hitarea.hitTest(pipe6.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe6.left1) or _local2.hitarea.hitTest(pipe6.left2)) or _local2.hitarea.hitTest(pipe6.left3)) or _local2.hitarea.hitTest(pipe6.left4)) or _local2.hitarea.hitTest(pipe6.left5)) or _local2.hitarea.hitTest(pipe6.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 7) {
if (((((((_local2.hitarea.hitTest(pipe3.down) or _local2.hitarea.hitTest(pipe7.down1)) or _local2.hitarea.hitTest(pipe7.down2)) or _local2.hitarea.hitTest(pipe7.down3)) or _local2.hitarea.hitTest(pipe7.down4)) or _local2.hitarea.hitTest(pipe7.down5)) or _local2.hitarea.hitTest(pipe7.down6)) or _local2.hitarea.hitTest(pipe7.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe7.right0) or _local2.hitarea.hitTest(pipe7.right1)) or _local2.hitarea.hitTest(pipe7.right1)) or _local2.hitarea.hitTest(pipe7.right2)) or _local2.hitarea.hitTest(pipe7.right3)) or _local2.hitarea.hitTest(pipe7.right4)) or _local2.hitarea.hitTest(pipe7.right5)) or _local2.hitarea.hitTest(pipe7.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe7.left1) or _local2.hitarea.hitTest(pipe7.left2)) or _local2.hitarea.hitTest(pipe7.left3)) or _local2.hitarea.hitTest(pipe7.left4)) or _local2.hitarea.hitTest(pipe7.left5)) or _local2.hitarea.hitTest(pipe7.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 8) {
if (((((((_local2.hitarea.hitTest(pipe8.down) or _local2.hitarea.hitTest(pipe8.down1)) or _local2.hitarea.hitTest(pipe8.down2)) or _local2.hitarea.hitTest(pipe8.down3)) or _local2.hitarea.hitTest(pipe8.down4)) or _local2.hitarea.hitTest(pipe8.down5)) or _local2.hitarea.hitTest(pipe8.down6)) or _local2.hitarea.hitTest(pipe8.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe8.right0) or _local2.hitarea.hitTest(pipe8.right1)) or _local2.hitarea.hitTest(pipe8.right1)) or _local2.hitarea.hitTest(pipe8.right2)) or _local2.hitarea.hitTest(pipe8.right3)) or _local2.hitarea.hitTest(pipe8.right4)) or _local2.hitarea.hitTest(pipe8.right5)) or _local2.hitarea.hitTest(pipe8.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe8.left1) or _local2.hitarea.hitTest(pipe8.left2)) or _local2.hitarea.hitTest(pipe8.left3)) or _local2.hitarea.hitTest(pipe8.left4)) or _local2.hitarea.hitTest(pipe8.left5)) or _local2.hitarea.hitTest(pipe8.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
if (_local2.p == 9) {
if (((((((_local2.hitarea.hitTest(pipe9.down) or _local2.hitarea.hitTest(pipe9.down1)) or _local2.hitarea.hitTest(pipe9.down2)) or _local2.hitarea.hitTest(pipe9.down3)) or _local2.hitarea.hitTest(pipe9.down4)) or _local2.hitarea.hitTest(pipe9.down5)) or _local2.hitarea.hitTest(pipe9.down6)) or _local2.hitarea.hitTest(pipe9.down7)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = true;
_local2.goright = false;
_local2.goleft = false;
}
if (((((((_local2.hitarea.hitTest(pipe9.right0) or _local2.hitarea.hitTest(pipe9.right1)) or _local2.hitarea.hitTest(pipe9.right1)) or _local2.hitarea.hitTest(pipe9.right2)) or _local2.hitarea.hitTest(pipe9.right3)) or _local2.hitarea.hitTest(pipe9.right4)) or _local2.hitarea.hitTest(pipe9.right5)) or _local2.hitarea.hitTest(pipe9.right6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = true;
_local2.goleft = false;
}
if (((((_local2.hitarea.hitTest(pipe9.left1) or _local2.hitarea.hitTest(pipe9.left2)) or _local2.hitarea.hitTest(pipe9.left3)) or _local2.hitarea.hitTest(pipe9.left4)) or _local2.hitarea.hitTest(pipe9.left5)) or _local2.hitarea.hitTest(pipe9.left6)) {
if (!_root.soundoff) {
_root.playEffect(_root.pipehit);
}
_local2.godown = false;
_local2.goright = false;
_local2.goleft = true;
}
}
_local3++;
}
}
stop();
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 3;
var gotten = 0;
var gettime = 0;
var balldrops = 0;
var greenmove = false;
var bluemove = false;
var redmove = false;
var pipeset1 = false;
var pipeset2 = false;
var pipeset3 = false;
var pipeset4 = false;
var pipeset5 = false;
var pipeset6 = false;
var pipeset7 = false;
var pipeset8 = false;
var pipeset9 = false;
var randomnum = 0;
var dropspeed1 = 0;
var dropspeed2 = 0;
var dropspeed3 = 0;
effcv = 1;
var ballspeed = 6;
var ballgetcount = 0;
var yourballs = 0;
var p1 = false;
var p2 = false;
var p3 = false;
var p4 = false;
var p5 = false;
var p6 = false;
var p7 = false;
var p8 = false;
var placered = false;
var placegreen = false;
var placeblue = false;
var dragred = false;
var dragblue = false;
var draggreen = false;
var redhigh = false;
var greenhigh = false;
var bluehigh = false;
damaged.swapDepths(20000);
hp.swapDepths(19002);
grabby.swapDepths(19000);
grass.swapDepths(10100);
tops.swapDepths(10200);
grasstop.swapDepths(10300);
redball.swapDepths(10400);
blueball.swapDepths(10500);
greenball.swapDepths(10600);
balls = new Array();
if (!pipeset1) {
pipe1.swapDepths(10000);
pipeset1 = true;
}
if (!pipeset2) {
randomnum = random(2);
if (randomnum == 0) {
pipe2.swapDepths(10000 + effcv);
effcv++;
pipeset2 = true;
}
if (randomnum == 1) {
pipe2.swapDepths(10000 - effcv);
effcv++;
pipeset2 = true;
}
}
if (!pipeset3) {
randomnum = random(2);
if (randomnum == 0) {
pipe3.swapDepths(10000 + effcv);
effcv++;
pipeset3 = true;
}
if (randomnum == 1) {
pipe3.swapDepths(10000 - effcv);
effcv++;
pipeset3 = true;
}
}
if (!pipeset4) {
randomnum = random(2);
if (randomnum == 0) {
pipe4.swapDepths(10000 + effcv);
effcv++;
pipeset4 = true;
}
if (randomnum == 1) {
pipe4.swapDepths(10000 - effcv);
effcv++;
pipeset4 = true;
}
}
if (!pipeset5) {
randomnum = random(2);
if (randomnum == 0) {
pipe5.swapDepths(10000 + effcv);
effcv++;
pipeset5 = true;
}
if (randomnum == 1) {
pipe5.swapDepths(10000 - effcv);
effcv++;
pipeset5 = true;
}
}
if (!pipeset6) {
randomnum = random(2);
if (randomnum == 0) {
pipe6.swapDepths(10000 + effcv);
effcv++;
pipeset6 = true;
}
if (randomnum == 1) {
pipe6.swapDepths(10000 - effcv);
effcv++;
pipeset6 = true;
}
}
if (!pipeset7) {
randomnum = random(2);
if (randomnum == 0) {
pipe7.swapDepths(10000 + effcv);
effcv++;
pipeset7 = true;
}
if (randomnum == 1) {
pipe7.swapDepths(10000 - effcv);
effcv++;
pipeset7 = true;
}
}
if (!pipeset8) {
randomnum = random(2);
if (randomnum == 0) {
pipe8.swapDepths(10000 + effcv);
effcv++;
pipeset8 = true;
}
if (randomnum == 1) {
pipe8.swapDepths(10000 - effcv);
effcv++;
pipeset8 = true;
}
}
if (!pipeset9) {
randomnum = random(2);
if (randomnum == 0) {
pipe9.swapDepths(10000 + effcv);
effcv++;
pipeset9 = true;
}
if (randomnum == 1) {
pipe9.swapDepths(10000 - effcv);
effcv++;
pipeset9 = true;
}
}
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop6.stop();
_root.loopstarted6 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted6)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop6.start(0, 999);
_root.loop6.setVolume(_root.bgvolume);
_root.loopstarted6 = true;
}
if (!_root.gamefreeze) {
if (balldrops == 3) {
gettime = _root.timeleft;
_root.infinite = true;
}
if (ballgetcount == 3) {
_root.score = _root.score + (gettime * _root.multiplier);
}
moveBalls();
if (redball._x < 5) {
redball._x = 5;
redball.stopDrag();
dragred = false;
}
if (redball._x > 340) {
redball._x = 340;
redball.stopDrag();
dragred = false;
}
if (redball._y < 5) {
redball._y = 5;
redball.stopDrag();
dragred = false;
}
if (redball._y > 134) {
redball._y = 134;
redball.stopDrag();
dragred = false;
}
if (blueball._x < 5) {
blueball._x = 5;
blueball.stopDrag();
dragblue = false;
}
if (blueball._x > 340) {
blueball._x = 340;
blueball.stopDrag();
dragblue = false;
}
if (blueball._y < 5) {
blueball._y = 5;
blueball.stopDrag();
dragblue = false;
}
if (blueball._y > 134) {
blueball._y = 134;
blueball.stopDrag();
dragblue = false;
}
if (greenball._x < 5) {
greenball._x = 5;
greenball.stopDrag();
draggreen = false;
}
if (greenball._x > 340) {
greenball._x = 340;
greenball.stopDrag();
draggreen = false;
}
if (greenball._y < 5) {
greenball._y = 5;
greenball.stopDrag();
draggreen = false;
}
if (greenball._y > 134) {
greenball._y = 134;
bgreenball.stopDrag();
draggreen = false;
}
if ((yourballs > 2) && (ballgetcount < 3)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (ballgetcount == 3) {
_root.gamefreeze = true;
if (gotten > 2) {
_root.mmm15 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
_parent.gotoAndPlay("success");
}
if (!placegreen) {
randomnum = random(9);
if ((randomnum == 0) && (!p1)) {
p1 = true;
placegreen = true;
pipe1.green._x = 183;
}
if ((randomnum == 1) && (!p2)) {
p2 = true;
placegreen = true;
pipe2.green._x = 21;
}
if ((randomnum == 2) && (!p3)) {
p3 = true;
placegreen = true;
pipe3.green._x = 86;
}
if ((randomnum == 3) && (!p4)) {
p4 = true;
placegreen = true;
pipe4.green._x = 142;
}
if ((randomnum == 4) && (!p5)) {
p5 = true;
placegreen = true;
pipe5.green._x = 311;
}
if ((randomnum == 5) && (!p6)) {
p6 = true;
placegreen = true;
pipe6.green._x = 0;
}
if ((randomnum == 6) && (!p7)) {
p7 = true;
placegreen = true;
pipe7.green._x = 126;
}
if ((randomnum == 7) && (!p8)) {
p8 = true;
placegreen = true;
pipe8.green._x = 0;
}
if ((randomnum == 8) && (!p9)) {
p9 = true;
placegreen = true;
pipe9.green._x = 157;
}
}
if (!placeblue) {
randomnum = random(9);
if ((randomnum == 0) && (!p1)) {
p1 = true;
placeblue = true;
pipe1.blue._x = 183;
}
if ((randomnum == 1) && (!p2)) {
p2 = true;
placeblue = true;
pipe2.blue._x = 21;
}
if ((randomnum == 2) && (!p3)) {
p3 = true;
placeblue = true;
pipe3.blue._x = 86;
}
if ((randomnum == 3) && (!p4)) {
p4 = true;
placeblue = true;
pipe4.blue._x = 142;
}
if ((randomnum == 4) && (!p5)) {
p5 = true;
placeblue = true;
pipe5.blue._x = 311;
}
if ((randomnum == 5) && (!p6)) {
p6 = true;
placeblue = true;
pipe6.blue._x = 0;
}
if ((randomnum == 6) && (!p7)) {
p7 = true;
placeblue = true;
pipe7.blue._x = 126;
}
if ((randomnum == 7) && (!p8)) {
p8 = true;
placeblue = true;
pipe8.blue._x = 0;
}
if ((randomnum == 8) && (!p9)) {
p9 = true;
placeblue = true;
pipe9.blue._x = 157;
}
}
if (!placered) {
randomnum = random(9);
if ((randomnum == 0) && (!p1)) {
p1 = true;
placered = true;
pipe1.red._x = 183;
}
if ((randomnum == 1) && (!p2)) {
p2 = true;
placered = true;
pipe2.red._x = 21;
}
if ((randomnum == 2) && (!p3)) {
p3 = true;
placered = true;
pipe3.red._x = 86;
}
if ((randomnum == 3) && (!p4)) {
p1 = true;
placered = true;
pipe4.red._x = 142;
}
if ((randomnum == 4) && (!p5)) {
p5 = true;
placered = true;
pipe5.red._x = 311;
}
if ((randomnum == 5) && (!p6)) {
p6 = true;
placered = true;
pipe6.red._x = 0;
}
if ((randomnum == 6) && (!p7)) {
p7 = true;
placered = true;
pipe7.red._x = 126;
}
if ((randomnum == 7) && (!p8)) {
p8 = true;
placered = true;
pipe8.red._x = 0;
}
if ((randomnum == 8) && (!p9)) {
p9 = true;
placered = true;
pipe9.red._x = 157;
}
}
if (redmove) {
if (redball._y < 52) {
redhigh = true;
}
if ((!dragred) && (redball._y < 82)) {
dropspeed1 = dropspeed1 + 1;
redball._y = redball._y + dropspeed1;
if (redhigh) {
if (redball.hitTest(dropzone1)) {
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
balldrops = balldrops + 1;
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe1.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 1;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 8;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone2)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe2.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 2;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 8;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone3)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe3.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 3;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 67;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone4)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe4.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.colored = 1;
rb.p = 4;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 7;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone5)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe5.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 5;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 154;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone6)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe6.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 6;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 167;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone7)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe7.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 7;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 74;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone8)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe8.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 8;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 140;
rb._y = 2;
balls.push(rb);
}
if (redball.hitTest(dropzone9)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
redball.unloadMovie();
redball.removeMovieClip();
rb = pipe9.attachMovie("ballred", "clocca" + effcv, effcv + 100);
effcv++;
rb.p = 9;
rb.colored = 1;
rb.godown = true;
rb.goleft = false;
rb.goright = false;
rb._x = 255;
rb._y = 2;
balls.push(rb);
}
}
}
if (redball._y > 81) {
redball._y = 81;
redhigh = false;
dropspeed1 = 0;
}
}
if (bluemove) {
if (blueball._y < 52) {
bluehigh = true;
}
if ((!dragblue) && (blueball._y < 82)) {
dropspeed2 = dropspeed2 + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball._y = blueball._y + dropspeed2;
if (bluehigh) {
if (blueball.hitTest(dropzone1)) {
balldrops = balldrops + 1;
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe1.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 1;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 8;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone2)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe2.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 2;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 8;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone3)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe3.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 3;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 67;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone4)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe4.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 4;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 7;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone5)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe5.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 5;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 154;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone6)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe6.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 6;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 167;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone7)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe7.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 7;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 74;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone8)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe8.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 8;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 140;
bb._y = 2;
balls.push(bb);
}
if (blueball.hitTest(dropzone9)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
blueball.unloadMovie();
blueball.removeMovieClip();
bb = pipe9.attachMovie("ballblue", "clocca" + effcv, effcv + 100);
effcv++;
bb.p = 9;
bb.colored = 2;
bb.godown = true;
bb.goleft = false;
bb.goright = false;
bb._x = 255;
bb._y = 2;
balls.push(bb);
}
}
}
if (blueball._y > 81) {
blueball._y = 81;
bluehigh = false;
dropspeed2 = 0;
}
}
if (greenmove) {
if (greenball._y < 52) {
greenhigh = true;
}
if ((!draggreen) && (greenball._y < 82)) {
dropspeed3 = dropspeed3 + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball._y = greenball._y + dropspeed3;
if (greenhigh) {
if (greenball.hitTest(dropzone1)) {
balldrops = balldrops + 1;
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe1.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 1;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 8;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone2)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe2.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 2;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 8;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone3)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe3.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 3;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 67;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone4)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe4.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 4;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 7;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone5)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe5.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 5;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 154;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone6)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe6.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 6;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 167;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone7)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe7.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 7;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 74;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone8)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe8.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 8;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 140;
gb._y = 2;
balls.push(gb);
}
if (greenball.hitTest(dropzone9)) {
balldrops = balldrops + 1;
if (!_root.soundoff) {
_root.playEffect(_root.enterpipe);
}
greenball.unloadMovie();
greenball.removeMovieClip();
gb = pipe9.attachMovie("ballgreen", "clocca" + effcv, effcv - 100);
effcv++;
gb.p = 9;
gb.colored = 3;
gb.godown = true;
gb.goleft = false;
gb.goright = false;
gb._x = 255;
gb._y = 2;
balls.push(gb);
}
}
}
if (greenball._y > 81) {
greenball._y = 81;
greenhigh = false;
dropspeed3 = 0;
}
}
}
};
Symbol 2288 MovieClip Frame 1
stop();
frozen = true;
Symbol 2288 MovieClip Frame 35
stop();
frozen = false;
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2288 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
}
}
Symbol 2288 MovieClip Frame 63
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2288 MovieClip Frame 99
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2288 MovieClip Frame 117
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2288 MovieClip Frame 118
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2288 MovieClip Frame 167
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2288 MovieClip Frame 180
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2393 MovieClip Frame 5
stop();
Symbol 2432 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.guyhurt);
}
Symbol 2432 MovieClip Frame 3
if (!_root.soundoff) {
_root.playEffect(_root.bloodsplash);
}
Symbol 2432 MovieClip Frame 17
if (!_root.soundoff) {
_root.playEffect(_root.thud);
}
Symbol 2432 MovieClip Frame 42
stop();
Symbol 2433 MovieClip Frame 1
stop();
Symbol 2433 MovieClip Frame 16
_parent.menue.gotoAndStop("off");
Symbol 2433 MovieClip Frame 19
_parent.slash.play();
Symbol 2433 MovieClip Frame 121
if (!_root.youwin) {
gotoAndStop ("die");
}
Symbol 2433 MovieClip Frame 122
stop();
_parent._parent.gotoAndPlay("success");
Symbol 2433 MovieClip Frame 132
stop();
Symbol 2434 MovieClip Frame 1
stop();
Symbol 2434 MovieClip Frame 121
if (!_root.youwin) {
_parent.damaged.play();
_parent._parent.gotoAndPlay("fail");
}
if (_root.youwin) {
gotoAndPlay ("die");
}
Symbol 2434 MovieClip Frame 122
stop();
Symbol 2434 MovieClip Frame 132
stop();
Symbol 2435 MovieClip Frame 1
stop();
Symbol 2435 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.swords);
}
Symbol 2444 MovieClip Frame 137
var getnumber = 0;
getnumber = random(26) + 1;
_parent.taptime = true;
if (getnumber == 1) {
_parent.letter = "t";
}
if (getnumber == 2) {
_parent.letter = "w";
}
if (getnumber == 3) {
_parent.letter = "e";
}
if (getnumber == 4) {
_parent.letter = "r";
}
if (getnumber == 5) {
_parent.letter = "t";
}
if (getnumber == 6) {
_parent.letter = "y";
}
if (getnumber == 7) {
_parent.letter = "u";
}
if (getnumber == 8) {
_parent.letter = "t";
}
if (getnumber == 9) {
_parent.letter = "o";
}
if (getnumber == 10) {
_parent.letter = "p";
}
if (getnumber == 11) {
_parent.letter = "a";
}
if (getnumber == 12) {
_parent.letter = "s";
}
if (getnumber == 13) {
_parent.letter = "d";
}
if (getnumber == 14) {
_parent.letter = "f";
}
if (getnumber == 15) {
_parent.letter = "g";
}
if (getnumber == 16) {
_parent.letter = "h";
}
if (getnumber == 17) {
_parent.letter = "j";
}
if (getnumber == 18) {
_parent.letter = "k";
}
if (getnumber == 19) {
_parent.letter = "t";
}
if (getnumber == 20) {
_parent.letter = "z";
}
if (getnumber == 21) {
_parent.letter = "x";
}
if (getnumber == 22) {
_parent.letter = "c";
}
if (getnumber == 23) {
_parent.letter = "v";
}
if (getnumber == 24) {
_parent.letter = "b";
}
if (getnumber == 25) {
_parent.letter = "n";
}
if (getnumber == 26) {
_parent.letter = "u";
}
Symbol 2444 MovieClip Frame 138
stop();
Symbol 2444 MovieClip Frame 170
stop();
Symbol 2446 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.cicadas);
}
Symbol 2446 MovieClip Frame 360
stop();
Symbol 2447 MovieClip Frame 1
var letter = "berk";
var taptime = false;
var tapcount = 30;
var slashing = false;
_root.boostarted = true;
_root.cheerstarted = true;
this.onEnterFrame = function () {
if (taptime && (!_root.gamefreeze)) {
tapcount = tapcount - 1;
if ((tapcount < 1) && (!slashing)) {
menue.gotoAndStop("off");
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
}
if ((letter == "w") && (!slashing)) {
if (Key.isDown(87)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "e") && (!slashing)) {
if (Key.isDown(69)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "r") && (!slashing)) {
if (Key.isDown(82)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "t") && (!slashing)) {
if (Key.isDown(84)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "y") && (!slashing)) {
if (Key.isDown(89)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "u") && (!slashing)) {
if (Key.isDown(85)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "i") && (!slashing)) {
if (Key.isDown(73)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "o") && (!slashing)) {
if (Key.isDown(79)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "p") && (!slashing)) {
if (Key.isDown(80)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "a") && (!slashing)) {
if (Key.isDown(65)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "s") && (!slashing)) {
if (Key.isDown(83)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "d") && (!slashing)) {
if (Key.isDown(68)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "f") && (!slashing)) {
if (Key.isDown(70)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "g") && (!slashing)) {
if (Key.isDown(71)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "h") && (!slashing)) {
if (Key.isDown(72)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "i") && (!slashing)) {
if (Key.isDown(73)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "j") && (!slashing)) {
if (Key.isDown(74)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "k") && (!slashing)) {
if (Key.isDown(75)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "l") && (!slashing)) {
if (Key.isDown(76)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "z") && (!slashing)) {
if (Key.isDown(90)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "x") && (!slashing)) {
if (Key.isDown(88)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "c") && (!slashing)) {
if (Key.isDown(67)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "v") && (!slashing)) {
if (Key.isDown(86)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "b") && (!slashing)) {
if (Key.isDown(66)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "n") && (!slashing)) {
if (Key.isDown(78)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "h") && (!slashing)) {
if (Key.isDown(72)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "h") && (!slashing)) {
if (Key.isDown(72)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
if ((letter == "h") && (!slashing)) {
if (Key.isDown(72)) {
samurai1.gotoAndPlay("slash");
samurai2.gotoAndPlay("slash");
slashing = true;
_root.youwin = true;
}
}
}
};
Symbol 2449 MovieClip Frame 12
stop();
Symbol 2452 MovieClip Frame 1
stop();
var lostlife = true;
_root.infinite = true;
Symbol 2452 MovieClip Frame 66
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2452 MovieClip Frame 66
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
}
}
Symbol 2452 MovieClip Frame 94
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
if (lostlife) {
_root.lives = _root.lives - 1;
lostlife = false;
}
_root.outoftime = false;
_root.timestop = true;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2452 MovieClip Frame 130
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2452 MovieClip Frame 148
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2452 MovieClip Frame 149
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (15 * _root.multiplier);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2452 MovieClip Frame 198
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2452 MovieClip Frame 211
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2465 Button
on (press) {
nextFrame();
if ((_parent._parent.hittimes = true)) {
_parent.gotoAndPlay("godown");
_parent._parent.molescore = _parent._parent.molescore + 1;
}
}
Symbol 2467 Button
on (press) {
nextFrame();
if ((_parent._parent.hittimes = true)) {
_parent.gotoAndPlay("godown");
_parent._parent.molescore = _parent._parent.molescore + 5;
if (!_root.soundoff) {
_root.playEffect(_root.hitgold);
}
}
}
Symbol 2469 Button
on (press) {
nextFrame();
if ((_parent._parent.hittimes = true)) {
_parent.gotoAndPlay("godown");
_parent._parent.damaged.play();
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
_parent._parent.mhp = _parent._parent.mhp - 1;
}
}
}
Symbol 2470 MovieClip Frame 1
stop();
Symbol 2470 MovieClip Frame 8
stop();
Symbol 2470 MovieClip Frame 15
stop();
Symbol 2471 MovieClip Frame 1
stop();
Symbol 2478 MovieClip Frame 1
stop();
_parent.hitting = false;
Symbol 2478 MovieClip Frame 2
_parent.hittimes = true;
if (!_root.soundoff) {
_root.playEffect(_root.mallet);
}
Symbol 2478 MovieClip Frame 4
_parent.hittime = false;
Symbol 2489 MovieClip Frame 1
Mouse.hide();
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
var gamestartcount = 10;
var hitting = false;
var hittime = false;
var clickdown = false;
var molescore = 0;
var count = 0;
var t1 = 0;
var t2 = 0;
var t3 = 0;
var t4 = 0;
var t5 = 0;
var t1count = 0;
var t2count = 0;
var t3count = 0;
var t4count = 0;
var t5count = 0;
_root.gamefreeze = true;
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
gamestartcount = gamestartcount - 1;
if ((((gamestartcount < 1) && (_root.gamefreeze)) && (molescore < 20)) && (_root.lives > 0)) {
_root.gamefreeze = false;
}
if (!_root.gamefreeze) {
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (molescore > 20) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if (t1) {
t1count = t1count + 1;
if (t1count > 60) {
t1 = false;
t1count = 0;
}
}
if (t2) {
t2count = t2count + 1;
if (t2count > 60) {
t2 = false;
t2count = 0;
}
}
if (t3) {
t3count = t3count + 1;
if (t3count > 60) {
t3 = false;
t3count = 0;
}
}
if (t4) {
t4count = t4count + 1;
if (t4count > 60) {
t4 = false;
t4count = 0;
}
}
if (t5) {
t5count = t5count + 1;
if (t5count > 60) {
t5 = false;
t5count = 0;
}
}
count = random(100);
if ((count > 90) && (!t1)) {
teeth1.gotoAndPlay(2);
t1 = true;
count = random(20) + 1;
if (count < 15) {
teeth1.teeth.gotoAndStop("normal");
}
if ((count > 15) && (count < 20)) {
teeth1.teeth.gotoAndStop("broken");
}
if (count == 20) {
teeth1.teeth.gotoAndStop("gold");
}
}
count = random(100);
if ((count > 90) && (!t2)) {
teeth2.gotoAndPlay(2);
t2 = true;
count = random(20) + 1;
if (count < 15) {
teeth2.teeth.gotoAndStop("normal");
}
if ((count > 15) && (count < 20)) {
teeth2.teeth.gotoAndStop("broken");
}
if (count == 20) {
teeth2.teeth.gotoAndStop("gold");
}
}
count = random(100);
if ((count > 90) && (!t3)) {
teeth3.gotoAndPlay(2);
t3 = true;
count = random(20) + 1;
if (count < 15) {
teeth3.teeth.gotoAndStop("normal");
}
if ((count > 15) && (count < 20)) {
teeth3.teeth.gotoAndStop("broken");
}
if (count == 20) {
teeth3.teeth.gotoAndStop("gold");
}
}
count = random(100);
if ((count > 90) && (!t4)) {
teeth4.gotoAndPlay(2);
t4 = true;
count = random(20) + 1;
if (count < 15) {
teeth4.teeth.gotoAndStop("normal");
}
if ((count > 15) && (count < 20)) {
teeth4.teeth.gotoAndStop("broken");
}
if (count == 20) {
teeth4.teeth.gotoAndStop("gold");
}
}
count = random(100);
if ((count > 90) && (!t5)) {
teeth5.gotoAndPlay(2);
t5 = true;
count = random(20) + 1;
if (count < 15) {
teeth5.teeth.gotoAndStop("normal");
}
if ((count > 15) && (count < 20)) {
teeth5.teeth.gotoAndStop("broken");
}
if (count == 20) {
teeth5.teeth.gotoAndStop("gold");
}
}
mallet._x = _xmouse;
mallet._y = _ymouse;
if (!Key.isDown(1)) {
clickdown = false;
}
if ((Key.isDown(1) && (!hitting)) && (!clickdown)) {
clickdown = true;
hitting = true;
mallet.gotoAndPlay(2);
}
}
};
Symbol 2499 MovieClip Frame 1
stop();
Symbol 2499 MovieClip Frame 61
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2499 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 2499 MovieClip Frame 89
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2499 MovieClip Frame 125
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2499 MovieClip Frame 143
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2499 MovieClip Frame 144
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2499 MovieClip Frame 193
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2499 MovieClip Frame 206
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2513 MovieClip Frame 1
_parent.p1rise = true;
Symbol 2513 MovieClip Frame 15
_parent.perfectzone = true;
Symbol 2513 MovieClip Frame 16
_parent.p1rise = false;
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = false;
Symbol 2520 MovieClip Frame 1
_parent.powerlevel3 = 30;
_parent.perfectzone = true;
Symbol 2520 MovieClip Frame 3
_parent.powerlevel3 = 10;
_parent.perfectzone = false;
Symbol 2520 MovieClip Frame 7
_parent.powerlevel3 = 0;
Symbol 2520 MovieClip Frame 11
_parent.powerlevel3 = 30;
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2520 MovieClip Frame 14
_parent.powerlevel3 = 10;
_parent.perfectzone = false;
Symbol 2520 MovieClip Frame 18
_parent.powerlevel3 = 0;
Symbol 2520 MovieClip Frame 22
_parent.powerlevel3 = 20;
Symbol 2520 MovieClip Frame 25
_parent.powerlevel3 = 30;
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2520 MovieClip Frame 29
_parent.powerlevel3 = 20;
_parent.perfectzone = false;
Symbol 2520 MovieClip Frame 33
_parent.powerlevel3 = 10;
Symbol 2520 MovieClip Frame 36
_parent.powerlevel3 = 0;
Symbol 2520 MovieClip Frame 40
_parent.powerlevel3 = 20;
Symbol 2520 MovieClip Frame 44
_parent.powerlevel3 = 10;
Symbol 2520 MovieClip Frame 47
_parent.powerlevel3 = 30;
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2520 MovieClip Frame 51
_parent.powerlevel3 = 0;
_parent.perfectzone = false;
Symbol 2520 MovieClip Frame 55
_parent.powerlevel3 = 20;
Symbol 2520 MovieClip Frame 59
_parent.powerlevel3 = 30;
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2521 MovieClip Frame 1
_parent.p5rise = true;
Symbol 2521 MovieClip Frame 15
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2521 MovieClip Frame 16
_parent.p5rise = false;
_parent.perfectzone = false;
Symbol 2521 MovieClip Frame 31
_parent.p5rise = true;
Symbol 2521 MovieClip Frame 45
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2521 MovieClip Frame 46
_parent.p5rise = false;
_parent.perfectzone = false;
Symbol 2537 MovieClip Frame 1
_parent.p4rise = true;
Symbol 2537 MovieClip Frame 15
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
_parent.perfectzone = true;
Symbol 2537 MovieClip Frame 16
_parent.p4rise = false;
Symbol 2537 MovieClip Frame 17
_parent.perfectzone = false;
Symbol 2545 MovieClip Frame 1
stop();
Symbol 2545 MovieClip Frame 11
stop();
Symbol 2549 MovieClip Frame 1
_parent.p2rise = true;
Symbol 2549 MovieClip Frame 15
_parent.perfectzone = true;
Symbol 2549 MovieClip Frame 16
_parent.p2rise = false;
_parent.perfectzone = false;
if (!_root.soundoff) {
_root.playEffect(_root.maxcharge);
}
Symbol 2575 MovieClip Frame 1
stop();
Symbol 2575 MovieClip Frame 10
stop();
Symbol 2575 MovieClip Frame 20
stop();
Symbol 2575 MovieClip Frame 29
stop();
Symbol 2575 MovieClip Frame 36
stop();
Symbol 2575 MovieClip Frame 44
stop();
Symbol 2587 MovieClip Frame 1
var adown = false;
var p1 = true;
var p2 = false;
var p3 = false;
var p4 = false;
var p5 = false;
var power = 0;
var perfect = 0;
var perfectzone = false;
var powerlevel1 = 0;
var p1rise = false;
var powerlevel2 = 0;
var p2rise = false;
var powerlevel3 = 0;
var p3rise = false;
var powerlevel4 = 0;
var p4rise = false;
var powerlevel5 = 0;
var p5rise = false;
power2._alpha = 0;
power4._alpha = 0;
power5._alpha = 0;
power3.stop();
var startcounter = false;
var gamestart = false;
pbar.pbar2._alpha = 0;
this.onEnterFrame = function () {
if (!gamestart) {
startcounter = startcounter + 1;
if (startcounter > 10) {
gamestart = true;
}
}
if ((!_root.gamefreeze) && (gamestart)) {
if (_root.youlose) {
_root.lives = _root.lives - 1;
damaged.play();
_parent._parent._parent.gotoAndPlay("fail");
}
if (p1rise) {
powerlevel1 = powerlevel1 + 2;
}
if (!p1rise) {
powerlevel1 = powerlevel1 - 2;
}
if (p2rise) {
powerlevel2 = powerlevel2 + 2;
}
if (!p2rise) {
powerlevel2 = powerlevel2 - 2;
}
if (p4rise) {
powerlevel4 = powerlevel4 + 2;
}
if (!p4rise) {
powerlevel4 = powerlevel4 - 2;
}
if (p5rise) {
powerlevel5 = powerlevel5 + 2;
}
if (!p5rise) {
powerlevel5 = powerlevel5 - 2;
}
if (!Key.isDown(65)) {
adown = false;
}
if ((Key.isDown(65) && (!adown)) && (p1)) {
adown = true;
power = power + powerlevel1;
p1 = false;
p2 = true;
pbar.pbar2._alpha = 100;
pbar.pbar2._width = 313 * (power / 30);
if (!_root.soundoff) {
_root.playEffect(_root.chargeset);
}
selector.gotoAndStop("two");
if (perfectzone) {
perfect = perfect + 1;
perfectzone = false;
}
power2._alpha = 100;
power1.stop();
}
if ((Key.isDown(65) && (!adown)) && (p2)) {
adown = true;
power = power + powerlevel2;
p2 = false;
p3 = true;
pbar.pbar2._width = 313 * (power / 30);
power3.play();
if (perfectzone) {
perfect = perfect + 1;
perfectzone = false;
}
if (!_root.soundoff) {
_root.playEffect(_root.chargeset);
}
selector.gotoAndStop("three");
power2.stop();
}
if ((Key.isDown(65) && (!adown)) && (p3)) {
adown = true;
power = power + powerlevel3;
p3 = false;
pbar.pbar2._width = 313 * (power / 30);
p4 = true;
if (perfectzone) {
perfect = perfect + 1;
perfectzone = false;
}
power4._alpha = 100;
if (!_root.soundoff) {
_root.playEffect(_root.chargeset);
}
selector.gotoAndStop("four");
power3.stop();
}
if ((Key.isDown(65) && (!adown)) && (p4)) {
adown = true;
power = power + powerlevel4;
p4 = false;
p5 = true;
if (perfectzone) {
perfect = perfect + 1;
perfectzone = false;
}
pbar.pbar2._width = 313 * (power / 30);
power5._alpha = 100;
if (!_root.soundoff) {
_root.playEffect(_root.chargeset);
}
selector.gotoAndStop("five");
power4.power44.stop();
power4.stop();
}
if ((Key.isDown(65) && (!adown)) && (p5)) {
adown = true;
power = power + powerlevel5;
p5 = false;
if (perfectzone) {
perfect = perfect + 1;
perfectzone = false;
}
if (perfect > 2) {
_root.mmm16 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
pbar.pbar2._width = 313 * (power / 30);
if (pbar.pbar2._width > 312) {
pbar.pbar2.gotoAndStop("shine");
_parent.shoot1play = true;
}
if (pbar.pbar2._width < 313) {
_parent.shoot1play = false;
}
if (!_root.soundoff) {
_root.playEffect(_root.chargeset);
}
selector.gotoAndStop("six");
_parent.gotoAndPlay("goaway");
_root.infinite = true;
power5.stop();
_root.gamefreeze = true;
}
}
};
Symbol 2588 MovieClip Frame 1
stop();
var shoot1play = false;
Symbol 2588 MovieClip Frame 40
if (shoot1play) {
_parent.gotoAndStop("shoot1");
}
if (!shoot1play) {
_parent.gotoAndStop("shoot2");
}
Symbol 2588 MovieClip Frame 60
stop();
Symbol 2590 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop8.stop();
_root.loopstarted8 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted8)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop8.start(0, 999);
_root.loop8.setVolume(_root.bgvolume);
_root.loopstarted8 = true;
}
};
Symbol 2606 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop12.stop();
_root.loopstarted12 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted12)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop12.start(0, 999);
_root.loop12.setVolume(_root.bgvolume);
_root.loopstarted12 = true;
}
};
Symbol 2608 MovieClip Frame 50
stop();
Symbol 2618 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.earthcrack);
}
Symbol 2619 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2619 MovieClip Frame 30
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2619 MovieClip Frame 50
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2619 MovieClip Frame 70
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2619 MovieClip Frame 75
if (!_root.soundoff) {
_root.playEffect(_root.firelazer);
}
Symbol 2619 MovieClip Frame 76
if (!_root.soundoff) {
_root.playEffect(_root.firelazer);
}
Symbol 2619 MovieClip Frame 164
stop();
_root.loop12.stop();
_root.loopstarted12 = false;
_parent._parent._parent.gotoAndPlay("success");
Symbol 2623 MovieClip Frame 1
var loss = false;
Symbol 2623 MovieClip Frame 10
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2623 MovieClip Frame 30
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2623 MovieClip Frame 50
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2623 MovieClip Frame 70
if (!_root.soundoff) {
_root.playEffect(_root.charge);
}
Symbol 2623 MovieClip Frame 75
if (!_root.soundoff) {
_root.playEffect(_root.firelazer);
}
Symbol 2623 MovieClip Frame 164
stop();
_root.loop12.stop();
_root.loopstarted12 = false;
if (!loss) {
_root.lives = _root.lives - 1;
loss = true;
}
damaged.play();
_parent._parent._parent.gotoAndPlay("fail");
Symbol 2625 MovieClip Frame 1
stop();
Symbol 2625 MovieClip Frame 10
stop();
_root.loop8.stop();
_root.loopstarted8 = false;
Symbol 2625 MovieClip Frame 19
stop();
_root.loop8.stop();
_root.loopstarted8 = false;
Symbol 2632 MovieClip Frame 1
stop();
Symbol 2632 MovieClip Frame 60
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2632 MovieClip Frame 60
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 2632 MovieClip Frame 88
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2632 MovieClip Frame 124
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2632 MovieClip Frame 142
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2632 MovieClip Frame 143
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2632 MovieClip Frame 192
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2632 MovieClip Frame 205
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2668 MovieClip Frame 1
function moveBottles() {
var _local4 = 0;
while (_local4 < bottles.length) {
var _local3 = bottles[_local4];
if (!_root.gamefreeze) {
_local3.shake = _local3.shake + 1;
if ((_local3.shake > 2) && (!_local3.up)) {
_local3._y = _local3._y + 1;
_local3.up = true;
_local3.shake = 0;
}
if ((_local3.shake > 2) && (_local3.up)) {
_local3._y = _local3._y - 1;
_local3.up = false;
_local3.shake = 0;
}
_local3._x = _local3._x - bottlespeed;
if (_local3._x < -75) {
if (_local3.bad) {
damaged.play();
if ((_root.difficulty == 1) && (!_root.gamefreeze)) {
damaged.play();
_root.lives = _root.lives - 1;
}
if ((_root.difficulty == 0) && (!_root.gamefreeze)) {
damaged.play();
mhp = mhp - 1;
}
}
_local3.unloadMovie();
_local3.removeMovieClip();
bottles.splice(_local4, 1);
_local4--;
}
if (Key.isDown(1) or Key.isDown(32)) {
if ((!clickdown) && (!_root.gamefreeze)) {
if (_local3.hitTest(_root._xmouse, _root._ymouse, true)) {
if (!_local3.bad) {
if ((_root.difficulty == 1) && (!_root.gamefreeze)) {
damaged.play();
_root.lives = _root.lives - 1;
}
if ((_root.difficulty == 0) && (!_root.gamefreeze)) {
damaged.play();
mhp = mhp - 1;
}
}
if (_local3.bad) {
_root.score = _root.score + (1 * _root.multiplier);
}
br = this.attachMovie("bottlebreak", "cloccudaa" + effcv, effcv + 101);
effcv++;
br._x = _local3._x;
br._y = _local3._y;
_local3.unloadMovie();
_local3.removeMovieClip();
bottles.splice(_local4, 1);
_local4--;
}
}
}
}
_local4++;
}
}
stop();
Mouse.hide();
var bottlecount = 0;
var effcv = 0;
var clickdown = false;
var bottlespeed = 8;
var gamestart = 0;
_root.gamefreeze = true;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 10;
bottles = new Array();
damaged.swapDepths(15000);
hp.swapDepths(14555);
target.swapDepths(14000);
foreground.swapDepths(10000);
this.onEnterFrame = function () {
if ((_root.gamefreeze && (!_root.youwin)) && (!_root.youlose)) {
gamestart = gamestart + 1;
if ((gamestart > 10) && (gamestart < 62)) {
gamestart = gamestart + 1;
_root.gamefreeze = false;
}
}
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop6.stop();
_root.loopstarted6 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted6)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop6.start(0, 999);
_root.loop6.setVolume(_root.bgvolume);
_root.loopstarted6 = true;
}
if (_root.gamefreeze) {
bigbutton._x = -20;
bigbutton._y = -43;
}
if (!_root.gamefreeze) {
moveBottles();
if (_root.soundoff) {
_root.loop2.stop();
_root.loopstarted2 = false;
}
if ((!_root.soundoff) && (!_root.loopstarted2)) {
_root.loop2.start(0, 999);
_root.loop2.setVolume(_root.bgvolume);
_root.loopstarted2 = true;
}
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((!Key.isDown(1)) && (!Key.isDown(32))) {
clickdown = false;
}
if (Key.isDown(1) && (!clickdown)) {
clickdown = true;
}
if (Key.isDown(32) && (!clickdown)) {
clickdown = true;
}
target._x = _xmouse;
target._y = _ymouse;
bottlecount = bottlecount + 1;
if (bottlecount > 10) {
bottlecount = random(100);
if (bottlecount > 40) {
b = this.attachMovie("bottle1", "cloccudaa" + effcv, effcv + 1001);
effcv++;
b.shake = 0;
b.bad = false;
b.up = false;
b._x = 385;
b._y = 141;
bottles.push(b);
}
if (bottlecount < 41) {
bottlecount = random(6) + 2;
b = this.attachMovie("bottle" + bottlecount, "cloccudaa" + effcv, effcv + 1001);
effcv++;
b.up = false;
b.bad = true;
b.shake = 0;
b._x = 385;
b._y = 141;
bottles.push(b);
}
bottlecount = 0;
}
}
};
Symbol 2669 Button
on (release) {
_root.gameon = false;
Mouse.show();
_parent.unloadMovie();
_parent.removeMovieClip();
}
Symbol 2678 MovieClip Frame 1
stop();
Symbol 2678 MovieClip Frame 61
stop();
_root.timestop = false;
_root.newgamestart = true;
if (_root.practice) {
quitb._x = -168;
quitb._y = 195;
}
Instance of Symbol 399 MovieClip in Symbol 2678 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_root.youwin = true;
_parent.gotoAndPlay("success");
}
}
Symbol 2678 MovieClip Frame 89
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2678 MovieClip Frame 125
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
Symbol 2678 MovieClip Frame 143
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2678 MovieClip Frame 144
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.gamefreeze = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2678 MovieClip Frame 193
_root.loop2.stop();
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
Symbol 2678 MovieClip Frame 206
stop();
_root.gamefreeze = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2715 MovieClip Frame 1
stop();
Symbol 2715 MovieClip Frame 8
stop();
if (!_root.soundoff) {
_root.playEffect(_root.carcrash);
}
Symbol 2742 MovieClip Frame 1
function moveCars() {
var _local3 = 0;
while (_local3 < cars.length) {
var _local2 = cars[_local3];
_local2._y = _local2._y + (carspeed - _local2.speedy);
if ((_local2._y < -300) or (_local2._y > 280)) {
carcount = carcount - 1;
_local2.unloadMovie();
_local2.removeMovieClip();
cars.splice(_local3, 1);
_local3--;
}
if (((_local2.hitTest(car.hitarea) && (!dead)) && (!invincible)) && (!_root.gamefreeze)) {
dead = true;
deadtimer = 0;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
damaged.play();
}
_root.loop3.stop();
_root.loopstarted3 = false;
if (!_root.soundoff) {
_root.playEffect(_root.carscreech);
}
car.gotoAndStop("crashed");
}
_local3++;
}
}
var carspeed = 3;
var carcount = 0;
var cartimer = 0;
var effcv = 0;
var numb = 0;
var realspeed = 0;
var goal = 7000;
var rotate = 0;
var dead = false;
var deadtimer = 40;
var flickertimer = 0;
var out = false;
var invincible = false;
var invinciblecount = 0;
var gamestartcount = 0;
var updown = false;
var downdown = false;
_root.gamefreeze = true;
cars = new Array();
damaged.swapDepths(30330);
speed.swapDepths(30230);
this.onEnterFrame = function () {
if (_root.gamefreeze && (gamestartcount < 11)) {
gamestartcount = gamestartcount + 1;
if (gamestartcount > 10) {
_root.gamefreeze = false;
}
}
if (_root.soundoff or (carspeed < 1)) {
_root.loop3.stop();
_root.loopstarted3 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted3)) && (!dead)) && (carspeed > 0)) {
_root.loop3.start(0, 999);
_root.loop3.setVolume(_root.bgvolume);
_root.loopstarted3 = true;
}
if (_root.youwin) {
_root.loop3.stop();
}
if (!_root.gamefreeze) {
moveCars();
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((goal == 0) && (!_root.youwin)) {
_root.gamefreeze = true;
_root.youwin = true;
if (_root.racetime < 4) {
_root.mmm17 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
_parent.gotoAndPlay("success");
}
if (dead) {
num = random(2);
car._rotation = car._rotation + carspeed;
rotate = rotate + carspeed;
if ((num == 0) && (carspeed > 0)) {
car._x = car._x + 2;
}
if ((num == 1) && (carspeed > 0)) {
car._x = car._x - 2;
}
carspeed = carspeed - 0.5;
if (carspeed < 0) {
carspeed = 0;
}
deadtimer = deadtimer + 1;
flickertimer = flickertimer + 1;
if ((flickertimer > 3) && (!out)) {
flickertimer = 0;
car._alpha = 0;
out = true;
}
if ((flickertimer > 3) && (out)) {
flickertimer = 0;
car._alpha = 100;
out = false;
}
if (deadtimer > 60) {
car._alpha = 100;
car.gotoAndStop(1);
car._rotation = car._rotation - rotate;
rotate = 0;
dead = false;
carlooper.gotoAndPlay(1);
invincible = true;
}
}
if (invincible) {
invinciblecount = invinciblecount + 1;
flickertimer = flickertimer + 1;
if ((flickertimer > 3) && (!out)) {
flickertimer = 0;
car._alpha = 0;
out = true;
}
if ((flickertimer > 3) && (out)) {
flickertimer = 0;
car._alpha = 100;
out = false;
}
if (invinciblecount > 30) {
invinciblecount = 0;
invincible = false;
car._alpha = 100;
}
}
}
realspeed = Math.round(carspeed * 10);
goal = goal - carspeed;
goal = Math.round(goal);
if (goal < 0) {
goal = 0;
}
if (goal < 160) {
goalee._y = goalee._y + carspeed;
}
if (!dead) {
if (carspeed > 1) {
if (Key.isDown(37)) {
car._x = car._x - 6;
}
if (Key.isDown(39)) {
car._x = car._x + 6;
}
}
if (Key.isDown(38)) {
carspeed = carspeed + 0.1;
}
if (Key.isDown(40)) {
carspeed = carspeed - 0.5;
}
if (Key.isDown(40) && (!downdown)) {
downdown = true;
if (!_root.soundoff) {
_root.playEffect(_root.carbreak);
}
}
if (!Key.isDown(40)) {
downdown = false;
}
if (Key.isDown(38) && (!updown)) {
updown = true;
if (!_root.soundoff) {
_root.playEffect(_root.carrev);
}
}
if (!Key.isDown(38)) {
updown = false;
}
if (carspeed < 0) {
carspeed = 0;
}
if (carspeed > 20) {
carspeed = 20;
}
}
if (car._x < 51) {
car._x = 51;
}
if (car._x > 161) {
car._x = 161;
}
cartimer = cartimer + 1;
if ((cartimer > 50) && (carcount < 5)) {
cartimer = 0;
carcount = carcount + 1;
num = random(4) + 1;
c = this.attachMovie("car" + num, "cloccudaa" + effcv, effcv + 100);
effcv++;
c.speedy = 6;
num = random(2);
if (num == 0) {
c._x = 60 + random(20);
}
if (num == 1) {
c._x = 120 - random(20);
}
num = random(2);
if (num == 0) {
c._y = -261;
}
if (num == 1) {
c._y = 280;
}
cars.push(c);
cars2.push(c);
}
road._y = road._y + carspeed;
if (road._y > 0) {
road._y = -65;
}
water._y = water._y + (carspeed / 3);
if (water._y > -123) {
water._y = -225;
}
};
Symbol 2747 MovieClip Frame 1
_root.racetime = 10;
stop();
Symbol 2747 MovieClip Frame 61
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2747 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
_root.youwin = true;
}
}
Symbol 2747 MovieClip Frame 89
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2747 MovieClip Frame 125
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2747 MovieClip Frame 143
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2747 MovieClip Frame 144
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.loop3.stop();
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2747 MovieClip Frame 193
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2747 MovieClip Frame 206
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2771 MovieClip Frame 1
stop();
Symbol 2771 MovieClip Frame 6
stop();
Symbol 2771 MovieClip Frame 13
stop();
Symbol 2799 MovieClip Frame 1
function moveClouds() {
var _local2 = 0;
while (_local2 < clouds.length) {
var _local1 = clouds[_local2];
_local1._x = _local1._x - (mariospeed / 3);
if (_local1._x < -90) {
if (!_local1.col) {
cloudcount = cloudcount - 1;
}
if (_local1.col) {
columncount = columncount - 1;
}
_local1.unloadMovie();
_local1.removeMovieClip();
clouds.splice(_local2, 1);
_local2--;
}
_local2++;
}
}
function moveColumns() {
var _local1 = 0;
while (_local1 < columns.length) {
var _local2 = columns[_local1];
_local2._x = _local2._x - (mariospeed / 2);
if (_local2._x < -90) {
columncount2 = columncount2 - 1;
_local2.unloadMovie();
_local2.removeMovieClip();
columns.splice(_local1, 1);
_local1--;
}
_local1++;
}
}
function movePlatforms() {
var _local4 = 0;
while (_local4 < platforms.length) {
var _local3 = platforms[_local4];
_local3._x = _local3._x - mariospeed;
if (_local3._x < -90) {
if (!_local3.rocky) {
platformcount = platformcount - 1;
}
if (_local3.rocky) {
rockcount = rockcount - 1;
}
_local3.unloadMovie();
_local3.removeMovieClip();
platforms.splice(_local4, 1);
_local4--;
}
if (_local3.topp.hitTest(mario.bottomm) && (jump)) {
jump = false;
if (!landed) {
landed = true;
mario._y = 165;
}
jumpspeed = 10;
if (_local3.goal) {
_root.gamefreeze = true;
mario.gotoAndStop(1);
_parent.gotoAndPlay("success");
}
mario.gotoAndStop(1);
mario._y = (_local3._y - _local3._height) - 4;
}
if (_local3.topp.hitTest(mario.bottomm)) {
land = true;
godown = false;
gravity = 0;
if (_local3.goal) {
_root.gamefreeze = true;
mario.gotoAndStop(1);
_parent.gotoAndPlay("success");
}
}
if (!_local3.topp.hitTest(mario.bottomm)) {
land = false;
}
if (_local3.leftt.hitTest(mario) or _local3.leftt.hitTest(mario)) {
mariospeed = 0;
updown = true;
}
_local4++;
}
}
stop();
var jumpheight = 0;
var godown = false;
var gravity = 0;
var jumpspeed = 10;
var mariospeed = 0;
var cloudcount = 0;
var columncount = 0;
var landed = true;
var columncount2 = 0;
var effcv = 20;
var jump = false;
var platformcount = 3;
var land = true;
var updown = true;
var rockcount = 0;
var dead = false;
var deadtimer = 0;
var dist = 1500;
var placegoal = false;
var gamestartcount = 0;
_root.gamefreeze = true;
mario.swapDepths(30230);
damaged.swapDepths(30232);
clouds = new Array();
columns = new Array();
platforms = new Array();
platforms.push(p1);
platforms.push(p2);
platforms.push(p3);
platforms.push(rock1);
p1.swapDepths(10000);
p2.swapDepths(10001);
p3.swapDepths(10002);
rock1.swapDepths(10003);
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
if (_root.gamefreeze && (gamestartcount < 11)) {
gamestartcount = gamestartcount + 1;
if (gamestartcount > 10) {
_root.gamefreeze = false;
}
}
if (_root.youwin) {
mario._y = 165;
}
if (_root.gamefreeze) {
mario.gotoAndStop(1);
}
if (!_root.gamefreeze) {
moveClouds();
moveColumns();
movePlatforms();
bg11._x = bg11._x - (mariospeed / 3);
bg22._x = bg22._x - (mariospeed / 2);
dist = dist - mariospeed;
if ((dist < 0) && (!placegoal)) {
gl = this.attachMovie("dagoal", "cloca" + effcv, effcv + 10000);
effcv++;
placegoal = true;
gl.goal = true;
gl._yscale = gl._yscale * -1;
gl._x = 187;
gl._y = 203 + gl._height;
platforms.push(gl);
}
if ((mario._y > 240) && (!dead)) {
damaged.play();
dead = true;
_root.lives = _root.lives - 1;
_parent.gotoAndPlay("fail");
_root.gamefreeze = true;
mario._alpha = 50;
}
if ((!land) && (!jump)) {
mario._y = mario._y + gravity;
gravity = gravity + 1;
}
if (Key.isDown(37)) {
mariospeed = mariospeed - 0.1;
}
if (!Key.isDown(38)) {
updown = false;
}
if ((Key.isDown(38) && (!jump)) && (!updown)) {
updown = true;
jump = true;
if (!_root.soundoff) {
_root.playEffect(_root.oiramjump);
}
landed = false;
mario.gotoAndStop("jump");
}
if (jump) {
if (!godown) {
mario._y = mario._y - jumpspeed;
jumpspeed = jumpspeed - 1;
}
if (jumspeed < 1) {
jumpspeed = 0;
godown = true;
}
if (godown) {
mario._y = mario._y + jumspeed;
jumspeed = jumspeed + 1;
}
}
if (!Key.isDown(39)) {
mariospeed = mariospeed - 0.2;
if (mariospeed < 0) {
mariospeed = 0;
}
}
if (((mariospeed < 1) && (!jump)) && (!Key.isDown(39))) {
mario.gotoAndStop(1);
}
if (Key.isDown(39)) {
mariospeed = mariospeed + 0.3;
if (!jump) {
mario.gotoAndStop("run");
}
}
if (mariospeed > 7) {
mariospeed = 7;
}
if ((mariospeed > 0) && (!jump)) {
mario.gotoAndStop("run");
}
if (cloudcount < 10) {
c = this.attachMovie("mcloud" + (random(2) + 1), "cloca" + effcv, effcv + 100);
effcv++;
cloudcount = cloudcount + 1;
c.col = false;
c._x = 187 + random(250);
c._y = 5 + random(165);
clouds.push(c);
}
if (columncount < 4) {
c = this.attachMovie("column1", "cloca" + effcv, effcv + 100);
effcv++;
c.col = true;
columncount = columncount + 1;
c._x = 187 + random(250);
c._y = 75 + random(100);
clouds.push(c);
}
if (columncount2 < 4) {
co = this.attachMovie("column2", "cloca" + effcv, effcv + 1000);
effcv++;
co.rocky = false;
columncount2 = columncount2 + 1;
co._x = 187 + random(250);
co._y = 75 + random(100);
columns.push(co);
}
if (platformcount < 5) {
p = this.attachMovie("platform" + (random(3) + 1), "cloca" + effcv, effcv + 10000);
effcv++;
platformcount = platformcount + 1;
p._x = 187 + random(100);
p._y = 203;
platforms.push(p);
}
}
};
Symbol 2804 MovieClip Frame 1
stop();
Symbol 2804 MovieClip Frame 60
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2804 MovieClip Frame 60
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 2804 MovieClip Frame 88
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2804 MovieClip Frame 124
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2804 MovieClip Frame 142
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2804 MovieClip Frame 143
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2804 MovieClip Frame 192
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2804 MovieClip Frame 205
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2828 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop5.stop();
_root.loopstarted5 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted5)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop5.start(0, 999);
_root.loop5.setVolume(_root.bgvolume);
_root.loopstarted5 = true;
}
};
Symbol 2838 MovieClip Frame 1
function moveFish() {
var _local3 = 0;
while (_local3 < fishes.length) {
var _local2 = fishes[_local3];
if (_local2.faceleft) {
_local2._x = _local2._x - _local2.speedy;
}
if (!_local2.faceleft) {
_local2._x = _local2._x + _local2.speedy;
}
if (_local2.faceleft && (_local2._x < -60)) {
badfishcount = badfishcount - 1;
_local2.unloadMovie();
_local2.removeMovieClip();
fishes.splice(_local3, 1);
_local3--;
}
if ((!_local2.faceleft) && (_local2._x > 500)) {
badfishcount = badfishcount - 1;
_local2.unloadMovie();
_local2.removeMovieClip();
fishes.splice(_local3, 1);
_local3--;
}
if (_local2.hitarea.hitTest(fish.hitarea) && (!_root.gamefreeze)) {
if ((_local2._height > fish._height) && (!dead)) {
if (!_root.soundoff) {
_root.playEffect(_root.eatfish);
}
fish._alpha = 30;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
fish._x = 176;
fish._y = 260;
_local2._yscale = _local2._yscale * 1.05;
_local2._xscale = _local2._xscale * 1.05;
dead = true;
}
if (_local2._height < fish._height) {
badfishcount = badfishcount - 1;
fishtotal = fishtotal - 1;
if (!_root.soundoff) {
_root.playEffect(_root.crunch);
}
_root.score = _root.score + (2 * _root.multiplier);
fish._yscale = fish._yscale * 1.05;
fish._xscale = fish._xscale * 1.05;
_local2.unloadMovie();
_local2.removeMovieClip();
fishes.splice(_local3, 1);
_local3--;
}
}
_local3++;
}
}
function moveBubbles() {
var _local1 = 0;
while (_local1 < bubbles.length) {
var _local2 = bubbles[_local1];
_local2._y = _local2._y - 3;
if (_local2._y < 103) {
_local2.unloadMovie();
_local2.removeMovieClip();
bubbles.splice(_local1, 1);
_local1--;
}
_local1++;
}
}
var xvel = 0;
var xvel2 = 0;
var yvel = 0;
var yvel2 = 0;
var fishfriction = 0.96;
var fishvelocity = 0.9;
var speed = 2;
var absxvel = 0;
var absxvel2 = 0;
var absyvel = 0;
var absyvel2 = 0;
var faceleft = true;
var badfishcount = 0;
var effcv = 0;
var rnum = 0;
var dead = false;
var deadtimer = 0;
var fishtotal = 10;
_root.infinite = true;
var gamestartcount = 0;
_root.gamefreeze = true;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 5;
fishes = new Array();
bubbles = new Array();
fish.swapDepths(30230);
damaged.swapDepths(30330);
this.onEnterFrame = function () {
if (_root.gamefreeze && (gamestartcount < 11)) {
gamestartcount = gamestartcount + 1;
if (gamestartcount > 10) {
_root.gamefreeze = false;
}
}
if (!_root.gamefreeze) {
moveFish();
moveBubbles();
if ((fishtotal == 0) && (!_root.gamefreeze)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("success");
}
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if (dead) {
deadtimer = deadtimer + 1;
if (deadtimer > 60) {
deadtimer = 0;
dead = false;
fish._alpha = 100;
}
}
rnum = random(100);
if (rnum < 5) {
bu = this.attachMovie("bubble", "clocca" + effcv, effcv + 100000);
effcv++;
bu.faceleft = true;
if (faceleft) {
bu._x = fish._x - 20;
}
if (!faceleft) {
bu._x = fish._x + 20;
}
bu._y = fish._y - 4;
bubbles.push(bu);
}
if (badfishcount < 15) {
b = this.attachMovie("badfish", "clocca" + effcv, effcv + 100);
effcv++;
badfishcount = badfishcount + 1;
rnum = random(2);
if (rnum == 0) {
b.faceleft = true;
b._x = 420 + random(70);
b._y = 120 + random(330);
}
if (rnum == 1) {
b.faceleft = false;
b._xscale = b._xscale * -1;
b._x = -90 - random(70);
b._y = 120 + random(330);
}
b.speedy = random(2) + 1;
rnum = random(20) + 1;
b._xscale = b._xscale * rnum;
b._yscale = b._yscale * rnum;
fishes.push(b);
}
if (Key.isDown(37) && (!faceleft)) {
faceleft = true;
fish._xscale = fish._xscale * -1;
}
if (Key.isDown(39) && (faceleft)) {
faceleft = false;
fish._xscale = fish._xscale * -1;
}
if (fish._x < -27) {
fish._x = 395;
}
if (fish._x > 396) {
fish._x = -26;
}
if (fish._y < 110) {
yvel2 = 0;
fish._y = 110;
}
if (fish._y > 460) {
yvel = 0;
fish._y = 460;
}
fish._x = fish._x + xvel;
fish._y = fish._y + yvel;
fish._x = fish._x - xvel2;
fish._y = fish._y - yvel2;
xvel = xvel * fishfriction;
yvel = yvel * fishfriction;
xvel2 = xvel2 * fishfriction;
yvel2 = yvel2 * fishfriction;
absxvel = Math.abs(xvel);
absxvel2 = Math.abs(xvel2);
absyvel = Math.abs(yvel);
absyvel2 = Math.abs(yvel2);
if (absxvel < 0.5) {
xvel = 0;
}
if (absyvel < 0.5) {
yvel = 0;
}
if (absxvel2 < 0.5) {
xvel2 = 0;
}
if (absyvel2 < 0.5) {
yvel2 = 0;
}
if (Key.isDown(37)) {
fish._x = fish._x - speed;
xvel2 = xvel2 + fishvelocity;
}
if (Key.isDown(38)) {
fish._y = fish._y - speed;
yvel2 = yvel2 + fishvelocity;
}
if (Key.isDown(40)) {
fish._y = fish._y + speed;
yvel = yvel + fishvelocity;
}
if (Key.isDown(39)) {
fish._x = fish._x + speed;
xvel = xvel + fishvelocity;
}
water1._x = water1._x - 4;
if (water1._x < -62) {
water1._x = 0;
}
water2._x = water2._x + 4;
if (water2._x > 437) {
water2._x = 375;
}
}
};
Symbol 2846 MovieClip Frame 1
stop();
Symbol 2846 MovieClip Frame 61
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 2846 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
}
}
Symbol 2846 MovieClip Frame 89
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2846 MovieClip Frame 125
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2846 MovieClip Frame 143
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2846 MovieClip Frame 144
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 2846 MovieClip Frame 193
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 2846 MovieClip Frame 206
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 2872 MovieClip Frame 85
stop();
Symbol 2877 MovieClip Frame 75
stop();
Symbol 2890 MovieClip Frame 1
Symbol 2890 MovieClip Frame 12
_parent._parent._parent.mouthzap = true;
if ((!_root.soundoff) && (_parent._parent._parent.startsounds)) {
_root.playEffect(_root.mouthshot);
}
Symbol 2890 MovieClip Frame 51
var rand = 0;
rand = random(4);
if (rand == 0) {
gotoAndPlay ("1");
} else {
gotoAndPlay (30);
}
Symbol 2902 MovieClip Frame 12
gotoAndPlay (1);
Symbol 2903 MovieClip Frame 12
var rand = 0;
rand = random(7);
if (rand == 0) {
_parent.eye2.gotoAndPlay("zap");
gotoAndPlay ("zap");
} else {
_parent.eye2;
gotoAndPlay (1);
gotoAndPlay (1);
}
Symbol 2903 MovieClip Frame 13
if ((!_root.soundoff) && (_parent._parent._parent.startsounds)) {
_root.playEffect(_root.contraeyeshot);
}
_parent.eye2.gotoAndPlay("zap");
Symbol 2903 MovieClip Frame 17
_parent._parent._parent.eyezap = true;
Symbol 2916 MovieClip Frame 111
stop();
_parent.startsounds = true;
_parent.alienboss._alpha = 100;
_parent.alienboss.gotoAndPlay("idle");
this.unloadMovie();
this.removeMovieClip();
Symbol 2918 MovieClip Frame 1
stop();
Symbol 2918 MovieClip Frame 57
if (_parent.bossdead) {
gotoAndPlay ("dead");
}
if (!_parent.bossdead) {
gotoAndPlay ("idle");
}
Symbol 2918 MovieClip Frame 58
if (!_root.soundoff) {
_root.playEffect(_root.contraaliendie);
}
Symbol 2918 MovieClip Frame 355
_parent.whiteflash.gotoAndPlay(2);
Symbol 2918 MovieClip Frame 356
_parent.bossdead = false;
_root.gamefreeze = true;
_parent.guy.gotoAndStop(1);
_parent.guy.torso.gotoAndStop("normal");
this.unloadMovie();
this.removeMovieClip();
Symbol 2937 MovieClip Frame 111
stop();
_parent.bossarm1._alpha = 100;
_parent.bossarm2._alpha = 100;
_parent.bossarm2.gotoAndPlay("idle");
_parent.bossarm1.gotoAndPlay("idle");
this.unloadMovie();
this.removeMovieClip();
Symbol 2968 MovieClip Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.kontraexplosion);
}
Symbol 2968 MovieClip Frame 15
this.unloadMovie();
this.removeMovieClip();
Symbol 2969 MovieClip Frame 1
stop();
Symbol 2969 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 2970 MovieClip Frame 1
stop();
Symbol 2970 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 2971 MovieClip Frame 1
stop();
Symbol 2971 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 2972 MovieClip Frame 1
stop();
Symbol 2972 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 2973 MovieClip Frame 1
stop();
Symbol 2973 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 2984 MovieClip Frame 1
stop();
Symbol 2984 MovieClip Frame 12
stop();
Symbol 2984 MovieClip Frame 24
stop();
Symbol 2984 MovieClip Frame 63
this.unloadMovie();
this.removeMovieClip();
Symbol 2985 MovieClip Frame 1
stop();
Symbol 2985 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 2986 MovieClip Frame 1
stop();
Symbol 2986 MovieClip Frame 38
this.unloadMovie();
this.removeMovieClip();
Symbol 3007 MovieClip Frame 19
this.unloadMovie();
this.removeMovieClip();
Symbol 3038 MovieClip Frame 26
this.unloadMovie();
this.removeMovieClip();
Symbol 3039 MovieClip Frame 1
stop();
Symbol 3039 MovieClip Frame 61
if (_parent.bossdead or _parent.arm1destroyed) {
gotoAndPlay ("explode");
} else {
var rand = 0;
rand = random(4);
if (rand == 0) {
gotoAndPlay ("strikedown1");
}
if (rand == 1) {
gotoAndPlay ("strikedown2");
}
if (rand == 2) {
gotoAndPlay ("sidestrike");
}
if (rand == 3) {
gotoAndPlay ("2");
}
}
Symbol 3039 MovieClip Frame 62
_parent.zone2._alpha = 100;
Symbol 3039 MovieClip Frame 89
hand.gotoAndStop("fist");
Symbol 3039 MovieClip Frame 97
_parent._parent._y = _parent._parent._y - 1;
_parent.zone2._alpha = 0;
if (!_root.soundoff) {
_root.playEffect(_root.stomp);
}
Symbol 3039 MovieClip Frame 98
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 99
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 100
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 101
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 102
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 103
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 104
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 105
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 106
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 107
hand.gotoAndStop(1);
Symbol 3039 MovieClip Frame 129
if (_parent.bossdead or _parent.arm1destroyed) {
gotoAndPlay ("explode");
} else {
gotoAndPlay (2);
}
Symbol 3039 MovieClip Frame 130
_parent.zone1._alpha = 100;
Symbol 3039 MovieClip Frame 157
hand.gotoAndStop("fist");
Symbol 3039 MovieClip Frame 165
_parent._parent._y = _parent._parent._y - 1;
_parent.zone1._alpha = 0;
if (!_root.soundoff) {
_root.playEffect(_root.stomp);
}
Symbol 3039 MovieClip Frame 166
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 167
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 168
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 169
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 170
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 171
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 172
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 173
_parent._parent._y = _parent._parent._y - 1;
Symbol 3039 MovieClip Frame 174
_parent._parent._y = _parent._parent._y + 1;
Symbol 3039 MovieClip Frame 175
hand.gotoAndStop(1);
Symbol 3039 MovieClip Frame 196
if (_parent.bossdead or _parent.arm1destroyed) {
gotoAndPlay ("explode");
} else {
gotoAndPlay (2);
}
Symbol 3039 MovieClip Frame 255
hand.gotoAndStop("sidefist");
Symbol 3039 MovieClip Frame 296
hand.gotoAndStop(1);
Symbol 3039 MovieClip Frame 332
if (_parent.bossdead or _parent.arm1destroyed) {
gotoAndPlay ("explode");
} else {
gotoAndPlay (2);
}
Symbol 3039 MovieClip Frame 425
hand.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 428
ball7.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 433
ball6.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 438
ball5.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 442
ball4.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 447
ball3.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 451
ball2.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 456
ball1.gotoAndPlay("explode");
Symbol 3039 MovieClip Frame 483
this.unloadMovie();
this.removeMovieClip();
Symbol 3040 MovieClip Frame 1
stop();
Symbol 3040 MovieClip Frame 61
if (_parent.bossdead or _parent.arm2destroyed) {
gotoAndPlay ("explode");
} else {
var rand = 0;
rand = random(4);
if (rand == 0) {
gotoAndPlay ("strikedown1");
}
if (rand == 1) {
gotoAndPlay ("strikedown2");
}
if (rand == 2) {
gotoAndPlay ("sidestrike");
}
if (rand == 3) {
gotoAndPlay ("2");
}
}
Symbol 3040 MovieClip Frame 62
_parent.zone3._alpha = 100;
Symbol 3040 MovieClip Frame 89
hand.gotoAndStop("fist");
Symbol 3040 MovieClip Frame 97
_parent._parent._y = _parent._parent._y - 1;
_parent.zone3._alpha = 0;
if (!_root.soundoff) {
_root.playEffect(_root.stomp);
}
Symbol 3040 MovieClip Frame 98
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 99
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 100
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 101
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 102
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 103
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 104
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 105
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 106
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 107
hand.gotoAndStop(1);
Symbol 3040 MovieClip Frame 129
if (_parent.bossdead or _parent.arm2destroyed) {
gotoAndPlay ("explode");
} else {
gotoAndPlay (2);
}
Symbol 3040 MovieClip Frame 130
_parent.zone4._alpha = 100;
Symbol 3040 MovieClip Frame 157
hand.gotoAndStop("fist");
Symbol 3040 MovieClip Frame 165
_parent._parent._y = _parent._parent._y - 1;
_parent.zone4._alpha = 0;
if (!_root.soundoff) {
_root.playEffect(_root.stomp);
}
Symbol 3040 MovieClip Frame 166
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 167
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 168
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 169
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 170
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 171
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 172
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 173
_parent._parent._y = _parent._parent._y - 1;
Symbol 3040 MovieClip Frame 174
_parent._parent._y = _parent._parent._y + 1;
Symbol 3040 MovieClip Frame 175
hand.gotoAndStop(1);
Symbol 3040 MovieClip Frame 196
if (_parent.bossdead or _parent.arm2destroyed) {
gotoAndPlay ("explode");
} else {
gotoAndPlay (2);
}
Symbol 3040 MovieClip Frame 255
hand.gotoAndStop("sidefist");
Symbol 3040 MovieClip Frame 296
hand.gotoAndStop(1);
Symbol 3040 MovieClip Frame 332
if (_parent.bossdead or _parent.arm2destroyed) {
gotoAndPlay ("explode");
} else {
gotoAndPlay (2);
}
Symbol 3040 MovieClip Frame 425
hand.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 428
ball7.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 433
ball6.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 438
ball5.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 442
ball4.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 447
ball3.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 451
ball2.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 456
ball1.gotoAndPlay("explode");
Symbol 3040 MovieClip Frame 483
this.unloadMovie();
this.removeMovieClip();
Symbol 3044 MovieClip Frame 1
stop();
Symbol 3044 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.kontrabigbang);
}
Symbol 3044 MovieClip Frame 31
_parent._parent.gotoAndPlay("success");
this.unloadMovie();
this.removeMovieClip();
Symbol 3082 MovieClip Frame 1
stop();
Symbol 3082 MovieClip Frame 8
stop();
Symbol 3082 MovieClip Frame 21
stop();
Symbol 3082 MovieClip Frame 30
stop();
Symbol 3082 MovieClip Frame 41
stop();
Symbol 3082 MovieClip Frame 44
stop();
Symbol 3082 MovieClip Frame 52
stop();
Symbol 3082 MovieClip Frame 60
stop();
Symbol 3082 MovieClip Frame 71
stop();
Symbol 3082 MovieClip Frame 80
stop();
Symbol 3115 MovieClip Frame 1
stop();
Symbol 3115 MovieClip Frame 13
play();
Symbol 3115 MovieClip Frame 24
gotoAndPlay ("run");
Symbol 3115 MovieClip Frame 32
gotoAndPlay ("jump");
Symbol 3115 MovieClip Frame 33
if (!_root.soundoff) {
_root.playEffect(_root.contradie);
}
_parent.dead = true;
Symbol 3115 MovieClip Frame 80
if (_root.lives > 0) {
_parent.dead = false;
_parent.invincible = true;
_parent.guy._x = 173;
_parent.guy._y = 385;
gotoAndPlay (1);
} else {
stop();
}
Symbol 3116 MovieClip Frame 1
function movebadbullets() {
var _local4 = 0;
while (_local4 < badbullets.length) {
var _local3 = badbullets[_local4];
if (!_local3.mouth) {
_local3._y = _local3._y + 10;
_local3._x = _local3._x + _local3.xval;
if (((((!bossdead) && (!invincible)) && (!dead)) && (_local3.hitTest(guy.hitarea))) && (!_local3.mouth)) {
dead = true;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
guy.gotoAndPlay("deads");
ber = this.attachMovie("redblast", "cloccudaa" + effcv, effcv + 100);
effcv++;
ber._x = _local3._x;
ber._y = _local3._y + 15;
_local3.unloadMovie();
_local3.removeMovieClip();
badbullets.splice(_local4, 1);
_local4--;
}
if ((_local3._y > 426) && (!_local3.mouth)) {
ber = this.attachMovie("redblast", "cloccudaa" + effcv, effcv + 100);
effcv++;
ber._x = _local3._x;
ber._y = _local3._y + 15;
_local3.unloadMovie();
_local3.removeMovieClip();
badbullets.splice(_local4, 1);
_local4--;
}
}
if (_local3.mouth) {
_local3._y = _local3._y + 5;
_local3._x = _local3._x + _local3.xval;
if (((((!bossdead) && (!invincible)) && (!dead)) && (_local3.hitTest(guy.hitarea))) && (_local3.mouth)) {
dead = true;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
guy.gotoAndPlay("deads");
ber = this.attachMovie("bloom", "cloccudaa" + effcv, effcv + 100);
effcv++;
ber._x = _local3._x;
ber._y = _local3._y - 40;
_local3.unloadMovie();
_local3.removeMovieClip();
badbullets.splice(_local4, 1);
_local4--;
}
if ((_local3._y > 438) && (_local3.mouth)) {
ber = this.attachMovie("megaexplosion", "cloccudaa" + effcv, effcv + 100);
effcv++;
ber._x = _local3._x;
ber._y = 396;
_local3.unloadMovie();
_local3.removeMovieClip();
badbullets.splice(_local4, 1);
_local4--;
}
}
_local4++;
}
}
function movebullets() {
var _local3 = 0;
while (_local3 < bullets.length) {
var _local2 = bullets[_local3];
if (_local2.dir == 1) {
_local2._x = _local2._x - 10;
_local2._y = _local2._y + 10;
}
if (_local2.dir == 2) {
_local2._x = _local2._x - 20;
}
if (_local2.dir == 3) {
_local2._x = _local2._x - 10;
_local2._y = _local2._y - 10;
}
if (_local2.dir == 4) {
_local2._y = _local2._y - 20;
}
if (_local2.dir == 5) {
_local2._y = _local2._y - 20;
}
if (_local2.dir == 6) {
_local2._x = _local2._x + 10;
_local2._y = _local2._y - 10;
}
if (_local2.dir == 7) {
_local2._x = _local2._x + 20;
}
if (_local2.dir == 8) {
_local2._x = _local2._x + 10;
_local2._y = _local2._y + 10;
}
if ((_local2.dir == 9) or (_local2.dir == 10)) {
_local2._y = _local2._y + 20;
}
if ((((_local2._x < -12) or (_local2._x > 370)) or (_local2._y > 600)) or (_local2._y < -16)) {
_local2.unloadMovie();
_local2.removeMovieClip();
bullets.splice(_local3, 1);
_local3--;
}
if (_local2._y > 445) {
bb = this.attachMovie("bulletblast", "cloccudaa" + effcv, effcv + 10000);
effcv++;
bb._x = _local2._x;
bb._y = _local2._y;
_local2.unloadMovie();
_local2.removeMovieClip();
bullets.splice(_local3, 1);
_local3--;
}
if (_local2.hitTest(alienboss.head.hitarea)) {
headhp = headhp - 1;
headflash = true;
bb = this.attachMovie("bulletblast", "cloccudaa" + effcv, effcv + 10000);
effcv++;
bb._x = _local2._x;
bb._y = _local2._y;
_local2.unloadMovie();
_local2.removeMovieClip();
bullets.splice(_local3, 1);
_local3--;
}
if (_local2.hitTest(bossarm1.hand.hitarea)) {
arm1hp = arm1hp - 1;
hand1flash = true;
bb = this.attachMovie("bulletblast", "cloccudaa" + effcv, effcv + 10000);
effcv++;
bb._x = _local2._x;
bb._y = _local2._y;
_local2.unloadMovie();
_local2.removeMovieClip();
bullets.splice(_local3, 1);
_local3--;
}
if (_local2.hitTest(bossarm2.hand.hitarea)) {
arm2hp = arm2hp - 1;
hand2flash = true;
bb = this.attachMovie("bulletblast", "cloccudaa" + effcv, effcv + 10000);
effcv++;
bb._x = _local2._x;
bb._y = _local2._y;
_local2.unloadMovie();
_local2.removeMovieClip();
bullets.splice(_local3, 1);
_local3--;
}
_local3++;
}
}
_root.infinite = true;
var eyeszap = false;
var effcv = 0;
if (_root.difficulty == 0) {
hp._alpha = 100;
}
var mhp = 10;
_root.gamefreeze = true;
var gamestartcount = 0;
var mouthzap = false;
var startsounds = false;
var eyezapval = 0;
var bossdead = false;
var blowcounter = 0;
var shakecounter = 0;
var faceleft = true;
var run = false;
var downleft = false;
var diagonalleft = false;
var upleft = false;
var normalleft = true;
var normalright = false;
var downright = false;
var upright = false;
var downdownright = false;
var downdownleft = false;
var diagonalright = false;
var shooting = false;
var shootcounter = 3;
var goup = false;
var godown = false;
var jumpcounter = 15;
var jumping = false;
var sdown = false;
var ran = false;
var platformed = false;
var platformgone = false;
var platformcounter = 0;
var headhp = 50;
var arm1hp = 50;
var arm2hp = 50;
var headflash = false;
var headflashcount = 0;
var hand1flash = false;
var hand1flashcount = 0;
var hand2flash = false;
var hand2flashcount = 0;
var arm1destroyed = false;
var arm2destroyed = false;
var deadmove = 24;
var invincible = false;
var invincibletimer = 0;
alienboss._alpha = 0;
bossarm1._alpha = 0;
bossarm2._alpha = 0;
whiteflash.swapDepths(200230);
damaged.swapDepths(200220);
hp.swapDepths(200210);
bossarm1.swapDepths(5137);
bossarm2.swapDepths(5133);
guy.swapDepths(5131);
badbullets = new Array();
bullets = new Array();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if (_root.gamefreeze && (gamestartcount < 121)) {
gamestartcount = gamestartcount + 1;
if (gamestartcount > 120) {
_root.gamefreeze = false;
}
}
if (!_root.gamefreeze) {
movebadbullets();
movebullets();
if (_root.lives < 1) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((_root.difficulty == 0) && (mhp < 1)) {
_root.gamefreeze = true;
_parent.gotoAndPlay("fail");
}
if ((((!bossdead) && (!invincible)) && (!dead)) && (guy.hitarea.hitTest(bossarm1.hand.hitarea2))) {
dead = true;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
guy.gotoAndPlay("deads");
}
if ((((!bossdead) && (!invincible)) && (!dead)) && (guy.hitarea.hitTest(bossarm2.hand.hitarea2))) {
dead = true;
if (_root.difficulty == 1) {
_root.lives = _root.lives - 1;
}
if (_root.difficulty == 0) {
mhp = mhp - 1;
}
damaged.play();
guy.gotoAndPlay("deads");
}
if (dead) {
run = false;
if (faceleft) {
guy._x = guy._x + (deadmove / 4);
deadmove = deadmove - 1;
}
if (!faceleft) {
guy._x = guy._x - (deadmove / 4);
deadmove = deadmove - 1;
}
if (deadmove < 0) {
deadmove = 0;
}
}
if (invincible) {
deadmove = 24;
invincibletimer = invincibletimer + 1;
guy.shield._alpha = 100;
if (invincibletimer > 45) {
invincible = false;
invincibletimer = 0;
guy.shield._alpha = 0;
}
}
if (arm1hp < 1) {
arm1destroyed = true;
}
if (arm2hp < 1) {
arm2destroyed = true;
}
if ((headhp < 1) && (!_root.youwin)) {
bossdead = true;
_root.youwin = true;
alienboss.gotoAndPlay("dead");
}
if (bossdead && ((guy._y == 385) or (guy._y == 286))) {
guy.gotoAndStop(1);
guy.torso.gotoAndStop("normal");
}
if (headflash) {
headflashcount = headflashcount + 1;
alienboss.head.head2._alpha = 100;
if (headflashcount > 2) {
headflashcount = 0;
headflash = false;
}
}
if (!headflash) {
alienboss.head.head2._alpha = 0;
}
if (hand1flash) {
hand1flashcount = hand1flashcount + 1;
bossarm1.hand.hand2._alpha = 100;
if (hand1flashcount > 2) {
hand1flashcount = 0;
hand1flash = false;
}
}
if (!hand1flash) {
bossarm1.hand.hand2._alpha = 0;
}
if (hand2flash) {
hand2flashcount = hand2flashcount + 1;
bossarm2.hand.hand2._alpha = 100;
if (hand2flashcount > 2) {
hand2flashcount = 0;
hand2flash = false;
}
}
if (!hand2flash) {
bossarm2.hand.hand2._alpha = 0;
}
if ((((((platformed && (!jumping)) && (!dead)) && (Key.isDown(83))) && (Key.isDown(40))) && (!platformgone)) && (!bossdead)) {
platform.hitarea._y = platform.hitarea._y + 1000;
platformcounter = 0;
platformgone = true;
}
if (platformgone) {
platformcounter = platformcounter + 1;
if (platformcounter > 30) {
platform.hitarea._y = platform.hitarea._y - 1000;
platformgone = false;
}
}
if (((!guy.hitTest(platform.hitarea)) && (guy._y == 286)) && (!jumping)) {
guy._y = guy._y + 1;
sdown = true;
jumping = true;
jumpcounter = 0;
godown = true;
run = false;
if (!dead) {
guy.gotoAndPlay("jump");
}
if (godown) {
guy._y = guy._y + jumpcounter;
jumpcounter = jumpcounter + 1;
if (guy._y > 385) {
guy._y = 385;
platformed = false;
jumpcounter = 15;
jumping = false;
godown = false;
goup = false;
}
}
}
if (!Key.isDown(83)) {
sdown = false;
}
if ((((Key.isDown(83) && (!jumping)) && (!sdown)) && (!bossdead)) && (!dead)) {
sdown = true;
jumping = true;
goup = true;
run = false;
guy.gotoAndPlay("jump");
}
if (goup) {
guy._y = guy._y - jumpcounter;
jumpcounter = jumpcounter - 1;
if (jumpcounter < 0) {
goup = false;
godown = true;
}
}
if (godown) {
guy._y = guy._y + jumpcounter;
jumpcounter = jumpcounter + 1;
if (guy.hitTest(platform.hitarea)) {
guy._y = 286;
platformed = true;
jumpcounter = 15;
jumping = false;
godown = false;
goup = false;
}
if (guy._y > 385) {
guy._y = 385;
platformed = false;
jumpcounter = 15;
jumping = false;
godown = false;
goup = false;
}
}
if (!dead) {
if (!Key.isDown(65)) {
shooting = false;
shootcounter = 3;
}
if (Key.isDown(65) && (!bossdead)) {
shootcounter = shootcounter + 1;
shooting = true;
if (!_root.soundoff) {
_root.playEffect(_root.kontrabullet);
}
if (shootcounter > 2) {
shootcounter = 0;
if (!jumping) {
if (diagonalright) {
guy.torso.gotoAndStop("diagonalshoot");
}
if (diagonalleft) {
guy.torso.gotoAndStop("diagonalshoot");
}
if (upright) {
guy.torso.gotoAndStop("upshoot");
}
if (upleft) {
guy.torso.gotoAndStop("upshoot");
}
if (downright) {
guy.torso.gotoAndStop("downshoot");
}
if (downleft) {
guy.torso.gotoAndStop("downshoot");
}
if (normalright) {
guy.torso.gotoAndStop("normalshoot");
}
if (normalleft) {
guy.torso.gotoAndStop("normalshoot");
}
if (downdownright) {
guy.torso.gotoAndStop("downdownshoot");
}
if (downdownleft) {
guy.torso.gotoAndStop("downdownshoot");
}
}
b = this.attachMovie("guybullet", "cloccudaa" + effcv, effcv + 10000);
effcv++;
if (downleft) {
b._x = guy._x - 18;
b._y = guy._y + 56;
b.dir = 1;
}
if (normalleft) {
b._x = guy._x - 23;
b._y = guy._y + 36;
b.dir = 2;
}
if (diagonalleft) {
b._x = guy._x - 18;
b._y = guy._y + 12;
b.dir = 3;
}
if (upleft) {
b._x = guy._x;
b._y = guy._y + 2;
b.dir = 4;
}
if (upright) {
b._x = guy._x;
b._y = guy._y + 2;
b.dir = 5;
}
if (diagonalright) {
b._x = guy._x + 21;
b._y = guy._y + 12;
b.dir = 6;
}
if (normalright) {
b._x = guy._x + 24;
b._y = guy._y + 36;
b.dir = 7;
}
if (downright) {
b._x = guy._x + 14;
b._y = guy._y + 56;
b.dir = 8;
}
if (downdownright) {
b._x = guy._x - 5;
b._y = guy._y + 76;
b.dir = 9;
}
if (downdownleft) {
b._x = guy._x + 5;
b._y = guy._y + 76;
b.dir = 10;
}
bullets.push(b);
}
}
if (faceleft) {
upright = false;
downright = false;
normalright = false;
diagonalright = false;
downdownright = false;
}
if (!faceleft) {
upleft = false;
downleft = false;
normalleft = false;
diagonalleft = false;
downdownleft = false;
}
if (((!Key.isDown(38)) && (!Key.isDown(40))) && (!bossdead)) {
if (faceleft) {
normalleft = true;
upleft = false;
downleft = false;
diagonalleft = false;
downdownleft = false;
}
if (!faceleft) {
normalright = true;
upright = false;
downright = false;
diagonalright = false;
downdownright = false;
}
if ((!Key.isDown(65)) && (!jumping)) {
guy.torso.gotoAndStop("normal");
}
}
if ((Key.isDown(38) && (!bossdead)) && ((!Key.isDown(37)) or (!Key.isDown(39)))) {
if (faceleft) {
normalleft = false;
upleft = true;
downleft = false;
diagonalleft = false;
downdownleft = false;
}
if (!faceleft) {
normalright = false;
upright = true;
downright = false;
diagonalright = false;
downdownright = false;
}
if ((!Key.isDown(65)) && (!jumping)) {
guy.torso.gotoAndStop("up");
}
}
if (Key.isDown(38) && (Key.isDown(37) or Key.isDown(39))) {
if (faceleft) {
normalleft = false;
upleft = false;
downleft = false;
diagonalleft = true;
downdownleft = false;
}
if (!faceleft) {
normalright = false;
upright = false;
downright = false;
diagonalright = true;
downdownright = false;
}
if ((!Key.isDown(65)) && (!jumping)) {
guy.torso.gotoAndStop("diagonal");
}
}
if ((Key.isDown(40) && (!bossdead)) && (Key.isDown(37) or Key.isDown(39))) {
if (faceleft) {
normalleft = false;
upleft = false;
downleft = true;
diagonalleft = false;
downdownleft = false;
}
if (!faceleft) {
normalright = false;
upright = false;
downright = true;
diagonalright = false;
downdownright = false;
}
if ((!Key.isDown(65)) && (!jumping)) {
guy.torso.gotoAndStop("down");
}
}
if (((Key.isDown(40) && (!bossdead)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
if (faceleft) {
normalleft = false;
upleft = false;
downleft = false;
diagonalleft = false;
downdownleft = true;
}
if (!faceleft) {
normalright = false;
upright = false;
downright = false;
diagonalright = false;
downdownright = true;
}
if ((!Key.isDown(65)) && (!jumping)) {
guy.torso.gotoAndStop("downdown");
}
}
}
if (guy._x > 333) {
guy._x = 333;
}
if (guy._x < 25) {
guy._x = 23;
}
if (!dead) {
if (((!Key.isDown(37)) && (!bossdead)) && (!Key.isDown(39))) {
run = false;
if (!jumping) {
guy.gotoAndStop(1);
}
}
if ((Key.isDown(37) && (!bossdead)) && (!Key.isDown(39))) {
if (!faceleft) {
faceleft = true;
guy._xscale = guy._xscale * -1;
}
if ((!run) && (!jumping)) {
guy.gotoAndPlay("run");
run = true;
}
guy._x = guy._x - 4;
}
if (Key.isDown(39) && (!bossdead)) {
if (faceleft) {
faceleft = false;
guy._xscale = guy._xscale * -1;
}
if ((!run) && (!jumping)) {
guy.gotoAndPlay("run");
run = true;
}
guy._x = guy._x + 4;
}
}
if (bossdead) {
alienboss.head.mouth.gotoAndStop(11);
alienboss.head.eye1.gotoAndStop(16);
alienboss.head.eye2.gotoAndStop(16);
shakecounter = shakecounter + 1;
if (shakecounter == 3) {
_parent._y = _parent._y - 3;
}
if (shakecounter == 6) {
_parent._y = _parent._y + 3;
shakecounter = 0;
}
blowcounter = blowcounter + 1;
if (blowcounter > 2) {
blowcounter = 0;
bo = this.attachMovie("bloom", "cloccudaa" + effcv, effcv + 100);
effcv++;
bo._x = 237 - random(157);
bo._y = 178 - random(204);
}
}
if (mouthzap) {
mouthzap = false;
ez2 = this.attachMovie("mouthball", "cloccudaa" + effcv, effcv + 100);
effcv++;
ez2.xval = random(8) - 4;
ez2._x = 178;
ez2._y = 153;
ez2.mouth = true;
badbullets.push(ez2);
}
if (eyezap) {
eyezap = false;
ez = this.attachMovie("eyebullet", "cloccudaa" + effcv, effcv + 100);
effcv++;
ez.xval = random(6) - 3;
eyezapval = ez.xval;
ez._x = 157;
ez._rotation = ez._rotation + 90;
ez._y = 137;
badbullets.push(ez);
ez1 = this.attachMovie("eyebullet", "cloccudaa" + effcv, effcv + 100);
effcv++;
ez1._rotation = ez1._rotation + 90;
ez1._x = 201;
ez1._y = 137;
ez1.xval = eyezapval;
badbullets.push(ez1);
}
}
sky1._x = sky1._x - 3;
if (sky1._x < -255) {
sky1._x = 0;
}
sky2._x = sky2._x - 2;
if (sky2._x < -255) {
sky2._x = 0;
}
sky3._x = sky3._x - 1;
if (sky3._x < -255) {
sky3._x = 0;
}
};
Symbol 3132 MovieClip Frame 1
play();
Symbol 3132 MovieClip Frame 88
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 3132 MovieClip Frame 88
onClipEvent (enterFrame) {
if (_root.outoftime) {
_parent.gotoAndPlay("fail");
}
}
Symbol 3132 MovieClip Frame 116
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 3132 MovieClip Frame 152
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 3132 MovieClip Frame 170
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 3132 MovieClip Frame 171
play();
var bonus = (20 * _root.multiplier);
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
if (_root.lives > 9) {
_root.mmm18 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
_root.youwin = true;
_root.score = _root.score + (20 * _root.multiplier);
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 3132 MovieClip Frame 254
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 3132 MovieClip Frame 267
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 3165 MovieClip Frame 1
stop();
Symbol 3165 MovieClip Frame 10
stop();
Symbol 3174 Button
on (press) {
if (!d1) {
diffcount = diffcount + 1;
mark1._alpha = 100;
mark1.play();
d1 = true;
}
}
Symbol 3176 Button
on (press) {
if (!d3) {
diffcount = diffcount + 1;
mark2._alpha = 100;
mark2.play();
d3 = true;
}
}
Symbol 3178 Button
on (press) {
if (!d2) {
diffcount = diffcount + 1;
mark3._alpha = 100;
mark3.play();
d2 = true;
}
}
Symbol 3181 Button
on (press) {
if (!d4) {
diffcount = diffcount + 1;
mark4._alpha = 100;
mark4.play();
d4 = true;
}
}
Symbol 3186 Button
on (press) {
if (!d5) {
diffcount = diffcount + 1;
mark5._alpha = 100;
mark5.play();
d5 = true;
}
}
Symbol 3188 Button
on (press) {
if (!d6) {
diffcount = diffcount + 1;
mark6._alpha = 100;
mark6.play();
d6 = true;
}
}
Symbol 3193 Button
on (press) {
if (!d7) {
diffcount = diffcount + 1;
mark7._alpha = 100;
mark7.play();
d7 = true;
}
}
Symbol 3195 Button
on (press) {
if (!d8) {
diffcount = diffcount + 1;
mark8._alpha = 100;
mark8.play();
d8 = true;
}
}
Symbol 3197 Button
on (press) {
if (!d9) {
diffcount = diffcount + 1;
mark9._alpha = 100;
mark9.play();
d9 = true;
}
}
Symbol 3199 Button
on (press) {
if (!d10) {
diffcount = diffcount + 1;
mark10._alpha = 100;
mark10.play();
d10 = true;
}
}
Symbol 3205 MovieClip Frame 1
stop();
Symbol 3205 MovieClip Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.finddifference);
}
Symbol 3205 MovieClip Frame 4
stop();
Symbol 3209 MovieClip Frame 1
var diffcount = 0;
var randomget = 0;
var placements = 0;
var d1 = false;
var d2 = false;
var d3 = false;
var d4 = false;
var d5 = false;
var d6 = false;
var d7 = false;
var d8 = false;
var d9 = false;
var d10 = false;
mark1._alpha = 0;
mark2._alpha = 0;
mark3._alpha = 0;
mark4._alpha = 0;
mark5._alpha = 0;
mark6._alpha = 0;
mark7._alpha = 0;
mark8._alpha = 0;
mark9._alpha = 0;
mark10._alpha = 0;
Mouse.hide();
this.onEnterFrame = function () {
if ((_root.soundoff or _root.youwin) or _root.youlose) {
_root.loop7.stop();
_root.loopstarted7 = false;
}
if ((((!_root.soundoff) && (!_root.loopstarted7)) && (!_root.youwin)) && (!_root.youlose)) {
_root.loop7.start(0, 999);
_root.loop7.setVolume(_root.bgvolume);
_root.loopstarted7 = true;
}
if ((diffcount == 5) && (!_root.gamefreeze)) {
bigbutton._x = -15;
_root.gamefreeze = true;
screen1.gotoAndStop("victory");
screen2.gotoAndStop("victory");
_parent.gotoAndPlay("success");
}
if (_root.youlose) {
bigbutton._x = -15;
mark1._alpha = 100;
mark1.play();
mark2._alpha = 100;
mark2.play();
mark3._alpha = 100;
mark3.play();
mark4._alpha = 100;
mark4.play();
mark5._alpha = 100;
mark5.play();
mark6._alpha = 100;
mark6.play();
mark7._alpha = 100;
mark7.play();
mark8._alpha = 100;
mark8.play();
mark9._alpha = 100;
mark9.play();
mark10._alpha = 100;
mark10.play();
}
if (placements < 4) {
randomget = random(10);
if (randomget == 0) {
diff1._x = diff1._x + 1000;
mark1._x = mark1._x + 1000;
placements = placements + 1;
}
if (randomget == 1) {
diff2._x = diff2._x + 1000;
mark2._x = mark2._x + 1000;
placements = placements + 1;
}
if (randomget == 2) {
diff3._x = diff3._x + 1000;
mark3._x = mark3._x + 1000;
placements = placements + 1;
}
if (randomget == 3) {
diff4._x = diff4._x + 1000;
mark4._x = mark4._x + 1000;
placements = placements + 1;
}
if (randomget == 4) {
diff5._x = diff5._x + 1000;
mark5._x = mark5._x + 1000;
placements = placements + 1;
}
if (randomget == 5) {
diff6._x = diff6._x + 1000;
mark6._x = mark6._x + 1000;
placements = placements + 1;
}
if (randomget == 6) {
diff7._x = diff7._x + 1000;
mark7._x = mark7._x + 1000;
placements = placements + 1;
}
if (randomget == 7) {
diff8._x = diff8._x + 1000;
mark8._x = mark8._x + 1000;
placements = placements + 1;
}
if (randomget == 8) {
diff9._x = diff9._x + 1000;
mark9._x = mark9._x + 1000;
placements = placements + 1;
}
if (randomget == 9) {
diff10._x = diff10._x + 1000;
mark10._x = mark10._x + 1000;
placements = placements + 1;
}
}
pen._x = _xmouse;
pen._y = _ymouse;
if (pen._x < 13) {
pen._x = 13;
}
if (pen._x > 340) {
pen._x = 340;
}
if (pen._y < 245) {
pen._y = 245;
}
if (pen._y > 460) {
pen._y = 460;
}
};
Symbol 3222 MovieClip Frame 1
stop();
Symbol 3222 MovieClip Frame 35
stop();
_root.timestop = false;
_root.newgamestart = true;
Instance of Symbol 399 MovieClip in Symbol 3222 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.outoftime) {
_root.gamefreeze = true;
_root.youlose = true;
_parent.gotoAndPlay("fail");
}
}
Symbol 3222 MovieClip Frame 63
play();
Mouse.show();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youlose = true;
_root.newgamestart = false;
_root.timeout = false;
_root.outoftime = false;
_root.timestop = true;
_root.lives = _root.lives - 1;
_root.multiplier = 1;
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 3222 MovieClip Frame 99
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorsfail", "fail", -105);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 3222 MovieClip Frame 117
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 3222 MovieClip Frame 118
play();
if (_root.storymode) {
_root.storycount = _root.storycount + 1;
}
_root.youwin = true;
_root.newgamestart = false;
_root.timestop = true;
_root.outoftime = false;
_root.timeout = false;
_root.score = _root.score + (_root.multiplier * _root.timeleft);
_root.multiplier = _root.multiplier + 1;
if (_root.multiplier > 10) {
_root.multiplier = 10;
}
if (_root.timeattack) {
_root.timespeed = _root.timespeed - 1;
if (_root.timespeed < 1) {
_root.timespeed = 1;
}
}
Symbol 3222 MovieClip Frame 167
Mouse.show();
if (!_root.practice) {
doorsdown = _root.backgrounda.backgrounda2.attachMovie("golddoorswin", "fail", -110);
doorsdown._x = 0;
doorsdown._y = 0;
}
Symbol 3222 MovieClip Frame 180
stop();
_root.gameon = false;
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 3253 Button
on (release) {
if (_root.instructions) {
_root.mmm1 = 43;
_parent.play();
_root.medalz.gotoAndPlay("medalcheck");
}
if (_root.practice) {
_parent.gotoAndPlay("go");
}
}
Symbol 3255 MovieClip Frame 28
stop();
Symbol 3255 MovieClip Frame 29
play();
Symbol 3255 MovieClip Frame 53
stop();
_root.instructions = false;
_root.timespeed = 30;
_root.timeroff = true;
_root.newgamestart = false;
_root.multiplier = 1;
_root.score = 0;
_root.lives = 10;
_root.storycount = 0;
_root.storymode = false;
_root.timeattack = false;
mainmenu = _root.backgrounda.backgrounda2.attachMovie("mainplatee", "mainmenu", -100);
mainmenu._x = 0;
mainmenu._y = 0;
_parent.nextFrame();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 3263 MovieClip [bullet] Frame 1
stop();
Symbol 3263 MovieClip [bullet] Frame 7
play();
Symbol 3263 MovieClip [bullet] Frame 12
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 3264 MovieClip [boom] Frame 6
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 3276 MovieClip [boom2] Frame 20
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 3278 MovieClip [flake] Frame 20
stop();
this.unloadMovie();
this.removeMovieClip();
Symbol 3280 MovieClip [blood] Frame 18
this.unloadMovie();
this.removeMovieClip();
Symbol 3289 MovieClip [break] Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.icebreak);
}
Symbol 3289 MovieClip [break] Frame 17
this.unloadMovie();
this.removeMovieClip();
Symbol 3303 MovieClip [gusher] Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.fruitgrab);
}
Symbol 3303 MovieClip [gusher] Frame 15
this.unloadMovie();
this.removeMovieClip();
Symbol 3313 MovieClip [astroidblow] Frame 1
if (!_root.soundoff) {
_root.playEffect(_root.atroid2destroy);
}
Symbol 3313 MovieClip [astroidblow] Frame 15
this.unloadMovie();
this.removeMovieClip();
Symbol 3318 MovieClip [zapboom] Frame 5
this.unloadMovie();
this.removeMovieClip();
Symbol 3355 MovieClip Frame 13
stop();
Symbol 3378 MovieClip [goodarrow] Frame 29
this.unloadMovie();
this.removeMovieClip();
Symbol 3386 MovieClip [badarrow] Frame 29
this.unloadMovie();
this.removeMovieClip();
Symbol 3428 MovieClip Frame 14
stop();
Symbol 3457 MovieClip [bottlebreak] Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.breakwindow);
}
Symbol 3457 MovieClip [bottlebreak] Frame 23
this.unloadMovie();
this.removeMovieClip();
Symbol 3470 MovieClip Frame 15
stop();
Symbol 3473 Button
on (press) {
_root.trub = true;
if (_root.trub2) {
_root.mmm3 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
_root.storymode = true;
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
}
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.boip);
}
}
Symbol 3475 MovieClip Frame 15
stop();
Symbol 3478 Button
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.boip);
}
}
on (press) {
_root.trub2 = true;
if (_root.trub) {
_root.mmm3 = 43;
_root.medalz.gotoAndPlay("medalcheck");
}
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
_root.timeattack = true;
}
Symbol 3480 MovieClip Frame 15
stop();
Symbol 3483 Button
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.boip);
}
}
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
_root.instructions = true;
}
Symbol 3485 MovieClip Frame 15
stop();
Symbol 3487 Button
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.boip);
}
}
on (release) {
if (!_root.soundoff) {
_root.playEffect(_root.greatselect);
}
_root.practice = true;
}
Symbol 3498 MovieClip Frame 40
if (!_root.soundoff) {
_root.playEffect(_root.static2);
}
Symbol 3498 MovieClip Frame 85
stop();
Symbol 3503 MovieClip Frame 105
gotoAndPlay ("restart");
Symbol 3508 MovieClip Frame 57
stop();
Symbol 3532 MovieClip [mainplatee] Frame 1
stopAllSounds();
if (!_root.soundoff) {
_root.playEffect(_root.closingin);
}
Symbol 3532 MovieClip [mainplatee] Frame 42
if (!_root.soundoff) {
_root.playEffect(_root.slam3);
}
Instance of Symbol 3529 MovieClip in Symbol 3532 MovieClip [mainplatee] Frame 42
onClipEvent (enterFrame) {
function playEffect(sname) {
sname.start();
sname.setVolume(bgvolume);
}
if (_root.soundoff) {
stopAllSounds();
_root.loopstarted1 = false;
}
if (!_root.soundoff) {
if (!_root.loopstarted1) {
_root.loop1.start(0, 999);
_root.loop1.setVolume(_root.bgvolume);
_root.loopstarted1 = true;
}
}
}
Symbol 3532 MovieClip [mainplatee] Frame 81
stop();
Instance of Symbol 3529 MovieClip in Symbol 3532 MovieClip [mainplatee] Frame 81
onClipEvent (enterFrame) {
function playEffect(sname) {
sname.start();
sname.setVolume(bgvolume);
}
if (((_root.storymode or _root.timeattack) or _root.instructions) or _root.practice) {
_parent.gotoAndPlay("goingup");
}
if (_root.soundoff) {
stopAllSounds();
_root.loopstarted1 = false;
}
if (!_root.soundoff) {
if (!_root.loopstarted1) {
_root.loop1.start(0, 999);
_root.loop1.setVolume(_root.bgvolume);
_root.loopstarted1 = true;
}
}
}
Symbol 3532 MovieClip [mainplatee] Frame 82
play();
if ((!_root.instructions) && (!_root.practice)) {
_root.loop1.stop();
_root.loopstarted1 = false;
mainmenu4 = _root.backgrounda.backgrounda2.attachMovie("golddoorsgetready", "doorster", -102);
mainmenu4._x = 0;
mainmenu4._y = 0;
}
if (_root.instructions) {
_root.loop1.stop();
_root.loopstarted1 = false;
mainmenu5 = _root.backgrounda.backgrounda2.attachMovie("instructionscreen", "doorsdter", -106);
mainmenu5._x = 0;
mainmenu5._y = 0;
}
if (_root.practice) {
_root.loop1.stop();
_root.loopstarted1 = false;
mainmenu6 = _root.backgrounda.backgrounda2.attachMovie("practicescreen", "doorsdter", -106);
mainmenu6._x = 0;
mainmenu6._y = 0;
}
if (!_root.soundoff) {
_root.playEffect(_root.startfun);
}
Symbol 3532 MovieClip [mainplatee] Frame 96
stop();
this.unloadMovie();
this.removeMovieClip();
Instance of Symbol 3529 MovieClip in Symbol 3532 MovieClip [mainplatee] Frame 96
onClipEvent (enterFrame) {
if ((!_root.storymode) && (!_root.timeattack)) {
_parent.gotoAndPlay("goingdown");
}
}
Symbol 3576 MovieClip [redblast] Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.kontraexplosion);
}
Symbol 3576 MovieClip [redblast] Frame 20
this.unloadMovie();
this.removeMovieClip();
Symbol 3622 MovieClip [bloom] Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.kontraexplosion);
}
Symbol 3622 MovieClip [bloom] Frame 19
this.unloadMovie();
this.removeMovieClip();
Symbol 3669 MovieClip [megaexplosion] Frame 2
if (!_root.soundoff) {
_root.playEffect(_root.kontrabigbang);
}
Symbol 3669 MovieClip [megaexplosion] Frame 53
this.unloadMovie();
this.removeMovieClip();
Symbol 3678 MovieClip [bulletblast] Frame 5
this.unloadMovie();
this.removeMovieClip();
Symbol 3690 Button
on (release) {
getURL ("http://www.maxgames.com/guides/insanity-box-2.html", (target = "blank"));
}
Symbol 3696 Button
on (release) {
_root.gameon = true;
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame1", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3697 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.gameon = true;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame2", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3698 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame3", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3699 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.gameon = true;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame4", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3700 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame5", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3701 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.gameon = true;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame6", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3702 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.gameon = true;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame7", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3703 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame8", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3704 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame9", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3705 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.gameon = true;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame10", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3706 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.gameon = true;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame11", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3707 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame12", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3708 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame13", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3709 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.gameon = true;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame14", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3710 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame15", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3715 Button
on (release) {
gotoAndStop ("two");
}
Symbol 3719 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame16", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3720 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame17", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3721 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame18", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3722 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.gameon = true;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame19", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3723 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame20", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3724 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame21", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3725 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame22", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3726 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.gameon = true;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame23", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3727 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame24", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3728 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.gameon = true;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame25", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3729 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame26", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3730 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame27", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3731 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.gameon = true;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame28", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3732 Button
on (release) {
_root.gamefreeze = false;
_root.youlose = false;
_root.youwin = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.infinite = true;
_root.loopstarted1 = false;
_root.loopstarted3 = false;
_root.loopstarted2 = false;
_root.loopstarted4 = false;
_root.gameon = true;
_root.loopstarted5 = false;
_root.loopstarted6 = false;
_root.loopstarted7 = false;
_root.loopstarted8 = false;
_root.loopstarted9 = false;
gaimez = _root.backgrounda.backgrounda2.attachMovie("minigame29", "yay", 200);
gaimez._x = 0;
gaimez._y = 0;
if (!_root.soundoff) {
_root.playEffect(_root.opendoor);
}
}
Symbol 3734 Button
on (release) {
gotoAndStop ("one");
}
Symbol 3738 MovieClip Frame 1
Mouse.show();
stopAllSounds();
_root.score = 0;
_root.streak = 0;
_root.multiplier = 0;
this.onEnterFrame = function () {
if (_root.gameon) {
megabutton._x = -123;
megabutton._y = -246;
} else {
megabutton._x = -2123;
megabutton._y = -2246;
}
};
Symbol 3738 MovieClip Frame 28
stop();
Mouse.show();
_root.score = 0;
_root.difficulty = 3;
Symbol 3738 MovieClip Frame 35
stop();
Mouse.show();
_root.score = 0;
_root.difficulty = 4;
Symbol 3738 MovieClip Frame 44
play();
Symbol 3738 MovieClip Frame 68
Mouse.show();
pausee = false;
spacedown = false;
_root.racetime = 0;
_root.streakcount = 0;
_root.timespeed = 30;
_root.timecount = 0;
_root.gamefreeze = false;
_root.infinite = false;
_root.timewin = false;
_root.youlose = false;
_root.youwin = false;
_root.effcv = 1;
_root.infinite = false;
_root.gamefreeze = false;
_root.instructions = false;
_root.practice = false;
_root.racetime = 10;
_root.timeattack = false;
_root.storymode = false;
_root.timeroff = true;
_root.gameon = false;
_root.newgamestart = false;
_root.multiplier = 0;
_root.score = 0;
_root.lives = 10;
_root.storycount = 0;
_root.keyquality = 81;
_root.fatframe = false;
_root.fatframe2 = false;
_root.boostarted = false;
_root.cheerstarted = false;
_root.difficulty = 0;
_root.targetscore = 1000;
mainmenu = _root.backgrounda.backgrounda2.attachMovie("mainplatee", "mainmenu", -100);
mainmenu._x = 0;
mainmenu._y = 0;
_parent.nextFrame();
_parent.unloadMovie();
_parent.removeMovieClip();
Symbol 3881 MovieClip Frame 1
stop();
Symbol 3883 MovieClip Frame 170
_parent.play();
stop();
Symbol 3889 Button
on (press) {
gotoAndPlay ("startup");
}
Symbol 3925 MovieClip Frame 1
_root.stop();
Symbol 3925 MovieClip Frame 186
_parent.gotoAndPlay("poxintro");
Symbol 3930 Button
on (release) {
getURL ("http://www.thepoxbox.com/", (target = "blank"));
}
Symbol 3933 MovieClip Frame 97
_parent.gotoAndPlay("startup");
Symbol 3946 Button
on (release) {
getURL ("http://www.maxgames.com/play/the-insanity-box.html", (target = "blank"));
}
Symbol 3992 MovieClip Frame 1
stop();
Instance of Symbol 3971 MovieClip in Symbol 3992 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives == 0) {
_parent.gotoAndStop("zero");
}
if (_root.lives == 1) {
_parent.gotoAndStop("one");
}
if (_root.lives == 2) {
_parent.gotoAndStop("two");
}
if (_root.lives == 3) {
_parent.gotoAndStop("three");
}
if (_root.lives == 4) {
_parent.gotoAndStop("four");
}
if (_root.lives == 5) {
_parent.gotoAndStop("five");
}
if (_root.lives == 6) {
_parent.gotoAndStop("six");
}
if (_root.lives == 7) {
_parent.gotoAndStop("seven");
}
if (_root.lives == 8) {
_parent.gotoAndStop("eight");
}
if (_root.lives == 9) {
_parent.gotoAndStop("nine");
}
if (_root.lives == 10) {
_parent.gotoAndStop("ten");
}
}
Symbol 3992 MovieClip Frame 8
stop();
Symbol 3992 MovieClip Frame 15
stop();
Symbol 3992 MovieClip Frame 19
stop();
Symbol 3992 MovieClip Frame 24
stop();
Symbol 3992 MovieClip Frame 29
stop();
Symbol 3992 MovieClip Frame 35
stop();
Symbol 3992 MovieClip Frame 40
stop();
Symbol 3992 MovieClip Frame 45
stop();
Symbol 3992 MovieClip Frame 52
stop();
Symbol 3992 MovieClip Frame 59
stop();
Symbol 4006 Button
on (press) {
nextFrame();
}
on (rollOver) {
if (!_root.soundoff) {
_root.playEffect(_root.click2);
}
}
Symbol 4015 MovieClip Frame 1
stop();
_root._quality = "BEST";
Instance of Symbol 4008 MovieClip in Symbol 4015 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.keyquality) && (!_root.keyq)) {
_parent.nextFrame();
_root.keyq = true;
}
if (!Key.isDown(_root.keyquality)) {
_root.keyq = false;
}
}
Symbol 4015 MovieClip Frame 2
stop();
_root._quality = "MEDIUM";
Symbol 4015 MovieClip Frame 3
stop();
_root._quality = "LOW";
Symbol 4015 MovieClip Frame 4
if (!_root.soundoff) {
_root.playEffect(_root.click2);
}
gotoAndStop (1);
Instance of Symbol 4017 MovieClip in Symbol 4019 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.soundoff) {
_parent.gotoAndStop(5);
}
}
Symbol 4023 Button
on (press) {
_root.soundoff = true;
_root.savefile.data.sound = true;
}
Symbol 4024 Button
on (press) {
_root.soundoff = false;
_root.savefile.data.sound = false;
}
Instance of Symbol 4019 MovieClip in Symbol 4026 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.soundoff) {
_parent.gotoAndStop(5);
}
}
Instance of Symbol 4019 MovieClip in Symbol 4026 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.soundoff) {
_parent.gotoAndStop(1);
}
}
Symbol 4049 MovieClip Frame 1
gotoAndPlay ("idle");
Symbol 4049 MovieClip Frame 2
stop();
_root.timewin = false;
_root.timeleft = 31;
Instance of Symbol 4041 MovieClip in Symbol 4049 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.timecount = _root.timecount + 1;
if (_root.infinite) {
_parent.gotoAndStop("infinite");
}
if (_root.timecount > _root.timespeed) {
_root.timecount = 0;
_root.timeleft = _root.timeleft - 1;
_root.fatframe = true;
_root.fatframe2 = true;
_parent.nextFrame();
}
if (_root.timestop) {
if (!_root.youwin) {
_parent.gotoAndStop("idle");
}
if (_root.youwin) {
_parent.gotoAndPlay("wintime");
}
}
}
Symbol 4049 MovieClip Frame 26
if (!_root.soundoff) {
_root.playEffect(_root.timer);
}
Symbol 4049 MovieClip Frame 27
if (!_root.soundoff) {
_root.playEffect(_root.timer);
}
_root.racetime = 2;
Symbol 4049 MovieClip Frame 28
if (!_root.soundoff) {
_root.playEffect(_root.timer);
}
Symbol 4049 MovieClip Frame 29
if (!_root.soundoff) {
_root.playEffect(_root.timer);
}
Symbol 4049 MovieClip Frame 30
if (!_root.soundoff) {
_root.playEffect(_root.timer);
}
Symbol 4049 MovieClip Frame 31
_root.outoftime = true;
if (!_root.youwin) {
gotoAndPlay ("death");
}
Instance of Symbol 4041 MovieClip in Symbol 4049 MovieClip Frame 32
onClipEvent (enterFrame) {
if (!_root.youwin) {
gotoAndPlay ("death");
}
if (_root.youwin) {
gotoAndPlay ("wintime");
}
}
Symbol 4049 MovieClip Frame 33
stop();
Instance of Symbol 4041 MovieClip in Symbol 4049 MovieClip Frame 33
onClipEvent (enterFrame) {
if (!_root.infinite) {
_parent.gotoAndPlay("idle");
}
}
Symbol 4049 MovieClip Frame 50
play();
Instance of Symbol 4041 MovieClip in Symbol 4049 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.newgamestart) {
_root.timestop = false;
_root.outoftime = false;
_root.newgamestart = false;
_root.timecount = 0;
_parent.gotoAndStop("timerstart");
}
}
Symbol 4049 MovieClip Frame 67
stop();
Symbol 4049 MovieClip Frame 68
stop();
Symbol 4049 MovieClip Frame 73
play();
if (_root.youwin) {
gotoAndPlay ("wintime");
}
Symbol 4049 MovieClip Frame 74
if (_root.youwin) {
gotoAndPlay ("wintime");
}
Instance of Symbol 363 MovieClip in Symbol 4049 MovieClip Frame 74
onClipEvent (enterFrame) {
if (_root.youwin) {
_parent.gotoAndPlay("wintime");
}
}
Symbol 4049 MovieClip Frame 75
if (!_root.soundoff) {
_root.playEffect(_root.buzzer);
}
Symbol 4049 MovieClip Frame 97
gotoAndPlay ("idle");
Symbol 4049 MovieClip Frame 98
_root.timewin = false;
if (!_root.soundoff) {
_root.playEffect(_root.victoryding);
}
Symbol 4049 MovieClip Frame 146
_root.timewin = false;
gotoAndPlay ("idle");
Symbol 4063 MovieClip Frame 1
stop();
Instance of Symbol 4062 MovieClip in Symbol 4063 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.timeattack or _root.storymode) {
_parent.play();
}
}
Symbol 4063 MovieClip Frame 24
stop();
Instance of Symbol 4062 MovieClip in Symbol 4063 MovieClip Frame 24
onClipEvent (enterFrame) {
if ((!_root.timeattack) && (!_root.storymode)) {
_parent.play();
}
}
Symbol 4076 Button
on (press) {
play();
}
Symbol 4145 Button
on (release) {
gotoAndPlay ("close");
}
Symbol 4150 Button
on (rollOver) {
medalname = "Student";
medaldescription = "Read the instructions";
}
Symbol 4154 Button
on (rollOver) {
medalname = "Story God";
medaldescription = "Complete STORY MODE with all 10 lives.";
}
Symbol 4158 Button
on (rollOver) {
medalname = "Random God";
medaldescription = "Win 30 games in RANDOM MODE with 10 lives remaining.";
}
Symbol 4162 Button
on (rollOver) {
medalname = "Streak God";
medaldescription = "Get a streak of 50 or more.";
}
Symbol 4166 Button
on (rollOver) {
medalname = "It's Over 10 000!";
medaldescription = "Get a score of 10 000 points or more.";
}
Symbol 4169 Button
on (rollOver) {
medalname = "Five Kay";
medaldescription = "Reach a score of 5000 points or more.";
}
Symbol 4173 Button
on (rollOver) {
medalname = "The Ending Story";
medaldescription = "Finish STORY MODE";
}
Symbol 4176 Button
on (rollOver) {
medalname = "Half-Ass";
medaldescription = "Finish half of STORY MODE";
}
Symbol 4180 Button
on (rollOver) {
medalname = "Streak Master";
medaldescription = "Get a streak of 20 or more.";
}
Symbol 4185 Button
on (rollOver) {
medalname = "Streaker";
medaldescription = "Get a streak of 10 or more.";
}
Symbol 4189 Button
on (rollOver) {
medalname = "Quitter";
medaldescription = "Get your MULTIPLIER up to 10 and then QUIT your game from the PAUSE menu.";
}
Symbol 4193 Button
on (rollOver) {
medalname = "Multiplicity";
medaldescription = "Get your MULTIPLIER up to 10";
}
Symbol 4196 Button
on (rollOver) {
medalname = "Epic Failure";
medaldescription = "Get GAME OVER 10 times in one session of play.";
}
Symbol 4201 Button
on (rollOver) {
medalname = "Alien Buster";
medaldescription = "Beat THE FINAL STAGE without losing a single life.";
}
Symbol 4204 Button
on (rollOver) {
medalname = "Close Race";
medaldescription = "Win RACE with 3 seconds or less left on the clock";
}
Symbol 4209 Button
on (rollOver) {
medalname = "Marksman";
medaldescription = "Get 3 perfect stops in CHARGE.";
}
Symbol 4212 Button
on (rollOver) {
medalname = "Pipe Dream";
medaldescription = "Get all 3 balls to fall on the correct platform in PIPES.";
}
Symbol 4215 Button
on (rollOver) {
medalname = "Drunk";
medaldescription = "Serve 30 beers in BARTENDER.";
}
Symbol 4220 Button
on (rollOver) {
medalname = "Fat Ass";
medaldescription = "Eat 12 food items in DIET RUN.";
}
Symbol 4223 Button
on (rollOver) {
medalname = "Top Gun";
medaldescription = "Destroy 10 planes in JETS.";
}
Symbol 4226 Button
on (rollOver) {
medalname = "Astroid Killer";
medaldescription = "Destroy 10 asteroids in ASTROIDS 2.";
}
Symbol 4229 Button
on (rollOver) {
medalname = "Antichrist";
medaldescription = "Kill a Jesus in COP TRAINING.";
}
Symbol 4234 Button
on (rollOver) {
medalname = "Butcher";
medaldescription = "Lose at ROPE JUMP.";
}
Symbol 4237 Button
on (rollOver) {
medalname = "Bad Monkey";
medaldescription = "Lose at MONKEY GRAB.";
}
Symbol 4240 Button
on (rollOver) {
medalname = "Math Wiz";
medaldescription = "Win KALCULATOR in 7 operations or less.";
}
Symbol 4243 Button
on (rollOver) {
medalname = "Clean Sweep";
medaldescription = "Sweep 10 times in SWEEP THE LEG.";
}
Symbol 4248 Button
on (rollOver) {
medalname = "Poker";
medaldescription = "Poke the mammoth in the eye in MAMMOTH THAW.";
}
Symbol 4252 Button
on (rollOver) {
medalname = "Good Spork";
medaldescription = "Find me a spork!";
}
Symbol 4255 Button
on (rollOver) {
medalname = "Dubble Trubble";
medaldescription = "Try out STORY MODE and RANDOM MODE.";
}
Symbol 4258 Button
on (rollOver) {
medalname = "Submitter";
medaldescription = "Submit a score!";
}
Symbol 4261 Button
on (release) {
_root.savefile.data.mm1 = 1;
_root.savefile.data.mm2 = 2;
_root.savefile.data.mm3 = 2;
_root.savefile.data.mm4 = 2;
_root.savefile.data.mm5 = 2;
_root.savefile.data.mm6 = 2;
_root.savefile.data.mm7 = 2;
_root.savefile.data.mm8 = 2;
_root.savefile.data.mm9 = 2;
_root.savefile.data.mm10 = 2;
_root.savefile.data.mm11 = 2;
_root.savefile.data.mm12 = 2;
_root.savefile.data.mm13 = 2;
_root.savefile.data.mm14 = 2;
_root.savefile.data.mm15 = 2;
_root.savefile.data.mm16 = 2;
_root.savefile.data.mm17 = 2;
_root.savefile.data.mm18 = 2;
_root.savefile.data.mm19 = 2;
_root.savefile.data.mm20 = 2;
_root.savefile.data.mm21 = 2;
_root.savefile.data.mm22 = 2;
_root.savefile.data.mm23 = 2;
_root.savefile.data.mm24 = 2;
_root.savefile.data.mm25 = 2;
_root.savefile.data.mm26 = 2;
_root.savefile.data.mm27 = 2;
_root.savefile.data.mm28 = 2;
_root.savefile.data.mm29 = 2;
_root.savefile.data.mm30 = 2;
}
Symbol 4264 MovieClip Frame 1
stop();
medalname = "Medal Name";
medaldescription = "Medal Description";
Symbol 4264 MovieClip Frame 3
if (_root.savefile.data.mm1 == 1) {
graystuff.m1._alpha = 0;
}
if (_root.savefile.data.mm2 == 1) {
graystuff.m2._alpha = 0;
}
if (_root.savefile.data.mm3 == 1) {
graystuff.m3._alpha = 0;
}
if (_root.savefile.data.mm4 == 1) {
graystuff.m4._alpha = 0;
}
if (_root.savefile.data.mm5 == 1) {
graystuff.m5._alpha = 0;
}
if (_root.savefile.data.mm6 == 1) {
graystuff.m6._alpha = 0;
}
if (_root.savefile.data.mm7 == 1) {
graystuff.m7._alpha = 0;
}
if (_root.savefile.data.mm8 == 1) {
graystuff.m8._alpha = 0;
}
if (_root.savefile.data.mm9 == 1) {
graystuff.m9._alpha = 0;
}
if (_root.savefile.data.mm10 == 1) {
graystuff.m10._alpha = 0;
}
if (_root.savefile.data.mm11 == 1) {
graystuff.m11._alpha = 0;
}
if (_root.savefile.data.mm12 == 1) {
graystuff.m12._alpha = 0;
}
if (_root.savefile.data.mm13 == 1) {
graystuff.m13._alpha = 0;
}
if (_root.savefile.data.mm14 == 1) {
graystuff.m14._alpha = 0;
}
if (_root.savefile.data.mm15 == 1) {
graystuff.m15._alpha = 0;
}
if (_root.savefile.data.mm16 == 1) {
graystuff.m16._alpha = 0;
}
if (_root.savefile.data.mm17 == 1) {
graystuff.m17._alpha = 0;
}
if (_root.savefile.data.mm18 == 1) {
graystuff.m18._alpha = 0;
}
if (_root.savefile.data.mm19 == 1) {
graystuff.m19._alpha = 0;
}
if (_root.savefile.data.mm20 == 1) {
graystuff.m20._alpha = 0;
}
if (_root.savefile.data.mm21 == 1) {
graystuff.m21._alpha = 0;
}
if (_root.savefile.data.mm22 == 1) {
graystuff.m22._alpha = 0;
}
if (_root.savefile.data.mm23 == 1) {
graystuff.m23._alpha = 0;
}
if (_root.savefile.data.mm24 == 1) {
graystuff.m24._alpha = 0;
}
if (_root.savefile.data.mm25 == 1) {
graystuff.m25._alpha = 0;
}
if (_root.savefile.data.mm26 == 1) {
graystuff.m26._alpha = 0;
}
if (_root.savefile.data.mm27 == 1) {
graystuff.m27._alpha = 0;
}
if (_root.savefile.data.mm28 == 1) {
graystuff.m28._alpha = 0;
}
if (_root.savefile.data.mm29 == 1) {
graystuff.m29._alpha = 0;
}
if (_root.savefile.data.mm30 == 1) {
graystuff.m30._alpha = 0;
}
Symbol 4264 MovieClip Frame 7
stop();
Symbol 4277 MovieClip Frame 1
stop();
Symbol 4278 MovieClip Frame 1
var extragets = 0;
this.onEnterFrame = function () {
if ((_root.score > 200) && (extragets == 0)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 500) && (extragets == 1)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 1000) && (extragets == 2)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 2000) && (extragets == 3)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 3500) && (extragets == 4)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 6000) && (extragets == 5)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 9000) && (extragets == 6)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 12000) && (extragets == 7)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 15000) && (extragets == 8)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 18000) && (extragets == 9)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 21000) && (extragets == 10)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if ((_root.score > 25000) && (extragets == 11)) {
if (_root.lives < 10) {
_root.lives = _root.lives + 1;
}
getlife.play();
extragets = extragets + 1;
}
if (_root.lives > 10) {
_root.lives = 10;
}
if (_root.multiplier < 1) {
_root.multiplier = 1;
}
};