Frame 1
function goTo() {
getURL ("http://www.MoFunZone.com", "_blank");
}
stop();
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
this.menu = newMenu;
_root.initial = undefined;
_root.musicPlay = undefined;
resetPreGameStuff();
deleteAllFunctions();
_root.level = undefined;
_root.score = undefined;
Stage.scaleMode = "noScale";
_root.curtains.removeMovieClip();
_root.pause_menu.removeMovieClip();
_root.mask.removeMovieClip();
stopAllSounds();
delete levelDone;
delete levelScores;
banned = true;
Frame 2
stop();
banned = true;
Instance of Symbol 408 MovieClip in Frame 2
on (press) {
getURL ("http://www.corkysurprise.com/", "_blank");
}
Frame 3
stop();
Instance of Symbol 415 MovieClip in Frame 3
on (press) {
getURL ("http://olliethemagichobo.newgrounds.com/", "_blank");
}
Frame 4
banned = true;
Frame 156
_root.gotoAndStop("menu_main");
Frame 157
function changeFrame(where) {
curtains.play();
curtains.where = where;
}
function updateAllVolume() {
music.setVolume(_root.soundVolume);
chargeUp.setVolume(_root.soundVolume);
gamemusic1.setVolume(_root.soundVolume);
game1_gro1.setVolume(_root.soundVolume);
clock1.setVolume(_root.soundVolume);
game2_engine.setVolume(_root.soundVolume);
steam.setVolume(_root.soundVolume);
steamSide.setVolume(_root.soundVolume);
steamSideB.setVolume(_root.soundVolume);
crash.setVolume(_root.soundVolume);
war_room.setVolume(_root.soundVolume);
}
function ls() {
if (_root.musicPlay == undefined) {
_root.createEmptyMovieClip("musicHolder", 100000);
music = new Sound(_root.musicHolder);
music.attachSound("menumusic");
music.setVolume(100);
music.start(0, 99999);
_root.musicPlay = 1;
musicPlaying = true;
_root.createEmptyMovieClip("gameInstruction", 8488383);
if (!_root.sound) {
music.setVolume(0);
}
}
_root.createEmptyMovieClip("soundHolderB", 3834889);
_root.createEmptyMovieClip("clockSounds", 67664889);
_root.createEmptyMovieClip("gameMusic", 309389889);
carEngine = new Sound(_root.soundHolderB);
carEngine.attachSound("game2_engine");
chargeUp = new Sound(_root.soundHolderB);
chargeUp.attachSound("chargeUp");
gamemusic1 = new Sound(_root.gameMusic);
gamemusic1.attachSound("gamemusic1");
gamemusic2 = new Sound(_root.gameMusic);
gamemusic2.attachSound("gamemusic2");
gamemusic3 = new Sound(_root.gameMusic);
gamemusic3.attachSound("gamemusic3");
gamemusic4 = new Sound(_root.gameMusic);
gamemusic4.attachSound("gamemusic4");
gamemusic5 = new Sound(_root.gameMusic);
gamemusic5.attachSound("gamemusic5");
gamemusic6 = new Sound(_root.gameMusic);
gamemusic6.attachSound("gamemusic6");
gamemusic7 = new Sound(_root.gameMusic);
gamemusic7.attachSound("gamemusic7");
_root.createEmptyMovieClip("soundHolder", 10099999);
_root.createEmptyMovieClip("stopSounds", 3099999);
steam = new Sound(_root.car);
steam.attachSound("steam");
steamSide = new Sound(_root.f1);
steamSide.attachSound("steamSide");
steamSideB = new Sound(_root.f3);
steamSideB.attachSound("steamSide");
_root.createEmptyMovieClip("crashSound", 90949);
crash = new Sound(_root.crashSound);
crash.attachSound("crash");
crash.setVolume(70);
crash2 = new Sound(_root.crashSound);
crash2.attachSound("crash2");
crash2.setVolume(70);
crash3 = new Sound(_root.crashSound);
crash3.attachSound("crash3");
crash3.setVolume(70);
game1_ambientBG = new Sound(soundHolder);
game1_ambientBG.attachSound("game1_ambientBG");
game1_gro1 = new Sound(soundHolder);
game1_gro1.attachSound("game1_gro1");
game1_gro2 = new Sound(soundHolder);
game1_gro2.attachSound("game1_gro2");
game1_gro3 = new Sound(soundHolder);
game1_gro3.attachSound("game1_gro3");
sound_click = new Sound(soundHolder);
sound_click.attachSound("game1_click");
clickS = new Sound(soundHolder);
clickS.attachSound("click");
game2_crash1 = new Sound(soundHolder);
game2_crash1.attachSound("game2_crash1");
wingame1 = new Sound(soundHolder);
wingame1.attachSound("wingame1");
wingame2 = new Sound(soundHolder);
wingame2.attachSound("wingame2");
losegame1 = new Sound(soundHolder);
losegame1.attachSound("losegame1");
losegame2 = new Sound(soundHolder);
losegame2.attachSound("losegame2");
game2_crash2 = new Sound(soundHolder);
game2_crash2.attachSound("game2_crash2");
game2_crash3 = new Sound(soundHolder);
game2_crash3.attachSound("game2_crash3");
game2_engine = new Sound(stopSounds);
game2_engine.attachSound("game2_engine");
game2_space = new Sound(stopSounds);
game2_space.attachSound("spacee");
game2_explode = new Sound(soundHolder);
game2_explode.attachSound("game2_explode");
game2_steamSide = new Sound(soundHolderB);
game2_steamSide.attachSound("game2_steamSide");
game2_swallow = new Sound(soundHolder);
game2_swallow.attachSound("game2_swallow");
game3_glass_break = new Sound(soundHolder);
game3_glass_break.attachSound("game3_glass_break");
game3_crack = new Sound(soundHolder);
game3_crack.attachSound("game3_crack");
game4_hit = new Sound(soundHolder);
game4_hit.attachSound("game4_hit");
game4_jump = new Sound(soundHolder);
game4_jump.attachSound("game4_jump");
game4_swing = new Sound(soundHolder);
game4_swing.attachSound("game4_swing");
game5_coin = new Sound(soundHolder);
game5_coin.attachSound("game5_coin");
game5_win = new Sound(soundHolder);
game5_win.attachSound("game5_win");
game5_beep = new Sound(soundHolder);
game5_beep.attachSound("game5_beep");
game5_stone = new Sound(soundHolder);
game5_stone.attachSound("game5_stone");
game7_wrong = new Sound(soundHolder);
game7_wrong.attachSound("game7_wrong");
game8_beep = new Sound(soundHolder);
game8_beep.attachSound("game8_beep");
game8_beep2 = new Sound(soundHolder);
game8_beep2.attachSound("game8_beep2");
game8_IM = new Sound(soundHolder);
game8_IM.attachSound("game8_IM");
game10_dead1 = new Sound(soundHolder);
game10_dead1.attachSound("game10_dead1");
game10_dead2 = new Sound(soundHolder);
game10_dead2.attachSound("game10_dead2");
game10_fire1 = new Sound(soundHolder);
game10_fire1.attachSound("game10_fire1");
game10_fire2 = new Sound(soundHolder);
game10_fire2.attachSound("game10_fire2");
game10_shield = new Sound(soundHolder);
game10_shield.attachSound("game10_shield");
game10_laserFinal = new Sound(soundHolder);
game10_laserFinal.attachSound("game10_laserFinal");
game10_laser3 = new Sound(soundHolder);
game10_laser3.attachSound("game10_laser3");
game12_shoot = new Sound(soundHolder);
game12_shoot.attachSound("game12_shoot");
game19_shoot = new Sound(soundHolder);
game19_shoot.attachSound("game19_shot");
game19_ric = new Sound(soundHolder);
game19_ric.attachSound("game19_ric");
game20_collect1 = new Sound(soundHolder);
game20_collect1.attachSound("game20_collect1");
game20_collect2 = new Sound(soundHolder);
game20_collect2.attachSound("game20_collect2");
game20_jump = new Sound(soundHolder);
game20_jump.attachSound("game20_jump");
game20_run = new Sound(soundHolder);
game20_run.attachSound("game20_run");
game20_dead = new Sound(soundHolder);
game20_dead.attachSound("game20_dead");
sound_holy = new Sound(soundHolder);
sound_holy.attachSound("holy");
coin = new Sound(soundHolder);
coin.attachSound("coin");
cannon = new Sound(_root.soundHolder);
cannon.attachSound("Cannon");
explode1 = new Sound(_root.soundHolder);
explode1.attachSound("explode1");
explode2 = new Sound(_root.soundHolder);
explode2.attachSound("explode2");
explode3 = new Sound(_root.soundHolder);
explode3.attachSound("explode3");
cashregister = new Sound(_root.soundHolder);
cashregister.attachSound("cashregister");
gun_change = new Sound(_root.soundHolder);
gun_change.attachSound("gun_change");
laser1 = new Sound(_root.soundHolder);
laser1.attachSound("game10_laser");
laser2 = new Sound(_root.soundHolder);
laser2.attachSound("game10_laser2");
boing = new Sound(_root.soundHolder);
boing.attachSound("boing");
beep1 = new Sound(_root.soundHolder);
beep1.attachSound("beep1");
beep2 = new Sound(_root.soundHolder);
beep2.attachSound("beep2");
beep3 = new Sound(_root.soundHolder);
beep3.attachSound("beep3");
beep4 = new Sound(_root.soundHolder);
beep4.attachSound("beep4");
beep5 = new Sound(_root.soundHolder);
beep5.attachSound("beep5");
splash = new Sound(_root.soundHolder);
splash.attachSound("splash");
game19_disappear = new Sound(_root.soundHolder);
game19_disappear.attachSound("game19_disappear");
game16_gravity = new Sound(_root.soundHolder);
game16_gravity.attachSound("game16_gravity");
game9_rollover = new Sound(_root.soundHolder);
game9_rollover.attachSound("game9_rollover");
game8_bounce1 = new Sound(_root.soundHolder);
game8_bounce1.attachSound("game8_bounce1");
game8_bounce2 = new Sound(_root.soundHolder);
game8_bounce2.attachSound("game8_bounce2");
game8_win = new Sound(_root.soundHolder);
game8_win.attachSound("game8_win");
game8_bouncewall = new Sound(_root.soundHolder);
game8_bouncewall.attachSound("game8_bouncewall");
game19_wind = new Sound(_root.soundHolderB);
game19_wind.attachSound("game19_wind");
metal_door = new Sound(_root.soundHolder);
metal_door.attachSound("metal_door");
game18_annoy = new Sound(_root.soundHolder);
game18_annoy.attachSound("game18_annoy");
drip = new Sound(_root.soundHolder);
drip.attachSound("drip");
transition = new Sound(_root.soundHolder);
transition.attachSound("transition");
game3_land = new Sound(_root.soundHolder);
game3_land.attachSound("game3_land");
correct1 = new Sound(_root.soundHolder);
correct1.attachSound("correct1");
rollup = new Sound(_root.soundHolder);
rollup.attachSound("rollup");
wild_west = new Sound(_root.gameMusic);
wild_west.attachSound("wild_west");
game4_music = new Sound(_root.soundHolderB);
game4_music.attachSound("game4_music");
war_room = new Sound(_root.gameInstruction);
war_room.attachSound("war_room");
}
function cSound() {
if (_root.sound) {
c = random(3);
if (c == 0) {
game2_crash1.start();
}
if (c == 1) {
game2_crash2.start();
}
if (c == 2) {
game2_crash3.start();
}
}
}
function resetPreGameStuff() {
trace("deleted");
delete fps;
delete game17M;
delete details;
delete lives;
}
function stopBGSounds(level) {
gamemusic1.stop();
gamemusic2.stop();
gamemusic3.stop();
gamemusic4.stop();
gamemusic5.stop();
gamemusic6.stop();
gamemusic7.stop();
if ((level == 2) or (level == 6)) {
_root.game2_space.stop();
}
if (level == 4) {
game4_music.stop();
}
if ((level == 15) or (level == 16)) {
_root.carEngine.stop();
_root.steamSide.stop();
_root.steamSideB.stop();
_root.steam.stop();
}
if (level == 11) {
game19_wind.stop();
}
if (level == 19) {
game19_wind.stop();
wild_west.stop();
}
}
function clockSound() {
name = "clock" + clockCount;
_root[name].start();
clockCount++;
if (clockCount > 2) {
clockCount = 1;
}
}
function deleteAllFunctions() {
delete onMouseDown;
delete onEnterFrame;
delete _root.onMouseDown;
}
stop();
if (_root.soundVolume == undefined) {
_root.soundVolume = 100;
}
banned = true;
_quality = "medium";
if (_root.initial == undefined) {
_root.attachMovie("curtains", "curtains", 999999);
_root.attachMovie("pause menu", "pause_menu", 998787);
_root.attachMovie("mask", "mask", 44449999);
_root.initial = true;
curtains._xscale = curtains._xscale + 20;
curtains._x = -60;
mask._x = 366;
mask._y = 230;
}
pause_menu._y = 20;
pause_menu._x = 350;
pause_menu._visible = false;
curtains._y = 16.6;
totalScore = 0;
mainMenuFrame = _root._currentframe;
GameInfoFrame = _root._currentframe + 1;
if (musicPlaying == undefined) {
music.start(0, 999999);
musicPlaying = 1;
}
_root.sound = true;
_focusrect = false;
ls();
clock1 = new Sound(_root.clockSounds);
clock1.attachSound("clock1");
clock2 = new Sound(_root.clockSounds);
clock2.attachSound("clock2");
clockCount = 1;
Mouse.show();
stopBGSounds(level);
deleteAllFunctions();
loadVariablesNum ("http://gamefilez.mofunzone.com/game_scores/the_ultimate_gamer_challenge/mfz2.php", 0);
Instance of Symbol 526 MovieClip in Frame 157
on (press) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Frame 158
_root.banned = true;
stop();
Frame 159
function warning(what) {
if (what == "done") {
overwrite._visible = true;
}
if (what == "submit") {
submitS._visible = true;
}
if (what == "allgames") {
allgames._visible = true;
}
}
function setOriginalVariable() {
level = 1;
gameScore = 0;
score = 0;
levelDone = new Object();
levelScores = new Object();
_root.levelsDone = 0;
}
function nextChallenge() {
level_play.play();
gameScore = 0;
}
banned = true;
if (musicPlaying == undefined) {
music.start(0, 9999999);
musicPlaying = 1;
}
if (level == undefined) {
if (score == undefined) {
setOriginalVariable();
}
}
stageSelectFrame = _root._currentframe;
levelDescriptor = ["", "Speed Trial", "Maneuverability Test", "Dexterity Trial", "Timing", "Dating Game", "Multi-Tasking", "Planning Ahead", "Eyesight Test", "Accuracy", "Following simple commands", "Projectile Physics", "Memory challenge", "Punctuation and Grammar", "Problem Solving", "Pathfinding", "Rocket Car", "Sports skills", "Problem solving", "Reaction time", "Quick decisions"];
gameDescription = ["", "Get high! In this keyboard and mouse based game, you hammer the space key or mouse button to make the plant grow taller. What height can you achieve in 60 seconds? Higher plant = higher score! Simple!", "Navigate your spaceship through the labyrinth, collecting rocket-fuel but avoiding nasty death traps. The faster you reach and end and the less collisions you have will mean a higher score! 60 seconds. ", "It's raining letters in this keyboard-mashing fight to save your local book sale! Press the corresponding keys on your keyboard to make the letter blocks disappear before they break the new glass ceiling, killing all below. 100 seconds. ", "Help! Afro Cactaur has gotten himself into a spot of trouble and needs your timing skills to avoid impending death! Jump over the spiky pendulum for 60 seconds using the up key. More jumps, more score.", "Think you've got what it takes to pick up a cosmic anime-chick? Put your smoothness to the test as you try to chat her into giving you her WoW account. NO TIME LIMIT.", "We're all probably used to this by now! All you want to do is play a simple game of PONG, but these people won't leave you alone. Close the msn conversations with your mouse and play a winning game of pong in the meantime using your keyboard! 90 Seconds", "With so many 'defend your' games on the interweb, defending your whatever has become a fairly useful skill in itself. Use your forward-planning skills and a keen trigger finger to survive the following 180 seconds. Click to shoot and buy upgrades.", "Think you've got good eyesight? Let us decide. Follow our onscreen instructions and complete the 3 challenges within 90 seconds.", "The first day of FBI training and they've already given you a gun - nice! Show them you know how to use it in this warehouse standoff and hit as many targets as you can within 90 seconds. Click to shoot.", "Good at following instructions? Just like the children's game - do what simon says! 180 secs", "Nothing tops being a pirate, except maybe being a cyborg-pirate with a mini cannon. Aim at the targets with the up n down keys, then hold space to set firing speed (like the bazooka in worms). 10 hits minimum to win", "Let's see how good your short term memory is - we'll show you something, you remember it 2 seconds later. Can't be that hard, can it?", "Everyone thinks they can spell - most are sadly wrong. How much of a spag Nazi can you be when the time comes? There's also some basic 1337 and web-culture questions to answer. Follow the instructions and click the correct options. NO TIME LIMIT", "You're trapped. Escape the crimson room inspired setting, before it becomes your prison. Click around with your mouse, find clues and use your brain to decipher them all within 150 seconds.", "Limited fuel, limited time, and a few exits spread far and wide. Control the rocketcar and pray you find the exit before something runs out...", "Similar to the previous game, just this time you have some room to fly! Arrow keys to move, up and use fuel. Use your platform skills to reach the end!", "Play pong by yourself! That's even more fun that playing it with a friend. Just its circular, and there's one paddle. Try and keep the ball in for as long as you can.", "This game is rather tricky to get. You have a ball, and an exit. Get the ball to the exit. How? Drag the platforms from the HUD to create the path for the ball and then hit go! You can rotate platforms, and delete them by pressing DELETE.", "2 cowboys, one winner! Having a shoot off - who will shoot first? Hit space when you are told to - but don't trigger early or you're dead!", "This game requires some instant thinking. Run away from the crocodile which will kill you. Then eat you. Then you lose. So don't get eaten. Up to jump, and arrow keys to move."];
if (gameEnded) {
gameEnded = false;
stopAllFunctions = false;
nextChallenge();
gameScore = 0;
}
onEnterFrame = function () {
scoreText = "total score: " + score;
};
deleteAllFunctions();
gameText = (("complete: " + _root.levelsDone) + "/") + "20";
gameTextB = (("game: " + _root.level) + "/") + "20";
scoreText = "total score: " + score;
gameEnd = undefined;
Mouse.show();
delete _root.onMouseDown;
Instance of Symbol 655 MovieClip "level_play" in Frame 159
onClipEvent (load) {
mode = "play";
}
onClipEvent (enterFrame) {
if (go) {
if (mode == "play") {
play();
}
if (mode == "rewind") {
prevFrame();
}
}
_root.m = _currentframe;
}
Instance of Symbol 661 MovieClip in Frame 159
onClipEvent (load) {
startX = _xscale;
}
on (release) {
if ((_parent.level_play._currentframe == 1) or (_parent.level_play._currentframe == _parent.level_play._totalframes)) {
if (_root.level > 1) {
_parent.level_play.gotoAndStop(_parent.level_play._totalframes - 1);
_parent.level_play.mode = "rewind";
_parent.level_play.go = true;
if (_root.sound) {
_root.game2_swallow.start();
}
}
}
_alpha = 100;
}
on (rollOver) {
_yscale = (startX + 20);
_xscale = (startX + 20);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
_yscale = startX;
_xscale = startX;
}
on (keyPress "<Left>") {
if ((_parent.level_play._currentframe == 1) or (_parent.level_play._currentframe == _parent.level_play._totalframes)) {
if (_root.level > 1) {
_parent.level_play.gotoAndStop(_parent.level_play._totalframes - 1);
_parent.level_play.mode = "rewind";
_parent.level_play.go = true;
}
}
}
Instance of Symbol 661 MovieClip in Frame 159
onClipEvent (load) {
startX = _xscale;
}
on (release) {
if (_root.level < 20) {
if ((_parent.level_play._currentframe == 1) or (_parent.level_play._currentframe == _parent.level_play._totalframes)) {
_parent.level_play.mode = "play";
_parent.level_play.go = true;
if (_root.sound) {
_root.game2_swallow.start();
}
}
}
_alpha = 100;
}
on (rollOver) {
_yscale = (startX + 20);
_xscale = (startX + 20);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
_yscale = startX;
_xscale = startX;
}
on (keyPress "<Right>") {
if (_root.level < 20) {
if ((_parent.level_play._currentframe == 1) or (_parent.level_play._currentframe == _parent.level_play._totalframes)) {
_parent.level_play.mode = "play";
_parent.level_play.go = true;
}
}
}
Instance of Symbol 706 MovieClip in Frame 159
on (press) {
getURL ("http://www.mofunzone.com/", "_blank");
}
on (rollOver) {
gotoAndStop (160);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 723 MovieClip "overwrite" in Frame 159
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 726 MovieClip "submitS" in Frame 159
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 736 MovieClip "allgames" in Frame 159
onClipEvent (load) {
_visible = false;
}
Frame 160
stop();
resetPreGameStuff();
banned = true;
if (gameEnd == "lose") {
gameScore = 0;
}
_root.score = _root.score + _root.gameScore;
loadVariablesNum ("http://gamefilez.mofunzone.com/game_scores/the_ultimate_gamer_challenge/mfz.php?" + _root.score, 0);
this.useHandCursor = true;
Mouse.show();
deleteAllFunctions();
stopBGSounds(_root.level);
word = (gameEnd + "game") + (random(2) + 1);
_root[word].start();
trace(word);
Frame 161
play();
_root.paused = false;
stopBGSounds(_root.level);
_root.deleteAllFunctions();
_root.resetPreGameStuff();
Frame 192
dir = "game" + _root.level;
if (_root.level == undefined) {
dir = "menu_main";
}
_root.changeFrame(dir);
stop();
Frame 193
function changeMode() {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
c = random(3);
if ((c == 0) or (c == 2)) {
if (mode == "click") {
mode = "space";
}
if (mode == "space") {
mode = "click";
}
}
if (c == 1) {
mode = "alternate";
return(undefined);
}
if (mode == "alternate") {
if (c == 0) {
mode = "space";
}
if (c == 1) {
mode = "click";
}
}
if ((c == 2) and (mode == "alternate")) {
c = random(3);
changeMode();
}
_root.sound_click.start();
}
function endGame(type) {
if (!gameEnded) {
_root.gameEnd = type;
finaliseScore();
stopAllFunctions = true;
gameEnded = true;
}
}
function finaliseScore() {
_root.changeFrame("summary");
}
time = 60;
gamemusic1.start(0, 9999);
_root.banned = false;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
g1Clicks = 0;
g1Spaces = 0;
c = random(3);
if (c == 0) {
mode = "space";
}
if (c == 1) {
mode = "click";
}
if (c == 2) {
mode = "alternate";
}
delay = 1000;
resetTime = getTimer() + delay;
delayB = random(3000) + 3000;
resetTimeB = getTimer() + delayB;
onEnterFrame = function () {
if (_root.stopAllFunctions) {
return(undefined);
}
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("win");
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
if (getTimer() > resetTimeB) {
delayB = random(3000) + 3000;
resetTimeB = getTimer() + delayB;
changeMode();
}
_root.scoreText = "score:" + gameScore;
};
clicks = 0;
changeModeNum = 1;
Instance of Symbol 811 MovieClip "cloud1" in Frame 193
onClipEvent (load) {
function reset() {
speed = random(4) + 1;
dir = random(2);
if (dir == 0) {
_x = 800;
}
if (dir == 1) {
_x = -300;
}
_y = (random(60) + 50);
}
speed = random(2) + 0.3;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
_x = (_x - speed);
}
if (dir == 1) {
_x = (_x + speed);
}
if (dir == 0) {
if (_x < -100) {
reset();
}
}
if (dir == 1) {
if (_x > 900) {
reset();
}
}
}
Instance of Symbol 813 MovieClip "cloud2" in Frame 193
onClipEvent (load) {
function reset() {
speed = random(4) + 1;
dir = random(2);
if (dir == 0) {
_x = 800;
}
if (dir == 1) {
_x = -300;
}
_y = (random(60) + 50);
}
speed = random(2) + 0.4;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
_x = (_x - speed);
}
if (dir == 1) {
_x = (_x + speed);
}
if (dir == 0) {
if (_x < -100) {
reset();
}
}
if (dir == 1) {
if (_x > 900) {
reset();
}
}
}
Instance of Symbol 815 MovieClip "flower" in Frame 193
onClipEvent (load) {
function grow() {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
_root.game2_swallow.start();
_y = (_y - growSpeed);
height = height + Math.ceil(growSpeed / 2);
_root.clicks++;
heightM = height + "m";
m = 1;
_root.gameScore = _root.gameScore + 50;
if (_root.mode == "alternate") {
if (_root.board1._currentframe == 1) {
_root.g1Clicks++;
}
if (_root.board2._currentframe == 1) {
_root.g1Spaces++;
}
}
}
height = 0;
growSpeed = 10;
this.useHandCursor = false;
m = 0;
}
onClipEvent (mouseDown) {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (_root.mode == "click") {
grow();
_root.g1Clicks++;
}
if (_root.mode == "alternate") {
if (_root.changeModeNum == 1) {
grow();
_root.changeModeNum = 2;
}
}
}
on (keyPress "<Space>") {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (m == 0) {
if (_root.mode == "space") {
if (Key.isDown(32)) {
grow();
_root.g1Spaces++;
}
}
if (_root.mode == "alternate") {
if (_root.changeModeNum == 2) {
grow();
_root.changeModeNum = 1;
}
}
}
}
onClipEvent (enterFrame) {
if (!Key.isDown(32)) {
m = 0;
}
}
Instance of Symbol 820 MovieClip "board1" in Frame 193
onClipEvent (enterFrame) {
if (_root.mode == "click") {
this.gotoAndStop(1);
}
if ((_root.mode == "alternate") and (_root.changeModeNum == 1)) {
this.gotoAndStop(1);
}
if ((_root.mode == "space") or ((_root.changeModeNum == 2) and (!(_root.mode === "click")))) {
this.gotoAndStop(2);
}
}
Instance of Symbol 826 MovieClip "board2" in Frame 193
onClipEvent (enterFrame) {
if (_root.mode == "space") {
this.gotoAndStop(1);
}
if ((_root.mode == "alternate") and (_root.changeModeNum == 2)) {
this.gotoAndStop(1);
}
if ((_root.mode == "click") or ((_root.changeModeNum == 1) and (!(_root.mode === "space")))) {
this.gotoAndStop(2);
}
}
Instance of Symbol 838 MovieClip "arrow" in Frame 193
onClipEvent (enterFrame) {
dis = ((_y - _root.flower._y) + 250) / 20;
_y = (_y - dis);
}
Instance of Symbol 840 MovieClip "cam" in Frame 193
onClipEvent (load) {
active = false;
_root.attention = _root.flower;
Motion = 70;
scrollTarget = new Array();
scrollTarget = ["flower", "fg1", "bg1", "arrow", "game1BG", "bg", "cloud1", "cloud2"];
}
onClipEvent (enterFrame) {
distanceX = Math.round(_x - _root.attention._x);
distanceY = Math.round(_y - _root.attention._y);
if (_parent.flower.height > 100) {
active = true;
}
if (active) {
for (i in scrollTarget) {
_parent[scrollTarget[i]]._x = _parent[scrollTarget[i]]._x + (distanceX / Motion);
_parent[scrollTarget[i]]._y = _parent[scrollTarget[i]]._y + (distanceY / Motion);
}
}
}
Frame 194
function detail(what) {
details[what] = true;
}
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
} else {
gameScore = 0;
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (time * 100);
}
details = new Object();
_root.banned = false;
time = 100;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
delayB = random(3000) + 3000;
resetTimeB = getTimer() + delayB;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame();
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
_root.scoreText = "score:" + gameScore;
};
Instance of Symbol 848 MovieClip "cam" in Frame 194
onClipEvent (load) {
active = true;
_root.attention = _root.ship;
Motion = 10;
scrollTarget = new Array();
scrollTarget = ["ship", "bg", "fg", "flames", "death"];
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
distanceX = Math.round(_x - _root.attention._x);
distanceY = Math.round(_y - _root.attention._y);
if (_parent.flower.height > 100) {
active = true;
}
if (active) {
for (i in scrollTarget) {
_parent[scrollTarget[i]]._x = _parent[scrollTarget[i]]._x + (distanceX / Motion);
_parent[scrollTarget[i]]._y = _parent[scrollTarget[i]]._y + (distanceY / Motion);
}
}
}
Instance of Symbol 854 MovieClip "death" in Frame 194
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
} else {
play();
}
}
Instance of Symbol 873 MovieClip "ship" in Frame 194
onClipEvent (load) {
function hit() {
if (_root.paused) {
return(undefined);
}
health--;
if (health <= 0) {
dead = true;
}
}
_root.game2_space.start(0, 99999);
speed = 0;
health = 10;
jet = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (dead) {
jet = false;
this.gotoAndStop(2);
return(undefined);
}
if (Key.isDown(38)) {
jet = true;
speed = speed + 1;
} else {
jet = false;
}
if (Math.abs(speed) > 15) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 15);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 15);
}
speed = speed * 0.98;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.bg.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.6;
hit();
_root.cSound();
}
}
Instance of Symbol 884 MovieClip "flames" in Frame 194
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
_x = _root.ship._x;
_y = _root.ship._y;
if (_root.ship.jet) {
_visible = true;
} else {
_visible = false;
game2_steamSide.stop();
}
_rotation = _root.ship._rotation;
if (!sound) {
_root.game2_steamSide.start(0, 99999);
sound = true;
}
if ((!Key.isDown(38)) or (!_root.ship.jet)) {
_root.game2_steamSide.stop();
sound = false;
}
}
Instance of Symbol 916 MovieClip in Frame 194
onClipEvent (enterFrame) {
this.gotoAndStop((10 - _root.ship.health) + 1);
}
Frame 195
function makeLetter() {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (((((taken[1] and taken[2]) and taken[3]) and taken[4]) and taken[5]) and taken[6]) {
trace("All slots have been taken up!");
return(undefined);
}
i = 0;
while (i < letterNum) {
trace(i);
cN = random(6) + 1;
if (_root.taken[cN]) {
makeLetter();
return(undefined);
}
_root.depth++;
newName = "letter" + _root.depth;
_root.attachMovie("game3_letter", newName, _root.depth);
taken[cN] = true;
newB[cN] = _root[newName];
prev[cN] = newB[cN];
x = 65;
y = 90;
_root[newName].letterNumber = Math.round(Math.random() * (y - x)) + x;
if ((_root[newName].letterNumber == 69) or (_root[newName].letterNumber == 80)) {
_root[newName].letterNumber = 82;
}
_root[newName].cN = cN;
_root[newName]._x = cN * 100;
_root[newName]._y = -20;
i++;
}
if (_root.sound) {
_root.drip.start();
}
}
function calculateDifficulty() {
game3_typing_level++;
if (game3_typing_level > 2) {
delayL = 3500;
}
if (game3_typing_level > 3) {
delayL = 3000;
}
if (game3_typing_level > 4) {
delayL = 2000;
}
if (game3_typing_level > 5) {
delayL = 1000;
}
if (game3_typing_level > 6) {
delayL = 2000;
}
if (game3_typing_level > 12) {
delayL = 3000;
letterNum = 2;
}
if (game3_typing_level > 15) {
delayL = 2500;
letterNum = 2;
}
if (game3_typing_level > 20) {
delayL = 2000;
letterNum = 2;
}
if (game3_typing_level > 24) {
delayL = 1000;
letterNum = 2;
}
if (game3_typing_level > 28) {
delayL = 2400;
letterNum = 3;
}
if (game3_typing_level > 36) {
delayL = 3000;
letterNum = 3;
}
if (game3_typing_level > 40) {
delayL = 3000;
letterNum = 4;
}
if (game3_typing_level > 50) {
delayL = 3000;
letterNum = 5;
}
if (game3_typing_level > 60) {
delayL = 2800;
letterNum = 5;
}
if (game3_typing_level > 70) {
delayL = 2500;
letterNum = 5;
}
if (game3_typing_level > 80) {
delayL = 2200;
letterNum = 5;
}
if (game3_typing_level > 90) {
delayL = 2000;
letterNum = 5;
}
}
function endGame(type) {
_root.gameEnd = type;
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (lettersDone * 10);
}
depth = 0;
weight = 0;
game3_typing_level = 1;
gameScore = 0;
gamemusic7.start(0, 99999);
_root.banned = false;
delayL = 4000;
letterNum = 1;
lettersDone = 0;
resetTimeL = getTimer() + delayL;
taken = new Object();
prev = new Object();
newB = new Object();
time = 100;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
delayB = random(3000) + 3000;
resetTimeB = getTimer() + delayB;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("win");
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTimeL) {
if (!_root.stopAllFunctions) {
makeLetter();
}
calculateDifficulty();
resetTimeL = getTimer() + delayL;
}
scoreText = "score: " + gameScore;
};
Frame 196
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (_root.jumpCount * 400);
}
jumpCount = 0;
time = 60;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
game4_music.start(0, 9999);
_root.banned = false;
delay = 1000;
resetTime = getTimer() + delay;
delayB = random(3000) + 3000;
resetTimeB = getTimer() + delayB;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
if (!_root.man.die) {
endGame("win");
}
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
};
Instance of Symbol 944 MovieClip "enemy" in Frame 196
onClipEvent (load) {
function changeSpeed() {
sounded = false;
maxSpeed = random(difficulty) + 3;
accel = maxSpeed / 50;
count++;
if (count > 3) {
difficulty = difficulty + 2;
count = 0;
}
}
Angle = 90;
count = 0;
speed = 0.2;
maxSpeed = 2;
accel = 0.05;
difficulty = 3;
k = false;
m = false;
sounded = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_rotation = Angle;
Angle = Angle - speed;
if (Angle > -20) {
if (speed < maxSpeed) {
speed = speed + accel;
}
}
if (Angle < 20) {
speed = speed - accel;
}
if ((Angle < 30) and (Angle > -30)) {
if (!sounded) {
_root.game4_swing.start();
sounded = true;
}
}
if (!k) {
if (this.hitTest(_root.a)) {
k = true;
changeSpeed();
m = false;
}
}
if (!m) {
if (this.hitTest(_root.b)) {
m = true;
changeSpeed();
k = false;
}
}
}
Instance of Symbol 954 MovieClip "man" in Frame 196
onClipEvent (load) {
function jump() {
if (_root.paused) {
return(undefined);
}
_root.game4_jump.start();
_root.jumpCount++;
_root.gameScore = _root.gameScore + 100;
jumping = true;
yvel = jumpAmount;
}
function dead() {
if (!die) {
_root.game4_hit.start();
_root.ouch.play();
xvel = _parent.enemy.speed * 3.5;
rotate = _parent.enemy._rotation;
die = true;
fly = -15;
}
}
gravity = 3;
yvel = 0;
onfloor = true;
jumping = false;
jumpAmount = 38;
die = false;
deathTime = 0;
_alpha = 20;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (die) {
deathTime++;
_x = (_x + xvel);
_rotation = (_rotation + rotate);
xvel = xvel * 0.95;
_y = (_y + fly);
fly++;
if ((_y > 700) or (deathTime > 200)) {
_root.endGame("lose");
}
}
gravity = 3 + (_root.enemy.difficulty / 10);
jumpAmount = 38 + (_root.enemy.difficulty / 10);
if (jumping) {
_y = (_y - yvel);
yvel = yvel - gravity;
}
if (this.hitTest(_root.bg)) {
onfloor = true;
jumping = false;
yvel = 0;
}
if (!die) {
if (Key.isDown(38)) {
if (!jumping) {
jump();
}
}
}
while (this.hitTest(_root.bg)) {
_y = (_y-1);
}
if (!die) {
if (!jumping) {
_root.gameScore = _root.gameScore + 5;
}
}
if (_alpha < 100) {
_alpha = (_alpha+1);
}
}
Instance of Symbol 967 MovieClip in Frame 196
onClipEvent (load) {
_alpha = 0;
x = _xscale;
}
onClipEvent (enterFrame) {
m = _root.enemy.ball.point.y + 50;
b = _root.enemy.ball.point.x;
if (_x < b) {
_xscale = (-x);
}
if (_x > b) {
_xscale = x;
}
if (m < 100) {
mode = "fadeIn";
} else {
mode = "fadeOut";
}
if (mode == "fadeIn") {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
if (mode == "fadeOut") {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
_y = m;
}
Frame 197
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
_root.changeFrame("summary");
}
}
function finaliseScore() {
m = time * 250;
if (m > 25000) {
m = 25000;
}
gameScore = gameScore + m;
}
function detail(what, openV) {
_root.sound_click.start();
details[what] = true;
if (!(openV === undefined)) {
openViewer(openV);
}
}
function openViewer(openV) {
_root.sound_click.start();
_root.viewer._visible = true;
if (openV == "paper") {
viewer.gotoAndStop(1);
}
if (openV == "morepaper") {
viewer.gotoAndStop(2);
}
if (openV == "box") {
viewer.gotoAndStop(3);
}
if (openV == "key") {
viewer.gotoAndStop(4);
}
if (openV == "safe") {
viewer.gotoAndStop(5);
}
if (openV == "endkey") {
viewer.gotoAndStop(6);
}
}
time = 100;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
gamemusic3.start();
delay = 1000;
_root.banned = false;
resetTime = getTimer() + delay;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("lose");
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
_root.clockSound();
resetTime = getTimer() + delay;
time--;
}
};
delete details;
details = new Object();
MovieClip.prototype.useHandCursor = false;
Instance of Symbol 974 MovieClip in Frame 197
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.details.paper) {
_visible = true;
}
}
Instance of Symbol 980 MovieClip in Frame 197
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.details.box) {
_visible = true;
}
}
Instance of Symbol 982 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.light) {
if (!done) {
_root.detail("paper", "paper");
done = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 986 MovieClip in Frame 197
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.details.key) {
_visible = true;
}
}
Instance of Symbol 990 MovieClip in Frame 197
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.details.endkey) {
_visible = true;
}
}
Instance of Symbol 994 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.light) {
if (_root.details.key) {
_root.openViewer("box");
_root.detail("box");
this.gotoAndStop(2);
}
}
}
Instance of Symbol 997 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.details.light) {
if (!done) {
done = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 1000 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.details.light) {
if (!done) {
done = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 1003 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.details.light) {
if (!done) {
done = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 1006 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.details.light) {
if (!done) {
done = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 1016 MovieClip in Frame 197
on (press) {
_root.light._visible = false;
_root.detail("light");
this.gotoAndStop(2);
_root.g5Light.gotoAndStop(2);
}
Instance of Symbol 1018 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.paused) {
return(undefined);
}
if (!done) {
if (_root.details.light) {
if (_root.details.paper) {
if (_root.details.morepaper) {
this.play();
_root.detail("clock");
done = true;
}
}
}
}
}
Instance of Symbol 1020 MovieClip in Frame 197
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.light) {
if (!_root.detail.key) {
_root.game5_coin.start();
_root.detail("key", "key");
}
}
}
Instance of Symbol 1024 MovieClip in Frame 197
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.details.morepaper) {
_visible = true;
}
}
Instance of Symbol 1026 MovieClip in Frame 197
on (press) {
if (_root.details.light) {
if (_root.details.endkey) {
_root.game5_win.start();
_root.endGame("win");
}
}
}
Instance of Symbol 1029 MovieClip in Frame 197
onClipEvent (load) {
done = false;
}
on (press) {
if (_root.paused) {
return(undefined);
}
if (!done) {
if (_root.details.light) {
if (_root.details.paper) {
if (_root.details.morepaper) {
if (_root.details.clock) {
this.play();
_root.game5_stone.start();
done = true;
}
}
}
}
}
if (done) {
if (_currentframe == _totalframes) {
_root.openViewer("safe");
}
}
}
Instance of Symbol 1112 MovieClip "viewer" in Frame 197
onClipEvent (load) {
_visible = false;
}
Frame 198
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
_root.gameEnd = type;
gameEnded = true;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (loveScore * 5000);
}
loveScore = 0;
gameEnded = false;
_root.banned = false;
gamemusic6.start(0, 99999);
Instance of Symbol 1160 MovieClip in Frame 198
onClipEvent (enterFrame) {
if (_root.talktype == "response") {
_visible = true;
} else {
_visible = false;
}
_parent.m = _root.loveScore;
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
if (_parent.dialogue._currentframe == 12) {
if (_root.loveScore <= 2) {
_root.endGame("lose");
}
if (_root.loveScore >= 3) {
_root.endGame("win");
}
if (_root.loveScore >= 8) {
_root.endGame("win");
}
if (_root.loveScore <= -5) {
_root.endGame("lose");
}
}
_parent.dialogue.nextFrame();
_root.sound_click.start();
}
Frame 199
function nextQ(type) {
quiz.nextFrame();
}
function answer(response) {
quizNumber = quiz._currentframe - 1;
realAnswer = answers[quizNumber];
if (response == realAnswer) {
_root.sound_click.start();
questionsAnswered++;
gameScore = gameScore + 1500;
_root.coin.start();
nextQ();
} else {
_root.game7_wrong.start();
wrong.play();
}
}
function endGame(type) {
if (!gameEnded) {
finaliseScore();
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
}
}
function finaliseScore() {
gameScore = gameScore + (questionsAnswered * 100);
_root.changeFrame("summary");
}
answers = [3, 3, 3, 1, 1, 3, 2, 3, 3, 1, 1, 2, 1];
gamemusic2.start(0, 9999);
questionsAnswered = 0;
_root.banned = false;
time = 100;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame();
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
scoreText = "score: " + gameScore;
};
Frame 200
function createWindow() {
_root.game8_IM.start();
depth++;
newName = "msnwindow" + _root.depth;
_root.attachMovie("game8_msn_window", newName, _root.depth);
_root[newName]._x = random(300) + 50;
_root[newName]._y = random(450) + 50;
}
function swapTurn() {
if (_root.turn == "enemy") {
_root.turn = "player";
_root.game8_bounce1.start();
return(undefined);
}
if (_root.turn == "player") {
_root.game8_bounce2.start();
_root.turn = "enemy";
}
}
function resetG8(score) {
_root.game8_win.start();
if (score == 1) {
ball.xvel = 4;
p2Score++;
_root.turn = "enemy";
}
if (score == 2) {
ball.xvel = -4;
p1Score++;
_root.turn = "player";
}
ball.yvel = -2;
ball._x = 350;
ball._y = 350;
}
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + ((_root.p1Score * 5000) + (_root.msnWindowsClosed * 1300));
}
depth = 0;
_root.banned = false;
t = 0;
p1Score = 0;
p2Score = 0;
_root.count = 0;
_root.countL = 0;
difficulty = 300;
cfg8 = _currentframe;
m = difficulty;
onEnterFrame = function () {
if (_root._currentframe == cfg8) {
if (_root.paused) {
return(undefined);
}
t++;
if (t > m) {
createWindow();
m = difficulty;
t = 0;
if (difficulty > 100) {
difficulty = difficulty - 20;
}
}
game8Score = (p1Score + " ") + p2Score;
if (time <= 0) {
overallScore = p1Score - p2Score;
if (overallScore > -2) {
endGame("win");
}
if (overallScore <= -2) {
endGame("lose");
}
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
}
};
_root.game8_win.start();
time = 90;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
msnWindowsClosed = 0;
_root.game2_space.start(0, 99999);
Instance of Symbol 1242 MovieClip "player" in Frame 200
onClipEvent (load) {
vel = 0;
maxSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (Key.isDown(38)) {
vel++;
}
if (Key.isDown(40)) {
vel--;
}
if (vel > maxSpeed) {
vel = maxSpeed;
}
if (vel < (-maxSpeed)) {
vel = -maxSpeed;
}
_y = (_y - vel);
if ((!Key.isDown(38)) and (!Key.isDown(40))) {
vel = vel * 0.9;
}
if (_y > 500) {
_y = 500;
yvel--;
}
if (_y < 50) {
_y = 50;
yvel++;
}
}
Instance of Symbol 1244 MovieClip "enemy" in Frame 200
onClipEvent (load) {
function calculate() {
if (target._y < _y) {
vel++;
}
if (target._y > _y) {
vel--;
}
}
vel = 0;
maxSpeed = 10;
target = _root.ball;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
dis = _y - target._y;
if (Math.abs(dis) > 20) {
calculate();
}
if (vel > maxSpeed) {
vel = maxSpeed;
}
if (vel < (-maxSpeed)) {
vel = -maxSpeed;
}
_y = (_y - vel);
if ((!Key.isDown(38)) and (!Key.isDown(40))) {
vel = vel * 0.9;
}
if (_y > 500) {
_y = 500;
yvel--;
}
if (_y < 50) {
_y = 50;
yvel++;
}
}
Instance of Symbol 1245 MovieClip "ball" in Frame 200
onClipEvent (load) {
xvel = 3;
yvel = random(5);
_root.turn = "enemy";
timer = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
timer++;
if (timer > 50) {
xvel = xvel * 1.05;
yvel = yvel * 1.05;
timer = 0;
}
if (xvel > 8) {
xvel = 8;
}
if (xvel < -8) {
xvel = -8;
}
if (yvel > 8) {
yvel = 8;
}
if (yvel < -8) {
yvel = -8;
}
_x = (_x + xvel);
_y = (_y + yvel);
if (this.hitTest(_root.enemy)) {
if (_root.turn == "enemy") {
yvel = yvel + (((_y - _root.enemy._y) / 15) + (_root.enemy.vel / 2));
xvel = xvel * -1.05;
_root.swapTurn();
}
}
if (this.hitTest(_root.player)) {
if (_root.turn == "player") {
yvel = yvel + (((_y - _root.player._y) / 15) + (_root.player.vel / 2));
xvel = xvel * -1.05;
_root.swapTurn();
}
}
while (_y < 0) {
_y = (_y + 10);
yvel = yvel * -1;
_root.game8_bouncewall.start();
}
while (_y > 550) {
_y = (_y - 10);
yvel = yvel * -1;
_root.game8_bouncewall.start();
}
if (_x < 0) {
_x = (_x+1);
_root.resetG8(1);
}
if (_x > 700) {
_x = (_x-1);
_root.resetG8(2);
}
while (_root.player.hitTest(_x + 1, _y, true)) {
_x = (_x + 2);
}
while (_root.enemy.hitTest(_x - 1, _y, true)) {
_x = (_x - 2);
}
}
Frame 201
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (time * 100);
}
matchcount = 0;
time = 180;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
gamemusic2.start(0, 9999);
delay = 1000;
resetTime = getTimer() + delay;
_root.banned = false;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("lose");
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
gameText = "score: " + gameScore;
};
Instance of Symbol 1361 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (_root.paused) {
if (this._currentframe < 429) {
this.stop();
}
} else if (this._currentframe < 429) {
this.play();
}
}
Frame 202
function createEnemy() {
enemyWaveCounter++;
if (game10_level < 3) {
type = 1;
}
if (game10_level >= 3) {
type = random(2) + 1;
}
if (game10_level >= 8) {
type = random(3) + 1;
}
_root.depth++;
enemyCount++;
enemyCounter++;
e = "enemy" + enemyCount;
_root.attachMovie("enemy" + type, e, _root.depth);
_root[e]._x = random(600) + 100;
_root[e]._y = 50;
}
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + g10score;
}
enemyCount = 0;
game10_level = 1;
health = 100;
enemyCounter = 0;
gameScore = 0;
endLevel = false;
gamemusic1.start(0, 9999);
levelPause = 180;
levelPauseTime = 0;
enemyWaveNumber = 5;
enemyWaveCounter = 0;
levelPause = 100;
money = 0;
g10score = 0;
description = "";
_root.banned = false;
etime = 0;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (health <= 0) {
endGame("lose");
}
etime++;
if (enemyWaveCounter >= enemyWaveNumber) {
endLevel = true;
}
if (endLevel) {
if (enemyCounter <= 0) {
levelPauseTime++;
if (levelPauseTime > levelPause) {
enemyCount = 0;
endLevel = false;
game10_level++;
enemyCounter = 0;
levelPauseTime = 0;
enemyWaveNumber = enemyWaveNumber + 2;
enemyWaveCounter = 0;
levelPause = levelPause - 25;
if (levelPause < 30) {
levelPause = 30;
}
}
}
}
if (!endLevel) {
if (etime > levelPause) {
if (enemyCounter < enemyWaveNumber) {
createEnemy();
etime = 0;
}
}
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
if (time <= 0) {
endGame("win");
}
_root.scoreDisplay = "SCORE: " + g10score;
};
time = 180;
delay = 1000;
gameEnded = false;
resetTime = getTimer() + delay;
Instance of Symbol 1376 MovieClip in Frame 202
onClipEvent (load) {
this.swapDepths(95899);
m = _root._currentframe;
}
onClipEvent (enterFrame) {
if (!(_root._currentframe === m)) {
Mouse.show();
this.removeMovieClip();
}
if (_root.paused) {
return(undefined);
}
if (!_root.paused) {
Mouse.hide();
} else {
Mouse.show();
}
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 1399 MovieClip in Frame 202
onClipEvent (load) {
m = _root._currentframe;
this.swapDepths(77900);
}
onClipEvent (enterFrame) {
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
}
Instance of Symbol 1401 MovieClip "base" in Frame 202
onClipEvent (load) {
function hurt(who) {
if (active) {
health--;
}
}
active = false;
_visible = false;
health = 10;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (active) {
_visible = true;
if (health <= 0) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
_root.game10_shield.start();
active = false;
_alpha = 100;
_visible = false;
health = 5;
}
}
}
}
Instance of Symbol 1403 MovieClip "gun" in Frame 202
onClipEvent (load) {
function shoot() {
if (_root.paused) {
return(undefined);
}
_root.depth++;
if ((type == 4) or (type == 3)) {
_root.game10_laserFinal.start();
} else {
_root.laser2.start();
}
b = "bullet" + _root.depth;
_root.attachMovie("bullet" + type, b, _root.depth + 30000);
_root[b]._x = _x;
_root[b]._y = _y;
_root[b]._rotation = _rotation;
_root[b].vx = Math.sin(Angle * (Math.PI/180)) * speed;
_root[b].vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
}
_root.depth = 0;
speed = 4;
type = 1;
}
onClipEvent (enterFrame) {
deltaX = _x - _root._xmouse;
deltaY = _y - _root._ymouse;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = Angle;
}
onClipEvent (mouseDown) {
if (_root.paused) {
return(undefined);
}
shoot();
}
Frame 203
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = _root.g11Score;
}
function nextQ(type) {
if (type == 1) {
_root.game7_wrong.start();
}
nextFrame();
}
stop();
maxScore = 10000;
g11Score = 0;
gamemusic2.start(0, 9999);
_root.banned = false;
time = 90;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("lose");
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
gameText = "score: " + _root.g11Score;
maxScore = maxScore - 10;
};
Instance of Symbol 1415 MovieClip in Frame 203
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
Instance of Symbol 1422 MovieClip in Frame 203
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.g11Score = _root.g11Score + _root.maxScore;
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 15);
}
Instance of Symbol 1428 MovieClip in Frame 203
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
onClipEvent (enterFrame) {
_rotation = (_rotation - 15);
}
Instance of Symbol 1435 MovieClip in Frame 203
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
onClipEvent (enterFrame) {
_rotation = (_rotation - 10);
}
Instance of Symbol 1444 MovieClip in Frame 203
onClipEvent (enterFrame) {
_rotation = (_rotation - 27);
}
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
Instance of Symbol 1452 MovieClip in Frame 203
onClipEvent (enterFrame) {
_rotation = (_rotation + 30);
}
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
Instance of Symbol 1459 MovieClip in Frame 203
onClipEvent (enterFrame) {
_rotation = (_rotation + 30);
}
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
Frame 204
stop();
maxScore = 10000;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("lose");
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
gameText = "score: " + _root.g11Score;
maxScore = maxScore - 10;
};
_root.banned = false;
Instance of Symbol 1462 MovieClip in Frame 204
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.g11Score = _root.g11Score + _root.maxScore;
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
Instance of Symbol 1464 MovieClip in Frame 204
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
Instance of Symbol 1465 MovieClip in Frame 204
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.wrong.play();
}
Frame 205
stop();
maxScore = 25000;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("lose");
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
gameText = "score: " + _root.g11Score;
maxScore = maxScore - 10;
};
_root.banned = false;
Frame 206
_root.endGame("win");
Frame 207
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
}
}
function finaliseScore() {
gameScore = gameScore + (ammo * 10);
_root.changeFrame("summary");
}
gameScore = 0;
shots = 0;
gameEnded = false;
stopAllFunctions = false;
gamemusic4.start(0, 9999);
onEnterFrame = function () {
if (_root.stopAllFunctions) {
return(undefined);
}
scoreText = "score:" + gameScore;
};
ammo = 40;
ammoText = "Ammo: " + ammo;
scoreText = "score:" + gameScore;
_root.onMouseDown = function () {
if (_root.ammo > 0) {
_root.ammo--;
fire.play();
_root.game12_shoot.start();
}
if (_root.ammo <= 0) {
_root.endGame("win");
}
ammoText = "Ammo: " + ammo;
};
_root.banned = false;
Instance of Symbol 1490 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1498 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(300) + 300;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
time = 0;
shot = false;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1506 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1514 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1522 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1530 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1537 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1506 MovieClip in Frame 207
onClipEvent (load) {
time = 0;
delay = random(600) + 50;
use = false;
goTime = random(400) + 50;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
time++;
if (!use) {
if (time > delay) {
use = true;
play();
time = 0;
}
}
if (use) {
time++;
if (time > goTime) {
play();
shot = false;
time = 0;
goTime = random(400) + 50;
use = false;
}
}
}
Instance of Symbol 1269 MovieClip in Frame 207
onClipEvent (enterFrame) {
m = _root._xmouse - _x;
p = _root._ymouse - _y;
_x = (_x + (m / 2));
_y = (_y + (p / 2));
if (!_root.paused) {
Mouse.hide();
} else {
Mouse.show();
}
}
Instance of Symbol 1542 MovieClip "fire" in Frame 207
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 208
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
}
}
function finaliseScore() {
gameScore = g13score;
_root.changeFrame("summary");
}
hits = 0;
g13score = 0;
gamemusic1.start(0, 9999);
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
if (time <= 0) {
if (hits >= 10) {
endGame("win");
}
if (hits < 10) {
endGame("lose");
}
finaliseScore();
}
};
time = 60;
delay = 1000;
resetTime = getTimer() + delay;
_root.banned = false;
Instance of Symbol 1652 MovieClip "mmm" in Frame 208
onClipEvent (load) {
function scroll() {
if (_root.paused) {
return(undefined);
}
if (alive) {
if (_root.turn == this) {
if (_root.attention == this) {
if (!_root.bg.hitTest((_x - xvel) - (_width / 2), _y - 40, true)) {
if (facing == "left") {
_x = (_x - speed);
}
}
}
}
}
if (alive) {
if (_root.attention == this) {
if (_root.turn == this) {
if (!_root.bg.hitTest((_x + xvel) + (_width / 2), _y - 40, true)) {
if (facing == "right") {
_x = (_x + speed);
}
}
}
}
}
}
function scrollGeneral() {
if (_root.paused) {
return(undefined);
}
if (alive) {
if (!_root.bg.hitTest((_x - xvel) - (_width / 2), _y - 40, true)) {
if (facing == "left") {
_x = (_x + (flyspeed * _root.ExplosionStrength));
if (flyspeed > 0) {
flyspeed = flyspeed - airResistance;
}
_xscale = (-x);
}
}
}
if (alive) {
if (!_root.bg.hitTest((_x + xvel) + (_width / 2), _y - 40, true)) {
if (facing == "right") {
_x = (_x - (flyspeed * _root.ExplosionStrength));
if (flyspeed > 0) {
flyspeed = flyspeed - airResistance;
}
_xscale = x;
}
}
}
}
_root.turn = this;
_root.attention = this;
gravity = 1;
misses = 0;
airResistance = 0.05;
okToFire = true;
FIRENOW = false;
alive = true;
onfloor = true;
falling = false;
rate = 1;
maxShotPower = 45;
weaponOut = "cannon";
dir = 1;
angle = 0;
game13_bulletspeed = 0;
bc = 10000;
fireallowed = false;
gravity = 1;
jumpamount = 10;
x = _xscale;
speed = 7;
flyspeed = 8;
if (_xscale == x) {
facing = "right";
}
if (_xscale == (-x)) {
facing = "right";
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_root.attention = this;
_root.turn = this;
gravity = 0.5;
while (this.hitTest(_root.back_bg.b1)) {
_x = (_x + speed);
}
while (this.hitTest(_root.back_bg.b2)) {
_x = (_x - speed);
}
if (_x > 650) {
_x = 650;
}
if (_x < 470) {
_x = 470;
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.maxFall == undefined) {
_root.maxFall = 2;
}
if (_root.gravity == 2) {
_root.maxFall = _root.ExplosionStrength;
}
if (_root.gravity < 2) {
_root.maxFall = 1;
}
if (health < 0) {
health = 0;
}
if (_root.bg.hitTest(_x, _y + 1, true)) {
dirChance = random(3);
if (dirChance == 0) {
facing = facing;
}
if (dirChance == 1) {
facing = "left";
}
if (dirChance == 2) {
facing = "right";
}
jump = true;
onfloor = false;
yvel = -jumpamount;
}
this._y = this._y + yvel;
if (!_root.bg.hitTest(_x, _y + 1, true)) {
yvel = yvel + gravity;
}
if (!alive) {
return(undefined);
}
if (_root.turn == this) {
if (_root.attention == this) {
if (Key.isDown(37) and onfloor) {
_xscale = (-x);
this.gotoAndStop(2);
xvel = -speed;
facing = "left";
dir = 2;
scroll();
} else if (Key.isDown(39) and onfloor) {
if (_root.turn == this) {
if (_root.attention == this) {
_xscale = x;
this.gotoAndStop(2);
xvel = speed;
facing = "right";
scroll();
dir = 1;
}
}
}
}
}
this._y = this._y + yvel;
health = Math.round(health);
if (game13_bulletspeed < 0) {
game13_bulletspeed++;
}
if (Key.isDown(32)) {
if (_root.turn == this) {
if (_root.attention == this) {
if (this._currentframe == 4) {
if (game13_bulletspeed <= maxShotPower) {
game13_bulletspeed++;
maxShotPower = 20;
}
}
}
}
}
if (FIRENOW) {
if ((game13_bulletspeed > 0) and (_currentframe == 4)) {
if (weaponOut == "cannon") {
var n = ("game13_bullet" + bc);
game13_bulletspeed = game13_bulletspeed + 10;
_root.attachMovie("game13_bullet", n, bc);
_root[n]._rotation = angle;
}
_root[n].vx = Math.sin(angle * (Math.PI/180)) * game13_bulletspeed;
_root[n].vy = (-Math.cos(angle * (Math.PI/180))) * game13_bulletspeed;
_root[n]._x = _x;
_root[n]._y = _y - 80;
_root[n].parent = this;
if (!(weaponOut === "shotgun")) {
_root.attention = _root[n];
this.gotoAndStop(1);
}
_root.previousTurn = this;
_root[n].strength = game13_bulletspeed;
bc++;
game13_bulletspeed = -15;
FIRENOW = false;
}
}
}
onClipEvent (keyUp) {
if (_root.paused) {
return(undefined);
}
if (alive) {
if (onfloor) {
if (_root.turn == this) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
if (onfloor) {
if (alive) {
if (_root.turn == this) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
if (alive) {
if (_currentframe == 4) {
if (!(okToFire === false)) {
if (Key.getCode() == 32) {
FIRENOW = true;
}
}
}
}
}
Instance of Symbol 1655 MovieClip "target" in Frame 208
onClipEvent (load) {
function reset() {
if (_root.paused) {
return(undefined);
}
_x = (random(600) + 80);
_y = random(400);
_root.g13score = _root.g13score + (100 + bonusScore);
_root.hits++;
bonusScore = 700;
_alpha = 0;
_root.explode1.start();
}
_alpha = 0;
bonusScore = 400;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
bonusScore--;
if (bonusScore < 0) {
bonusScore = 0;
}
}
Frame 209
function endGame(type) {
if (!gameEnded) {
finaliseScore();
_root.gameEnd = type;
stopAllFunctions = true;
gameEnded = true;
}
}
function finaliseScore() {
gameScore = gameScore + (correct * 2500);
_root.changeFrame("summary");
}
m = _currentframe;
gameEnded = false;
correct = 0;
play();
_root.banned = false;
Frame 210
if (_root.sound) {
_root.game8_IM.start();
}
Frame 338
if (_root.sound) {
_root.game8_IM.start();
}
Frame 449
gamemusic2.start(0, 9999);
Frame 593
stop();
Instance of Symbol 1694 MovieClip in Frame 593
on (press) {
_parent.card_interactive.number++;
if (_parent.card_interactive.number > 13) {
_parent.card_interactive.number = 1;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 593
on (press) {
_parent.card_interactive.number--;
if (_parent.card_interactive.number < 1) {
_parent.card_interactive.number = 13;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 593
on (press) {
_parent.card_interactive.suit++;
if (_parent.card_interactive.suit > 4) {
_parent.card_interactive.suit = 1;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 593
on (press) {
_parent.card_interactive.suit--;
if (_parent.card_interactive.suit < 1) {
_parent.card_interactive.suit = 4;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1699 MovieClip in Frame 593
onClipEvent (load) {
function checkCard() {
if (_parent.card_interactive.suit == _root.card1.suit) {
if (_parent.card_interactive.number == _root.card1.number) {
_root.correct++;
_root.play();
if (_root.sound) {
_root.correct1.start();
}
}
}
if ((!(_parent.card_interactive.suit === _root.card1.suit)) or (!(_parent.card_interactive.number === _root.card1.number))) {
_root.endGame("lose");
if (_root.sound) {
_root.game7_wrong.start();
}
}
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
checkCard();
}
Frame 669
stop();
Instance of Symbol 1694 MovieClip in Frame 669
on (press) {
_parent.card_interactive.number++;
if (_parent.card_interactive.number > 13) {
_parent.card_interactive.number = 1;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 669
on (press) {
_parent.card_interactive.number--;
if (_parent.card_interactive.number < 1) {
_parent.card_interactive.number = 13;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 669
on (press) {
_parent.card_interactive.suit++;
if (_parent.card_interactive.suit > 4) {
_parent.card_interactive.suit = 1;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 669
on (press) {
_parent.card_interactive.suit--;
if (_parent.card_interactive.suit < 1) {
_parent.card_interactive.suit = 4;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1699 MovieClip in Frame 669
onClipEvent (load) {
function checkCard() {
if (_parent.card_interactive.suit == _root.card1.suit) {
if (_parent.card_interactive.number == _root.card1.number) {
_root.correct++;
if (_root.sound) {
_root.correct1.start();
}
_root.play();
}
}
if ((!(_parent.card_interactive.suit === _root.card1.suit)) or (!(_parent.card_interactive.number === _root.card1.number))) {
_root.endGame("lose");
if (_root.sound) {
_root.game7_wrong.start();
}
}
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
checkCard();
}
Frame 739
stop();
Instance of Symbol 1694 MovieClip in Frame 739
on (press) {
_parent.card_interactive.number++;
if (_parent.card_interactive.number > 13) {
_parent.card_interactive.number = 1;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 739
on (press) {
_parent.card_interactive.number--;
if (_parent.card_interactive.number < 1) {
_parent.card_interactive.number = 13;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 739
on (press) {
_parent.card_interactive.suit++;
if (_parent.card_interactive.suit > 4) {
_parent.card_interactive.suit = 1;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1694 MovieClip in Frame 739
on (press) {
_parent.card_interactive.suit--;
if (_parent.card_interactive.suit < 1) {
_parent.card_interactive.suit = 4;
}
if (_root.sound) {
_root.beep5.start();
}
}
Instance of Symbol 1699 MovieClip in Frame 739
onClipEvent (load) {
function checkCard() {
if (_parent.card_interactive.suit == _root.card1.suit) {
if (_parent.card_interactive.number == _root.card1.number) {
_root.correct++;
if (_root.sound) {
_root.correct1.start();
}
_root.play();
}
}
if ((!(_parent.card_interactive.suit === _root.card1.suit)) or (!(_parent.card_interactive.number === _root.card1.number))) {
_root.endGame("lose");
if (_root.sound) {
_root.game7_wrong.start();
}
}
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
checkCard();
}
Frame 740
numQuantity = 10;
Frame 805
randomNum = random(numQuantity);
Frame 840
stop();
Instance of Symbol 1699 MovieClip in Frame 840
onClipEvent (load) {
function checkCard() {
if (_parent.numInput == _root.randomNum) {
_root.numQuantity = _root.numQuantity * 10;
_root.correct++;
if (_root.sound) {
_root.correct1.start();
}
_root.gotoAndPlay(_root._currentframe - 70);
}
if (!(_parent.numInput === _root.randomNum)) {
_root.endGame("win");
if (_root.sound) {
_root.game7_wrong.start();
}
}
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
checkCard();
}
Frame 857
function changeLevel(initialScore) {
if (_root.fade._currentframe == 1) {
fade.play();
_root.gameScore = _root.gameScore + initialScore;
}
}
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (time * 200);
}
function fadeSwap() {
nextFrame();
}
_root.fuel = 1000;
_root.maxFuel = _root.fuel;
paused = false;
stop();
gamemusic1.start(0, 9999);
time = 250;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (time <= 0) {
endGame("lose");
}
if (fuel <= 0) {
endGame("lose");
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
};
steamSide = new Sound(_root.f1);
steamSide.attachSound("steamSide");
steamSideB = new Sound(_root.f3);
steamSideB.attachSound("steamSide");
steam = new Sound(_root.car);
steam.attachSound("steam");
if (_root.sound) {
carEngine.start(0, 999999);
}
_root.banned = false;
Instance of Symbol 1709 MovieClip "door2" in Frame 857
onClipEvent (enterFrame) {
if (_root.car.hitTest(_x, _y, true)) {
_root.changeLevel(2000);
}
}
Instance of Symbol 1709 MovieClip "door1" in Frame 857
onClipEvent (enterFrame) {
if (_root.car.hitTest(_x, _y, true)) {
_root.changeLevel(2000);
}
}
Instance of Symbol 1718 MovieClip "f2" in Frame 857
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_root.steam.stop();
_visible = false;
return(undefined);
}
_x = _root.car._x;
_y = (_root.car._y - 5);
if (_root.car.jet) {
if (_root.fuel > 0) {
if (Key.isDown(38)) {
_visible = true;
if (!sound) {
if (_root.sound) {
_root.steam.start(0, 99999);
sound = true;
}
}
}
}
}
if (((!Key.isDown(38)) or (_root.fuel < 0)) or (!_root.car.jet)) {
_visible = false;
_root.steam.stop();
sound = false;
}
}
Instance of Symbol 1718 MovieClip "f3" in Frame 857
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_root.steamSideB.stop();
_visible = false;
return(undefined);
}
if (!_root.car.onfloor) {
if (Key.isDown(37)) {
_visible = true;
if (_root.sound) {
if (!sound) {
_root.steamSideB.start(0, 99999);
sound = true;
}
}
}
}
if ((((!Key.isDown(37)) or _root.car.onfloor) or (_root.fake._rotation < -20)) or (_root.fake._rotation > 20)) {
_visible = false;
}
if ((!Key.isDown(37)) or _root.car.onfloor) {
_root.steamSideB.stop();
sound = false;
}
_x = (_root.car._x + 30);
_y = (_root.car._y - 14);
}
Instance of Symbol 1718 MovieClip "f1" in Frame 857
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_root.steamSide.stop();
_visible = false;
return(undefined);
}
if (!_root.car.onfloor) {
if (Key.isDown(39)) {
_visible = true;
if (!sound) {
if (_root.sound) {
_root.steamSide.start(0, 99999);
sound = true;
}
}
}
}
if ((((!Key.isDown(39)) or _root.car.onfloor) or (_root.fake._rotation > 20)) or (_root.fake._rotation < -20)) {
_visible = false;
}
if ((!Key.isDown(39)) or _root.car.onfloor) {
sound = false;
_root.steamSide.stop();
}
_x = (_root.car._x - 30);
_y = (_root.car._y - 14);
}
Instance of Symbol 1724 MovieClip "car" in Frame 857
onClipEvent (load) {
function getAngle() {
if (_root.paused) {
return(undefined);
}
if (InAirCauseJet) {
Angle = 0;
return(undefined);
}
yDis = _root.carp2._y - _root.carp1._y;
deltaX = _root.carp1._x - _root.carp2._x;
deltaY = _root.carp1._y - _root.carp2._y;
angle = -Math.atan2(deltaX, deltaY);
if (_root.carp1.onfloor) {
if (_root.carp2.onfloor) {
Angle = Math.round((angle * 180) / Math.PI) - 90;
}
}
if (!jet) {
if (!onfloor) {
if (!_root.carp1.onfloor) {
if (!_root.carp2.onfloor) {
if (xSpeed >= 0) {
Angle = Angle + 2;
}
if (xSpeed < 0) {
Angle = Angle - 2;
}
}
}
}
}
}
InAirCauseJet = false;
jet = false;
xAccel = 0.8;
gravity = 0.5;
xSpeed = 0;
ySpeed = 0;
maxX = 10;
maxY = 10;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
getAngle();
if (Key.isDown(39)) {
xSpeed = xSpeed + xAccel;
} else if (Key.isDown(37)) {
xSpeed = xSpeed - xAccel;
} else {
xSpeed = xSpeed * 0.9;
}
if (Key.isDown(38)) {
if (_root.fuel > 0) {
jet = true;
InAirCauseJet = true;
_root.fuel--;
}
} else {
jet = false;
}
if (_root.fuel <= 0) {
jet = false;
}
if (xSpeed > maxX) {
xSpeed = maxX;
}
if (xSpeed < (-maxX)) {
xSpeed = -maxX;
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (jet) {
ySpeed = ySpeed - 1;
}
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
InAirCauseJet = false;
}
while (_root.bg.hitTest(_x, _y - _height, true)) {
_y = (_y+1);
if (ySpeed < 0) {
ySpeed++;
}
}
while (_root.bg.hitTest(_x + (_width / 2), _y - 20, true)) {
_x = (_x-1);
if (xSpeed > 0) {
xSpeed--;
}
}
while (_root.bg.hitTest(_x - (_width / 2), _y - 20, true)) {
_x = (_x+1);
if (xSpeed < 0) {
xSpeed++;
}
}
if (_root.bg.hitTest(_x, _y + 1, true)) {
onfloor = true;
if (!jet) {
ySpeed = 0;
}
} else {
onfloor = false;
}
if (!onfloor) {
ySpeed = ySpeed + gravity;
}
}
Instance of Symbol 1725 MovieClip "cam" in Frame 857
onClipEvent (load) {
active = true;
_root.attention = _root.car;
Motion = 10;
scrollTarget = new Array();
scrollTarget = ["car", "bg", "f1", "f2", "f3", "door1", "door2"];
}
onClipEvent (enterFrame) {
distanceX = Math.round(_x - _root.attention._x);
distanceY = Math.round(_y - _root.attention._y);
if (_parent.flower.height > 100) {
active = true;
}
if (active) {
for (i in scrollTarget) {
_parent[scrollTarget[i]]._x = _parent[scrollTarget[i]]._x + (distanceX / Motion);
_parent[scrollTarget[i]]._y = _parent[scrollTarget[i]]._y + (distanceY / Motion);
}
}
}
Instance of Symbol 1732 MovieClip in Frame 857
onClipEvent (load) {
fFuel = _root.fuel;
unlimited = false;
time = 0;
duration = 0;
}
onClipEvent (enterFrame) {
_root.scoretxt = "score " + _root.score;
if (fFuel < _root.fuel) {
fFuel++;
}
if (fFuel > (_root.fuel + 1)) {
fFuel--;
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
bar._xscale = (fFuel / _root.maxFuel) * 100;
}
Frame 858
_root.fuel = 1500;
_root.maxFuel = _root.fuel;
paused = false;
stop();
_root.banned = false;
Instance of Symbol 1709 MovieClip "door1" in Frame 858
onClipEvent (enterFrame) {
if (_root.car.hitTest(_x, _y, true)) {
_root.changeLevel(10000);
}
}
Instance of Symbol 1709 MovieClip "door2" in Frame 858
onClipEvent (enterFrame) {
if (_root.car.hitTest(_x, _y, true)) {
_root.changeLevel(10000);
}
}
Frame 859
_root.fuel = 1500;
_root.maxFuel = _root.fuel;
paused = false;
stop();
_root.banned = false;
Instance of Symbol 1709 MovieClip "door1" in Frame 859
onClipEvent (enterFrame) {
if (_root.car.hitTest(_x, _y, true)) {
_root.endGame("win");
}
}
Instance of Symbol 1709 MovieClip "door2" in Frame 859
onClipEvent (enterFrame) {
if (_root.car.hitTest(_x, _y, true)) {
_root.endGame("win");
}
}
Frame 860
function changeLvl() {
if (_root.fade._currentframe == 1) {
g16Score = g16Score + bonusScore;
_root.carp1.yvel = 0;
_root.carp2.yvel = 0;
fade.play();
}
}
function fadeSwap() {
if (game16_lvl > 3) {
trace(g16Score);
_root.endGame("win");
return(undefined);
}
nextFrame();
}
function gravity(type) {
if (_root.sound) {
game16_gravity.start();
}
_root.gravityType = type;
_root.car.dir = type;
_root.car.flipSide = true;
}
function resetLvl() {
if (_root.fade._currentframe == 1) {
fuel = 0;
bar.fFuel = 1;
_root.carp1.yvel = 0;
_root.carp2.yvel = 0;
_root.gotoAndStop("game16_reset");
}
}
function endGame(type) {
_root.g16End = true;
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = g16Score;
}
stop();
fuel = 0;
gravityType = "normal";
game16_lvl = 1;
_root.g16End = false;
deathFade.play();
if (lives == undefined) {
lives = 3;
}
bonusScore = 7000;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (bonusScore > 20) {
bonusScore = bonusScore - 7;
}
if (lives <= 0) {
_root.endGame("lose");
}
};
engineFrame = this._currentframe;
g16Score = 0;
steamSide = new Sound(_root.f1);
steamSide.attachSound("steamSide");
steamSideB = new Sound(_root.f3);
steamSideB.attachSound("steamSide");
steam = new Sound(_root.car);
steam.attachSound("steam");
if (_root.sound) {
carEngine.start(0, 999999);
gamemusic1.start(0, 9999);
}
_root.banned = false;
Instance of Symbol 1752 MovieClip "f2" in Frame 860
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_root.steam.stop();
return(undefined);
}
_x = _root.fake._x;
_y = (_root.fake._y - 5);
if (_root.car.jet) {
if (_root.fuel > 0) {
if (Key.isDown(38)) {
_visible = true;
if (!sound) {
if (_root.sound) {
_root.steam.start(0, 99999);
sound = true;
}
}
}
}
}
if (((!Key.isDown(38)) or (_root.fuel < 0)) or (!_root.car.jet)) {
_visible = false;
_root.steam.stop();
sound = false;
}
}
Instance of Symbol 1752 MovieClip "f3" in Frame 860
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_visible = false;
_root.steamSideB.stop();
return(undefined);
}
if (!_root.car.onfloor) {
if (Key.isDown(37)) {
_visible = true;
if (_root.sound) {
if (!sound) {
_root.steamSideB.start(0, 99999);
sound = true;
}
}
}
}
if ((((!Key.isDown(37)) or _root.car.onfloor) or (_root.fake._rotation < -20)) or (_root.fake._rotation > 20)) {
_visible = false;
}
if ((!Key.isDown(37)) or _root.car.onfloor) {
_root.steamSideB.stop();
sound = false;
}
}
Instance of Symbol 1752 MovieClip "f1" in Frame 860
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_visible = false;
_root.steamSide.stop();
return(undefined);
}
if (!_root.car.onfloor) {
if (Key.isDown(39)) {
_visible = true;
if (!sound) {
if (_root.sound) {
_root.steamSide.start(0, 99999);
sound = true;
}
}
}
}
if ((((!Key.isDown(39)) or _root.car.onfloor) or (_root.fake._rotation > 20)) or (_root.fake._rotation < -20)) {
_visible = false;
}
if ((!Key.isDown(39)) or _root.car.onfloor) {
sound = false;
_root.steamSide.stop();
}
}
Instance of Symbol 1760 MovieClip "car" in Frame 860
onClipEvent (load) {
function getAngle() {
if (_root.paused) {
return(undefined);
}
if (InAirCauseJet) {
Angle = 0;
return(undefined);
}
yDis = _root.carp2._y - _root.carp1._y;
deltaX = _root.carp1._x - _root.carp2._x;
deltaY = _root.carp1._y - _root.carp2._y;
angle = -Math.atan2(deltaX, deltaY);
if (_root.carp1.onfloor) {
if (_root.carp2.onfloor) {
Angle = Math.round((angle * 180) / Math.PI) - 90;
}
}
if (!jet) {
if (!onfloor) {
if (!_root.carp1.onfloor) {
if (!_root.carp2.onfloor) {
if (xSpeed >= 0) {
Angle = Angle + 2;
}
if (xSpeed < 0) {
Angle = Angle - 2;
}
}
}
}
}
}
target1 = this._name + "p1";
_root.attachMovie("p1", target1, 87778);
_root.depthHolder++;
_root[target1].parent = this;
target2 = this._name + "p2";
_root.attachMovie("p2", target2, 89798);
_root.depthHolder++;
_root[target2].parent = this;
InAirCauseJet = false;
_visible = false;
jet = false;
xAccel = 0.8;
gravity = 0.5;
xSpeed = 0;
ySpeed = 0;
maxX = 10;
maxY = 10;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_rotation = 0;
getAngle();
if (Key.isDown(39)) {
xSpeed = xSpeed + xAccel;
} else if (Key.isDown(37)) {
xSpeed = xSpeed - xAccel;
} else {
xSpeed = xSpeed * 0.9;
}
if (Key.isDown(38)) {
if (_root.fuel > 0) {
jet = true;
InAirCauseJet = true;
_root.fuel--;
}
} else {
jet = false;
}
if (_root.fuel <= 0) {
jet = false;
}
if (xSpeed > maxX) {
xSpeed = maxX;
}
if (xSpeed < (-maxX)) {
xSpeed = -maxX;
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (jet) {
ySpeed = ySpeed - 1;
}
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
InAirCauseJet = false;
}
while (_root.bg.hitTest(_x, _y - _height, true)) {
_y = (_y+1);
if (ySpeed < 0) {
ySpeed++;
}
}
while (_root.bg.hitTest(_x + (_width / 2), _y - 20, true)) {
_x = (_x-1);
if (xSpeed > 0) {
xSpeed--;
}
}
while (_root.bg.hitTest(_x - (_width / 2), _y - 20, true)) {
_x = (_x+1);
if (xSpeed < 0) {
xSpeed++;
}
}
if (_root.bg.hitTest(_x, _y + 1, true)) {
onfloor = true;
if (!jet) {
ySpeed = 0;
}
} else {
onfloor = false;
}
if (!onfloor) {
ySpeed = ySpeed + gravity;
}
}
Instance of Symbol 1789 MovieClip "fake" in Frame 860
onClipEvent (load) {
locked = true;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
_rotation = _root.car.Angle;
if (_root.zoom) {
_visible = false;
}
_root.f3._x = _x + 30;
_root.f3._y = _y - 14;
_root.f1._x = _x - 30;
_root.f1._y = _y - 14;
}
Instance of Symbol 1806 MovieClip "bar" in Frame 860
onClipEvent (load) {
fFuel = _root.fuel;
unlimited = false;
time = 0;
duration = 0;
}
onClipEvent (enterFrame) {
_root.scoretxt = "score " + _root.score;
if (fFuel < _root.fuel) {
fFuel++;
}
if (fFuel > (_root.fuel + 1)) {
fFuel--;
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (unlimited) {
_root.fuel = Infinity;
fFuel = Infinity;
time++;
if (time >= duration) {
time = 0;
_root.fuel = 0;
fFuel = 1;
unlimited = false;
}
}
this.gotoAndStop(fFuel);
if (unlimited) {
this.gotoAndStop(100 - ((time / duration) * 100));
}
}
onClipEvent (load) {
if (_root.reset) {
_root.mmm.gotoAndPlay(2);
_root.reset = false;
}
}
onClipEvent (enterFrame) {
if (_root.car.dead) {
_root.f1._visible = false;
_root.f2._visible = false;
_root.f3._visible = false;
_root.steamSide.stop();
}
if (_root.car._x < 20) {
_root.car._x = 20;
_root.car.xSpeed++;
}
if (_root.car._x > 670) {
_root.car._x = 670;
_root.car.xSpeed--;
}
if (_root.car._y <= 30) {
if (_root.fade._currentframe == 1) {
if (_root.gravityType == "reverse") {
_root.steamSide.stop();
_root.steam.stop();
_root.steamSideB.stop();
_root.resetLvl();
_root.reset = true;
}
}
if (!(_root.gravityType === "reverse")) {
_root.car._y = 30;
_root.car.ySpeed++;
}
}
if (_root.car._y > 520) {
if (_root.fade._currentframe == 1) {
if (_root.gravityType == "normal") {
_root.resetLvl();
_root.reset = true;
_root.steamSide.stop();
_root.steam.stop();
_root.steamSideB.stop();
}
}
}
}
Frame 861
stop();
gravityType = "normal";
fuel = 0;
bonusScore = 7000;
onEnterFrame = function () {
if (bonusScore > 100) {
bonusScore = bonusScore - 5;
}
};
engineFrame = this._currentframe;
deathFade.play();
_root.banned = false;
Instance of Symbol 1789 MovieClip "fake" in Frame 861
onClipEvent (load) {
locked = true;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
if (_root.gravityType == "normal") {
_y = _root.car._y;
}
if (_root.gravityType == "reverse") {
_y = (_root.car._y - 35);
}
_rotation = _root.car.Angle;
if (_root.zoom) {
_visible = false;
}
if (_root.gravityType == "normal") {
_root.f3._x = _x + 30;
_root.f3._y = _y - 14;
}
if (_root.gravityType == "reverse") {
_root.f3._x = _x + 30;
_root.f3._y = _y + 10;
}
if (_root.gravityType == "normal") {
_root.f1._x = _x - 30;
_root.f1._y = _y - 14;
}
if (_root.gravityType == "reverse") {
_root.f1._x = _x - 30;
_root.f1._y = _y + 10;
}
}
Instance of Symbol 1794 MovieClip in Frame 861
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 861
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 861
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 861
/* no clip actions */
Instance of Symbol 1760 MovieClip "car" in Frame 861
onClipEvent (load) {
function getAngle() {
if (_root.gravityType == "normal") {
Angle = 0;
}
if (_root.gravityType == "reverse") {
Angle = 180;
}
yDis = _root.carp2._y - _root.carp1._y;
deltaX = _root.carp1._x - _root.carp2._x;
deltaY = _root.carp1._y - _root.carp2._y;
angle = -Math.atan2(deltaX, deltaY);
}
InAirCauseJet = false;
_visible = false;
jet = false;
xAccel = 0.8;
gravity = 0.5;
xSpeed = 0;
ySpeed = 0;
maxX = 10;
maxY = 10;
Angle = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
getAngle();
if (Key.isDown(39)) {
xSpeed = xSpeed + xAccel;
} else if (Key.isDown(37)) {
xSpeed = xSpeed - xAccel;
} else {
xSpeed = xSpeed * 0.9;
}
if (Key.isDown(38)) {
if (_root.fuel > 0) {
jet = true;
InAirCauseJet = true;
_root.fuel--;
}
} else {
jet = false;
}
if (_root.fuel <= 0) {
jet = false;
}
if (xSpeed > maxX) {
xSpeed = maxX;
}
if (xSpeed < (-maxX)) {
xSpeed = -maxX;
}
_x = (_x + xSpeed);
if (_root.gravityType == "normal") {
_y = (_y + ySpeed);
} else {
_y = (_y - ySpeed);
}
if (jet) {
ySpeed = ySpeed - 1;
}
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
InAirCauseJet = false;
if (_root.gravityType == "reverse") {
if (ySpeed < 0) {
ySpeed++;
}
}
InAirCauseJet = false;
}
while (_root.bg.hitTest(_x, _y - _height, true)) {
_y = (_y+1);
if (_root.gravityType == "normal") {
if (ySpeed < 0) {
ySpeed++;
}
}
InAirCauseJet = false;
}
while (_root.bg.hitTest(_x + (_width / 2), _y - 20, true)) {
_x = (_x-1);
if (xSpeed > 0) {
xSpeed--;
}
}
while (_root.bg.hitTest(_x - (_width / 2), _y - 20, true)) {
_x = (_x+1);
if (xSpeed < 0) {
xSpeed++;
}
}
if (_root.gravityType == "normal") {
if (_root.bg.hitTest(_x, _y + 1, true)) {
onfloor = true;
flipSide = false;
if (!jet) {
if (!flipSide) {
ySpeed = 0;
}
}
} else {
onfloor = false;
}
}
if (_root.gravityType == "reverse") {
if (_root.bg.hitTest(_x, (_y - _height) - 1, true)) {
onfloor = true;
flipSide = false;
if (!jet) {
if (!flipSide) {
ySpeed = 0;
}
}
} else {
onfloor = false;
}
}
if (!onfloor) {
ySpeed = ySpeed + gravity;
}
}
Frame 862
stop();
fuel = 0;
bonusScore = 7000;
onEnterFrame = function () {
if (bonusScore > 20) {
bonusScore = bonusScore - 5;
}
};
engineFrame = this._currentframe;
_root.banned = false;
Instance of Symbol 1752 MovieClip "f2" in Frame 862
onClipEvent (load) {
locked = true;
_visible = false;
sound = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.car.dead) {
_root.steam.stop();
return(undefined);
}
_x = _root.fake._x;
_y = (_root.fake._y - 5);
if (_root.car.jet) {
if (_root.fuel > 0) {
if (Key.isDown(38)) {
_visible = true;
if (!sound) {
if (_root.sound) {
_root.steam.start(0, 99999);
sound = true;
}
}
}
}
}
if (((!Key.isDown(38)) or (_root.fuel < 0)) or (!_root.car.jet)) {
_visible = false;
_root.steam.stop();
sound = false;
}
if (_root.gravityType == "reverse") {
_rotation = 180;
} else {
_rotation = 0;
}
}
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1794 MovieClip in Frame 862
/* no clip actions */
Instance of Symbol 1760 MovieClip "car" in Frame 862
onClipEvent (load) {
function getAngle() {
if (_root.gravityType == "normal") {
Angle = 0;
}
if (_root.gravityType == "reverse") {
Angle = 180;
}
yDis = _root.carp2._y - _root.carp1._y;
deltaX = _root.carp1._x - _root.carp2._x;
deltaY = _root.carp1._y - _root.carp2._y;
angle = -Math.atan2(deltaX, deltaY);
}
InAirCauseJet = false;
_visible = false;
jet = false;
xAccel = 0.8;
gravity = 0.5;
xSpeed = 0;
ySpeed = 0;
maxX = 10;
maxY = 10;
Angle = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
getAngle();
if (Key.isDown(39)) {
xSpeed = xSpeed + xAccel;
} else if (Key.isDown(37)) {
xSpeed = xSpeed - xAccel;
} else {
xSpeed = xSpeed * 0.9;
}
if (Key.isDown(38)) {
if (_root.fuel > 0) {
jet = true;
InAirCauseJet = true;
_root.fuel--;
}
} else {
jet = false;
}
if (_root.fuel <= 0) {
jet = false;
}
if (xSpeed > maxX) {
xSpeed = maxX;
}
if (xSpeed < (-maxX)) {
xSpeed = -maxX;
}
_x = (_x + xSpeed);
if (_root.gravityType == "normal") {
_y = (_y + ySpeed);
} else {
_y = (_y - ySpeed);
}
if (jet) {
ySpeed = ySpeed - 1;
}
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
InAirCauseJet = false;
if (_root.gravityType == "reverse") {
if (ySpeed < 0) {
ySpeed++;
}
}
InAirCauseJet = false;
}
while (_root.bg.hitTest(_x, _y - _height, true)) {
_y = (_y+1);
if (_root.gravityType == "normal") {
if (ySpeed < 0) {
ySpeed++;
}
}
InAirCauseJet = false;
}
while (_root.bg.hitTest(_x + (_width / 2), _y - 20, true)) {
_x = (_x-1);
if (xSpeed > 0) {
xSpeed--;
}
}
while (_root.bg.hitTest(_x - (_width / 2), _y - 20, true)) {
_x = (_x+1);
if (xSpeed < 0) {
xSpeed++;
}
}
if (_root.gravityType == "normal") {
if (_root.bg.hitTest(_x, _y + 1, true)) {
onfloor = true;
flipSide = false;
if (!jet) {
if (!flipSide) {
ySpeed = 0;
}
}
} else {
onfloor = false;
}
}
if (_root.gravityType == "reverse") {
if (_root.bg.hitTest(_x, (_y - _height) - 1, true)) {
onfloor = true;
flipSide = false;
if (!jet) {
if (!flipSide) {
ySpeed = 0;
}
}
} else {
onfloor = false;
}
}
if (!onfloor) {
ySpeed = ySpeed + gravity;
}
}
Frame 863
_root.gravityType = "normal";
_root.steamSide.stop();
_root.steam.stop();
lives--;
g16Score = g16Score - 1000;
if (g16Score < 0) {
g16Score = 0;
}
_root.steamSideB.stop();
if (lives <= 0) {
_root.endGame("lose");
}
_root.banned = false;
_root.gotoAndStop(_root.engineFrame);
Frame 864
function tile(type, who) {
_root.depthHolder++;
tname = "game17_" + type;
var _local2 = type + _root.depthHolder;
_root.attachMovie(tname, _local2, _root.depthHolder);
_root[_local2]._x = _root._xmouse;
_root[_local2]._y = _root._ymouse;
_root[_local2].parent = who;
_root.selectedObject = _root[_local2];
}
function nextLevel() {
if (_root.sound) {
_root.game19_disappear.start();
}
g17Score = g17Score + ((HUD.tile1.quantity * 1000) + (HUD.tile2.quantity * 1000));
ball.removeMovieClip();
ballp1.removeMovieClip();
ballp2.removeMovieClip();
extraScore = extraScore + 15000;
tileList = [""];
_root.game17_paused = true;
gamego = false;
G17level++;
nextFrame();
}
function resetAll() {
reset = true;
}
function endGame(type) {
if (!gameEnded) {
if (type == "win") {
finaliseScore();
}
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
HUD.removeMovieClip();
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (g17Score + extraScore);
}
depthHolder = 0;
_root.g17Score = 0;
stop();
extraScore = 10000;
game17_paused = true;
tileList = [""];
HUD.tile1.quantity = 3;
HUD.tile2.quantity = 0;
G17level = 1;
_root.pointsMade = false;
gameGo = false;
reset = false;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
if (reset) {
gotoAndStop ("game17_reset");
}
if (time <= 0) {
HUD.removeMovieClip();
endGame("lose");
}
if (getTimer() > resetTime) {
resetTime = getTimer() + delay;
time--;
}
if (extraScore > 0) {
extraScore = extraScore - 5;
}
};
time = 200;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
if (game17M == undefined) {
gamemusic3.start(0, 99999);
game17M = 1;
}
_root.banned = false;
Instance of Symbol 1837 MovieClip "ball" in Frame 864
onClipEvent (load) {
function getAngle() {
yDis = _root[target2]._y - _root[target1]._y;
deltaX = _root[target1]._x - _root[target2]._x;
deltaY = _root[target1]._y - _root[target2]._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI) - 90;
if (_root[target2].onfloor and _root[target1].onfloor) {
if (_root.bg.hitTest(_x, (_y + (_height / 2)) + 25, true)) {
vx = vx + (yDis / 8);
}
}
if ((Angle < 20) and (Angle > -20)) {
friction = 0.95;
} else {
friction = 0.99;
}
}
function bounce() {
if (_root.paused) {
return(undefined);
}
onfloor = false;
yvel = (-yvel) * bounceness;
vx = vx * 0.9;
}
function reaction(type, who) {
if (type == "bouncer") {
vx = vx + 4;
yvel = yvel + 4;
}
}
point_onfloor = false;
yDis = 1;
yvel = 0;
gravity = 0.5;
onfloor = false;
vx = 0;
_visible = false;
if (!_root.pointsMade) {
target1 = this._name + "p1";
_root.attachMovie("p1", target1, _root.depthHolder);
_root.depthHolder++;
_root[target1].parent = this;
target2 = this._name + "p2";
_root.attachMovie("p2", target2, _root.depthHolder);
_root.depthHolder++;
_root[target2].parent = this;
_root.pointsMade = true;
}
bounceness = 0.97;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_root.speed = Math.round(vx);
if (_root.game17_paused) {
return(undefined);
}
if (!_root.game17_paused) {
_visible = true;
}
getAngle();
_x = (_x + vx);
vx = vx * friction;
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x+1);
trace("J");
vx = vx * -0.5;
}
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x-1);
vx = vx * -0.5;
}
this._y = this._y + yvel;
if (!_root.bg.hitTest(_x, _y + (_height / 2), true)) {
onfloor = false;
yvel = yvel + gravity;
} else {
while (_root.bg.hitTest(_x + vx, _y + (_height / 2), true)) {
this._y = this._y - 1;
}
if ((-yvel) < 2.6) {
yvel = 0;
}
if (yvel > 5) {
bounce();
}
onfloor = true;
yvel = yvel * 0.8;
}
while (_root.bg.hitTest(_x, _y - (_height / 2), true)) {
this._y++;
yvel = -yvel;
}
if (_root.bg.hitTest(_x, _y + 20, true)) {
point_onfloor = true;
} else {
point_onfloor = false;
}
}
Instance of Symbol 1841 MovieClip in Frame 864
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nextLevel();
}
}
Frame 865
HUD.tile1.quantity = 2;
HUD.tile2.quantity = 2;
_root.banned = false;
gameGo = false;
Instance of Symbol 1837 MovieClip "ball" in Frame 865
onClipEvent (load) {
function getAngle() {
yDis = _root[target2]._y - _root[target1]._y;
deltaX = _root[target1]._x - _root[target2]._x;
deltaY = _root[target1]._y - _root[target2]._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI) - 90;
if (_root[target2].onfloor and _root[target1].onfloor) {
if (_root.bg.hitTest(_x, (_y + (_height / 2)) + 25, true)) {
vx = vx + (yDis / 8);
}
}
if ((Angle < 20) and (Angle > -20)) {
friction = 0.95;
} else {
friction = 0.99;
}
}
function bounce() {
if (_root.paused) {
return(undefined);
}
onfloor = false;
yvel = (-yvel) * bounceness;
vx = vx * 0.9;
}
function reaction(type, who) {
if (type == "bouncer") {
vx = vx + 4;
yvel = yvel + 4;
}
}
point_onfloor = false;
yDis = 1;
yvel = 0;
gravity = 0.5;
onfloor = false;
vx = 0;
_visible = false;
target1 = this._name + "p1";
_root.attachMovie("p1", target1, _root.depthHolder);
_root.depthHolder++;
_root[target1].parent = this;
target2 = this._name + "p2";
_root.attachMovie("p2", target2, _root.depthHolder);
_root.depthHolder++;
_root[target2].parent = this;
bounceness = 0.97;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_root.speed = Math.round(vx);
if (_root.game17_paused) {
return(undefined);
}
if (!_root.game17_paused) {
_visible = true;
}
getAngle();
_x = (_x + vx);
vx = vx * friction;
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x+1);
trace("J");
vx = vx * -0.5;
}
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x-1);
vx = vx * -0.5;
}
this._y = this._y + yvel;
if (!_root.bg.hitTest(_x, _y + (_height / 2), true)) {
onfloor = false;
yvel = yvel + gravity;
} else {
while (_root.bg.hitTest(_x + vx, _y + (_height / 2), true)) {
this._y = this._y - 1;
}
if ((-yvel) < 2.6) {
yvel = 0;
}
if (yvel > 5) {
bounce();
}
onfloor = true;
yvel = yvel * 0.8;
}
while (_root.bg.hitTest(_x, _y - (_height / 2), true)) {
this._y++;
yvel = -yvel;
}
if (_root.bg.hitTest(_x, _y + 20, true)) {
point_onfloor = true;
} else {
point_onfloor = false;
}
_parent.mlol = _y;
}
Instance of Symbol 1865 MovieClip in Frame 865
onClipEvent (load) {
power = -4;
}
Instance of Symbol 1867 MovieClip in Frame 865
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nextLevel();
}
}
Frame 866
HUD.tile1.quantity = 3;
HUD.tile2.quantity = 3;
_root.banned = false;
gameGo = false;
Instance of Symbol 1837 MovieClip "ball" in Frame 866
onClipEvent (load) {
function getAngle() {
yDis = _root[target2]._y - _root[target1]._y;
deltaX = _root[target1]._x - _root[target2]._x;
deltaY = _root[target1]._y - _root[target2]._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI) - 90;
if (_root[target2].onfloor and _root[target1].onfloor) {
if (_root.bg.hitTest(_x, (_y + (_height / 2)) + 25, true)) {
vx = vx + (yDis / 8);
}
}
if ((Angle < 20) and (Angle > -20)) {
friction = 0.95;
} else {
friction = 0.99;
}
}
function bounce() {
onfloor = false;
yvel = (-yvel) * bounceness;
vx = vx * 0.9;
}
function reaction(type, who) {
if (type == "bouncer") {
vx = vx + 4;
yvel = yvel + 4;
}
}
point_onfloor = false;
yDis = 1;
yvel = 0;
gravity = 0.5;
onfloor = false;
vx = 0;
_visible = false;
target1 = this._name + "p1";
_root.attachMovie("p1", target1, _root.depthHolder);
_root.depthHolder++;
_root[target1].parent = this;
target2 = this._name + "p2";
_root.attachMovie("p2", target2, _root.depthHolder);
_root.depthHolder++;
_root[target2].parent = this;
bounceness = 0.97;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_root.speed = Math.round(vx);
if (_root.game17_paused) {
return(undefined);
}
if (!_root.game17_paused) {
_visible = true;
}
getAngle();
_x = (_x + vx);
vx = vx * friction;
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x+1);
trace("J");
vx = vx * -0.5;
}
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x-1);
vx = vx * -0.5;
}
this._y = this._y + yvel;
if (!_root.bg.hitTest(_x, _y + (_height / 2), true)) {
onfloor = false;
yvel = yvel + gravity;
} else {
while (_root.bg.hitTest(_x + vx, _y + (_height / 2), true)) {
this._y = this._y - 1;
}
if ((-yvel) < 2.6) {
yvel = 0;
}
if (yvel > 5) {
bounce();
}
onfloor = true;
yvel = yvel * 0.8;
}
while (_root.bg.hitTest(_x, _y - (_height / 2), true)) {
this._y++;
yvel = -yvel;
}
if (_root.bg.hitTest(_x, _y + 20, true)) {
point_onfloor = true;
} else {
point_onfloor = false;
}
}
Frame 867
HUD.tile1.quantity = 0;
HUD.tile2.quantity = 0;
_root.banned = false;
gameGo = false;
Instance of Symbol 1837 MovieClip "ball" in Frame 867
onClipEvent (load) {
function getAngle() {
yDis = _root[target2]._y - _root[target1]._y;
deltaX = _root[target1]._x - _root[target2]._x;
deltaY = _root[target1]._y - _root[target2]._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI) - 90;
if (_root[target2].onfloor and _root[target1].onfloor) {
if (_root.bg.hitTest(_x, (_y + (_height / 2)) + 25, true)) {
vx = vx + (yDis / 8);
}
}
if ((Angle < 20) and (Angle > -20)) {
friction = 0.95;
} else {
friction = 0.99;
}
}
function bounce() {
onfloor = false;
yvel = (-yvel) * bounceness;
vx = vx * 0.9;
}
function reaction(type, who) {
if (type == "bouncer") {
vx = vx + 4;
yvel = yvel + 4;
}
}
point_onfloor = false;
yDis = 1;
yvel = 0;
gravity = 0.5;
onfloor = false;
vx = 0;
_visible = false;
target1 = this._name + "p1";
_root.attachMovie("p1", target1, _root.depthHolder);
_root.depthHolder++;
_root[target1].parent = this;
target2 = this._name + "p2";
_root.attachMovie("p2", target2, _root.depthHolder);
_root.depthHolder++;
_root[target2].parent = this;
bounceness = 0.97;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_root.speed = Math.round(vx);
if (_root.game17_paused) {
return(undefined);
}
if (!_root.game17_paused) {
_visible = true;
}
getAngle();
_x = (_x + vx);
vx = vx * friction;
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x+1);
trace("J");
vx = vx * -0.5;
}
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x-1);
vx = vx * -0.5;
}
this._y = this._y + yvel;
if (!_root.bg.hitTest(_x, _y + (_height / 2), true)) {
onfloor = false;
yvel = yvel + gravity;
} else {
while (_root.bg.hitTest(_x + vx, _y + (_height / 2), true)) {
this._y = this._y - 1;
}
if ((-yvel) < 2.6) {
yvel = 0;
}
if (yvel > 5) {
bounce();
}
onfloor = true;
yvel = yvel * 0.8;
}
while (_root.bg.hitTest(_x, _y - (_height / 2), true)) {
this._y++;
yvel = -yvel;
}
if (_root.bg.hitTest(_x, _y + 20, true)) {
point_onfloor = true;
} else {
point_onfloor = false;
}
}
Instance of Symbol 1872 MovieClip in Frame 867
onClipEvent (load) {
power = 20;
}
Instance of Symbol 1873 MovieClip in Frame 867
onClipEvent (load) {
power = 25;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
tile._rotation = tile._rotation + 4;
}
Frame 868
HUD.tile1.quantity = 1;
HUD.tile2.quantity = 1;
_root.banned = false;
gameGo = false;
Instance of Symbol 1837 MovieClip "ball" in Frame 868
onClipEvent (load) {
function getAngle() {
yDis = _root[target2]._y - _root[target1]._y;
deltaX = _root[target1]._x - _root[target2]._x;
deltaY = _root[target1]._y - _root[target2]._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI) - 90;
if (_root[target2].onfloor and _root[target1].onfloor) {
if (_root.bg.hitTest(_x, (_y + (_height / 2)) + 25, true)) {
vx = vx + (yDis / 8);
}
}
if ((Angle < 20) and (Angle > -20)) {
friction = 0.95;
} else {
friction = 0.99;
}
}
function bounce() {
onfloor = false;
yvel = (-yvel) * bounceness;
vx = vx * 0.9;
}
function reaction(type, who) {
if (type == "bouncer") {
vx = vx + 4;
yvel = yvel + 4;
}
}
point_onfloor = false;
yDis = 1;
yvel = 0;
gravity = 0.5;
onfloor = false;
vx = 0;
_visible = false;
target1 = this._name + "p1";
_root.attachMovie("p1", target1, _root.depthHolder);
_root.depthHolder++;
_root[target1].parent = this;
target2 = this._name + "p2";
_root.attachMovie("p2", target2, _root.depthHolder);
_root.depthHolder++;
_root[target2].parent = this;
bounceness = 0.97;
}
onClipEvent (enterFrame) {
_root.speed = Math.round(vx);
if (_root.game17_paused) {
return(undefined);
}
if (!_root.game17_paused) {
_visible = true;
}
getAngle();
_x = (_x + vx);
vx = vx * friction;
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x+1);
vx = vx * -0.5;
}
while (_root.bg.hitTest(_x + vx, _y, true)) {
_x = (_x-1);
vx = vx * -0.5;
}
this._y = this._y + yvel;
if (!_root.bg.hitTest(_x, _y + (_height / 2), true)) {
onfloor = false;
yvel = yvel + gravity;
} else {
while (_root.bg.hitTest(_x + vx, _y + (_height / 2), true)) {
this._y = this._y - 1;
}
if ((-yvel) < 2.6) {
yvel = 0;
}
if (yvel > 5) {
bounce();
}
onfloor = true;
yvel = yvel * 0.8;
}
while (_root.bg.hitTest(_x, _y - (_height / 2), true)) {
this._y++;
yvel = -yvel;
}
if (_root.bg.hitTest(_x, _y + 20, true)) {
point_onfloor = true;
} else {
point_onfloor = false;
}
}
Instance of Symbol 1867 MovieClip in Frame 868
onClipEvent (enterFrame) {
if (m == undefined) {
if (this.hitTest(_root.ball)) {
_root.endGame("win");
m = 2;
}
}
}
Frame 869
stop();
reset = false;
_root.gamego = false;
_root.game17_paused = true;
m = "g17l" + G17level;
_root.gotoAndStop(m);
Frame 870
function die() {
_root.game8_win.start();
balls--;
ball.reset();
if (balls < 0) {
endGame("win");
balls = 0;
}
}
function updateLvl() {
if (bounceCounter > 10) {
g18Score = g18Score + (g18Level * 1100);
g18Level++;
bounceCounter = 0;
changePath = false;
spaz = false;
annoy();
}
}
function annoy() {
if (_root.sound) {
_root.game18_annoy.start();
}
c = random(6);
if (c == 0) {
shakeIt = true;
shakeTime = 0;
XA = (XB = (YA = (YB = 0)));
}
if (c == 1) {
fg.play();
}
if (c == 2) {
changePath = true;
pathTime = 0;
}
if (c == 3) {
spaz = true;
spazTime = 0;
m = 0;
}
if (c == 4) {
ball.speed = ball.speed * 1.5;
}
if (c == 5) {
fakeBalls.gotoAndStop(2);
}
}
function endGame(type) {
if (!gameEnded) {
finaliseScore();
stopAllFunctions = true;
_root.gameEnd = type;
gameEnded = true;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = g18Score;
}
stop();
g18Score = 0;
platformCount = 0;
balls = 3;
bounces = 0;
gamemusic7.start(0, 9999);
bounceCounter = 0;
_root.g18Level = 1;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (shakeIt) {
shakeTime++;
shakeVis._visible = true;
shakeVis.total = _root.g18Level * 50;
shakeVis.time = shakeTime;
if (shakeTime > (_root.g18Level * 50)) {
shakeIt = false;
shakeTime = 0;
enemy1.RIGHT = 39;
enemy1.LEFT = 37;
}
}
if (changePath) {
ball._rotation = ball._rotation + 1;
pathTime++;
if (pathTime > (_root.g18Level * 50)) {
changePath = false;
pathTime = 0;
}
}
if (spaz) {
m++;
if (m > 25) {
ball._rotation = ball._rotation + random(10);
ball.speed = 5;
spazTime++;
if (spazTime > (_root.g18Level * 50)) {
spaz = false;
spazTime = 0;
m = 0;
}
}
}
};
gameEnded = false;
_root.banned = false;
Instance of Symbol 1885 MovieClip "fg" in Frame 870
onClipEvent (load) {
p = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
} else if (p) {
play();
}
if (!(_currentframe === 1)) {
p = true;
} else {
p = false;
}
}
Instance of Symbol 1895 MovieClip "ball" in Frame 870
onClipEvent (load) {
function hit(who) {
_root.g18Score = _root.g18Score + (100 + (speed * 50));
_rotation = (who._rotation + 180);
_root.bounces++;
_root.bounceCounter++;
_root.updateLvl();
speed = speed + 0.3;
time = 0;
}
function reset() {
_x = startX;
_y = startY;
speed = 5;
}
speed = 5;
time = 0;
startX = _x;
startY = _y;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (Math.abs(speed) > 15) {
speed = speed * 0.7;
}
speed = speed * 1;
time++;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.bg.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (_root.enemy1.hitTest(_x, _y, true)) {
_root.game8_bounce1.start();
hit(_root.enemy1);
_alpha = 100;
}
if ((((_x < -100) or (_x > 800)) or (_y < -100)) or (_y > 700)) {
_root.die();
}
}
Instance of Symbol 1906 MovieClip "shakeVis" in Frame 870
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
overall = total - time;
if (overall <= 0) {
_visible = false;
}
}
Frame 871
function DRAW() {
if (_root.paused) {
return(undefined);
}
_root.metal_door.start();
draw._visible = true;
go = true;
}
function endGame(type) {
if (!gameEnded) {
finaliseScore();
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = gameScore + (game19Wins * 2500);
}
drawCounter = 0;
delay = random(10000) + 4000;
resetTime = (random(700) + random(100)) + 100;
go = false;
stopAllFunctions = false;
gameEnded = false;
if (fps == undefined) {
wild_west.start(0, 99999);
fps = 40;
game19Wins = 0;
reaction = 0;
g19lives = 3;
reactionSeconds = 0;
reactionMilli = 0;
}
win = false;
addT = 1000 / fps;
counter = 0;
m = 0;
game19lose = false;
start = getTimer();
done = false;
gameEnded = false;
drawTime = 0;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (stopAllFunctions) {
return(undefined);
}
drawTime++;
trace(drawTime);
if (drawTime > resetTime) {
resetTime = (random(700) + random(100)) + 200;
drawTime = 0;
if (!done) {
DRAW();
}
}
if (Key.isDown(32)) {
if (!go) {
if (!win) {
if (draw._visible == false) {
false_start.play();
}
}
}
}
if (go) {
reaction = reaction + addT;
if (reactionSeconds >= 3) {
game19lose = true;
_root.endGame("win");
winFade.play();
return(undefined);
}
if (Key.isDown(32)) {
if (go) {
win = true;
cowboy.gotoAndStop(2);
cowboyBad.gotoAndStop(2);
go = false;
draw._visible = false;
_root.game19_shoot.start();
m = 0;
done = true;
winFade.play();
}
}
}
falseStartText = ("FALSE STARTS: " + g19lives) + " LEFT";
if (_root.g19lives <= 0) {
_root.endGame("lose");
}
reactionMilli = reaction / 10;
if (reactionMilli >= 100) {
reaction = 0;
reactionSeconds++;
}
reactionText = (reactionSeconds + ":") + reaction;
};
game19_wind.start(0, 9999);
_root.banned = false;
Instance of Symbol 1921 MovieClip in Frame 871
onClipEvent (load) {
function r() {
speed = random(2) + 0.5;
_x = 950;
}
r();
}
onClipEvent (enterFrame) {
_x = (_x - speed);
if (_x < -200) {
r();
}
}
Instance of Symbol 1923 MovieClip in Frame 871
onClipEvent (load) {
function r() {
speed = random(2) + 0.5;
_x = -100;
}
r();
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (_x > 800) {
r();
}
}
Instance of Symbol 1928 MovieClip "draw" in Frame 871
onClipEvent (load) {
_visible = false;
}
Frame 872
stop();
game19Wins++;
loseTime = loseTime - 200;
game19_wind.stop();
_root.gotoAndStop("game19");
Frame 873
function endGame(type) {
if (!gameEnded) {
finaliseScore();
stopAllFunctions = true;
gameEnded = true;
_root.gameEnd = type;
_root.changeFrame("summary");
}
}
function finaliseScore() {
gameScore = 25000 + (bans * 300);
}
scrollSpeed = 2.5;
gamemusic7.start(0, 9999);
bans = 0;
gameScore = 0;
gameEnded = false;
stopAllFunctions = false;
delay = 1000;
resetTime = getTimer() + delay;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (_root.stopAllFunctions) {
return(undefined);
}
gameText = "score: " + gameScore;
};
_root.banned = false;
Instance of Symbol 1954 MovieClip "bg" in Frame 873
onClipEvent (load) {
r = 1;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
}
Instance of Symbol 1969 MovieClip "monkey" in Frame 873
onClipEvent (load) {
function jump(amount) {
if (_root.paused) {
return(undefined);
}
_root.game20_jump.start();
yspeed = amount;
jumping = true;
this.gotoAndStop(3);
}
function boundary() {
if (_currentframe == 4) {
return(undefined);
}
if (_xscale == xScale) {
while (_root.bg.hitTest(_x + (_width / 2), _y - 20, true)) {
_x = (_x-1);
}
}
if (_xscale == (-xScale)) {
while (_root.bg.hitTest(_x - (_width / 2), _y - 20, true)) {
_x = (_x+1);
}
}
}
function dead() {
if (!die) {
_root.game20_dead.start();
xvel = 4;
rotate = 8;
die = true;
fly = -15;
}
}
_root.attention = this;
_root.paused = false;
speed = 6;
xScale = _xscale;
gravity = 1;
yspeed = 0;
jumping = false;
onfloor = false;
hitWall = false;
die = false;
deathTime = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.bg.hitTest(_x + (_width / 2), _y - 20, true)) {
hitWall = true;
} else {
hitWall = false;
}
if (die) {
_alpha = 30;
deathTime++;
_x = (_x + xvel);
_rotation = (_rotation + rotate);
xvel = xvel * 0.95;
_y = (_y + fly);
fly++;
if ((_y > 700) or (deathTime > 200)) {
_root.endGame("lose");
}
return(undefined);
}
boundary();
if (Key.isDown(39)) {
_xscale = xScale;
_x = (_x + speed);
if (!jumping) {
if (!(_currentframe === 4)) {
this.gotoAndStop(2);
}
}
}
if (Key.isDown(38) and onfloor) {
if (!jumping) {
jump(-15);
}
}
if (_xscale == xScale) {
direction = "right";
}
if (_xscale == (-xScale)) {
direction = "left";
}
_y = (_y + yspeed);
if (!onfloor) {
yspeed = yspeed + gravity;
}
if (_root.bg.hitTest(_x, _y + (_height / 2), true)) {
onfloor = true;
} else {
onfloor = false;
}
if (yspeed >= 0) {
while (_root.bg.hitTest(_x, (_y + (_height / 2)) - 5, true)) {
_y = (_y-1);
if (jumping) {
this.gotoAndStop(1);
jumping = false;
}
yspeed = 0;
}
}
if (!(_currentframe === 4)) {
while (_root.bg.hitTest(_x, _y + 20, true)) {
_y = (_y+1);
yspeed++;
}
}
if ((_currentframe == 2) or (_currentframe == 4)) {
if (!jumping) {
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
this.gotoAndStop(1);
}
}
}
if (_y > 600) {
_root.endGame("lose");
}
}
Instance of Symbol 1973 MovieClip "croc" in Frame 873
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1982 MovieClip "cam" in Frame 873
onClipEvent (load) {
active = true;
Motion = 10;
scrollTarget = new Array();
scrollTarget = ["monkey", "bg", "other", "lolol"];
s = _x + 100;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
distanceX = Math.round(_x - _root.attention._x);
if (active) {
for (i in scrollTarget) {
_parent[scrollTarget[i]]._x = _parent[scrollTarget[i]]._x + (distanceX / Motion);
}
}
_x = (_x - _root.scrollSpeed);
if (Key.isDown(39)) {
if (_x < s) {
if (!_root.monkey.hitWall) {
_x = (_x + _root.scrollSpeed);
}
}
}
}
Frame 874
stop();
Instance of Symbol 2012 MovieClip in Frame 874
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2020 MovieClip in Frame 874
onClipEvent (load) {
_root.music.stop();
_root.musicPlaying = undefined;
_root.war_room.start(0, 9999);
}
Instance of Symbol 2040 MovieClip in Frame 875
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2066 MovieClip in Frame 876
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2077 MovieClip in Frame 877
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2089 MovieClip in Frame 878
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2101 MovieClip in Frame 880
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2133 MovieClip in Frame 881
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2137 MovieClip in Frame 882
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2188 MovieClip in Frame 883
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2206 MovieClip in Frame 884
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2217 MovieClip in Frame 885
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2229 MovieClip in Frame 886
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2248 MovieClip in Frame 887
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2280 MovieClip in Frame 888
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2289 MovieClip in Frame 889
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2323 MovieClip in Frame 890
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2358 MovieClip in Frame 891
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2371 MovieClip in Frame 892
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Instance of Symbol 2415 MovieClip in Frame 893
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
}
if (!_root.paused) {
if (!stopped) {
play();
}
}
}
Frame 894
stop();
_root.creditsFrame = _root._currentframe;
banned = true;
Symbol 86 MovieClip [p1] Frame 1
yvel = 0;
falling = false;
dir = 1;
gravity = 1;
jumpamount = 20;
x = _xscale;
speed = 7;
onfloor = true;
_y = parent._y;
_visible = false;
Symbol 86 MovieClip [p1] Frame 2
if (_root.paused) {
return(undefined);
}
if (_root.reset) {
this.removeMovieClip();
}
if (_root.g16End) {
this.removeMovieClip();
}
_x = (parent._x - 5);
if (parent.point_onfloor) {
_y = (_y + yvel);
}
if (!parent.point_onfloor) {
_y = parent._y;
}
if (!_root.bg.hitTest(_x, _y + 1, true)) {
if (parent.point_onfloor) {
yvel = yvel + gravity;
}
}
while (_root.bg.hitTest(_x + 5, (_y - 5) - yvel, true)) {
_x = (_x-1);
}
while (_root.bg.hitTest(_x - 5, (_y - 5) - yvel, true)) {
_x = (_x+1);
}
while (_root.bg.hitTest(_x, _y + 1, true)) {
this._y = this._y - 1;
onfloor = true;
yvel = 0;
}
if (!_root.bg.hitTest(_x, _y + 5, true)) {
onfloor = false;
}
Symbol 86 MovieClip [p1] Frame 3
gotoAndPlay (2);
Symbol 88 MovieClip [p2] Frame 1
yvel = 0;
falling = false;
dir = 1;
gravity = 1;
jumpamount = 20;
x = _xscale;
speed = 7;
onfloor = true;
_y = parent._y;
_visible = false;
Symbol 88 MovieClip [p2] Frame 2
if (_root.paused) {
return(undefined);
}
if (_root.reset) {
this.removeMovieClip();
}
if (_root.g16End) {
this.removeMovieClip();
}
_x = (parent._x + 5);
if (parent.point_onfloor) {
_y = (_y + yvel);
}
if (!parent.point_onfloor) {
_y = parent._y;
}
if (!_root.bg.hitTest(_x, _y + 1, true)) {
if (parent.point_onfloor) {
yvel = yvel + gravity;
}
}
while (_root.bg.hitTest(_x + 5, (_y - 5) - yvel, true)) {
_x = (_x-1);
}
while (_root.bg.hitTest(_x - 5, (_y - 5) - yvel, true)) {
_x = (_x+1);
}
while (_root.bg.hitTest(_x, _y + 1, true)) {
this._y = this._y - 1;
onfloor = true;
yvel = 0;
}
if (!_root.bg.hitTest(_x, _y + 5, true)) {
onfloor = false;
}
if (_root.bg.hitTest(_x, _y + 5, true)) {
hitBg = true;
} else {
hitBg = false;
}
Symbol 88 MovieClip [p2] Frame 3
gotoAndPlay (2);
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 5
if (_root.sound) {
_root.boing.start();
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 361
stop();
Symbol 101 MovieClip [game17_bouncer] Frame 1
function bounce() {
if (_root.paused) {
return(undefined);
}
tile.m.play();
_root.ball.vx = _root.ball.vx + (Math.sin(tile._rotation * (Math.PI/180)) * _root.ball.yvel);
_root.ball.yvel = ((-Math.cos(tile._rotation * (Math.PI/180))) * _root.ball.yvel) * 0.9;
}
tile.onRollOver = function () {
highlight.gotoAndStop(2);
};
tile.onRollOut = function () {
highlight.gotoAndStop(1);
};
m = _root._currentframe;
_root.tileList.push(this._name);
point = new Object();
tile.onPress = function () {
if (!_root.gamego) {
highlight.gotoAndStop(1);
_root.selectedObject = this._parent;
drag = true;
}
};
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (_root.reset) {
this.removeMovieClip();
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
if (drag) {
_alpha = 50;
_x = (_root._xmouse - _parent._x);
_y = (_root._ymouse - _parent._y);
}
if (_root.selectedObject == this) {
if (Key.isDown(46)) {
parent.quantity++;
this.removeMovieClip();
}
}
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
bounce();
}
};
this.onMouseUp = function () {
if (drag) {
drag = false;
_alpha = 100;
}
if (!(_currentframe === 2)) {
if (!rotateMode) {
rotateMode = true;
return(undefined);
}
if (rotateMode) {
rotateMode = false;
}
}
};
Instance of Symbol 98 MovieClip in Symbol 101 MovieClip [game17_bouncer] Frame 1
onClipEvent (load) {
function visCheck() {
if (!_root.game17_paused) {
this.gotoAndStop(2);
}
if (_root.selectedObject == _parent) {
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
}
if (!(_root.selectedObject === _parent)) {
if (_alpha > 0) {
_alpha = (_alpha - 20);
}
}
}
}
onClipEvent (enterFrame) {
visCheck();
}
Instance of Symbol 100 MovieClip in Symbol 101 MovieClip [game17_bouncer] Frame 1
onClipEvent (load) {
function visCheck() {
if (!_root.game17_paused) {
this.gotoAndStop(361);
}
if (_root.selectedObject == _parent) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
}
if (!(_root.selectedObject === _parent)) {
if (_alpha > 0) {
_alpha = (_alpha - 20);
}
if (_alpha <= 0) {
_visible = false;
}
}
}
rotateMode = false;
}
on (press) {
if (!_root.gamego) {
if (_root.selectedObject == _parent) {
rotateMode = true;
}
}
}
onClipEvent (enterFrame) {
visCheck();
if (rotateMode) {
if (_root.selectedObject == _parent) {
point = new Object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
if (Angle < 0) {
Angle = 360 + Angle;
}
this.gotoAndStop(Angle);
_parent.tile._rotation = Angle;
}
}
}
onClipEvent (mouseUp) {
if (rotateMode == false) {
if (_root.selectedObject == _parent) {
point = new Object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
dis = Math.sqrt(Math.abs(deltaX) + Math.abs(deltaY));
if (Math.round(dis) > 12) {
_root.selectedObject = undefined;
}
}
}
if (rotateMode) {
if (_root.selectedObject == _parent) {
rotateMode = false;
}
}
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 10
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 150 Button
on (release) {
_root.stopBGSounds(_root.level);
_root.paused = false;
delete _root.onEnterFrame;
_parent.endGameInfo();
dir = "instructions" + _root.level;
_visible = false;
_root.changeFrame(dir);
_parent._visible = false;
}
Symbol 155 Button
on (release) {
_visible = false;
}
Instance of Symbol 136 MovieClip in Symbol 158 MovieClip Frame 1
on (press) {
_root.useHandCursor = false;
}
Symbol 159 MovieClip [pause menu] Frame 1
function openInfo() {
warning._visible = true;
}
_visible = false;
warning._visible = false;
Instance of Symbol 103 MovieClip "mmfade" in Symbol 159 MovieClip [pause menu] Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
if (_currentframe == 1) {
Mouse.show();
play();
}
}
}
on (press) {
this.useHandCursor = false;
}
Instance of Symbol 118 MovieClip in Symbol 159 MovieClip [pause menu] Frame 1
on (rollOver) {
this.gotoAndStop(2);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.paused = false;
_parent._visible = false;
_parent.mmfade.gotoAndStop(1);
return(undefined);
}
Instance of Symbol 122 MovieClip in Symbol 159 MovieClip [pause menu] Frame 1
on (rollOver) {
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
if (_root.banned) {
return(undefined);
}
this.gotoAndStop(2);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
if (_root.banned) {
return(undefined);
}
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
this.gotoAndStop(1);
}
on (release) {
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
if (_root.banned) {
return(undefined);
}
_root.deleteAllFunctions();
dir = "game_restart";
_root.changeFrame(dir);
_root.paused = false;
_parent._visible = false;
_parent.mmfade.gotoAndStop(1);
}
Instance of Symbol 125 MovieClip in Symbol 159 MovieClip [pause menu] Frame 1
on (rollOver) {
if (_root.banned) {
return(undefined);
}
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
this.gotoAndStop(2);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
if (_root.banned) {
return(undefined);
}
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
this.gotoAndStop(1);
}
on (release) {
if (_root.banned) {
return(undefined);
}
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
_parent.openInfo();
}
Instance of Symbol 128 MovieClip in Symbol 159 MovieClip [pause menu] Frame 1
on (rollOver) {
this.gotoAndStop(2);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
if (!_root.banned) {
_root.musicPlaying = undefined;
}
_root.deleteAllFunctions();
_root.stopBGSounds(_root.level);
_root.changeFrame("stage_select");
_root.paused = false;
_parent._visible = false;
_parent.mmfade.gotoAndStop(1);
}
Instance of Symbol 130 MovieClip in Symbol 159 MovieClip [pause menu] Frame 1
on (rollOver) {
this.gotoAndStop(2);
if (_root.sound) {
_root.clickS.start();
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
if (!_root.banned) {
_root.musicPlaying = undefined;
}
_root.deleteAllFunctions();
_root.stopBGSounds(_root.level);
_root.changeFrame("menu_main");
_root.paused = false;
_parent._visible = false;
_parent.mmfade.gotoAndStop(1);
}
Instance of Symbol 132 MovieClip in Symbol 159 MovieClip [pause menu] Frame 1
onClipEvent (load) {
down = false;
}
onClipEvent (keyDown) {
if (((((_root._currentframe == _root.stageSelectFrame) or (_root._currentframe == _root.mainMenuFrame)) or (_root._currentframe == GameInfoFrame)) or (_root._currentframe == _root.scoreSubmitFrame)) or (_root._currentframe == _root.creditsFrame)) {
return(undefined);
}
if (_root.banned) {
return(undefined);
}
if (Key.isDown(80)) {
if (down) {
return(undefined);
}
down = true;
if (!_root.paused) {
_root.paused = true;
_parent._visible = true;
return(undefined);
}
if (_root.paused) {
_root.paused = false;
_parent._visible = false;
_parent.warning._visible = false;
_parent.mmfade.gotoAndStop(1);
return(undefined);
}
}
}
onClipEvent (enterFrame) {
_parent.levelText = _root.levelDescriptor[_root.level];
_parent.tST = "TOTAL SCORE:" + _root.score;
if (!Key.isDown(80)) {
down = false;
}
}
Symbol 162 MovieClip [game17_twirl] Frame 1
function shoot() {
if (_root.paused) {
return(undefined);
}
if (!root.gamego) {
if (mn == undefined) {
_root.cannon.start();
mn = 1;
}
caught = false;
shooting = true;
_root.ball.vx = Math.sin(tile._rotation * (Math.PI/180)) * power;
_root.ball.yvel = (-Math.cos(tile._rotation * (Math.PI/180))) * power;
}
}
tile.onRollOver = function () {
highlight.gotoAndStop(2);
};
m = _root._currentframe;
tile.onRollOut = function () {
highlight.gotoAndStop(1);
};
tile.onPress = function () {
if (!_root.gamego) {
highlight.gotoAndStop(1);
_root.selectedObject = this._parent;
drag = true;
}
};
cTime = 0;
power = 25;
caught = false;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (_root.reset) {
this.removeMovieClip();
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
if (drag) {
_alpha = 50;
_x = (_root._xmouse - _parent._x);
_y = (_root._ymouse - _parent._y);
}
if (_root.selectedObject == this) {
if (Key.isDown(46)) {
this.removeMovieClip();
}
}
if (_root.gamego) {
if (!shooting) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
caught = true;
_root.ball._x = _x;
_root.ball._y = _y;
_root.ball.yvel = 0;
_root.ball.vx = 0;
}
}
if (caught) {
cTime++;
if (cTime > 10) {
shoot();
}
}
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
};
this.onMouseUp = function () {
if (drag) {
drag = false;
_alpha = 100;
}
if (!(_currentframe === 2)) {
if (!rotateMode) {
rotateMode = true;
return(undefined);
}
if (rotateMode) {
rotateMode = false;
}
}
};
m = _root._currentframe;
Instance of Symbol 100 MovieClip in Symbol 162 MovieClip [game17_twirl] Frame 1
onClipEvent (load) {
function visCheck() {
if (!_root.game17_paused) {
this.gotoAndStop(361);
}
if (_root.selectedObject == _parent) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
}
if (!(_root.selectedObject === _parent)) {
if (_alpha > 0) {
_alpha = (_alpha - 20);
}
if (_alpha <= 0) {
_visible = false;
}
}
}
rotateMode = false;
}
on (press) {
if (_root.selectedObject == _parent) {
if (!_root.gamego) {
rotateMode = true;
}
}
}
onClipEvent (enterFrame) {
visCheck();
if (rotateMode) {
if (_root.selectedObject == _parent) {
point = new Object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
if (Angle < 0) {
Angle = 360 + Angle;
}
this.gotoAndStop(Angle);
_parent.tile._rotation = Angle;
}
}
}
onClipEvent (mouseUp) {
if (rotateMode == false) {
if (_root.selectedObject == _parent) {
point = new Object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
dis = Math.sqrt(Math.abs(deltaX) + Math.abs(deltaY));
if (Math.round(dis) > 12) {
_root.selectedObject = undefined;
}
}
}
if (rotateMode) {
if (_root.selectedObject == _parent) {
rotateMode = false;
}
}
}
Instance of Symbol 98 MovieClip in Symbol 162 MovieClip [game17_twirl] Frame 1
onClipEvent (load) {
function visCheck() {
if (!_root.game17_paused) {
this.gotoAndStop(2);
}
if (_root.selectedObject == _parent) {
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
}
if (!(_root.selectedObject === _parent)) {
if (_alpha > 0) {
_alpha = (_alpha - 20);
}
}
}
}
onClipEvent (enterFrame) {
visCheck();
}
Symbol 164 MovieClip [game13_bullet] Frame 1
if (_root.paused) {
return(undefined);
}
if (!_visible) {
_visible = true;
}
hit = false;
enemies = parent.enemies;
vx = vx * 0.98;
power = 1.2;
rotationNum = Math.atan2(vy, vx);
_root.ExplosionStrength = (power * strength) / 30;
vy = vy + 1;
_rotation = ((rotationNum / (Math.PI/180)) + 90);
_x = (_x + vx);
_y = (_y + vy);
if (this.hitTest(_root.target)) {
_root.target.reset();
this.removeMovieClip();
}
if (_root.bg.hitTest(_x, _y, true)) {
if (!hit) {
parent.misses++;
_root.dT();
gotoAndStop (3);
}
}
if (notDone == undefined) {
_root.cannon.start();
notDone = false;
}
if (_x < -100) {
this.removeMovieClip();
}
if (_x > 800) {
this.removeMovieClip();
}
if (_y > 600) {
this.removeMovieClip();
}
if (m == undefined) {
m = _root._currentframe;
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
if (this.hitTest(_root.water)) {
if (mmm == undefined) {
_root.splash.start();
mmm = 1;
}
}
Symbol 164 MovieClip [game13_bullet] Frame 2
gotoAndPlay (1);
Symbol 164 MovieClip [game13_bullet] Frame 3
this.removeMovieClip();
trace("error");
Symbol 173 MovieClip Frame 24
_parent.removeMovieClip();
_parent.swapDepths(random(3333));
_parent.removeMovieClip();
Symbol 189 MovieClip Frame 19
stop();
Symbol 202 MovieClip Frame 20
stop();
trace(_parent);
_parent.removeMovieClip();
trace(_parent);
Symbol 203 MovieClip [enemy1] Frame 1
function hit(who, damage) {
if (_root.paused) {
return(undefined);
}
if (alive) {
health = health - damage;
vx = vx + who.vx;
vy = vy + who.vy;
_x = (_x + vx);
_y = (_y + vy);
who.removeMovieClip();
}
if (health <= 0) {
alive = false;
this.gotoAndStop(2);
}
}
function kill(what) {
if (_root.paused) {
return(undefined);
}
if (what == "shield") {
if (alive) {
_root.base.hurt(this);
}
}
if (alive) {
if (what == "gun") {
if (_currentframe == 1) {
alive = false;
_root.health = _root.health - 15;
}
}
}
gotoAndStop (3);
}
stop();
extraScore = 200;
alive = true;
speed = 1 + (_root.game10_level * 0.35);
target = _root.gun;
health = 2;
if (_root.game10_level > 3) {
health = 4;
}
if (_root.game10_level > 7) {
health = 6;
}
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (alive) {
if (extraScore > 0) {
extraScore = extraScore - 1;
}
}
if (alive) {
deltaX = _x - target._x;
deltaY = _y - target._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = Angle;
vx = Math.sin(Angle * (Math.PI/180)) * speed;
vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
_x = (_x + vx);
_y = (_y + vy);
}
if (this.hitTest(_root.base)) {
if (alive) {
if (_root.base.active) {
kill("shield");
}
}
}
if (this.hitTest(_root.gun)) {
if (alive) {
trace((this._name + " hit ") + _root.gun);
kill("gun");
}
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
};
m = _root._currentframe;
Symbol 203 MovieClip [enemy1] Frame 2
stop();
_root.enemyCounter--;
_root.g10score = _root.g10score + (100 + extraScore);
_root.money = _root.money + 10;
c = random(2);
if (c == 0) {
_root.game10_dead1.start();
}
if (c == 1) {
_root.game10_dead2.start();
}
Symbol 203 MovieClip [enemy1] Frame 3
stop();
alive = false;
_rotation = 0;
_root.enemyCounter--;
if (_root.sound) {
_root.explode3.start();
}
Symbol 208 MovieClip [bullet4] Frame 1
function checkHit() {
if (_root.paused) {
return(undefined);
}
i = 0;
while (i <= _root.enemyCount) {
name = "enemy" + i;
if (this.hitTest(_root[name])) {
_root[name].hit(this, damage);
}
i++;
}
}
damage = random(5) + 2;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
_x = (_x + (vx * 3));
_y = (_y + (vy * 3));
if (_y < 50) {
this.removeMovieClip();
}
if (_x < 0) {
this.removeMovieClip();
}
if (_x > 700) {
this.removeMovieClip();
}
if (_y > 600) {
this.removeMovieClip();
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
checkHit();
};
m = _root._currentframe;
Symbol 210 MovieClip [bullet3] Frame 1
function checkHit() {
if (_root.paused) {
return(undefined);
}
i = 0;
while (i <= _root.enemyCount) {
name = "enemy" + i;
if (this.hitTest(_root[name])) {
_root[name].hit(this, damage);
}
i++;
}
}
damage = random(3) + 2;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
_x = (_x + (vx * 2));
_y = (_y + (vy * 2));
if (_y < 50) {
this.removeMovieClip();
}
if (_x < 0) {
this.removeMovieClip();
}
if (_x > 700) {
this.removeMovieClip();
}
if (_y > 600) {
this.removeMovieClip();
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
checkHit();
};
m = _root._currentframe;
Symbol 212 MovieClip [bullet2] Frame 1
function checkHit() {
if (_root.paused) {
return(undefined);
}
i = 0;
while (i <= _root.enemyCount) {
name = "enemy" + i;
if (this.hitTest(_root[name])) {
_root[name].hit(this, damage);
}
i++;
}
}
damage = random(2) + 1;
m = _root._currentframe;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
_x = (_x + (vx * 1.5));
_y = (_y + (vy * 1.5));
if (_y < 50) {
this.removeMovieClip();
}
if (_x < 0) {
this.removeMovieClip();
}
if (_x > 700) {
this.removeMovieClip();
}
if (_y > 600) {
this.removeMovieClip();
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
checkHit();
};
Symbol 214 MovieClip [bullet1] Frame 1
function checkHit() {
if (_root.paused) {
return(undefined);
}
i = 0;
while (i <= (_root.enemyCount + 2)) {
name = "enemy" + i;
if (this.hitTest(_root[name])) {
_root[name].hit(this, damage);
}
i++;
}
}
damage = 1;
m = _root._currentframe;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
_x = (_x + vx);
_y = (_y + vy);
if (_y < 50) {
this.removeMovieClip();
}
if (_x < 0) {
this.removeMovieClip();
}
if (_x > 700) {
this.removeMovieClip();
}
if (_y > 600) {
this.removeMovieClip();
}
checkHit();
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
};
Symbol 216 MovieClip [enemy2] Frame 1
function hit(who, damage) {
if (alive) {
health = health - damage;
vx = vx + who.vx;
vy = vy + who.vy;
_x = (_x + vx);
_y = (_y + vy);
who.removeMovieClip();
}
if (health <= 0) {
alive = false;
this.gotoAndStop(2);
}
}
function kill(what) {
if (_root.paused) {
return(undefined);
}
if (what == "shield") {
if (alive) {
_root.base.hurt(this);
}
}
if (alive) {
if (what == "gun") {
if (_currentframe == 1) {
alive = false;
_root.health = _root.health - 20;
}
}
}
gotoAndStop (2);
}
stop();
alive = true;
extraScore = 250;
speed = 1 + (_root.game10_level * 0.3);
target = _root.gun;
health = 5;
if (_root.game10_level > 6) {
health = 6;
}
if (_root.game10_level > 8) {
health = 7;
}
m = _root._currentframe;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (alive) {
if (extraScore > 0) {
extraScore = extraScore - 1;
}
}
if (alive) {
deltaX = _x - target._x;
deltaY = _y - target._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = Angle;
vx = Math.sin(Angle * (Math.PI/180)) * speed;
vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
_x = (_x + vx);
_y = (_y + vy);
}
if (alive) {
if (this.hitTest(_root.gun)) {
trace((this._name + " hit ") + _root.gun);
kill("gun");
}
}
if (alive) {
if (this.hitTest(_root.base)) {
if (_root.base.active) {
kill("shield");
}
}
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
};
Symbol 216 MovieClip [enemy2] Frame 2
stop();
_root.enemyCounter--;
_root.g10score = _root.g10score + (250 + extraScore);
_root.money = _root.money + 30;
_rotation = 0;
alive = false;
if (_root.sound) {
_root.explode3.start();
}
Symbol 218 MovieClip [enemy3] Frame 1
function hit(who, damage) {
if (alive) {
health = health - damage;
vx = vx + who.vx;
vy = vy + who.vy;
_x = (_x + vx);
_y = (_y + vy);
who.removeMovieClip();
}
if (health <= 0) {
alive = false;
this.gotoAndStop(2);
}
}
function kill(what) {
if (_root.paused) {
return(undefined);
}
if (what == "shield") {
if (alive) {
if (_currentframe == 1) {
_root.base.hurt(this);
}
}
}
if (alive) {
if (what == "gun") {
if (_currentframe == 1) {
alive = false;
_root.health = _root.health - 25;
}
}
}
gotoAndStop (2);
}
stop();
extraScore = 300;
alive = true;
speed = 1 + (_root.game10_level * 0.4);
target = _root.gun;
health = 12;
if (_root.game10_level > 10) {
health = 20;
}
m = _root._currentframe;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (extraScore > 0) {
if (alive) {
extraScore = extraScore - 2;
}
}
if (alive) {
deltaX = _x - target._x;
deltaY = _y - target._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = Angle;
vx = Math.sin(Angle * (Math.PI/180)) * speed;
vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
_x = (_x + vx);
_y = (_y + vy);
}
if (this.hitTest(_root.base)) {
if (_root.base.active) {
if (alive) {
kill("shield");
}
}
}
if (this.hitTest(_root.gun)) {
if (alive) {
kill("gun");
}
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
};
Symbol 218 MovieClip [enemy3] Frame 2
stop();
_root.enemyCounter--;
_root.g10score = _root.g10score + (500 + extraScore);
_root.money = _root.money + 50;
_rotation = 0;
alive = false;
if (_root.sound) {
_root.explode3.start();
}
Symbol 227 MovieClip Frame 16
stop();
with (_parent) {
_root.taken[cN] = false;
this.removeMovieClip();
trace(_parent);
}
Symbol 228 MovieClip [game3_letter] Frame 1
stop();
levelSpeed = 1 + (_root.game3_typing_level / 50);
onfloor = false;
active = true;
dissapear = false;
extraScore = 600;
pauseWithinLife = false;
m = _root._currentframe;
this.onEnterFrame = function () {
if (dissapear) {
this.gotoAndStop(2);
_alpha = (_alpha - 10);
if (_alpha < 20) {
_root.taken[cN] = false;
this.removeMovieClip();
trace("Couldn't remove movieclip");
}
}
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
if (_root.paused) {
pauseWithinLife = true;
return(undefined);
}
if (active) {
if (!onfloor) {
_y = (_y + levelSpeed);
if (extraScore > 10) {
extraScore = extraScore - 1;
}
}
}
if (this.hitTest(_root.bg)) {
if (active) {
onfloor = true;
_root.taken[cN] = false;
active = false;
if (_root.sound) {
_root.game3_land.start();
}
}
}
if (!active) {
if (!this.hitTest(_root.bg)) {
onfloor = false;
}
}
if (this.hitTest(_root.prev[cN])) {
if (!(_root.prev[cN] === this)) {
_root.prev[cN].onfloor = true;
_root.taken[cN] = false;
if (ttt == undefined) {
_root.weight++;
ttt = 3;
}
onfloor = true;
active = false;
}
}
if (onfloor) {
if (this.hitTest(_root.bg)) {
if (d == undefined) {
_root.weight++;
d = 1;
}
}
}
};
display = String.fromCharCode(letterNumber);
Instance of Symbol 223 MovieClip in Symbol 228 MovieClip [game3_letter] Frame 1
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.active) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
}
Symbol 228 MovieClip [game3_letter] Frame 2
stop();
_root.lettersDone++;
_root.sound_click.start();
if (!pauseWithinLife) {
_root.gameScore = _root.gameScore + extraScore;
noScore._visible = false;
}
if (pauseWithinLife) {
noScore._visible = true;
}
if (onfloor) {
gotoAndStop (1);
}
Symbol 236 MovieClip [curtains] Frame 1
stop();
Symbol 236 MovieClip [curtains] Frame 5
if (_root.sound) {
_root.rollup.start();
}
Symbol 236 MovieClip [curtains] Frame 8
_root.war_room.stop();
_root.gotoAndStop(where);
Symbol 238 MovieClip Frame 1
stop();
Instance of Symbol 238 MovieClip in Symbol 239 MovieClip [mask] Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == 81) {
if (_quality == "HIGH") {
nQ = "MEDIUM";
}
if (_quality == "MEDIUM") {
nQ = "LOW";
}
if (_quality == "LOW") {
nQ = "HIGH";
}
_quality = nQ;
}
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 258 MovieClip [game8_msn_window] Frame 1
function deleteMe() {
if (_root.paused) {
return(undefined);
}
_root.count++;
_root.countL++;
_root.msnWindowsClosed++;
this.removeMovieClip();
}
msnnames = ["Jimmy", "Bob", "DraculaRulez1173", "Fou Puffin", "OMG IM SO COOL", "HAHA MY NAMES JMTB1", "OMG LAST NITE WAS GR8 ;)", "(*) (*) Mike (*) (*)", "Ollie", "Jonathan", "WOO SWIMMING ON THE 2ND", "Life is like a poem, they're both depressing", "*********** ELLIE **********", "OMG CHRISTMAS IS OVER", "I HATE SCHOOL", " I HATE LIFE", "Free Pictures for you at my website", "Spleak - OH MY ZAC GOT OFF WITH JOE. WHO GIVES A SHIT?", "AlienSpeak bot thing", "Encarta MSN Bot", "Omg matthew bellamy 11288282!!!", "brb", "i have nothing good to put here", "bored", "....", "Billy bob", "Dan", "Paul", "Pat"];
name = msnnames[random(msnnames.length - 1)];
addresses = ["bob", "imsocool", "wtf", "icandoahandstand", "footballman", "323292", "jsjodsoiju0", "karatedude", "omgwow", "msn1101", "r4ltan"];
email = (("<" + addresses[random(addresses.length - 1)]) + random(200)) + "@hawtmail.com>";
msnnamewindow = name + " says:";
contents = ["hey", "hi", "heyyy", "brb", "lol", "hey man check out this virus", "hey man download this virus", "omg i hate life", "g2g cya", "LMAO", "NOOB", "wtf", "yo", "sup", "alright?", "ite", "hey man wasup", "wasup", "hey whts happening tommorow??", "???", ":S where u been", "lmao", "omg i just made the best wikipedia article over", " why r u such a n00b?", "wow ur internets actually working?!", "im annoying", "hey go to mofunzone.com will you please? it's not working for me...", "omg type 'lol' into google tells me what happens", "hey is this you?! (blatant msn virus)", "download my virus please", "http://www.youtube.com/view?ID=92KekaDk29", "OMG I JUST LEVELED UP MY WOW CHARACTER LOL111111!!! NOW ITS TIME TO PLAY RUNESCAPE FOLLOWED BY SOME CS", "hey man playin halo later tonite??!?!?", "warum hast du mit mir nicht gesprochen?", "all your bass belongs to my guitar", "omg muse's assassin drum fill is hard", "hey dude...o g2g cya", "omg i just learnt this blink182 song on the guitar im the next hendrix", "omg so much homework", "hey man what u doing", "LOL @ UR FACE", "why doesnt anyone know who the hoosiers are?!", "hey man i think lolsdjsdjsdjsjuiojsdijoaot@hawtmail.co.uk blocked me again..."];
content = contents[random(contents.length - 1)];
m = _root._currentframe;
onEnterFrame = function () {
if (!(_root._currentframe === m)) {
this.removeMovieClip();
}
};
Instance of Symbol 250 MovieClip in Symbol 258 MovieClip [game8_msn_window] Frame 1
on (press) {
_parent.deleteMe();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 257 MovieClip in Symbol 258 MovieClip [game8_msn_window] Frame 1
on (press) {
startDrag (_parent);
}
on (release) {
_parent.stopDrag();
}
onClipEvent (mouseUp) {
_parent.stopDrag();
}
Symbol 284 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 294 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 326 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 326 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 337 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 337 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 345 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 345 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 353 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 353 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 361 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 361 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 369 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 369 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 377 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 377 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 385 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 385 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 392 MovieClip Frame 133
_root.play();
Symbol 393 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 408 MovieClip Frame 200
_root.createEmptyMovieClip("menumusic", 5000);
mozart = new Sound(_root.menumusic);
mozart.attachSound("mozart");
mozart.start(0, 999);
_root.play();
Symbol 415 MovieClip Frame 121
_root.sound = true;
_root.play();
Symbol 429 MovieClip Frame 1
stop();
Symbol 518 Button
on (release) {
_root.changeFrame("stage_select");
}
on (rollOver) {
if (_root.sound) {
_root.clickS.start();
}
}
Symbol 520 Button
on (rollOver) {
if (_root.sound) {
_root.clickS.start();
}
}
on (release) {
_root.changeFrame("credits");
}
Symbol 523 Button
on (rollOver) {
if (_root.sound) {
_root.clickS.start();
}
}
on (release) {
_root.changeFrame("instructions");
}
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 2
stop();
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 2
stop();
Instance of Symbol 544 MovieClip in Symbol 576 MovieClip Frame 618
onClipEvent (load) {
m = 0;
}
onClipEvent (enterFrame) {
m = m + (random(20) + 1);
}
Symbol 576 MovieClip Frame 1186
stop();
Instance of Symbol 563 MovieClip in Symbol 576 MovieClip Frame 1186
on (release) {
_parent.play();
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 576 MovieClip Frame 1301
stop();
Instance of Symbol 563 MovieClip in Symbol 576 MovieClip Frame 1301
on (release) {
_root.changeFrame("menu_main");
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 575 MovieClip in Symbol 576 MovieClip Frame 1301
on (release) {
_parent.gotoAndPlay(1);
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 583 Button
on (release) {
m = "levelDone" + _root.level;
if (_root[m]) {
_root.warning("done");
return(undefined);
}
dir = "instructions" + _root.level;
_root.gameNumText = "game " + _root.level;
_root.changeFrame(dir);
}
on (rollOver) {
gotoAndStop (2);
if (_root.sound) {
if ((_parent._currentframe == 1) or (_parent._currentframe == 8)) {
_root.clickS.start();
}
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 654 MovieClip Frame 1
if (_root.level_play.mode == "play") {
if (this._name == "mid") {
levelNum = _root.level;
levelNumText = newline + _root.level;
description = _root.gameDescription[_root.level];
levelText = _root.levelDescriptor[_root.level];
b = "levelScores" + _root.level;
if (!(_root[b] === undefined)) {
lastScore = "last score:" + _root[b];
}
if (_root[b] == undefined) {
lastScore = "game not completed";
}
}
if (this._name == "next") {
levelNum = _root.level + 1;
levelNumText = newline + (_root.level + 1);
description = _root.gameDescription[_root.level + 1];
levelText = _root.levelDescriptor[_root.level + 1];
b = "levelScores" + (_root.level + 1);
if (!(_root[b] === undefined)) {
lastScore = "last score:" + _root[b];
}
if (_root[b] == undefined) {
lastScore = "game not completed";
}
}
}
if (_root.level_play.mode == "rewind") {
if (this._name == "mid") {
levelNum = _root.level - 1;
levelNumText = newline + levelNum;
description = _root.gameDescription[_root.level - 1];
levelText = _root.levelDescriptor[_root.level - 1];
b = "levelScores" + (_root.level - 1);
trace("rewind mid " + b);
if (!(_root[b] === undefined)) {
lastScore = "last score:" + _root[b];
}
if (_root[b] == undefined) {
lastScore = "game not completed";
}
}
if (this._name == "next") {
levelNum = _root.level;
levelNumText = newline + _root.level;
description = _root.gameDescription[_root.level];
levelText = _root.levelDescriptor[_root.level];
b = "levelScores" + _root.level;
if (!(_root[b] === undefined)) {
lastScore = "last score:" + _root[b];
}
if (_root[b] == undefined) {
lastScore = "game not completed";
}
}
}
m = levelNum;
word = "levelDone" + m;
if (_root[word]) {
thumb._visible = true;
} else {
thumb._visible = false;
}
if (lastScore == undefined) {
lastScore = "game not completed";
}
Instance of Symbol 636 MovieClip in Symbol 654 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.levelNum);
}
Symbol 655 MovieClip Frame 1
stop();
if (mode == "rewind") {
_root.level--;
if (_root.level <= 1) {
_root.level = 1;
}
with (_root) {
scoreText = "total score: " + _root.score;
gameText = (("complete: " + _root.levelsDone) + "/") + "20";
gameTextB = (("game: " + _root.level) + "/") + "20";
}
go = false;
}
mode = "play";
scoreText = "score: " + _root.score;
Symbol 655 MovieClip Frame 8
if (mode == "play") {
_root.level++;
_root.scoreText = "total score: " + _root.score;
_root.gameText = (("complete: " + _root.levelsDone) + "/") + "20";
_root.gameTextB = (("game: " + _root.level) + "/") + "20";
go = false;
}
stop();
scoreText = "total score: " + _root.score;
Symbol 668 MovieClip Frame 7
stop();
Symbol 669 Button
on (release) {
_root.changeFrame("menu_main");
}
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 2
stop();
Symbol 678 MovieClip Frame 5
stop();
Symbol 679 Button
on (press) {
_root.warning("allgames");
}
Symbol 684 MovieClip Frame 7
stop();
Symbol 685 Button
on (press) {
getURL ("http://www.mofunzone.com/game_scores/the_ultimate_gamer_challenge/highscores.shtml", "_blank");
}
Symbol 692 MovieClip Frame 1
stop();
_root.soundVolume = 0;
_root.updateAllVolume();
Symbol 692 MovieClip Frame 2
stop();
_root.soundVolume = 25;
_root.updateAllVolume();
Symbol 692 MovieClip Frame 3
stop();
_root.soundVolume = 50;
_root.updateAllVolume();
Symbol 692 MovieClip Frame 4
stop();
_root.soundVolume = 75;
_root.updateAllVolume();
Symbol 692 MovieClip Frame 5
stop();
_root.soundVolume = 100;
_root.updateAllVolume();
Symbol 692 MovieClip Frame 6
gotoAndStop (1);
Symbol 695 MovieClip Frame 6
stop();
Instance of Symbol 692 MovieClip "m" in Symbol 696 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.soundVolume / 20);
}
Symbol 700 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 2
stop();
Instance of Symbol 696 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
on (press) {
this.m.nextFrame();
}
Symbol 706 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 2
stop();
Symbol 718 MovieClip Frame 1
stop();
Symbol 718 MovieClip Frame 2
stop();
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 2
stop();
Symbol 723 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip "mmfade" in Symbol 723 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
if (!(_currentframe === _totalframes)) {
play();
}
}
}
on (press) {
this.useHandCursor = false;
}
Instance of Symbol 718 MovieClip in Symbol 723 MovieClip Frame 1
on (release) {
b = "levelScores" + _root.level;
m = "levelDone" + _root.level;
if (_root[m] == true) {
_root[m] = undefined;
_root.score = _root.score - _root[b];
trace(_root[b]);
_root.levelsDone--;
_root[b] = undefined;
dir = "instructions" + _root.level;
_root.changeFrame(dir);
} else {
trace("ERROR ERROR ERROR ERROR IT WENT ALL WRONG!!!");
}
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 722 MovieClip in Symbol 723 MovieClip Frame 1
on (release) {
_parent._visible = false;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 726 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip "mmfade" in Symbol 726 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
if (!(_currentframe === _totalframes)) {
play();
}
}
}
on (press) {
this.useHandCursor = false;
}
Instance of Symbol 718 MovieClip in Symbol 726 MovieClip Frame 1
on (release) {
_root.changeFrame("submitScore");
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 722 MovieClip in Symbol 726 MovieClip Frame 1
on (release) {
_parent._visible = false;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 731 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 2
stop();
Symbol 735 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 2
stop();
Symbol 736 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip "mmfade" in Symbol 736 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
if (!(_currentframe === _totalframes)) {
play();
}
}
}
on (press) {
this.useHandCursor = false;
}
Instance of Symbol 731 MovieClip in Symbol 736 MovieClip Frame 1
on (release) {
getURL ("http://www.mofunzone.com/online_games/the_ultimate_gamer_challenge.shtml", "_blank");
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 735 MovieClip in Symbol 736 MovieClip Frame 1
on (release) {
_parent._visible = false;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 2
stop();
Symbol 758 MovieClip Frame 1
stop();
Symbol 758 MovieClip Frame 2
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 2
stop();
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 2
stop();
Symbol 769 MovieClip Frame 30
stop();
Symbol 772 MovieClip Frame 34
stop();
Symbol 773 MovieClip Frame 1
stop();
Symbol 773 MovieClip Frame 2
stop();
Symbol 773 MovieClip Frame 3
stop();
Instance of Symbol 754 MovieClip in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
if (_root.gameEnd == "lose") {
this.gotoAndStop(2);
}
}
Instance of Symbol 758 MovieClip in Symbol 774 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
if (_root.gameEnd == "win") {
return(undefined);
}
if (!(_root.gameEnd === "lose")) {
return(undefined);
}
_root[_root.word].stop();
if (_root.level == 19) {
_root.fps = undefined;
}
_root.gameEnded = false;
dir = "game" + _root.level;
_root.changeFrame(dir);
}
onClipEvent (load) {
if (!(_root.gameEnd === "lose")) {
_visible = false;
}
if (_root.gameEnd == "win") {
_visible = false;
}
}
Instance of Symbol 760 MovieClip in Symbol 774 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root[_root.word].stop();
if (_root.gameEnd == "win") {
m = "levelDone" + _root.level;
if (!_root[m]) {
_root.levelsDone++;
}
b = "levelScores" + _root.level;
_root[b] = _root.gameScore;
_root[m] = true;
trace(m);
}
_root.gameEnded = false;
_root.musicPlaying = undefined;
_root.changeFrame("stage_select");
}
Instance of Symbol 767 MovieClip in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
if (_root.gameEnd == "lose") {
this.gotoAndStop(2);
}
}
Instance of Symbol 773 MovieClip in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
if (_root.gameEnd == "lose") {
this.gotoAndStop(3);
}
}
Symbol 820 MovieClip Frame 1
stop();
Symbol 820 MovieClip Frame 2
stop();
Symbol 826 MovieClip Frame 1
stop();
Symbol 826 MovieClip Frame 2
stop();
Symbol 840 MovieClip Frame 1
_alpha = 0;
Symbol 846 MovieClip Frame 1
stop();
onRollOver = function () {
this.gotoAndStop(2);
};
onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 846 MovieClip Frame 2
stop();
Symbol 848 MovieClip Frame 1
_alpha = 0;
Symbol 852 MovieClip Frame 1
_root.cam.scrollTarget.push(this._name);
if (_parent._parent._name == "death") {
stop();
}
Instance of Symbol 851 MovieClip "m" in Symbol 852 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
_root.ship.health = 0;
_root.ship.hit();
}
}
Symbol 853 MovieClip Frame 1
_root.cam.scrollTarget.push(this._name);
this.onEnterFrame = function () {
if (this.m.hitTest(_root.ship)) {
_root.ship.health = 0;
_root.ship.hit();
}
};
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 48
stop();
Instance of Symbol 860 MovieClip in Symbol 861 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.details.unlockGate) {
if (_currentframe == 1) {
play();
}
}
}
Symbol 872 MovieClip Frame 2
_root.game2_explode.start();
Symbol 872 MovieClip Frame 10
stop();
_root.endGame("lose");
Symbol 873 MovieClip Frame 1
stop();
Symbol 873 MovieClip Frame 2
stop();
_root.game2_engine.stop();
Symbol 885 MovieClip Frame 1
_root.cam.scrollTarget.push(this._name);
Instance of Symbol 852 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
} else {
play();
}
}
Symbol 889 MovieClip Frame 1
_root.cam.scrollTarget.push(this._name);
this.onEnterFrame = function () {
if (this.m.hitTest(_root.ship)) {
_root.ship.health = 0;
_root.ship.hit();
}
};
Instance of Symbol 851 MovieClip "m" in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
_root.ship.health = 0;
_root.ship.hit();
}
}
Symbol 893 MovieClip Frame 1
_root.cam.scrollTarget.push(this._name);
hit = false;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.ship)) {
if (!hit) {
}
hit = true;
_root.detail("unlockGate");
}
if (hit) {
_alpha = (_alpha - 10);
if (_alpha < 20) {
_root.sound_holy.start();
if (this._name == "end") {
_root.gameScore = _root.gameScore + ((_root.time * 100) + (_root.ship.health * 10));
_root.endGame("win");
}
_root.gameScore = _root.gameScore + 100;
this.swapDepths(10);
this.removeMovieClip();
}
}
};
Symbol 905 MovieClip Frame 1
_root.cam.scrollTarget.push(this._name);
hit = false;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.ship)) {
if (!hit) {
_root.game2_swallow.start();
}
hit = true;
}
if (hit) {
_alpha = (_alpha - 10);
if (_alpha < 20) {
_root.gameScore = _root.gameScore + 500;
this.swapDepths(10);
this.removeMovieClip();
}
}
};
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 11
stop();
Symbol 928 MovieClip Frame 1
play();
Symbol 928 MovieClip Frame 40
stop();
_root.endGame("lose");
Symbol 929 MovieClip Frame 1
stop();
Symbol 929 MovieClip Frame 2
_root.game3_crack.start();
Symbol 929 MovieClip Frame 3
_root.game3_crack.start();
Symbol 929 MovieClip Frame 4
_root.game3_crack.start();
Symbol 929 MovieClip Frame 5
stop();
_root.game3_glass_break.start();
Instance of Symbol 929 MovieClip in Symbol 930 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weight > 10) {
this.gotoAndStop(5);
return(undefined);
}
if (_root.weight > 7) {
this.gotoAndStop(4);
return(undefined);
}
if (_root.weight > 5) {
this.gotoAndStop(3);
return(undefined);
}
if (_root.weight > 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 942 MovieClip in Symbol 943 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (_root.man._alpha >= 100) {
if (this.hitTest(_root.man)) {
_root.man.dead();
}
}
}
Instance of Symbol 943 MovieClip "ball" in Symbol 944 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
updateAfterEvent();
}
Symbol 965 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 2
stop();
Symbol 973 Button
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.paper) {
_root.openViewer("paper");
}
}
Symbol 979 Button
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.box) {
_root.openViewer("box");
}
}
Symbol 982 MovieClip Frame 1
stop();
Symbol 982 MovieClip Frame 2
stop();
Symbol 985 Button
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.key) {
_root.openViewer("key");
}
}
Symbol 989 Button
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.endkey) {
_root.openViewer("endkey");
}
}
Symbol 994 MovieClip Frame 1
stop();
Symbol 994 MovieClip Frame 2
stop();
Symbol 997 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 2
stop();
Symbol 1000 MovieClip Frame 1
stop();
Symbol 1000 MovieClip Frame 2
stop();
Symbol 1003 MovieClip Frame 1
stop();
Symbol 1003 MovieClip Frame 2
stop();
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1006 MovieClip Frame 2
stop();
Symbol 1012 MovieClip Frame 1
stop();
Symbol 1012 MovieClip Frame 2
stop();
Symbol 1013 MovieClip Frame 1
stop();
Instance of Symbol 1009 MovieClip in Symbol 1013 MovieClip Frame 1
on (press) {
if (_root.details.light) {
_parent.gotoAndStop(2);
}
}
Symbol 1013 MovieClip Frame 2
stop();
_root.game3_crack.start();
Instance of Symbol 1012 MovieClip in Symbol 1013 MovieClip Frame 2
on (press) {
if (_root.details.light) {
_root.detail("morepaper", "morepaper");
this.gotoAndStop(2);
}
}
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1016 MovieClip Frame 2
stop();
Symbol 1018 MovieClip Frame 1
stop();
Symbol 1018 MovieClip Frame 33
stop();
Symbol 1023 Button
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.details.morepaper) {
_root.openViewer("morepaper");
}
}
Symbol 1029 MovieClip Frame 1
stop();
Symbol 1029 MovieClip Frame 25
stop();
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1040 MovieClip Frame 2
stop();
Symbol 1057 Button
on (press) {
_parent.code = _parent.code + "1";
_root.game5_beep.start();
}
Symbol 1062 Button
on (press) {
_parent.code = _parent.code + "2";
_root.game5_beep.start();
}
Symbol 1067 Button
on (press) {
_parent.code = _parent.code + "3";
_root.game5_beep.start();
}
Symbol 1072 Button
on (press) {
_parent.code = _parent.code + "4";
_root.game5_beep.start();
}
Symbol 1077 Button
on (press) {
_parent.code = _parent.code + "5";
_root.game5_beep.start();
}
Symbol 1082 Button
on (press) {
_parent.code = _parent.code + "6";
_root.game5_beep.start();
}
Symbol 1087 Button
on (press) {
_parent.code = _parent.code + "7";
_root.game5_beep.start();
}
Symbol 1092 Button
on (press) {
_parent.code = _parent.code + "8";
_root.game5_beep.start();
}
Symbol 1097 Button
on (press) {
_parent.code = _parent.code + "9";
_root.game5_beep.start();
}
Symbol 1100 Button
on (press) {
_parent.code = "";
_root.game5_beep.start();
}
Symbol 1103 Button
on (press) {
_parent.code = _parent.code + "0";
_root.game5_beep.start();
}
Symbol 1109 MovieClip Frame 1
stop();
Symbol 1109 MovieClip Frame 2
stop();
Symbol 1112 MovieClip Frame 1
stop();
Instance of Symbol 1031 MovieClip in Symbol 1112 MovieClip Frame 1
on (press) {
this.useHandCursor = false;
}
Instance of Symbol 1040 MovieClip in Symbol 1112 MovieClip Frame 1
on (release) {
_parent._visible = false;
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 1112 MovieClip Frame 2
stop();
Symbol 1112 MovieClip Frame 3
stop();
Symbol 1112 MovieClip Frame 4
stop();
Symbol 1112 MovieClip Frame 5
stop();
code = "";
Instance of Symbol 1109 MovieClip in Symbol 1112 MovieClip Frame 5
on (press) {
_root.game5_beep.start();
if (_parent.code == "6919") {
_root.game5_coin.start();
_root.detail("endkey", "endkey");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 1112 MovieClip Frame 6
stop();
Symbol 1120 MovieClip Frame 150
_root.person.gotoAndStop(1);
Symbol 1121 MovieClip Frame 1
stop();
Symbol 1121 MovieClip Frame 2
stop();
_root.game7_wrong.start();
Symbol 1121 MovieClip Frame 3
stop();
if (_root.sound) {
_root.drip.start();
}
Symbol 1128 MovieClip Frame 1
onRollOver = function () {
gotoAndStop (2);
};
onRollOut = function () {
gotoAndStop (1);
};
stop();
Symbol 1128 MovieClip Frame 2
stop();
Symbol 1156 MovieClip Frame 1
function respond(answer) {
_root.sound_click.start();
_root.dialogue.answer = answer;
nextFrame();
}
stop();
_root.talktype = "response";
Symbol 1156 MovieClip Frame 2
_root.talktype = "answer";
_root.person.gotoAndStop(1);
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 2
on (release) {
_parent.respond(2);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 2
on (release) {
_parent.respond(4);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 2
on (release) {
_parent.respond(3);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 2
on (release) {
_parent.respond(1);
}
Symbol 1156 MovieClip Frame 3
_root.talktype = "response";
if (answer == 1) {
response = "Erm, thanks? I'm sorry, I haven't introduced myself. I'm DraculaRulez1173. And you are?";
_root.person.gotoAndStop(3);
_root.loveScore = _root.loveScore + 1;
}
if (answer == 2) {
response = "Guess you aren't the contemplative type..I'm DraculaRulez1173 by the way. You?";
_root.person.gotoAndStop(2);
_root.loveScore = _root.loveScore - 1;
}
if (answer == 3) {
response = "Stamp collection? I like the geeky type. I'm DraculaRulez1173. Who are you?";
_root.person.gotoAndStop(1);
_root.loveScore = _root.loveScore + 2;
}
if (answer == 4) {
response = "Wow, that's so deep. I never thought about it like that. DraculaRulez1173 is the name. You?";
_root.person.gotoAndStop(1);
_root.loveScore = _root.loveScore + 2;
}
Symbol 1156 MovieClip Frame 4
_root.talktype = "answer";
_root.person.gotoAndStop(1);
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 4
on (release) {
_parent.respond(1);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 4
on (release) {
_parent.respond(3);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 4
on (release) {
_parent.respond(2);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 4
on (release) {
_parent.respond(4);
}
Symbol 1156 MovieClip Frame 5
_root.talktype = "response";
if (answer == 1) {
response = "Finally a man around this station who knows how to talk to a woman! What do you do as a job here?";
_root.person.gotoAndStop(1);
_root.loveScore = _root.loveScore + 2;
}
if (answer == 2) {
response = "I see...are you employed?";
_root.person.gotoAndStop(2);
_root.loveScore = _root.loveScore - 2;
}
if (answer == 3) {
response = "OwnageKing huh..you aren't the one to waste words. What occupation do you have anyway?";
_root.person.gotoAndStop(2);
_root.loveScore = _root.loveScore - 1;
}
if (answer == 4) {
response = "Hmmmm, I guess it is. Where do you work?";
}
Symbol 1156 MovieClip Frame 6
_root.talktype = "answer";
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 6
on (release) {
_parent.respond(2);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 6
on (release) {
_parent.respond(3);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 6
on (release) {
_parent.respond(4);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 6
on (release) {
_parent.respond(1);
}
Symbol 1156 MovieClip Frame 7
_root.talktype = "response";
if (answer == 1) {
response = "Wow a ranger! That's incredible. So you're pretty strong right? How long you been at this station";
_root.person.gotoAndStop(1);
_root.loveScore = _root.loveScore + 3;
}
if (answer == 2) {
response = "Oh, so you do that all the time. How long you been here exactly?";
_root.person.gotoAndStop(2);
_root.loveScore = _root.loveScore - 2;
}
if (answer == 3) {
response = "Oh, yikes I'm afraid of mimes. I was afraid of clowns, and then I saw a mime kill a clown with an invisible gun, and I've been scared of them ever since. How long you been around here?";
_root.person.gotoAndStop(3);
_root.loveScore = _root.loveScore - 3;
}
if (answer == 4) {
response = "That's great! I love a man who can turn his hand to anything. You been here long then?";
_root.person.gotoAndStop(1);
_root.loveScore = _root.loveScore + 2;
}
Symbol 1156 MovieClip Frame 8
_root.talktype = "answer";
_root.person.gotoAndStop(1);
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 8
on (release) {
_parent.respond(4);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 8
on (release) {
_parent.respond(1);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 8
on (release) {
_parent.respond(3);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 8
on (release) {
_parent.respond(2);
}
Symbol 1156 MovieClip Frame 9
_root.talktype = "response";
if (answer == 1) {
response = "R-really? But you're so handsome and strong looking? What are you looking for in a partner?";
_root.person.gotoAndStop(1);
_root.loveScore = _root.loveScore + 2;
}
if (answer == 2) {
response = "You like to drink, huh? I should've guessed.. What do you like in a woman?";
_root.person.gotoAndStop(3);
_root.loveScore = _root.loveScore - 3;
}
if (answer == 3) {
response = "You don't seem that funny to me. Just weird. Looking for anything particular in a partner?";
_root.person.gotoAndStop(2);
_root.loveScore = _root.loveScore - 2;
}
if (answer == 4) {
response = "Looking for love? What are you after?";
_root.person.gotoAndStop(1);
}
Symbol 1156 MovieClip Frame 10
_root.talktype = "answer";
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 10
on (release) {
_parent.respond(2);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 10
on (release) {
_parent.respond(4);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 10
on (release) {
_parent.respond(3);
}
Instance of Symbol 1128 MovieClip in Symbol 1156 MovieClip Frame 10
on (release) {
_parent.respond(1);
}
Symbol 1156 MovieClip Frame 11
if (response == 3) {
_root.loveScore = _root.loveScore + 2;
}
if (response == 2) {
_root.loveScore = _root.loveScore - 3;
}
trace(response);
_root.talktype = "response";
_root.person.gotoAndStop(1);
response = "Well, it's been interesting talking to you...";
Symbol 1156 MovieClip Frame 12
_root.talktype = "response";
if (_root.loveScore <= 2) {
response = "...but I'm in a rush to play WoW. See you around, I guess";
_root.person.gotoAndStop(2);
}
if (_root.loveScore >= 3) {
response = "...I think you seem nice! Here's my WoW account. Add me!";
}
if (_root.loveScore >= 8) {
response = "...in fact, I'd like you to play WoW with me tonight. Add me, if you want, I'll see you then. See you later!";
}
if (_root.loveScore <= -5) {
response = "...I just wish I could say it was worthwhile. If you dare add me on WoW I will block you. Sort your life out.";
_root.person.gotoAndStop(3);
}
Symbol 1160 MovieClip Frame 1
stop();
Symbol 1160 MovieClip Frame 2
stop();
Symbol 1170 MovieClip Frame 1
stop();
Instance of Symbol 1170 MovieClip in Symbol 1171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.loveScore <= 0) {
this.gotoAndStop(1);
return(undefined);
}
if (_root.loveScore < 2) {
this.gotoAndStop(2);
return(undefined);
}
if (_root.loveScore >= 2) {
this.gotoAndStop(3);
}
if (_root.loveScore > 4) {
this.gotoAndStop(4);
}
if (_root.loveScore > 6) {
this.gotoAndStop(5);
}
if (_root.loveScore > 8) {
this.gotoAndStop(10);
}
}
Symbol 1184 MovieClip Frame 1
stop();
Symbol 1184 MovieClip Frame 2
stop();
Symbol 1232 MovieClip Frame 1
stop();
Instance of Symbol 1184 MovieClip in Symbol 1232 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.answer(1);
}
Instance of Symbol 1184 MovieClip in Symbol 1232 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.answer(2);
}
Instance of Symbol 1184 MovieClip in Symbol 1232 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.answer(3);
}
Symbol 1232 MovieClip Frame 14
_root.endGame("win");
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 2
_root.nextQ(1);
Symbol 1273 MovieClip Frame 1
stop();
Symbol 1273 MovieClip Frame 3
_root.game7_wrong.start();
Symbol 1273 MovieClip Frame 10
_root.gameScore = _root.gameScore - 2000;
if (_root.gameScore < 0) {
_root.gameScore = 0;
}
_parent.nextFrame();
Symbol 1308 MovieClip Frame 1
stop();
Symbol 1308 MovieClip Frame 9
_root.game7_wrong.start();
_root.gameScore = _root.gameScore - 1000;
if (_root.gameScore < 0) {
_root.gameScore = 0;
}
Symbol 1308 MovieClip Frame 108
_parent.nextFrame();
Symbol 1361 MovieClip Frame 429
stop();
Instance of Symbol 1257 MovieClip in Symbol 1361 MovieClip Frame 429
on (rollOver) {
if (_root.sound) {
_root.game9_rollover.start();
}
_parent.nextFrame();
}
Symbol 1361 MovieClip Frame 430
stop();
Instance of Symbol 1262 MovieClip in Symbol 1361 MovieClip Frame 430
onClipEvent (load) {
active = false;
xspeed = 0.1;
yspeed = 0.1;
}
on (rollOver) {
if (_root.sound) {
_root.game9_rollover.start();
}
active = true;
over = true;
}
on (rollOut) {
over = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (active) {
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed * 1.005;
yspeed = yspeed * 1.005;
}
if (xspeed >= 7) {
_xscale = (_xscale * 0.99);
_yscale = _xscale;
}
if (_xscale < 70) {
_parent.nextFrame();
}
if (xspeed > 8.5) {
xspeed = 8.5;
}
if (yspeed > 8.5) {
yspeed = 8.5;
}
if (this.hitTest(_root.BA)) {
yspeed = yspeed * -1.1;
}
if (this.hitTest(_root.BC)) {
yspeed = yspeed * -1.1;
}
if (this.hitTest(_root.BB)) {
xspeed = xspeed * -1.1;
}
if (this.hitTest(_root.BD)) {
xspeed = xspeed * -1.1;
}
if (over) {
if (!Key.isDown(1)) {
_root.gameScore = _root.gameScore + 5;
}
}
}
Symbol 1361 MovieClip Frame 431
stop();
Instance of Symbol 1267 MovieClip "bee" in Symbol 1361 MovieClip Frame 431
onClipEvent (load) {
point = new Object();
speed = 3;
time = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
speed = speed + 0.002;
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
updateAfterEvent();
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = (Angle - 90);
vx = Math.sin(Angle * (Math.PI/180)) * speed;
vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
_x = (_x + vx);
_y = (_y + vy);
speed = speed * 1.001;
time++;
if (this.hitTest(_parent.mousey)) {
_parent.fail.play();
} else {
_root.gameScore = _root.gameScore + 10;
}
if (time > 500) {
_parent.nextFrame();
}
if (_x < -110) {
_x = -110;
}
if (_x > 490) {
_x = 490;
}
if (_y > 500) {
_y = 500;
}
if (_y < 70) {
_y = 70;
}
}
Instance of Symbol 1270 MovieClip "mousey" in Symbol 1361 MovieClip Frame 431
onClipEvent (enterFrame) {
m = (_root._xmouse - _x) - 200;
p = (_root._ymouse - _y) - 20;
_x = (_x + (m / 2));
_y = (_y + (p / 2));
if (_x < -110) {
_x = -110;
}
if (_x > 490) {
_x = 490;
}
if (_y > 500) {
_y = 500;
}
if (_y < 70) {
_y = 70;
}
}
Instance of Symbol 1267 MovieClip "bee" in Symbol 1361 MovieClip Frame 431
onClipEvent (load) {
point = new Object();
speed = 1;
time = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
speed = speed + 0.002;
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
updateAfterEvent();
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = (Angle - 90);
vx = Math.sin(Angle * (Math.PI/180)) * speed;
vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
_x = (_x + vx);
_y = (_y + vy);
speed = speed * 1.001;
time++;
if (this.hitTest(_parent.mousey)) {
_parent.fail.play();
} else {
_root.gameScore = _root.gameScore + 10;
}
if (time > 500) {
_parent.nextFrame();
}
if (_x < -110) {
_x = -110;
}
if (_x > 490) {
_x = 490;
}
if (_y > 500) {
_y = 500;
}
if (_y < 70) {
_y = 70;
}
}
Instance of Symbol 1267 MovieClip "bee" in Symbol 1361 MovieClip Frame 431
onClipEvent (load) {
point = new Object();
speed = 2;
time = 0;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
speed = speed + 0.001;
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
updateAfterEvent();
deltaX = point.x - _root._xmouse;
deltaY = point.y - _root._ymouse;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / Math.PI);
_rotation = (Angle - 90);
vx = Math.sin(Angle * (Math.PI/180)) * speed;
vy = (-Math.cos(Angle * (Math.PI/180))) * speed;
_x = (_x + vx);
_y = (_y + vy);
speed = speed * 1.001;
time++;
if (this.hitTest(_parent.mousey)) {
_parent.fail.play();
} else {
_root.gameScore = _root.gameScore + 10;
}
if (time > 500) {
_parent.nextFrame();
}
if (_x < -110) {
_x = -110;
}
if (_x > 490) {
_x = 490;
}
if (_y > 500) {
_y = 500;
}
if (_y < 70) {
_y = 70;
}
}
Symbol 1361 MovieClip Frame 432
stop();
Instance of Symbol 1275 MovieClip in Symbol 1361 MovieClip Frame 432
onClipEvent (load) {
mode = 0;
order = [66, 65, 67, 75, 87, 65, 82, 68, 83];
failed = false;
}
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
if (Key.getCode() == 80) {
return(undefined);
}
if (!failed) {
if (Key.getCode() == order[mode]) {
_root.gameScore = _root.gameScore + 500;
mode++;
soundNum = mode;
if (soundNum >= 5) {
soundNum = 5;
}
soundName = "beep" + soundNum;
_root[soundName].start();
} else {
trace("fail");
failed = true;
_parent.wrong_text.playerKey = String.fromCharCode(Key.getCode());
_parent.wrong_text.rightCode = String.fromCharCode(order[mode]);
_parent.wrong_text.play();
}
}
if (mode >= 9) {
_parent.nextFrame();
}
}
Symbol 1361 MovieClip Frame 433
stop();
Instance of Symbol 1275 MovieClip in Symbol 1361 MovieClip Frame 433
onClipEvent (load) {
mode = 0;
order = [83, 72, 65, 76, 65, 83, 72, 65, 83, 75, 65];
failed = false;
}
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
if (Key.getCode() == 80) {
return(undefined);
}
if (!failed) {
if (!down) {
if (Key.getCode() == order[mode]) {
_root.gameScore = _root.gameScore + 400;
mode++;
soundNum = mode;
if (soundNum >= 5) {
soundNum = 5;
}
soundName = "beep" + soundNum;
if (_root.sound) {
_root[soundName].start();
}
down = true;
} else {
trace("fail");
_parent.wrong_text.playerKey = String.fromCharCode(Key.getCode());
_parent.wrong_text.rightCode = String.fromCharCode(order[mode]);
_parent.wrong_text.play();
failed = true;
}
}
}
if (mode >= 11) {
_parent.nextFrame();
}
}
onClipEvent (keyUp) {
down = false;
}
Symbol 1361 MovieClip Frame 434
stop();
Instance of Symbol 1275 MovieClip in Symbol 1361 MovieClip Frame 434
onClipEvent (load) {
mode = 0;
order = [69, 67, 78, 69, 76, 73, 83];
failed = false;
}
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
if (Key.getCode() == 80) {
return(undefined);
}
if (!failed) {
if (Key.getCode() == order[mode]) {
_root.gameScore = _root.gameScore + 500;
mode++;
soundNum = mode;
if (soundNum >= 5) {
soundNum = 5;
}
soundName = "beep" + soundNum;
if (_root.sound) {
_root[soundName].start();
}
} else {
trace("fail");
_parent.wrong_text.playerKey = String.fromCharCode(Key.getCode());
_parent.wrong_text.rightCode = String.fromCharCode(order[mode]);
_parent.wrong_text.play();
failed = true;
}
}
if (mode >= 7) {
_parent.nextFrame();
}
}
Symbol 1361 MovieClip Frame 435
stop();
Instance of Symbol 1321 MovieClip in Symbol 1361 MovieClip Frame 435
on (press) {
_root.gameScore = _root.gameScore + 400;
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
Instance of Symbol 1323 MovieClip in Symbol 1361 MovieClip Frame 435
on (press) {
_parent.fail.play();
}
Instance of Symbol 1325 MovieClip in Symbol 1361 MovieClip Frame 435
on (press) {
_parent.fail.play();
}
Symbol 1361 MovieClip Frame 436
stop();
Instance of Symbol 1340 MovieClip in Symbol 1361 MovieClip Frame 436
on (press) {
_root.gameScore = _root.gameScore + 500;
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
Instance of Symbol 1342 MovieClip in Symbol 1361 MovieClip Frame 436
on (press) {
_parent.fail.play();
}
Instance of Symbol 1344 MovieClip in Symbol 1361 MovieClip Frame 436
on (press) {
_parent.fail.play();
}
Symbol 1361 MovieClip Frame 437
stop();
Instance of Symbol 1346 MovieClip in Symbol 1361 MovieClip Frame 437
on (press) {
_root.gameScore = _root.gameScore + 1000;
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
Symbol 1361 MovieClip Frame 438
stop();
Instance of Symbol 1350 MovieClip "top2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.bottom_match1)) {
if (!_parent.bottom_match1.taken) {
_parent.bottom_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.bottom_match2)) {
if (!_parent.bottom_match2.taken) {
_parent.bottom_match2.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match1)) {
if (!_parent.top_match1.taken) {
_parent.top_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match2)) {
if (!_parent.top_match2.taken) {
_parent.top_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "mid1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.mid_match2)) {
if (!_parent.mid_match2.taken) {
_parent.mid_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "mid2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.mid_match1)) {
if (!_parent.mid_match1.taken) {
_parent.mid_match1.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "bottom1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.bottom_match1)) {
if (!_parent.bottom_match1.taken) {
_parent.bottom_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.bottom_match2)) {
if (!_parent.bottom_match2.taken) {
_parent.bottom_match2.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match1)) {
if (!_parent.top_match1.taken) {
_parent.top_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match2)) {
if (!_parent.top_match2.taken) {
_parent.top_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "top1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.bottom_match1)) {
if (!_parent.bottom_match1.taken) {
_parent.bottom_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.bottom_match2)) {
if (!_parent.bottom_match2.taken) {
_parent.bottom_match2.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match1)) {
if (!_parent.top_match1.taken) {
_parent.top_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match2)) {
if (!_parent.top_match2.taken) {
_parent.top_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "side_match1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "slide1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.side_match1)) {
if (!_parent.side_match1.taken) {
_parent.side_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.side_match2)) {
if (!_parent.side_match2.taken) {
_parent.side_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "bottom2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.bottom_match1)) {
if (!_parent.bottom_match1.taken) {
_parent.bottom_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.bottom_match2)) {
if (!_parent.bottom_match2.taken) {
_parent.bottom_match2.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match1)) {
if (!_parent.top_match1.taken) {
_parent.top_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.top_match2)) {
if (!_parent.top_match2.taken) {
_parent.top_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "side_match2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "bottom_match1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "bottom_match2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "top_match1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "top_match2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "mid_match1" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.matchcount >= 8) {
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
}
Instance of Symbol 1350 MovieClip "mid_match2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "slide2" in Symbol 1361 MovieClip Frame 438
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.side_match1)) {
if (!_parent.side_match1.taken) {
_parent.side_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.side_match2)) {
if (!_parent.side_match2.taken) {
_parent.side_match2.lock(this);
used = true;
}
}
}
}
Symbol 1361 MovieClip Frame 439
stop();
_root.matchcount = 0;
_root.gameScore = _root.gameScore + 3000;
Instance of Symbol 1350 MovieClip in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.side_match1)) {
if (!_parent.side_match1.taken) {
_parent.side_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.side_match2)) {
if (!_parent.side_match2.taken) {
_parent.side_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.top_match2)) {
if (!_parent.topmatch2.taken) {
_parent.top_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.side_match1)) {
if (!_parent.side_match1.taken) {
_parent.side_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.side_match2)) {
if (!_parent.side_match2.taken) {
_parent.side_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.bottom_match1)) {
if (!_parent.bottom_match1.taken) {
_parent.bottom_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.bottom_match2)) {
if (!_parent.bottom_match2.taken) {
_parent.bottom_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.bottom_match1)) {
if (!_parent.bottom_match1.taken) {
_parent.bottom_match1.lock(this);
used = true;
}
}
}
if (!used) {
if (this.hitTest(_parent.bottom_match2)) {
if (!_parent.bottom_match2.taken) {
_parent.bottom_match2.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
used = false;
}
onClipEvent (mouseUp) {
if (!used) {
if (this.hitTest(_parent.top_match1)) {
if (!_parent.topmatch1.taken) {
_parent.top_match1.lock(this);
used = true;
}
}
}
}
Instance of Symbol 1350 MovieClip "side_match2" in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "side_match1" in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "bottom_match1" in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "bottom_match2" in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "top_match2" in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
Instance of Symbol 1350 MovieClip "top_match1" in Symbol 1361 MovieClip Frame 439
onClipEvent (load) {
function lock(who) {
_root.sound_click.start();
stopDrag();
_x = who._x;
_y = who._y;
taken = true;
_alpha = 100;
_root.matchcount++;
}
taken = false;
}
on (press) {
if (!taken) {
startDrag (this);
_alpha = 70;
}
}
on (release) {
stopDrag();
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.matchcount >= 6) {
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
}
}
Symbol 1361 MovieClip Frame 440
stop();
_root.gameScore = _root.gameScore + 5000;
Instance of Symbol 1275 MovieClip in Symbol 1361 MovieClip Frame 440
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
if (Key.getCode() == 37) {
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
} else {
_root.game7_wrong.start();
trace("fail");
}
}
Symbol 1361 MovieClip Frame 441
stop();
_root.gameScore = _root.gameScore + 300;
Instance of Symbol 1275 MovieClip in Symbol 1361 MovieClip Frame 441
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
if (Key.getCode() == 39) {
if (_root.sound) {
_root.correct1.start();
}
_parent.nextFrame();
} else {
_root.game7_wrong.start();
trace("fail");
}
}
Symbol 1361 MovieClip Frame 442
_root.gameScore = _root.gameScore + 300;
_root.endGame("win");
stop();
Instance of Symbol 1396 MovieClip in Symbol 1398 MovieClip Frame 1
onClipEvent (load) {
rate = 2;
fake = 100;
fakeScore = _root.score;
}
onClipEvent (enterFrame) {
if (fake < _root.health) {
fake = fake + rate;
}
if (fake > _root.health) {
fake = fake - rate;
}
_xscale = fake;
if (fake > 100) {
fake = 100;
}
if (fakeScore < _root.score) {
fakeScore = fakeScore + 1;
}
if (fakeScore > _root.score) {
fakeScore = fakeScore - 1;
}
if ((fakeScore % 2) == 0) {
} else {
fakeScore++;
}
if (_xscale <= 0) {
_xscale = 0;
}
_root.scoreDisplay = "SCORE: " + fakeScore;
_root.cashDisplay = "CASH: " + _root.money;
}
Instance of Symbol 1381 MovieClip in Symbol 1399 MovieClip Frame 1
on (release) {
if (_root.money >= 200) {
if (_root.health < 100) {
_root.health = 100;
_root.money = _root.money - 200;
if (_root.sound) {
_root.sound_holy.start();
}
}
}
}
on (rollOver) {
_root.description = "COST $200\nrestores gun\nto full health";
}
on (rollOut) {
_root.description = "";
}
Instance of Symbol 1382 MovieClip in Symbol 1399 MovieClip Frame 1
on (release) {
if (_root.gun.type < 4) {
if (_root.money >= 500) {
_root.gun.type++;
if (_root.gun.type > 4) {
_root.gun.type = 4;
}
_root.money = _root.money - 500;
if (_root.sound) {
_root.cashregister.start();
_root.gun_change.start();
}
}
}
}
on (rollOver) {
_root.description = "COST $500\nupgrades gunfire\nspeed and damage";
}
on (rollOut) {
_root.description = "";
}
Instance of Symbol 1384 MovieClip in Symbol 1399 MovieClip Frame 1
on (release) {
if (_root.money >= 1000) {
if (!_root.base.active) {
_root.base.active = true;
_root.money = _root.money - 1000;
_root.game10_shield.start();
if (_root.sound) {
_root.cashregister.start();
}
}
}
}
on (rollOver) {
_root.description = "COST $1000\nprovides gun \nhealth shield";
}
on (rollOut) {
_root.description = "";
}
Symbol 1414 MovieClip Frame 1
stop();
gotoAndStop(random(_totalframes + 1));
Symbol 1421 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
stop();
Symbol 1427 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
stop();
Symbol 1434 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
stop();
Symbol 1443 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
stop();
Symbol 1451 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
stop();
Symbol 1458 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
stop();
Instance of Symbol 1462 MovieClip in Symbol 1472 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
_root.g11Score = _root.g11Score + _root.maxScore;
_parent._parent._parent.nextFrame();
}
Instance of Symbol 1462 MovieClip in Symbol 1472 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
if (_root.sound) {
_root.correct1.start();
}
_root.g11Score = _root.g11Score + _root.maxScore;
_parent._parent._parent.nextFrame();
}
Symbol 1479 MovieClip Frame 1
stop();
Symbol 1487 MovieClip Frame 12
stop();
Symbol 1488 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1.5) + 600);
}
_parent.shot = true;
}
stop();
m = 500;
this.onEnterFrame = function () {
m = m - 2;
if (m < 0) {
m = 0;
}
if (_parent.shot) {
if (_parent._currentframe > 19) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1483 MovieClip in Symbol 1488 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1485 MovieClip in Symbol 1488 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1488 MovieClip Frame 2
stop();
_parent.time = 0;
_parent.shot = false;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1490 MovieClip Frame 1
stop();
Symbol 1490 MovieClip Frame 22
stop();
Symbol 1496 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1.5) + 600);
}
_parent.shot = true;
}
stop();
m = 500;
this.onEnterFrame = function () {
with (_parent._parent) {
m = m - 2;
if (m < 0) {
m = 0;
}
}
if (_parent.shot) {
if (_parent._currentframe > 10) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1493 MovieClip in Symbol 1496 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1495 MovieClip in Symbol 1496 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1496 MovieClip Frame 2
stop();
_parent.time = 0;
_parent.shot = false;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1498 MovieClip Frame 1
stop();
Symbol 1498 MovieClip Frame 12
stop();
Symbol 1504 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1) + 600);
}
_parent.shot = true;
}
stop();
m = 300;
this.onEnterFrame = function () {
m = m - 2;
if (m < 0) {
m = 0;
}
if (_parent.shot) {
if (_parent._currentframe > 19) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1501 MovieClip in Symbol 1504 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1503 MovieClip in Symbol 1504 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1504 MovieClip Frame 2
stop();
_parent.time = 0;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1506 MovieClip Frame 1
stop();
Symbol 1506 MovieClip Frame 20
stop();
Symbol 1512 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1) + 600);
}
_parent.shot = true;
}
stop();
m = 300;
this.onEnterFrame = function () {
m = m - 2;
if (m < 0) {
m = 0;
}
if (_parent.shot) {
if (_parent._currentframe > 14) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1509 MovieClip in Symbol 1512 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1511 MovieClip in Symbol 1512 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1512 MovieClip Frame 2
stop();
_parent.time = 0;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1514 MovieClip Frame 1
stop();
Symbol 1514 MovieClip Frame 15
stop();
Symbol 1520 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1) + 600);
}
_parent.shot = true;
}
stop();
m = 500;
this.onEnterFrame = function () {
m = m - 2;
if (m < 0) {
m = 0;
}
if (_parent.shot) {
if (_parent._currentframe > 14) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1517 MovieClip in Symbol 1520 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1519 MovieClip in Symbol 1520 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1520 MovieClip Frame 2
stop();
_parent.time = 0;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1522 MovieClip Frame 15
stop();
Symbol 1528 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1) + 600);
}
_parent.shot = true;
}
stop();
m = 450;
this.onEnterFrame = function () {
m = m - 2;
if (m < 0) {
m = 0;
}
if (_parent.shot) {
if (_parent._currentframe > 19) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1525 MovieClip in Symbol 1528 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1527 MovieClip in Symbol 1528 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1528 MovieClip Frame 2
stop();
_parent.time = 0;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1530 MovieClip Frame 1
stop();
Symbol 1530 MovieClip Frame 20
stop();
Symbol 1535 MovieClip Frame 1
function gotshot(where) {
if (where == "body") {
_root.gameScore = _root.gameScore + (m + 200);
}
if (where == "head") {
if (_root.sound) {
_root.coin.start();
}
_root.gameScore = _root.gameScore + ((m * 1) + 600);
}
_parent.shot = true;
}
stop();
m = 800;
this.onEnterFrame = function () {
m = m - 2;
if (m < 0) {
m = 0;
}
if (_parent.shot) {
if (_parent._currentframe > 19) {
gotoAndStop (2);
}
}
};
Instance of Symbol 1532 MovieClip in Symbol 1535 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("body");
}
}
Instance of Symbol 1534 MovieClip in Symbol 1535 MovieClip Frame 1
on (press) {
if (_root.paused) {
return(undefined);
}
if (_root.ammo > 0) {
_parent.gotshot("head");
}
}
Symbol 1535 MovieClip Frame 2
stop();
_parent.time = 0;
if (_root.sound) {
_root.sound_click.start();
}
Symbol 1537 MovieClip Frame 1
stop();
stop();
Symbol 1537 MovieClip Frame 20
stop();
Symbol 1542 MovieClip Frame 1
stop();
Symbol 1570 MovieClip Frame 1
stop();
Instance of Symbol 1570 MovieClip in Symbol 1571 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._currentframe == 1) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 2) {
myOwner = _parent._parent._parent._parent;
}
if (_parent._parent._parent._currentframe == 4) {
myOwner = _parent._parent._parent;
}
if (myOwner.legchance == undefined) {
myOwner.legchance = random(3);
}
if (myOwner.theme == "Cowboy") {
myOwner.legchance = 3;
}
if (myOwner.theme == "Robot") {
myOwner.legchance = 5;
}
if (myOwner.theme == "funky") {
myOwner.legchance = 0;
}
if (myOwner.theme == "odd") {
myOwner.legchance = 2;
}
this.gotoAndStop(myOwner.legchance + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(myOwner.legchance + 1);
if (myOwner.theme == "Cowboy") {
myOwner.legchance = 3;
}
if (myOwner.theme == "Robot") {
myOwner.legchance = 5;
}
if (myOwner.theme == "Pirate") {
myOwner.legchance = 0;
}
if (myOwner.theme == "funky") {
myOwner.legchance = 0;
}
if (myOwner.theme == "odd") {
myOwner.legchance = 2;
}
}
Instance of Symbol 1574 MovieClip in Symbol 1580 MovieClip Frame 1
onClipEvent (load) {
colour = _parent._parent._parent.colour;
if (colour == "red") {
teamcolour = new Color(this);
teamcolour.setRGB(13369344);
}
if (colour == "blue") {
teamcolour = new Color(this);
teamcolour.setRGB(255);
}
if (colour == "green") {
teamcolour = new Color(this);
teamcolour.setRGB(52224);
}
if (colour == "purple") {
teamcolour = new Color(this);
teamcolour.setRGB(10027263);
}
if (colour == "orange") {
teamcolour = new Color(this);
teamcolour.setRGB(16763904);
}
if (colour == "black") {
teamcolour = new Color(this);
teamcolour.setRGB(0);
}
}
onClipEvent (enterFrame) {
colour = _parent._parent._parent.colour;
if (colour == "red") {
teamcolour = new Color(this);
teamcolour.setRGB(13369344);
}
if (colour == "blue") {
teamcolour = new Color(this);
teamcolour.setRGB(255);
}
if (colour == "green") {
teamcolour = new Color(this);
teamcolour.setRGB(52224);
}
if (colour == "purple") {
teamcolour = new Color(this);
teamcolour.setRGB(10027263);
}
if (colour == "orange") {
teamcolour = new Color(this);
teamcolour.setRGB(16763904);
}
if (colour == "black") {
teamcolour = new Color(this);
teamcolour.setRGB(0);
}
}
Instance of Symbol 1576 MovieClip in Symbol 1580 MovieClip Frame 1
onClipEvent (load) {
colour = _parent._parent._parent.colour;
if (colour == "red") {
teamcolour = new Color(this);
teamcolour.setRGB(13369344);
}
if (colour == "blue") {
teamcolour = new Color(this);
teamcolour.setRGB(255);
}
if (colour == "green") {
teamcolour = new Color(this);
teamcolour.setRGB(52224);
}
if (colour == "purple") {
teamcolour = new Color(this);
teamcolour.setRGB(10027263);
}
if (colour == "orange") {
teamcolour = new Color(this);
teamcolour.setRGB(16763904);
}
if (colour == "black") {
teamcolour = new Color(this);
teamcolour.setRGB(0);
}
}
onClipEvent (enterFrame) {
colour = _parent._parent._parent.colour;
if (colour == "red") {
teamcolour = new Color(this);
teamcolour.setRGB(13369344);
}
if (colour == "blue") {
teamcolour = new Color(this);
teamcolour.setRGB(255);
}
if (colour == "green") {
teamcolour = new Color(this);
teamcolour.setRGB(52224);
}
if (colour == "purple") {
teamcolour = new Color(this);
teamcolour.setRGB(10027263);
}
if (colour == "orange") {
teamcolour = new Color(this);
teamcolour.setRGB(16763904);
}
if (colour == "black") {
teamcolour = new Color(this);
teamcolour.setRGB(0);
}
}
Instance of Symbol 1578 MovieClip in Symbol 1580 MovieClip Frame 1
onClipEvent (load) {
colour = _parent._parent._parent.colour;
if (colour == "red") {
teamcolour = new Color(this);
teamcolour.setRGB(13369344);
}
if (colour == "blue") {
teamcolour = new Color(this);
teamcolour.setRGB(255);
}
if (colour == "green") {
teamcolour = new Color(this);
teamcolour.setRGB(52224);
}
if (colour == "purple") {
teamcolour = new Color(this);
teamcolour.setRGB(10027263);
}
if (colour == "orange") {
teamcolour = new Color(this);
teamcolour.setRGB(16763904);
}
if (colour == "black") {
teamcolour = new Color(this);
teamcolour.setRGB(0);
}
}
onClipEvent (enterFrame) {
colour = _parent._parent._parent.colour;
if (colour == "red") {
teamcolour = new Color(this);
teamcolour.setRGB(13369344);
}
if (colour == "blue") {
teamcolour = new Color(this);
teamcolour.setRGB(255);
}
if (colour == "green") {
teamcolour = new Color(this);
teamcolour.setRGB(52224);
}
if (colour == "purple") {
teamcolour = new Color(this);
teamcolour.setRGB(10027263);
}
if (colour == "orange") {
teamcolour = new Color(this);
teamcolour.setRGB(16763904);
}
if (colour == "black") {
teamcolour = new Color(this);
teamcolour.setRGB(0);
}
}
Symbol 1583 MovieClip Frame 1
stop();
Instance of Symbol 1583 MovieClip in Symbol 1584 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._currentframe == 1) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 2) {
myOwner = _parent._parent._parent._parent;
}
if (_parent._parent._parent._currentframe == 3) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._currentframe == 4) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 6) {
myOwner = _parent._parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 10) {
myOwner = _parent._parent._parent._parent;
}
if (myOwner.righthandchance == undefined) {
myOwner.righthandchance = random(2);
}
if (myOwner.theme == "Cowboy") {
myOwner.righthandchance = 7;
}
if (myOwner.theme == "Robot") {
myOwner.righthandchance = 4;
}
if (myOwner.theme == "funky") {
myOwner.righthandchance = 1;
}
if (myOwner.theme == "odd") {
myOwner.righthandchance = 0;
}
this.gotoAndStop(myOwner.righthandchance + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(myOwner.righthandchance + 1);
if (myOwner.theme == "Cowboy") {
myOwner.righthandchance = 7;
}
if (myOwner.theme == "Robot") {
myOwner.righthandchance = 4;
}
if (myOwner.theme == "Pirate") {
myOwner.righthandchance = 0;
}
if (myOwner.theme == "funky") {
myOwner.righthandchance = 1;
}
if (myOwner.theme == "odd") {
myOwner.righthandchance = 0;
}
}
Symbol 1587 MovieClip Frame 1
stop();
Instance of Symbol 1587 MovieClip in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._currentframe == 1) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 2) {
myOwner = _parent._parent._parent._parent;
}
if (_parent._parent._parent._currentframe == 3) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._currentframe == 4) {
myOwner = _parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 6) {
myOwner = _parent._parent._parent._parent;
}
if (_parent._parent._parent._parent._currentframe == 10) {
myOwner = _parent._parent._parent._parent;
}
if (myOwner.lefthandchance == undefined) {
myOwner.lefthandchance = random(3);
}
if (myOwner.theme == "Cowboy") {
myOwner.lefthandchance = 8;
}
if (myOwner.theme == "Robot") {
myOwner.lefthandchance = 5;
}
if (myOwner.theme == "funky") {
myOwner.lefthandchance = 2;
}
if (myOwner.theme == "odd") {
myOwner.lefthandchance = 0;
}
this.gotoAndStop(myOwner.lefthandchance + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(myOwner.lefthandchance + 1);
if (myOwner.theme == "Cowboy") {
myOwner.lefthandchance = 8;
}
if (myOwner.theme == "Robot") {
myOwner.lefthandchance = 5;
}
if (myOwner.theme == "Pirate") {
myOwner.lefthandchance = 0;
}
if (myOwner.theme == "funky") {
myOwner.lefthandchance = 2;
}
if (myOwner.theme == "odd") {
myOwner.lefthandchance = 0;
}
}
Symbol 1597 MovieClip Frame 1
stop();
Instance of Symbol 1597 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent == undefined) {
_parent._parent._parent.lefthairchance = random(2);
}
this.gotoAndStop(_parent._parent._parent.lefthairchance + 1);
if (_parent._parent._parent.theme == "Cowboy") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "Pirate") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "funky") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "odd") {
_parent._parent._parent.lefthairchance = 1;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._parent == undefined) {
_parent._parent._parent.lefthairchance = random(2);
}
if (_parent._parent._parent.theme == "Cowboy") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "Pirate") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "funky") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "odd") {
_parent._parent._parent.lefthairchance = 1;
}
this.gotoAndStop(_parent._parent._parent.lefthairchance + 1);
}
Symbol 1601 MovieClip Frame 1
stop();
Instance of Symbol 1601 MovieClip in Symbol 1602 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent == undefined) {
_parent._parent._parent.lefthairchance = random(2);
}
this.gotoAndStop(_parent._parent._parent.lefthairchance + 1);
if (_parent._parent._parent.theme == "Cowboy") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "Pirate") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "funky") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "odd") {
_parent._parent._parent.lefthairchance = 1;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._parent == undefined) {
_parent._parent._parent.lefthairchance = random(2);
}
if (_parent._parent._parent.theme == "Cowboy") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "Pirate") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "funky") {
_parent._parent._parent.lefthairchance = 0;
}
if (parent.theme == "odd") {
_parent._parent._parent.lefthairchance = 1;
}
this.gotoAndStop(_parent._parent._parent.lefthairchance + 1);
}
Symbol 1605 MovieClip Frame 1
stop();
Instance of Symbol 1605 MovieClip in Symbol 1606 MovieClip Frame 1
onClipEvent (load) {
parent = _parent._parent._parent;
if (parent.hatchance == undefined) {
parent.hatchance = random(3);
}
if (parent.theme == "Cowboy") {
parent.hatchance = 7;
}
if (parent.theme == "Robot") {
parent.hatchance = 8;
}
if (parent.theme == "funky") {
parent.hatchance = 5;
}
if (parent.theme == "odd") {
parent.hatchance = 2;
}
this.gotoAndStop(parent.hatchance + 1);
}
onClipEvent (enterFrame) {
if (parent.theme == "Cowboy") {
parent.hatchance = 7;
}
if (parent.theme == "Robot") {
parent.hatchance = 8;
}
if (parent.theme == "Pirate") {
parent.hatchance = 0;
}
if (parent.theme == "funky") {
parent.hatchance = 5;
}
if (parent.theme == "odd") {
parent.hatchance = 2;
}
this.gotoAndStop(parent.hatchance + 1);
}
Symbol 1609 MovieClip Frame 1
stop();
Instance of Symbol 1609 MovieClip in Symbol 1610 MovieClip Frame 1
onClipEvent (load) {
parent = _parent._parent._parent;
if (parent.beardchance == undefined) {
parent.beardchance = random(6);
}
this.gotoAndStop(parent.beardchance + 1);
if (parent.theme == "Cowboy") {
parent.beardchance = 0;
}
if (parent.theme == "Robot") {
parent.beardchance = 6;
}
if (parent.theme == "funky") {
parent.beardchance = 3;
}
if (parent.theme == "odd") {
parent.beardchance = 2;
}
}
onClipEvent (enterFrame) {
if (parent.theme == "Cowboy") {
parent.beardchance = 0;
}
if (parent.theme == "Robot") {
parent.beardchance = 6;
}
if (parent.theme == "Pirate") {
parent.beardchance = 0;
}
if (parent.theme == "funky") {
parent.beardchance = 3;
}
if (parent.theme == "odd") {
parent.beardchance = 2;
}
this.gotoAndStop(parent.beardchance + 1);
}
Symbol 1618 MovieClip Frame 1
stop();
Symbol 1618 MovieClip Frame 2
stop();
Symbol 1618 MovieClip Frame 3
stop();
Symbol 1622 MovieClip Frame 1
stop();
Instance of Symbol 1622 MovieClip "o" in Symbol 1623 MovieClip Frame 1
onClipEvent (load) {
parent = _parent._parent._parent._parent;
if (parent.lefteyechance == undefined) {
parent.lefteyechance = random(4);
}
if (parent.theme == "Cowboy") {
parent.lefteyechance = 3;
}
if (parent.theme == "Robot") {
parent.lefteyechance = 8;
}
if (parent.theme == "funky") {
parent.lefteyechance = 4;
}
if (parent.theme == "odd") {
parent.lefteyechance = 2;
}
this.gotoAndStop(parent.lefteyechance + 1);
}
onClipEvent (enterFrame) {
if (parent.theme == "Cowboy") {
parent.lefteyechance = 3;
}
if (parent.theme == "Robot") {
parent.lefteyechance = 8;
}
if (parent.theme == "Pirate") {
parent.lefteyechance = 0;
}
if (parent.theme == "funky") {
parent.lefteyechance = 4;
}
if (parent.theme == "odd") {
parent.lefteyechance = 2;
}
this.gotoAndStop(parent.lefteyechance + 1);
}
Instance of Symbol 1618 MovieClip in Symbol 1624 MovieClip Frame 1
onClipEvent (enterFrame) {
a2 = _parent._parent._parent._y - _root.attention._y;
b2 = _parent._parent._parent._x - _root.attention._x;
angleA2 = Math.atan2(a2, b2);
degrees2 = angleA2 / (Math.PI/180);
setProperty(this, _rotation , degrees2);
}
onClipEvent (enterFrame) {
if (!(_root.attention === _parent._parent._parent)) {
if (_parent._parent._parent.facing == "left") {
this.gotoAndStop(3);
}
if (!(_root.attention === _parent._parent._parent)) {
if (_parent._parent._parent.facing == "right") {
this.gotoAndStop(2);
}
}
}
}
Instance of Symbol 1623 MovieClip in Symbol 1624 MovieClip Frame 1
onClipEvent (enterFrame) {
a2 = _parent._parent._parent._y - _root.attention._y;
b2 = _parent._parent._parent._x - _root.attention._x;
angleA2 = Math.atan2(a2, b2);
degrees2 = angleA2 / (Math.PI/180);
if (((this.o._currentframe == 1) or (this.o._currentframe == 3)) or (this.o._currentframe == 9)) {
setProperty(this, _rotation , degrees2);
}
}
Symbol 1626 MovieClip Frame 9
function playSound() {
word = "S" + _parent.counter;
_root[word].start();
}
_parent.counter++;
_parent._parent.walkCounter++;
if (_parent.counter > 25) {
_parent.counter = 22;
}
playSound();
Symbol 1627 MovieClip Frame 1
if (_parent.counter == undefined) {
_parent.counter = 0;
}
if (_parent._parent.walkCounter == undefined) {
_parent._parent.walkCounter = 0;
}
Symbol 1627 MovieClip Frame 14
function playSound() {
_root.game20_run.start();
}
_parent.counter++;
_parent._parent.walkCounter++;
if (_parent.counter > 25) {
_parent.counter = 22;
}
playSound();
Symbol 1638 MovieClip Frame 1
stop();
stop();
Instance of Symbol 1630 MovieClip in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
_root.chargeUp.start();
}
onClipEvent (enterFrame) {
if (Key.isDown(39) or Key.isDown(37)) {
_root.chargeUp.stop();
}
}
Symbol 1638 MovieClip Frame 41
stop();
_parent._parent._parent.FIRENOW = true;
_root.chargeUp.stop();
Symbol 1648 MovieClip Frame 1
stop();
if (_parent._parent._parent.weaponOut == "homingMissile1") {
gotoAndStop (2);
}
Instance of Symbol 1638 MovieClip in Symbol 1649 MovieClip Frame 1
onClipEvent (load) {
power = 1;
parent = _parent._parent._parent;
fire = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (Key.isDown(32)) {
fire = true;
power++;
}
this.gotoAndStop(power);
if (fire) {
if (!Key.isDown(32)) {
_root.chargeUp.stop();
this.gotoAndStop(1);
fire = false;
parent.FIRENOW = true;
}
}
}
Instance of Symbol 1648 MovieClip in Symbol 1649 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.weaponOut == "cannon") {
this.gotoAndStop(1);
}
if (_parent._parent._parent.weaponOut == "homingMissile1") {
this.gotoAndStop(2);
}
if (_parent._parent._parent.weaponOut == "rottenRations") {
this.gotoAndStop(3);
}
if (_parent._parent._parent.weaponOut == "toySoldier") {
this.gotoAndStop(4);
}
if (_parent._parent._parent.weaponOut == "anchor") {
this.gotoAndStop(5);
}
if (_parent._parent._parent.weaponOut == "beachball") {
this.gotoAndStop(6);
}
if (_parent._parent._parent.weaponOut == "airStrike1") {
this.gotoAndStop(7);
}
if (_parent._parent._parent.weaponOut == "shotgun") {
this.gotoAndStop(8);
}
if (_parent._parent._parent.weaponOut == "airStrike2") {
this.gotoAndStop(9);
}
if (_parent._parent._parent.weaponOut == "djLocker") {
this.gotoAndStop(10);
}
if (_parent._parent._parent.weaponOut == "Rum Bottle") {
this.gotoAndStop(11);
}
if (_parent._parent._parent.weaponOut == "Blackbeard") {
this.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (_parent._parent._parent.weaponOut == "cannon") {
this.gotoAndStop(1);
}
if (_parent._parent._parent.weaponOut == "homingMissile1") {
this.gotoAndStop(2);
}
if (_parent._parent._parent.weaponOut == "rottenRations") {
this.gotoAndStop(3);
}
if (_parent._parent._parent.weaponOut == "toySoldier") {
this.gotoAndStop(4);
}
if (_parent._parent._parent.weaponOut == "anchor") {
this.gotoAndStop(5);
}
if (_parent._parent._parent.weaponOut == "beachball") {
this.gotoAndStop(6);
}
if (_parent._parent._parent.weaponOut == "airStrike1") {
this.gotoAndStop(7);
}
if (_parent._parent._parent.weaponOut == "shotgun") {
this.gotoAndStop(8);
}
if (_parent._parent._parent.weaponOut == "airStrike2") {
this.gotoAndStop(9);
}
if (_parent._parent._parent.weaponOut == "djLocker") {
this.gotoAndStop(10);
}
if (_parent._parent._parent.weaponOut == "Rum Bottle") {
this.gotoAndStop(11);
}
if (_parent._parent._parent.weaponOut == "Blackbeard") {
this.gotoAndStop(12);
}
}
Symbol 1650 MovieClip Frame 11
_parent.gotoAndStop(4);
stop();
stop();
stop();
Symbol 1651 MovieClip Frame 1
if (_parent.dir == 1) {
_parent.angle = 180;
}
if (_parent.dir == 2) {
_parent.angle = -180;
}
Symbol 1651 MovieClip Frame 2
if (_parent.dir == 1) {
_parent.angle = 175;
}
if (_parent.dir == 2) {
_parent.angle = -175;
}
Symbol 1651 MovieClip Frame 3
if (_parent.dir == 1) {
_parent.angle = 170;
}
if (_parent.dir == 2) {
_parent.angle = -170;
}
Symbol 1651 MovieClip Frame 4
if (_parent.dir == 1) {
_parent.angle = 165;
}
if (_parent.dir == 2) {
_parent.angle = -165;
}
Symbol 1651 MovieClip Frame 5
if (_parent.dir == 1) {
_parent.angle = 160;
}
if (_parent.dir == 2) {
_parent.angle = -160;
}
Symbol 1651 MovieClip Frame 6
if (_parent.dir == 1) {
_parent.angle = 155;
}
if (_parent.dir == 2) {
_parent.angle = -155;
}
Symbol 1651 MovieClip Frame 7
if (_parent.dir == 1) {
_parent.angle = 150;
}
if (_parent.dir == 2) {
_parent.angle = -150;
}
Symbol 1651 MovieClip Frame 8
if (_parent.dir == 1) {
_parent.angle = 145;
}
if (_parent.dir == 2) {
_parent.angle = -145;
}
Symbol 1651 MovieClip Frame 9
if (_parent.dir == 1) {
_parent.angle = 140;
}
if (_parent.dir == 2) {
_parent.angle = -140;
}
Symbol 1651 MovieClip Frame 10
if (_parent.dir == 1) {
_parent.angle = 135;
}
if (_parent.dir == 2) {
_parent.angle = -135;
}
Symbol 1651 MovieClip Frame 11
if (_parent.dir == 1) {
_parent.angle = 130;
}
if (_parent.dir == 2) {
_parent.angle = -130;
}
Symbol 1651 MovieClip Frame 12
if (_parent.dir == 1) {
_parent.angle = 125;
}
if (_parent.dir == 2) {
_parent.angle = -125;
}
Symbol 1651 MovieClip Frame 13
if (_parent.dir == 1) {
_parent.angle = 120;
}
if (_parent.dir == 2) {
_parent.angle = -120;
}
Symbol 1651 MovieClip Frame 14
if (_parent.dir == 1) {
_parent.angle = 115;
}
if (_parent.dir == 2) {
_parent.angle = -115;
}
Symbol 1651 MovieClip Frame 15
if (_parent.dir == 1) {
_parent.angle = 110;
}
if (_parent.dir == 2) {
_parent.angle = -110;
}
Symbol 1651 MovieClip Frame 16
if (_parent.dir == 1) {
_parent.angle = 105;
}
if (_parent.dir == 2) {
_parent.angle = -105;
}
Symbol 1651 MovieClip Frame 17
if (_parent.dir == 1) {
_parent.angle = 100;
}
if (_parent.dir == 2) {
_parent.angle = -100;
}
Symbol 1651 MovieClip Frame 18
if (_parent.dir == 1) {
_parent.angle = 95;
}
if (_parent.dir == 2) {
_parent.angle = -95;
}
Symbol 1651 MovieClip Frame 19
if (_parent.dir == 1) {
_parent.angle = 90;
}
if (_parent.dir == 2) {
_parent.angle = -90;
}
Symbol 1651 MovieClip Frame 20
if (_parent.dir == 1) {
_parent.angle = 87.875;
}
if (_parent.dir == 2) {
_parent.angle = -87.875;
}
Symbol 1651 MovieClip Frame 21
if (_parent.dir == 1) {
_parent.angle = 85.75;
}
if (_parent.dir == 2) {
_parent.angle = -85.75;
}
Symbol 1651 MovieClip Frame 22
if (_parent.dir == 1) {
_parent.angle = 83.625;
}
if (_parent.dir == 2) {
_parent.angle = -83.625;
}
Symbol 1651 MovieClip Frame 23
if (_parent.dir == 1) {
_parent.angle = 81.5;
}
if (_parent.dir == 2) {
_parent.angle = -81.5;
}
Symbol 1651 MovieClip Frame 24
if (_parent.dir == 1) {
_parent.angle = 79.375;
}
if (_parent.dir == 2) {
_parent.angle = -79.375;
}
Symbol 1651 MovieClip Frame 25
if (_parent.dir == 1) {
_parent.angle = 77.25;
}
if (_parent.dir == 2) {
_parent.angle = -77.25;
}
Symbol 1651 MovieClip Frame 26
if (_parent.dir == 1) {
_parent.angle = 73;
}
if (_parent.dir == 2) {
_parent.angle = -73;
}
Symbol 1651 MovieClip Frame 27
if (_parent.dir == 1) {
_parent.angle = 70.875;
}
if (_parent.dir == 2) {
_parent.angle = -70.875;
}
Symbol 1651 MovieClip Frame 28
if (_parent.dir == 1) {
_parent.angle = 68.75;
}
if (_parent.dir == 2) {
_parent.angle = -68.75;
}
Symbol 1651 MovieClip Frame 29
if (_parent.dir == 1) {
_parent.angle = 66.625;
}
if (_parent.dir == 2) {
_parent.angle = -66.625;
}
Symbol 1651 MovieClip Frame 30
if (_parent.dir == 1) {
_parent.angle = 64.5;
}
if (_parent.dir == 2) {
_parent.angle = -64.5;
}
Symbol 1651 MovieClip Frame 31
if (_parent.dir == 1) {
_parent.angle = 62.375;
}
if (_parent.dir == 2) {
_parent.angle = -62.375;
}
Symbol 1651 MovieClip Frame 32
if (_parent.dir == 1) {
_parent.angle = 60.25;
}
if (_parent.dir == 2) {
_parent.angle = -60.25;
}
Symbol 1651 MovieClip Frame 33
if (_parent.dir == 1) {
_parent.angle = 58.125;
}
if (_parent.dir == 2) {
_parent.angle = -58.125;
}
Symbol 1651 MovieClip Frame 34
if (_parent.dir == 1) {
_parent.angle = 56;
}
if (_parent.dir == 2) {
_parent.angle = -56;
}
Symbol 1651 MovieClip Frame 35
if (_parent.dir == 1) {
_parent.angle = 53.875;
}
if (_parent.dir == 2) {
_parent.angle = -53.875;
}
Symbol 1651 MovieClip Frame 36
if (_parent.dir == 1) {
_parent.angle = 51.75;
}
if (_parent.dir == 2) {
_parent.angle = -51.75;
}
Symbol 1651 MovieClip Frame 37
if (_parent.dir == 1) {
_parent.angle = 49.625;
}
if (_parent.dir == 2) {
_parent.angle = -49.625;
}
Symbol 1651 MovieClip Frame 38
if (_parent.dir == 1) {
_parent.angle = 47.5;
}
if (_parent.dir == 2) {
_parent.angle = -47.5;
}
Symbol 1651 MovieClip Frame 39
if (_parent.dir == 1) {
_parent.angle = 45.375;
}
if (_parent.dir == 2) {
_parent.angle = -45.375;
}
Symbol 1651 MovieClip Frame 40
if (_parent.dir == 1) {
_parent.angle = 43.25;
}
if (_parent.dir == 2) {
_parent.angle = -43.25;
}
Symbol 1651 MovieClip Frame 41
if (_parent.dir == 1) {
_parent.angle = 41.125;
}
if (_parent.dir == 2) {
_parent.angle = -41.125;
}
Symbol 1651 MovieClip Frame 42
if (_parent.dir == 1) {
_parent.angle = 39;
}
if (_parent.dir == 2) {
_parent.angle = -39;
}
Symbol 1651 MovieClip Frame 43
if (_parent.dir == 1) {
_parent.angle = 36.875;
}
if (_parent.dir == 2) {
_parent.angle = -36.875;
}
Symbol 1651 MovieClip Frame 44
if (_parent.dir == 1) {
_parent.angle = 34.75;
}
if (_parent.dir == 2) {
_parent.angle = -34.75;
}
Symbol 1651 MovieClip Frame 45
if (_parent.dir == 1) {
_parent.angle = 32.625;
}
if (_parent.dir == 2) {
_parent.angle = -32.625;
}
Symbol 1651 MovieClip Frame 46
if (_parent.dir == 1) {
_parent.angle = 30.5;
}
if (_parent.dir == 2) {
_parent.angle = -30.5;
}
Symbol 1651 MovieClip Frame 47
if (_parent.dir == 1) {
_parent.angle = 28.375;
}
if (_parent.dir == 2) {
_parent.angle = -28.375;
}
Symbol 1651 MovieClip Frame 48
if (_parent.dir == 1) {
_parent.angle = 26.25;
}
if (_parent.dir == 2) {
_parent.angle = -26.25;
}
Symbol 1651 MovieClip Frame 49
if (_parent.dir == 1) {
_parent.angle = 24.125;
}
if (_parent.dir == 2) {
_parent.angle = -24.125;
}
Symbol 1651 MovieClip Frame 50
if (_parent.dir == 1) {
_parent.angle = 22;
}
if (_parent.dir == 2) {
_parent.angle = -22;
}
Symbol 1651 MovieClip Frame 51
if (_parent.dir == 1) {
_parent.angle = 19.875;
}
if (_parent.dir == 2) {
_parent.angle = -19.875;
}
Symbol 1651 MovieClip Frame 52
if (_parent.dir == 1) {
_parent.angle = 17.75;
}
if (_parent.dir == 2) {
_parent.angle = -17.75;
}
Symbol 1651 MovieClip Frame 53
if (_parent.dir == 1) {
_parent.angle = 15.625;
}
if (_parent.dir == 2) {
_parent.angle = -15.625;
}
Symbol 1651 MovieClip Frame 54
if (_parent.dir == 1) {
_parent.angle = 13.5;
}
if (_parent.dir == 2) {
_parent.angle = -13.5;
}
Symbol 1651 MovieClip Frame 55
if (_parent.dir == 1) {
_parent.angle = 11.375;
}
if (_parent.dir == 2) {
_parent.angle = -11.375;
}
Symbol 1651 MovieClip Frame 56
if (_parent.dir == 1) {
_parent.angle = 9.25;
}
if (_parent.dir == 2) {
_parent.angle = -9.25;
}
Symbol 1651 MovieClip Frame 57
if (_parent.dir == 1) {
_parent.angle = 7.125;
}
if (_parent.dir == 2) {
_parent.angle = -7.125;
}
Symbol 1651 MovieClip Frame 58
if (_parent.dir == 1) {
_parent.angle = 5;
}
if (_parent.dir == 2) {
_parent.angle = -5;
}
Symbol 1651 MovieClip Frame 59
if (_parent.dir == 1) {
_parent.angle = 2.875;
}
if (_parent.dir == 2) {
_parent.angle = -2.875;
}
Symbol 1651 MovieClip Frame 60
if (_parent.dir == 1) {
_parent.angle = 10;
}
if (_parent.dir == 2) {
_parent.angle = -10;
}
Symbol 1652 MovieClip Frame 1
stop();
Instance of Symbol 1625 MovieClip in Symbol 1652 MovieClip Frame 1
onClipEvent (load) {
wait = 0;
delay = 5;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
_parent.falling = false;
if (!(_parent.weaponOut === "Skip Go")) {
wait++;
}
if (wait >= delay) {
_parent.gotoAndStop(3);
}
if (!(_root.attention === this._parent)) {
if (_parent._x > _root.attention._x) {
_parent._xscale = -_parent.x;
_parent.dir = 2;
_parent.facing = "right";
}
}
if (!((!_root.attention) === this._parent)) {
if (_parent._x < _root.attention._x) {
_parent._xscale = _parent.x;
_parent.dir = 1;
_parent.facing = "left";
}
}
if (_parent._xscale == _parent.x) {
_parent.facing = "right";
}
if (_parent._xscale == (-_parent.x)) {
_parent.facing = "left";
}
_parent._rotation = 0;
}
Symbol 1652 MovieClip Frame 2
stop();
Instance of Symbol 1628 MovieClip in Symbol 1652 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._rotation = 0;
if (_parent._xscale == _parent.x) {
_parent.facing = "right";
}
if (_parent._xscale == (-_parent.x)) {
_parent.facing = "left";
}
if ((!Key.isDown(39)) and (!Key.isDown(37))) {
_parent.gotoAndStop(1);
}
}
Symbol 1652 MovieClip Frame 3
stop();
Symbol 1652 MovieClip Frame 4
stop();
_parent.fireallowed = true;
Instance of Symbol 1651 MovieClip "aim" in Symbol 1652 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(19);
weaponType = "aim";
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (Key.isDown(38)) {
if (weaponType == "aim") {
if (_root.attention == _parent) {
if (_root.turn == _parent) {
this.nextFrame();
}
}
}
}
if (Key.isDown(40)) {
if (weaponType == "aim") {
if (_root.attention == _parent) {
if (_root.turn == _parent) {
this.prevFrame();
}
}
}
}
if (_root.turn == _parent) {
if (_root.attention == _parent) {
_parent.angle = Math.ceil(_parent.angle);
}
}
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 4
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 7
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 8
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 9
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1676 MovieClip Frame 10
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.suit);
}
Symbol 1691 MovieClip Frame 1
number = random(13) + 1;
suit = random(4) + 1;
trace(number);
trace(suit);
m = "card" + this._name;
_root[m] = new Object();
_root[m].number = number;
_root[m].suit = suit;
Instance of Symbol 1676 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.number);
}
Instance of Symbol 1672 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.suit);
}
Instance of Symbol 1690 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.number);
}
Instance of Symbol 1690 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.number);
}
Symbol 1695 MovieClip Frame 1
number = 1;
suit = 1;
Instance of Symbol 1676 MovieClip in Symbol 1695 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.number);
}
Instance of Symbol 1672 MovieClip in Symbol 1695 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.suit);
}
Instance of Symbol 1672 MovieClip in Symbol 1695 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.suit);
}
Instance of Symbol 1690 MovieClip in Symbol 1695 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.number);
}
Instance of Symbol 1690 MovieClip in Symbol 1695 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.number);
}
Symbol 1699 MovieClip Frame 1
stop();
Symbol 1699 MovieClip Frame 2
stop();
Symbol 1725 MovieClip Frame 1
_alpha = 0;
Symbol 1738 MovieClip Frame 1
stop();
Symbol 1738 MovieClip Frame 2
if (_root.sound) {
_root.transition.start();
}
Symbol 1738 MovieClip Frame 26
_root.fadeSwap();
Symbol 1757 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + (_root.car.xSpeed * 2));
};
Symbol 1763 MovieClip Frame 1
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (_root.game16_lvl >= 4) {
_root.endGame("win");
}
if (_root.car.hitTest(_x, _y, true)) {
_root.changeLvl();
}
};
Symbol 1771 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
gotoAndStop(_root.num);
};
Symbol 1788 MovieClip Frame 2
explosion = new Sound(this);
explosion.attachSound("rocketdeath");
explosion.setVolume(70);
if (_root.sound) {
explosion.start();
}
Symbol 1788 MovieClip Frame 30
_root.reset = true;
_root.resetLvl();
stop();
Symbol 1789 MovieClip Frame 1
stop();
Symbol 1789 MovieClip Frame 2
stop();
Symbol 1793 MovieClip Frame 1
stop();
Symbol 1793 MovieClip Frame 2
stop();
Symbol 1794 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.car)) {
gotoAndStop (2);
}
};
Symbol 1794 MovieClip Frame 2
stop();
if (_root.sound) {
_root.sound_holy.start();
}
_root.fuel = _root.fuel + 8;
_root.g16Score = _root.g16Score + 250;
Instance of Symbol 1793 MovieClip in Symbol 1794 MovieClip Frame 2
onClipEvent (load) {
x = 50;
y = 100;
xb = -1;
yb = 1;
xspeed = Math.round(Math.random() * (yb - xb)) + xb;
speed = random(8) + 2;
time = random(10);
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
this.gotoAndStop(2);
return(undefined);
}
_x = (_x + xspeed);
_y = (_y - speed);
time++;
if (time > 40) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
}
Instance of Symbol 1793 MovieClip in Symbol 1794 MovieClip Frame 2
onClipEvent (load) {
x = 50;
y = 100;
xb = -1;
yb = 1;
xspeed = Math.round(Math.random() * (yb - xb)) + xb;
speed = random(8) + 2;
time = random(10);
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
this.gotoAndStop(2);
return(undefined);
}
_x = (_x + xspeed);
_y = (_y - speed);
time++;
if (time > 40) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
}
Instance of Symbol 1793 MovieClip in Symbol 1794 MovieClip Frame 2
onClipEvent (load) {
x = 50;
y = 100;
xb = -1;
yb = 1;
xspeed = Math.round(Math.random() * (yb - xb)) + xb;
speed = random(8) + 2;
time = random(10);
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
this.gotoAndStop(2);
return(undefined);
}
_x = (_x + xspeed);
_y = (_y - speed);
time++;
if (time > 40) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
}
Instance of Symbol 1793 MovieClip in Symbol 1794 MovieClip Frame 2
onClipEvent (load) {
x = 50;
y = 100;
xb = -1;
yb = 1;
xspeed = Math.round(Math.random() * (yb - xb)) + xb;
speed = random(8) + 2;
time = random(10);
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
this.gotoAndStop(2);
return(undefined);
}
_x = (_x + xspeed);
_y = (_y - speed);
time++;
if (time > 40) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
}
Instance of Symbol 1793 MovieClip in Symbol 1794 MovieClip Frame 2
onClipEvent (load) {
x = 50;
y = 100;
xb = -1;
yb = 1;
xspeed = Math.round(Math.random() * (yb - xb)) + xb;
speed = random(8) + 2;
time = random(10);
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
this.gotoAndStop(2);
return(undefined);
}
_x = (_x + xspeed);
_y = (_y - speed);
time++;
if (time > 40) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
}
Instance of Symbol 1793 MovieClip in Symbol 1794 MovieClip Frame 2
onClipEvent (load) {
x = 50;
y = 100;
xb = -1;
yb = 1;
xspeed = Math.round(Math.random() * (yb - xb)) + xb;
speed = random(8) + 2;
time = random(10);
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
this.gotoAndStop(2);
return(undefined);
}
_x = (_x + xspeed);
_y = (_y - speed);
time++;
if (time > 40) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
}
Symbol 1806 MovieClip Frame 1
stop();
Symbol 1809 MovieClip Frame 1
stop();
Symbol 1809 MovieClip Frame 2
if (_root.sound) {
_root.transition.start();
}
Symbol 1809 MovieClip Frame 26
_root.g16Score = _root.g16Score + _root.bonusScore;
_root.g16Score = _root.g16Score + (_root.fuel * 20);
_root.game16_lvl++;
_root.fadeSwap();
Symbol 1810 MovieClip Frame 1
stop();
Symbol 1810 MovieClip Frame 2
play();
g16Score = g16Score - 1000;
if (_root.g16Score < 0) {
g16Score = 0;
}
_root.steamSide.stop();
_root.steam.stop();
_root.steamSideB.stop();
Symbol 1815 MovieClip Frame 1
onEnterFrame = function () {
if (_root.car.hitTest(_x, _y + 5, true)) {
_root.gravity("reverse");
}
};
Symbol 1817 MovieClip Frame 1
onEnterFrame = function () {
if (_root.car.hitTest(_x, _y, true)) {
_root.gravity("normal");
}
};
Symbol 1826 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.car._x, _root.car._y + 20, true)) {
_root.car._x = _root.car._x - 4;
}
};
Symbol 1839 MovieClip Frame 1
stop();
Symbol 1852 MovieClip Frame 1
stop();
Symbol 1852 MovieClip Frame 2
stop();
Symbol 1860 MovieClip Frame 1
stop();
Symbol 1860 MovieClip Frame 2
stop();
Instance of Symbol 1846 MovieClip in Symbol 1862 MovieClip Frame 1
on (press) {
_root.resetAll();
}
Instance of Symbol 1848 MovieClip in Symbol 1862 MovieClip Frame 1
on (press) {
_root.game17_paused = false;
_root.gamego = true;
}
Instance of Symbol 1852 MovieClip "tile1" in Symbol 1862 MovieClip Frame 1
onClipEvent (load) {
function move(where) {
if (where == "down") {
_y = (startY + 50);
vis = false;
}
if (where == "up") {
_y = startY;
vis = true;
}
}
startY = _y;
vis = true;
done = false;
checkItem();
}
onClipEvent (enterFrame) {
if (!done) {
checkItem();
}
}
onClipEvent (load) {
doubleclickDuration = 300;
lastClick = 0;
x = _x;
y = _y;
}
onClipEvent (mouseUp) {
if (drag) {
if (vis) {
drag = false;
_alpha = 100;
_x = x;
_y = y;
}
_root.tile("bouncer", this);
quantity--;
this.gotoAndStop(1);
}
}
on (press) {
if (!_root.gamego) {
if (_visible) {
if (quantity > 0) {
drag = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (lastClick > 0) {
if ((getTimer() - lastClick) > doubleclickDuration) {
lastClick = 0;
}
}
if (drag) {
_alpha = 50;
_x = (_root._xmouse - _parent._x);
_y = (_root._ymouse - _parent._y);
}
}
_parent.quantity1 = "x" + quantity;
if (quantity <= 0) {
_alpha = 20;
} else if (!drag) {
_alpha = 100;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 1860 MovieClip "tile2" in Symbol 1862 MovieClip Frame 1
onClipEvent (load) {
function move(where) {
if (where == "down") {
_y = (startY + 50);
vis = false;
}
if (where == "up") {
_y = startY;
vis = true;
}
}
startY = _y;
vis = true;
done = false;
checkItem();
}
onClipEvent (enterFrame) {
if (!done) {
checkItem();
}
}
onClipEvent (load) {
doubleclickDuration = 300;
lastClick = 0;
x = _x;
y = _y;
}
onClipEvent (mouseUp) {
if (drag) {
if (vis) {
drag = false;
_alpha = 100;
_x = x;
_y = y;
}
_root.tile("twirl", this);
quantity--;
this.gotoAndStop(1);
}
}
on (press) {
if (!_root.gamego) {
if (_visible) {
if (quantity > 0) {
drag = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (lastClick > 0) {
if ((getTimer() - lastClick) > doubleclickDuration) {
lastClick = 0;
}
}
if (drag) {
_alpha = 50;
_x = (_root._xmouse - _parent._x);
_y = (_root._ymouse - _parent._y);
}
}
_parent.quantity2 = "x" + quantity;
if (quantity <= 0) {
_alpha = 20;
} else if (!drag) {
_alpha = 100;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 1865 MovieClip Frame 1
function bounce() {
tile.m.play();
_root.ball.vx = _root.ball.vx + ((Math.sin(_rotation * (Math.PI/180)) * _root.ball.yvel) + power);
_root.ball.yvel = ((-Math.cos(_rotation * (Math.PI/180))) * _root.ball.yvel) + power;
}
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
bounce();
}
};
Symbol 1872 MovieClip Frame 1
function bounce() {
tile.m.play();
_root.ball.vx = _root.ball.vx + (Math.sin(_rotation * (Math.PI/180)) * power);
_root.ball.yvel = (-Math.cos(_rotation * (Math.PI/180))) * power;
}
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
bounce();
}
};
Symbol 1873 MovieClip Frame 1
function shoot() {
if (_root.paused) {
return(undefined);
}
if (mn == undefined) {
if (_root.sound) {
_root.cannon.start();
}
}
caught = false;
shooting = true;
_root.ball.vx = Math.sin(tile._rotation * (Math.PI/180)) * power;
_root.ball.yvel = (-Math.cos(tile._rotation * (Math.PI/180))) * power;
}
caught = false;
shooting = false;
this.onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (drag) {
_alpha = 50;
_x = (_root._xmouse - _parent._x);
_y = (_root._ymouse - _parent._y);
}
if (!shooting) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
caught = true;
_root.ball._x = _x;
_root.ball._y = _y;
_root.ball.yvel = 0;
_root.ball.vx = 0;
}
}
if (caught) {
shoot();
}
if (shooting) {
t++;
if (t > 20) {
t = 0;
shooting = false;
}
}
};
t = 0;
Instance of Symbol 1879 MovieClip in Symbol 1881 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
} else {
play();
}
}
Symbol 1885 MovieClip Frame 1
stop();
Symbol 1891 MovieClip Frame 1
stop();
Symbol 1891 MovieClip Frame 2
stop();
_alpha = 100;
Symbol 1892 MovieClip Frame 1
function hurt() {
mc.hurt();
}
speed = 0;
maxSpeed = 8;
startX = _x;
startY = _y;
RIGHT = 39;
LEFT = 37;
onEnterFrame = function () {
if (_root.paused) {
return(undefined);
}
if (_root.shakeIt) {
RIGHT = 37;
LEFT = 39;
}
if (Key.isDown(RIGHT)) {
speed++;
if (speed > maxSpeed) {
speed = maxSpeed;
}
}
if (Key.isDown(LEFT)) {
speed--;
if (speed < (-maxSpeed)) {
speed = -maxSpeed;
}
}
_rotation = (_rotation + speed);
if ((!Key.isDown(39)) and (!Key.isDown(37))) {
speed = speed * 0.9;
}
};
Symbol 1896 MovieClip Frame 1
_rotation = random(360);
t = 0;
speed = _root.ball.speed;
onEnterFrame = function () {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
_x = (_x + x);
_y = (_y + y);
t++;
if (t > 200) {
_root.fakeBalls.gotoAndStop(1);
}
};
Symbol 1897 MovieClip Frame 1
stop();
Symbol 1897 MovieClip Frame 2
stop();
Instance of Symbol 1896 MovieClip in Symbol 1897 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.paused) {
stop();
} else {
play();
}
}
Symbol 1911 MovieClip Frame 21
stop();
Symbol 1912 MovieClip Frame 1
stop();
Symbol 1912 MovieClip Frame 2
stop();
Symbol 1915 MovieClip Frame 1
stop();
Symbol 1915 MovieClip Frame 2
stop();
Symbol 1929 MovieClip Frame 1
stop();
Symbol 1929 MovieClip Frame 35
if (_root.game19lose) {
_root.endGame("lose");
stop();
} else {
_root.nextFrame();
}
Symbol 1930 MovieClip Frame 1
play();
Symbol 1930 MovieClip Frame 17
stop();
Symbol 1933 MovieClip Frame 1
stop();
Symbol 1933 MovieClip Frame 2
_root.g19lives--;
_root.game19_ric.start();
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Instance of Symbol 1946 MovieClip in Symbol 1954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey.hit)) {
_root.monkey.dead();
}
}
Symbol 1966 MovieClip Frame 9
_root.game20_run.start();
Symbol 1967 MovieClip Frame 11
stop();
Symbol 1968 MovieClip Frame 8
_root.game20_run.start();
Symbol 1968 MovieClip Frame 15
gotoAndPlay (8);
Symbol 1969 MovieClip Frame 1
stop();
Symbol 1969 MovieClip Frame 2
stop();
Instance of Symbol 1966 MovieClip in Symbol 1969 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_parent.gotoAndStop(4);
}
}
Symbol 1969 MovieClip Frame 3
stop();
Symbol 1969 MovieClip Frame 4
stop();
Symbol 1978 MovieClip Frame 9
stop();
Symbol 1979 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (this.hitTest(_root.monkey.hit)) {
this.gotoAndStop(2);
}
};
Symbol 1979 MovieClip Frame 2
stop();
_root.bans++;
c = random(2);
if (c == 0) {
_root.game20_collect1.start();
}
if (c == 1) {
_root.game20_collect2.start();
}
Instance of Symbol 1974 MovieClip in Symbol 1981 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (this.hitTest(_root.monkey)) {
_root.endGame("win");
}
}
Symbol 1982 MovieClip Frame 1
_alpha = 0;
Symbol 2009 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2011 Button
on (release) {
m = "levelDone" + _root.level;
dir = "game" + _root.level;
_root.changeFrame(dir);
}
Instance of Symbol 811 MovieClip in Symbol 2012 MovieClip Frame 161
onClipEvent (load) {
function reset() {
speed = random(4) + 1;
dir = random(2);
if (dir == 0) {
_x = 800;
}
if (dir == 1) {
_x = -300;
}
_y = (random(60) + 50);
}
speed = random(2) + 0.3;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
_x = (_x - speed);
}
if (dir == 1) {
_x = (_x + speed);
}
if (dir == 0) {
if (_x < -100) {
reset();
}
}
if (dir == 1) {
if (_x > 900) {
reset();
}
}
}
Instance of Symbol 813 MovieClip in Symbol 2012 MovieClip Frame 161
onClipEvent (load) {
function reset() {
speed = random(4) + 1;
dir = random(2);
if (dir == 0) {
_x = 800;
}
if (dir == 1) {
_x = -300;
}
_y = (random(60) + 50);
}
speed = random(2) + 0.4;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
_x = (_x - speed);
}
if (dir == 1) {
_x = (_x + speed);
}
if (dir == 0) {
if (_x < -100) {
reset();
}
}
if (dir == 1) {
if (_x > 900) {
reset();
}
}
}
Instance of Symbol 811 MovieClip in Symbol 2012 MovieClip Frame 174
onClipEvent (load) {
function reset() {
speed = random(4) + 1;
dir = random(2);
if (dir == 0) {
_x = 800;
}
if (dir == 1) {
_x = -300;
}
_y = (random(60) + 50);
}
speed = random(2) + 0.3;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
_x = (_x - speed);
}
if (dir == 1) {
_x = (_x + speed);
}
if (dir == 0) {
if (_x < -400) {
reset();
}
}
if (dir == 1) {
if (_x > 1200) {
reset();
}
}
}
Instance of Symbol 813 MovieClip in Symbol 2012 MovieClip Frame 174
onClipEvent (load) {
function reset() {
speed = random(4) + 1;
dir = random(2);
if (dir == 0) {
_x = 800;
}
if (dir == 1) {
_x = -300;
}
_y = (random(60) + 50);
}
speed = random(2) + 0.4;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
_x = (_x - speed);
}
if (dir == 1) {
_x = (_x + speed);
}
if (dir == 0) {
if (_x < -400) {
reset();
}
}
if (dir == 1) {
if (_x > 1200) {
reset();
}
}
}
Symbol 2012 MovieClip Frame 860
stop();
stopped = true;
Symbol 2018 Button
on (release) {
_root.banned = false;
m = "levelDone" + _root.level;
dir = "game" + _root.level;
_root.changeFrame(dir);
}
Symbol 2037 MovieClip Frame 10
stop();
Symbol 2039 Button
on (release) {
gotoAndPlay (1);
}
Instance of Symbol 916 MovieClip in Symbol 2040 MovieClip Frame 395
onClipEvent (enterFrame) {
this.gotoAndStop((10 - _root.ship.health) + 1);
}
Instance of Symbol 916 MovieClip in Symbol 2040 MovieClip Frame 402
onClipEvent (enterFrame) {
this.gotoAndStop((10 - _root.ship.health) + 1);
}
Symbol 2040 MovieClip Frame 957
stop();
stopped = true;
Symbol 2065 Button
on (release) {
gotoAndPlay (1);
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 494
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 727
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 936
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 936
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 936
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 941
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 941
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 941
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 979
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 2066 MovieClip Frame 1129
onClipEvent (keyDown) {
if (_root.paused) {
return(undefined);
}
_parent.kcode = String.fromCharCode(Key.getCode());
if (!_parent.onfloor) {
if (_parent.kcode == _parent.display) {
_parent.dissapear = true;
}
}
}
Symbol 2066 MovieClip Frame 1303
stop();
stopped = true;
Symbol 2076 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2077 MovieClip Frame 843
stop();
stopped = true;
Symbol 2088 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2089 MovieClip Frame 706
stop();
stopped = true;
Symbol 2093 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2095 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2096 MovieClip Frame 391
stop();
Symbol 2100 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2101 MovieClip Frame 610
stop();
stopped = true;
Symbol 2132 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2133 MovieClip Frame 1
play();
Instance of Symbol 250 MovieClip in Symbol 2133 MovieClip Frame 729
on (press) {
_parent.deleteMe();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 257 MovieClip in Symbol 2133 MovieClip Frame 729
on (press) {
startDrag (_parent);
}
on (release) {
_parent.stopDrag();
}
onClipEvent (mouseUp) {
_parent.stopDrag();
}
Instance of Symbol 250 MovieClip in Symbol 2133 MovieClip Frame 740
on (press) {
_parent.deleteMe();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 257 MovieClip in Symbol 2133 MovieClip Frame 740
on (press) {
startDrag (_parent);
}
on (release) {
_parent.stopDrag();
}
onClipEvent (mouseUp) {
_parent.stopDrag();
}
Symbol 2133 MovieClip Frame 1255
stop();
stopped = true;
Symbol 2136 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2137 MovieClip Frame 473
stop();
stopped = true;
Symbol 2187 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2188 MovieClip Frame 2350
stop();
stopped = true;
Symbol 2203 Button
on (release) {
m = "levelDone" + _root.level;
dir = "game" + _root.level;
_root.changeFrame(dir);
}
Symbol 2205 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2206 MovieClip Frame 551
stop();
stopped = true;
Symbol 2215 Button
on (release) {
_parent.gotoAndPlay(1);
}
Symbol 2216 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2217 MovieClip Frame 620
stop();
stopped = true;
Symbol 2228 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2229 MovieClip Frame 782
stop();
stopped = true;
Symbol 2247 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2248 MovieClip Frame 910
stop();
stopped = true;
Symbol 2279 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2280 MovieClip Frame 1000
stop();
stopped = true;
Symbol 2288 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2289 MovieClip Frame 547
stop();
stopped = true;
Symbol 2322 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2323 MovieClip Frame 2577
stop();
stopped = true;
Symbol 2357 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2358 MovieClip Frame 1057
stop();
stopped = true;
Symbol 2370 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2371 MovieClip Frame 895
stop();
stopped = true;
Symbol 2409 MovieClip Frame 15
gotoAndPlay (8);
Symbol 2414 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2415 MovieClip Frame 986
stop();
stopped = true;
Symbol 2435 Button
on (release) {
_root.changeFrame("menu_main");
}