Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
Stage.scaleMode = "noScale";
__com_mochibot__("1dc84e60", this, 10301, true);
mochi.as2.MochiServices.connect("fafe96fe9ab54425");
Instance of Symbol 279 MovieClip [CWMIntro] "CWMIntroBtn" in Frame 1
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
Frame 2
stop();
mochi.as2.MochiAd.showPreGameAd({id:"fafe96fe9ab54425", res:"700x350", background:14421248, color:26367, outline:16117737, no_bg:false});
Instance of Symbol 285 MovieClip in Frame 3
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
Frame 4
Frame 5
FLOOD = SharedObject.getLocal("flood_runner_armageddon");
Frame 6
var land_middle = new Array();
var land_bottom = new Array();
var bouncy_clouds = new Array();
var onSurface = true;
var Mute = false;
var myAngel = 0;
var showCuts = true;
var showBG = true;
if (FLOOD.data.controls_mouse == undefined) {
FLOOD.data.controls_mouse = true;
FLOOD.flush();
}
this.controls_mouse = FLOOD.data.controls_mouse;
var usethemouse = this.controls_mouse;
if (FLOOD.data.controls_use == undefined) {
FLOOD.data.controls_use = false;
FLOOD.flush();
}
this.controls_use = FLOOD.data.controls_use;
if (FLOOD.data.highScore == undefined) {
FLOOD.data.highScore = 0;
FLOOD.flush();
}
this.highScore = FLOOD.data.highScore;
if (FLOOD.data.achieve_maxOutMultiplier == undefined) {
FLOOD.data.achieve_maxOutMultiplier = 1;
FLOOD.flush();
}
this.achieve_maxOutMultiplier = FLOOD.data.achieve_maxOutMultiplier;
if (FLOOD.data.achieve_superman == undefined) {
FLOOD.data.achieve_superman = 1;
FLOOD.flush();
}
this.achieve_superman = FLOOD.data.achieve_superman;
if (FLOOD.data.achieve_shield == undefined) {
FLOOD.data.achieve_shield = 1;
FLOOD.flush();
}
this.achieve_shield = FLOOD.data.achieve_shield;
if (FLOOD.data.achieve_elec == undefined) {
FLOOD.data.achieve_elec = 1;
FLOOD.flush();
}
this.achieve_elec = FLOOD.data.achieve_elec;
if (FLOOD.data.achieve_kicks == undefined) {
FLOOD.data.achieve_kicks = 1;
FLOOD.flush();
}
this.achieve_kicks = FLOOD.data.achieve_kicks;
if (FLOOD.data.achieve_onfire == undefined) {
FLOOD.data.achieve_onfire = 1;
FLOOD.flush();
}
this.achieve_onfire = FLOOD.data.achieve_onfire;
if (FLOOD.data.achieve_airtime == undefined) {
FLOOD.data.achieve_airtime = 1;
FLOOD.flush();
}
this.achieve_airtime = FLOOD.data.achieve_airtime;
if (FLOOD.data.achieve_angel == undefined) {
FLOOD.data.achieve_angel = 1;
FLOOD.flush();
}
this.achieve_angel = FLOOD.data.achieve_angel;
if (FLOOD.data.achieve_loser == undefined) {
FLOOD.data.achieve_loser = 1;
FLOOD.flush();
}
this.achieve_loser = FLOOD.data.achieve_loser;
if (FLOOD.data.achieve_gemCollect == undefined) {
FLOOD.data.achieve_gemCollect = 1;
FLOOD.flush();
}
this.achieve_gemCollect = FLOOD.data.achieve_gemCollect;
if (FLOOD.data.achieve_lifesaver == undefined) {
FLOOD.data.achieve_lifesaver = 1;
FLOOD.flush();
}
this.achieve_lifesaver = FLOOD.data.achieve_lifesaver;
if (FLOOD.data.achieve_wipeout == undefined) {
FLOOD.data.achieve_wipeout = 1;
FLOOD.flush();
}
this.achieve_wipeout = FLOOD.data.achieve_wipeout;
if (FLOOD.data.achieve_dragonRide == undefined) {
FLOOD.data.achieve_dragonRide = 1;
FLOOD.flush();
}
this.achieve_dragonRide = FLOOD.data.achieve_dragonRide;
if (FLOOD.data.achieve_cloudWalker == undefined) {
FLOOD.data.achieve_cloudWalker = 1;
FLOOD.flush();
}
this.achieve_cloudWalker = FLOOD.data.achieve_cloudWalker;
if (FLOOD.data.achieve_fireKills == undefined) {
FLOOD.data.achieve_fireKills = 1;
FLOOD.flush();
}
this.achieve_fireKills = FLOOD.data.achieve_fireKills;
if (FLOOD.data.achieve_tramps == undefined) {
FLOOD.data.achieve_tramps = 1;
FLOOD.flush();
}
this.achieve_tramps = FLOOD.data.achieve_tramps;
if (FLOOD.data.achieve_superKills == undefined) {
FLOOD.data.achieve_superKills = 1;
FLOOD.flush();
}
this.achieve_superKills = FLOOD.data.achieve_superKills;
if (FLOOD.data.achieve_waspKills == undefined) {
FLOOD.data.achieve_waspKills = 1;
FLOOD.flush();
}
this.achieve_waspKills = FLOOD.data.achieve_waspKills;
if (FLOOD.data.achieve_tortoiseKiller == undefined) {
FLOOD.data.achieve_tortoiseKiller = 1;
FLOOD.flush();
}
this.achieve_tortoiseKiller = FLOOD.data.achieve_tortoiseKiller;
if (FLOOD.data.achieve_batKiller == undefined) {
FLOOD.data.achieve_batKiller = 1;
FLOOD.flush();
}
this.achieve_batKiller = FLOOD.data.achieve_batKiller;
if (FLOOD.data.achieve_bogKiller == undefined) {
FLOOD.data.achieve_bogKiller = 1;
FLOOD.flush();
}
this.achieve_bogKiller = FLOOD.data.achieve_bogKiller;
if (FLOOD.data.achieve_pteraKiller == undefined) {
FLOOD.data.achieve_pteraKiller = 1;
FLOOD.flush();
}
this.achieve_pteraKiller = FLOOD.data.achieve_pteraKiller;
if (FLOOD.data.achieve_plantKiller == undefined) {
FLOOD.data.achieve_plantKiller = 1;
FLOOD.flush();
}
this.achieve_plantKiller = FLOOD.data.achieve_plantKiller;
if (FLOOD.data.achieve_marathonman == undefined) {
FLOOD.data.achieve_marathonman = 1;
FLOOD.flush();
}
this.achieve_marathonman = FLOOD.data.achieve_marathonman;
if (FLOOD.data.achieve_jumper == undefined) {
FLOOD.data.achieve_jumper = 1;
FLOOD.flush();
}
this.achieve_jumper = FLOOD.data.achieve_jumper;
if (FLOOD.data.achieve_highscore == undefined) {
FLOOD.data.achieve_highscore = 1;
FLOOD.flush();
}
this.achieve_highscore = FLOOD.data.achieve_highscore;
if (FLOOD.data.achieve_monsterSave == undefined) {
FLOOD.data.achieve_monsterSave = 1;
FLOOD.flush();
}
this.achieve_monsterSave = FLOOD.data.achieve_monsterSave;
if (FLOOD.data.achieve_skyCol == undefined) {
FLOOD.data.achieve_skyCol = 1;
FLOOD.flush();
}
this.achieve_skyCol = FLOOD.data.achieve_skyCol;
if (FLOOD.data.achieve_oilFire == undefined) {
FLOOD.data.achieve_oilFire = 1;
FLOOD.flush();
}
this.achieve_oilFire = FLOOD.data.achieve_oilFire;
if (FLOOD.data.achieve_megaMonster == undefined) {
FLOOD.data.achieve_megaMonster = 1;
FLOOD.flush();
}
this.achieve_megaMonster = FLOOD.data.achieve_megaMonster;
if (FLOOD.data.achieve_superCombo == undefined) {
FLOOD.data.achieve_superCombo = 1;
FLOOD.flush();
}
this.achieve_superCombo = FLOOD.data.achieve_superCombo;
if (FLOOD.data.achieve_getAll == undefined) {
FLOOD.data.achieve_getAll = 1;
FLOOD.flush();
}
this.achieve_getAll = FLOOD.data.achieve_getAll;
Frame 7
stopAllSounds();
var GameStart = false;
var cloud_walker = 0;
var burnMulti = 3;
var MonstersSlay = 0;
var serpentKill = 0;
var sharkKill = 0;
var OctoKill = 0;
var skyColumn = 0;
var superCombo = 0;
var oilFire = 0;
var Health = 98;
var InPlant = false;
var Shield = false;
var Jumping = false;
var DoubleJump = false;
var Slipping = false;
var Multi_Collect = 0;
var Pause = true;
var CutScene = false;
var Dead = false;
var Group2 = true;
var Group1 = false;
var Group3 = false;
var Special = false;
var canBsaved = false;
var Final_Score = 0;
var maxTime = 40;
var fireKiller = 0;
var distChecker = 500;
var onFire = false;
var Spinning = false;
var FullSpeed = false;
var Slow = false;
var Boost = false;
var SuperBoost = false;
var DragonSpeed = false;
var CanGlide = false;
var tempSpeedUD = 0;
var canWallRun = false;
var is_wallRun = false;
var isGlide = false;
var Gapp = 150;
var deltaX = 0;
var goSpeed = 0.1;
var topSpeed = 12;
var startTime = 30;
var seconds = 0;
var trampUsed = 0;
var tortoiseKill = 0;
var PlantKilled = 0;
var BeeKilled = 0;
var bogFlyKilled = 0;
var BatKilled = 0;
var pteraKill = 0;
var RideDragon = 0;
var Elec_times = 0;
var WipedOut_times = 0;
var shield_collected = 0;
var MonstersFaced = 0;
var Air_total = 0;
var Bonus = 0;
var Super_Collect = 0;
var SuperHero = false;
var scoreMulti = 1;
var airTime = 1;
var showBogfly = false;
var SpeedoDistanceBG = 9999;
var Dragon_fly = false;
var showTramp = false;
var showFire = false;
var showTortoise = false;
var showBat = false;
var showBug = false;
var showPtera = false;
var showFallPlat = false;
var showOil = false;
var showPlant = false;
var showBatWave2 = false;
var showBugWave2 = false;
var onFireTime = 0;
var bogFlyOnFire = 0;
var theKicker = 0;
var maxJumper = 0;
var superKills = 0;
var guardian = 0;
var mouseJump = false;
var attackMonster = [0.5, 0.5, 0.8, 1, 1.2, 1.5, 2, 2.5, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4];
var DragonSpeeeeed = [0.2, 0.2, 0.3, 0.4, 0.5, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2, 3, 4, 4, 4, 4];
var attackMonsterMouse = [0.3, 0.3, 0.5, 0.8, 1, 1.4, 1.8, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4];
this.highScore = FLOOD.data.highScore;
this.achieve_maxOutMultiplier = FLOOD.data.achieve_maxOutMultiplier;
this.achieve_superman = FLOOD.data.achieve_superman;
this.achieve_shield = FLOOD.data.achieve_shield;
this.achieve_elec = FLOOD.data.achieve_elec;
this.achieve_kicks = FLOOD.data.achieve_kicks;
this.achieve_onfire = FLOOD.data.achieve_onfire;
this.achieve_airtime = FLOOD.data.achieve_airtime;
this.achieve_angel = FLOOD.data.achieve_angel;
this.achieve_loser = FLOOD.data.achieve_loser;
this.achieve_gemCollect = FLOOD.data.achieve_gemCollect;
this.achieve_lifesaver = FLOOD.data.achieve_lifesaver;
this.achieve_wipeout = FLOOD.data.achieve_wipeout;
this.achieve_dragonRide = FLOOD.data.achieve_dragonRide;
this.achieve_cloudWalker = FLOOD.data.achieve_cloudWalker;
this.achieve_fireKills = FLOOD.data.achieve_fireKills;
this.achieve_tramps = FLOOD.data.achieve_tramps;
this.achieve_superKills = FLOOD.data.achieve_superKills;
this.achieve_waspKills = FLOOD.data.achieve_waspKills;
this.achieve_tortoiseKiller = FLOOD.data.achieve_tortoiseKiller;
this.achieve_batKiller = FLOOD.data.achieve_batKiller;
this.achieve_bogKiller = FLOOD.data.achieve_bogKiller;
this.achieve_pteraKiller = FLOOD.data.achieve_pteraKiller;
this.achieve_plantKiller = FLOOD.data.achieve_plantKiller;
this.achieve_marathonman = FLOOD.data.achieve_marathonman;
this.achieve_jumper = FLOOD.data.achieve_jumper;
this.achieve_highscore = FLOOD.data.achieve_highscore;
this.achieve_monsterSave = FLOOD.data.achieve_monsterSave;
this.achieve_skyCol = FLOOD.data.achieve_skyCol;
this.achieve_oilFire = FLOOD.data.achieve_oilFire;
this.achieve_megaMonster = FLOOD.data.achieve_megaMonster;
this.achieve_superCombo = FLOOD.data.achieve_superCombo;
this.achieve_getAll = FLOOD.data.achieve_getAll;
FLOOD.flush();
Frame 8
function move_ground() {
if (Group2 || (Group1)) {
all_mc.foreground_mc._x = all_mc.foreground_mc._x - (deltaX * 1.2);
if (all_mc.foreground_mc._x <= -750) {
all_mc.foreground_mc._x = -(deltaX * 1.2);
}
}
if (Group2) {
all_mc.ground2_mc.mid_bg_mc._x = all_mc.ground2_mc.mid_bg_mc._x - (deltaX * 0.5);
if (all_mc.ground2_mc.mid_bg_mc._x <= -1500) {
all_mc.ground2_mc.mid_bg_mc._x = -(deltaX * 0.5);
}
all_mc.ground2_mc.mid_bg1_mc._x = all_mc.ground2_mc.mid_bg1_mc._x - (deltaX * 0.35);
if (all_mc.ground2_mc.mid_bg1_mc._x <= -1500) {
all_mc.ground2_mc.mid_bg1_mc._x = -(deltaX * 0.35);
}
all_mc.ground2_mc.mid_bg2_mc._x = all_mc.ground2_mc.mid_bg2_mc._x - (deltaX * 0.2);
if (all_mc.ground2_mc.mid_bg2_mc._x <= -1500) {
all_mc.ground2_mc.mid_bg2_mc._x = -(deltaX * 0.2);
}
all_mc.ground2_mc.land1._x = all_mc.ground2_mc.land1._x - deltaX;
all_mc.ground2_mc.land2._x = all_mc.ground2_mc.land2._x - deltaX;
all_mc.ground2_mc.land3._x = all_mc.ground2_mc.land3._x - deltaX;
all_mc.ground2_mc.land4._x = all_mc.ground2_mc.land4._x - deltaX;
if ((all_mc.ground2_mc.land1._x + all_mc.ground2_mc.land1._width) <= -80) {
newFrame = random(20) + 1;
if (all_mc.ground2_mc.land1._currentframe != newFrame) {
all_mc.ground2_mc.land1.gotoAndStop(newFrame);
} else if (all_mc.ground2_mc.land1._currentframe == newFrame) {
trace("group2 same frame " + newFrame);
if (newFrame == 1) {
trace("group2 1st frame same " + newFrame);
newFrame++;
} else if (newFrame == all_mc.ground2_mc.land1._totalframes) {
trace("group2 last frame same " + newFrame);
newFrame--;
} else {
trace("group2 one of them same " + newFrame);
newFrame++;
}
all_mc.ground2_mc.land1.gotoAndStop(newFrame);
trace("new frame is " + newFrame);
}
all_mc.ground2_mc.land1._x = (all_mc.ground2_mc.land4._x + all_mc.ground2_mc.land4._width) + Gapp;
}
if ((all_mc.ground2_mc.land2._x + all_mc.ground2_mc.land2._width) <= -80) {
newFrame = random(20) + 1;
if (all_mc.ground2_mc.land2._currentframe != newFrame) {
all_mc.ground2_mc.land2.gotoAndStop(newFrame);
} else if (all_mc.ground2_mc.land2._currentframe == newFrame) {
if (newFrame == 1) {
newFrame++;
} else if (newFrame == all_mc.ground2_mc.land2._totalframes) {
newFrame--;
} else {
newFrame++;
}
all_mc.ground2_mc.land2.gotoAndStop(newFrame);
}
all_mc.ground2_mc.land2._x = (all_mc.ground2_mc.land1._x + all_mc.ground2_mc.land1._width) + Gapp;
}
if ((all_mc.ground2_mc.land3._x + all_mc.ground2_mc.land3._width) <= -80) {
newFrame = random(20) + 1;
if (all_mc.ground2_mc.land3._currentframe != newFrame) {
all_mc.ground2_mc.land3.gotoAndStop(newFrame);
} else if (all_mc.ground2_mc.land3._currentframe == newFrame) {
if (newFrame == 1) {
newFrame++;
} else if (newFrame == all_mc.ground2_mc.land3._totalframes) {
newFrame--;
} else {
newFrame++;
}
all_mc.ground2_mc.land3.gotoAndStop(newFrame);
}
all_mc.ground2_mc.land3._x = (all_mc.ground2_mc.land2._x + all_mc.ground2_mc.land2._width) + Gapp;
}
if ((all_mc.ground2_mc.land4._x + all_mc.ground2_mc.land4._width) <= -80) {
newFrame = random(20) + 1;
if (all_mc.ground2_mc.land4._currentframe != newFrame) {
all_mc.ground2_mc.land4.gotoAndStop(newFrame);
} else if (all_mc.ground2_mc.land4._currentframe == newFrame) {
if (newFrame == 1) {
newFrame++;
} else if (newFrame == all_mc.ground2_mc.land4._totalframes) {
newFrame--;
} else {
newFrame++;
}
all_mc.ground2_mc.land4.gotoAndStop(newFrame);
}
all_mc.ground2_mc.land4._x = (all_mc.ground2_mc.land3._x + all_mc.ground2_mc.land3._width) + Gapp;
}
}
if (Group1) {
all_mc.foregroundLow_mc._x = all_mc.foregroundLow_mc._x - (deltaX * 1.4);
if (all_mc.foregroundLow_mc._x <= -750) {
all_mc.foregroundLow_mc._x = -(deltaX * 1.4);
}
all_mc.ground1_mc.mid_bg_mc._x = all_mc.ground1_mc.mid_bg_mc._x - (deltaX * 0.5);
if (all_mc.ground1_mc.mid_bg_mc._x <= -1500) {
all_mc.ground1_mc.mid_bg_mc._x = -(deltaX * 0.5);
}
all_mc.ground1_mc.mid_bg1_mc._x = all_mc.ground1_mc.mid_bg1_mc._x - (deltaX * 0.35);
if (all_mc.ground1_mc.mid_bg1_mc._x <= -1500) {
all_mc.ground1_mc.mid_bg1_mc._x = -(deltaX * 0.35);
}
all_mc.ground1_mc.mid_bg2_mc._x = all_mc.ground1_mc.mid_bg2_mc._x - (deltaX * 0.2);
if (all_mc.ground1_mc.mid_bg2_mc._x <= -1500) {
all_mc.ground1_mc.mid_bg2_mc._x = -(deltaX * 0.2);
}
all_mc.ground1_mc.land1._x = all_mc.ground1_mc.land1._x - deltaX;
all_mc.ground1_mc.land2._x = all_mc.ground1_mc.land2._x - deltaX;
all_mc.ground1_mc.land3._x = all_mc.ground1_mc.land3._x - deltaX;
all_mc.ground1_mc.land4._x = all_mc.ground1_mc.land4._x - deltaX;
if ((all_mc.ground1_mc.land1._x + all_mc.ground1_mc.land1._width) <= -80) {
newFrame1 = random(20) + 1;
if (all_mc.ground1_mc.land1._currentframe != newFrame1) {
all_mc.ground1_mc.land1.gotoAndStop(newFrame1);
} else if (all_mc.ground1_mc.land1._currentframe == newFrame1) {
if (newFrame1 == 1) {
newFrame1++;
} else if (newFrame1 == all_mc.ground1_mc.land1._totalframes) {
newFrame1--;
} else {
newFrame1++;
}
all_mc.ground1_mc.land1.gotoAndStop(newFrame1);
}
all_mc.ground1_mc.land1._x = (all_mc.ground1_mc.land4._x + all_mc.ground1_mc.land4._width) + Gapp;
}
if ((all_mc.ground1_mc.land2._x + all_mc.ground1_mc.land2._width) <= -80) {
newFrame1 = random(20) + 1;
if (all_mc.ground1_mc.land2._currentframe != newFrame1) {
all_mc.ground1_mc.land2.gotoAndStop(newFrame1);
} else if (all_mc.ground1_mc.land2._currentframe == newFrame1) {
if (newFrame1 == 1) {
newFrame1++;
} else if (newFrame1 == all_mc.ground1_mc.land2._totalframes) {
newFrame1--;
} else {
newFrame1++;
}
all_mc.ground1_mc.land2.gotoAndStop(newFrame1);
}
all_mc.ground1_mc.land2._x = (all_mc.ground1_mc.land1._x + all_mc.ground1_mc.land1._width) + Gapp;
}
if ((all_mc.ground1_mc.land3._x + all_mc.ground1_mc.land3._width) <= -80) {
newFrame1 = random(20) + 1;
if (all_mc.ground1_mc.land3._currentframe != newFrame1) {
all_mc.ground1_mc.land3.gotoAndStop(newFrame1);
} else if (all_mc.ground1_mc.land3._currentframe == newFrame1) {
if (newFrame1 == 1) {
newFrame1++;
} else if (newFrame1 == all_mc.ground1_mc.land3._totalframes) {
newFrame1--;
} else {
newFrame1++;
}
all_mc.ground1_mc.land3.gotoAndStop(newFrame1);
}
all_mc.ground1_mc.land3._x = (all_mc.ground1_mc.land2._x + all_mc.ground1_mc.land2._width) + Gapp;
}
if ((all_mc.ground1_mc.land4._x + all_mc.ground1_mc.land4._width) <= -80) {
newFrame1 = random(20) + 1;
if (all_mc.ground1_mc.land4._currentframe != newFrame1) {
all_mc.ground1_mc.land4.gotoAndStop(newFrame1);
} else if (all_mc.ground1_mc.land4._currentframe == newFrame1) {
if (newFrame1 == 1) {
newFrame1++;
} else if (newFrame1 == all_mc.ground1_mc.land4._totalframes) {
newFrame1--;
} else {
newFrame1++;
}
all_mc.ground1_mc.land4.gotoAndStop(newFrame1);
}
all_mc.ground1_mc.land4._x = (all_mc.ground1_mc.land3._x + all_mc.ground1_mc.land3._width) + Gapp;
}
}
if (Group3) {
all_mc.ground3_mc.cloudBG_mc._x = all_mc.ground3_mc.cloudBG_mc._x - (deltaX * 0.2);
if (all_mc.ground3_mc.cloudBG_mc._x <= -1500) {
all_mc.ground3_mc.cloudBG_mc._x = -(deltaX * 0.2);
}
all_mc.ground3_mc.cloud_top_mc._x = all_mc.ground3_mc.cloud_top_mc._x - (deltaX * 0.8);
all_mc.ground3_mc.cloud_top2_mc._x = all_mc.ground3_mc.cloud_top2_mc._x - (deltaX * 1.2);
if (all_mc.ground3_mc.cloud_top_mc._x <= -725) {
all_mc.ground3_mc.cloud_top_mc._x = -(deltaX * 0.8);
}
if (all_mc.ground3_mc.cloud_top2_mc._x <= -725) {
all_mc.ground3_mc.cloud_top2_mc._x = -(deltaX * 1.2);
}
all_mc.ground3_mc.land1._x = all_mc.ground3_mc.land1._x - deltaX;
all_mc.ground3_mc.land2._x = all_mc.ground3_mc.land2._x - deltaX;
all_mc.ground3_mc.land3._x = all_mc.ground3_mc.land3._x - deltaX;
all_mc.ground3_mc.land4._x = all_mc.ground3_mc.land4._x - deltaX;
if ((all_mc.ground3_mc.land1._x + all_mc.ground3_mc.land1._width) <= -80) {
newFrame3 = random(20) + 1;
if (all_mc.ground3_mc.land1._currentframe != newFrame3) {
all_mc.ground3_mc.land1.gotoAndStop(newFrame3);
} else if (all_mc.ground3_mc.land1._currentframe == newFrame3) {
if (newFrame3 == 1) {
newFrame3++;
} else if (newFrame3 == all_mc.ground3_mc.land1._totalframes) {
newFrame3--;
} else {
newFrame3++;
}
all_mc.ground3_mc.land1.gotoAndStop(newFrame3);
}
all_mc.ground3_mc.land1._x = (all_mc.ground3_mc.land4._x + all_mc.ground3_mc.land4._width) + Gapp;
}
if ((all_mc.ground3_mc.land2._x + all_mc.ground3_mc.land2._width) <= -80) {
newFrame3 = random(20) + 1;
if (all_mc.ground3_mc.land2._currentframe != newFrame3) {
all_mc.ground3_mc.land2.gotoAndStop(newFrame3);
} else if (all_mc.ground3_mc.land2._currentframe == newFrame3) {
if (newFrame3 == 1) {
newFrame3++;
} else if (newFrame3 == all_mc.ground3_mc.land2._totalframes) {
newFrame3--;
} else {
newFrame3++;
}
all_mc.ground3_mc.land2.gotoAndStop(newFrame3);
}
all_mc.ground3_mc.land2._x = (all_mc.ground3_mc.land1._x + all_mc.ground3_mc.land1._width) + Gapp;
}
if ((all_mc.ground3_mc.land3._x + all_mc.ground3_mc.land3._width) <= -80) {
newFrame3 = random(20) + 1;
if (all_mc.ground3_mc.land3._currentframe != newFrame3) {
all_mc.ground3_mc.land3.gotoAndStop(newFrame3);
} else if (all_mc.ground3_mc.land3._currentframe == newFrame3) {
if (newFrame3 == 1) {
newFrame3++;
} else if (newFrame3 == all_mc.ground3_mc.land3._totalframes) {
newFrame3--;
} else {
newFrame3++;
}
all_mc.ground3_mc.land3.gotoAndStop(newFrame3);
}
all_mc.ground3_mc.land3._x = (all_mc.ground3_mc.land2._x + all_mc.ground3_mc.land2._width) + Gapp;
}
if ((all_mc.ground3_mc.land4._x + all_mc.ground3_mc.land4._width) <= -80) {
newFrame3 = random(20) + 1;
if (all_mc.ground3_mc.land4._currentframe != newFrame3) {
all_mc.ground3_mc.land4.gotoAndStop(newFrame3);
} else if (all_mc.ground3_mc.land4._currentframe == newFrame3) {
if (newFrame3 == 1) {
newFrame3++;
} else if (newFrame3 == all_mc.ground3_mc.land4._totalframes) {
newFrame3--;
} else {
newFrame3++;
}
all_mc.ground3_mc.land4.gotoAndStop(newFrame3);
}
all_mc.ground3_mc.land4._x = (all_mc.ground3_mc.land3._x + all_mc.ground3_mc.land3._width) + Gapp;
}
}
}
Frame 9
function checkGlider() {
if (!Slow) {
glide_mc.glideBar_mc.bar_mc._xscale = glide_mc.glideBar_mc.bar_mc._xscale + 0.2;
}
if (glide_mc.glideBar_mc.bar_mc._xscale >= 100) {
glide_mc.glideBar_mc.bar_mc._xscale = 100;
}
if ((glide_mc.glideBar_mc.bar_mc._xscale >= 12) && (!CanGlide)) {
CanGlide = true;
glide_mc.gotoAndStop(2);
glide_mc.glideBar_mc.bar_mc.gotoAndStop(2);
}
if (!CanGlide) {
glide_mc.gotoAndStop(1);
glide_mc.glideBar_mc.bar_mc.gotoAndStop(1);
}
if (glide_mc.glideBar_mc.bar_mc._xscale <= 0) {
CanGlide = false;
glide_mc.glideBar_mc.bar_mc._xscale = 0;
}
}
function moveRL() {
keyright = Key.isDown(39);
keyleft = Key.isDown(37);
if ((((!Slow) && (!DragonSpeed)) && (!Special)) && (FLOOD.data.controls_mouse == false)) {
if (((all_mc.hero_mc._x > 180) && (!keyright)) && (!keyleft)) {
all_mc.hero_mc._x = all_mc.hero_mc._x - 1;
}
if (all_mc.hero_mc._x <= 180) {
all_mc.hero_mc._x = 180;
}
if (keyright && (all_mc.hero_mc._x <= 276)) {
all_mc.hero_mc._x = all_mc.hero_mc._x + 2;
}
if (keyleft) {
all_mc.hero_mc._x = all_mc.hero_mc._x - 2;
}
if (all_mc.hero_mc._x >= 280) {
all_mc.hero_mc._x = all_mc.hero_mc._x - 4;
}
if (all_mc.hero_mc._x >= 500) {
all_mc.hero_mc._x = 500;
}
} else if ((((!Slow) && (!DragonSpeed)) && (!Special)) && (FLOOD.data.controls_mouse == true)) {
if ((all_mc.hero_mc._x > 180) && (_xmouse <= (all_mc.hero_mc._x - 10))) {
all_mc.hero_mc._x = all_mc.hero_mc._x - 1;
}
if (all_mc.hero_mc._x <= 180) {
all_mc.hero_mc._x = 180;
}
if ((_xmouse >= (all_mc.hero_mc._x + 50)) && (all_mc.hero_mc._x <= 276)) {
all_mc.hero_mc._x = all_mc.hero_mc._x + 2;
}
if (_xmouse <= (all_mc.hero_mc._x - 20)) {
all_mc.hero_mc._x = all_mc.hero_mc._x - 2;
}
if ((_xmouse <= (all_mc.hero_mc._x - 20)) && (all_mc.hero_mc._x >= 280)) {
all_mc.hero_mc._x = all_mc.hero_mc._x - 4;
}
if ((_xmouse >= all_mc.hero_mc._x) && (all_mc.hero_mc._x >= 500)) {
all_mc.hero_mc._x = 500;
}
}
}
function showShield() {
if (!Shield) {
all_mc.shield_mc._x = -3000;
all_mc.shield_mc._xscale = 100;
all_mc.shield_mc._yscale = 100;
all_mc.shield_mc._alpha = 100;
}
if (Shield) {
all_mc.shield_mc._x = all_mc.hero_mc._x;
all_mc.shield_mc._y = all_mc.hero_mc._y - 20;
if (all_mc.shield_mc._alpha <= 10) {
Shield = false;
}
if (all_mc.shield_mc._xscale <= 60) {
Shield = false;
}
}
}
function fireBall() {
if (onFire) {
_root.onFireTime++;
_root.score_mc.burn_mc.gotoAndStop(2);
if (!_root.Mute) {
all_mc.onfire_sound_mc.fireSnd2.setVolume(40);
} else {
all_mc.onfire_sound_mc.fireSnd2.setVolume(0);
}
all_mc.fireBall_mc._visible = true;
all_mc.fireBall_mc._x = all_mc.hero_mc._x;
all_mc.fireBall_mc._y = all_mc.hero_mc._y - 20;
all_mc.fireBall_mc._rotation = all_mc.hero_mc.deltaY * 1.5;
if ((all_mc.hero_mc.deltaY == 0) && (all_mc.fireBall_mc._rotation <= -1)) {
all_mc.fireBall_mc._rotation = all_mc.fireBall_mc._rotation + 4;
}
if ((all_mc.hero_mc.deltaY == 0) && (all_mc.fireBall_mc._rotation >= 1)) {
all_mc.fireBall_mc._rotation = all_mc.fireBall_mc._rotation - 4;
}
} else {
_root.score_mc.burn_mc.gotoAndStop(1);
all_mc.onfire_sound_mc.fireSnd2.setVolume(0);
all_mc.fireBall_mc._visible = false;
all_mc.fireBall_mc._x = -1000;
}
}
function checkSpeed() {
if (!FullSpeed) {
deltaX = deltaX + goSpeed;
if (deltaX >= topSpeed) {
deltaX = topSpeed;
FullSpeed = true;
}
}
if (FullSpeed) {
if ((((!Slow) && (!Boost)) && (!SuperBoost)) && (!DragonSpeed)) {
all_mc.heart_sound_mc.Heart.setVolume(0);
deltaX = topSpeed;
} else if (((Slow && (!Boost)) && (!SuperBoost)) && (!DragonSpeed)) {
if (!_root.Mute) {
all_mc.heart_sound_mc.Heart.setVolume(100);
} else {
all_mc.heart_sound_mc.Heart.setVolume(0);
}
deltaX = 0.5;
} else if ((((!Slow) && (Boost)) && (!SuperBoost)) && (!DragonSpeed)) {
all_mc.heart_sound_mc.Heart.setVolume(0);
deltaX = topSpeed + 5;
} else if ((((!Slow) && (!Boost)) && (SuperBoost)) && (!DragonSpeed)) {
all_mc.heart_sound_mc.Heart.setVolume(0);
deltaX = topSpeed + 12;
} else if ((((!Slow) && (!Boost)) && (!SuperBoost)) && (DragonSpeed)) {
all_mc.heart_sound_mc.Heart.setVolume(0);
deltaX = topSpeed + 8;
}
}
upDateSpeedo();
}
function checkDistReward() {
if ((_root.FLOOD.data.achieve_marathonman == 1) && (Math.abs(speedBar_mc.runDistance) >= 500)) {
_root.FLOOD.data.achieve_marathonman = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach18", "ach18" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_marathonman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_marathonman <= 2) && (Math.abs(speedBar_mc.runDistance) >= 1500)) {
_root.FLOOD.data.achieve_marathonman = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach18", "ach18" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_marathonman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_marathonman <= 3) && (Math.abs(speedBar_mc.runDistance) >= 4500)) {
_root.FLOOD.data.achieve_marathonman = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach18", "ach18" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_marathonman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
}
function upDateSpeedo() {
distKeeper = (all_mc.distanceKeeper._x = all_mc.distanceKeeper._x - (deltaX / 60));
speedBar_mc.runDistance = Math.round(distKeeper);
if (Math.abs(speedBar_mc.runDistance) >= SpeedoDistanceBG) {
speedBar_mc.bg_mc.nextFrame();
SpeedoDistanceBG = SpeedoDistanceBG * 10;
}
if (Math.abs(speedBar_mc.runDistance) >= distChecker) {
trace("dist reward working");
checkDistReward();
distChecker = distChecker * 3;
}
if (!FullSpeed) {
speedBar_mc.airTime_mc._visible = false;
speedBar_mc.slowMo_mc._visible = false;
goPin = (speedBar_mc.runSpeeed = Math.round(deltaX * 2));
speedBar_mc.pin_mc.gotoAndStop(goPin);
}
if (FullSpeed) {
if ((((!Slow) && (!Boost)) && (!SuperBoost)) && (!DragonSpeed)) {
speedBar_mc.slowMo_mc._visible = false;
gotoPin = (speedBar_mc.runSpeeed = (Math.round(deltaX * 2) + random(2)) - 1);
speedBar_mc.pin_mc.gotoAndStop(gotoPin);
} else if (((Slow && (!Boost)) && (!SuperBoost)) && (!DragonSpeed)) {
speedBar_mc.slowMo_mc._visible = true;
speedBar_mc.runSpeeed = Math.round(topSpeed * 2);
speedBar_mc.pin_mc.gotoAndStop(topSpeed * 2);
} else if (((Boost || (SuperBoost)) || (DragonSpeed)) && (!Slow)) {
speedBar_mc.slowMo_mc._visible = false;
boo = (speedBar_mc.runSpeeed = Math.round(deltaX * 2) + (random(8) - 4));
speedBar_mc.pin_mc.gotoAndStop(boo);
}
}
}
function checkHeight() {
if ((all_mc.hero_mc._y <= -493) && (!Shield)) {
all_mc.hero_mc.gotoAndStop("elec");
all_mc.hero_mc.posY = -492;
all_mc.hero_mc._y = all_mc.hero_mc.posY;
} else if ((all_mc.hero_mc._y <= -493) && (Shield)) {
all_mc.hero_mc.gotoAndStop("elec_try");
all_mc.hero_mc.posY = -492;
all_mc.hero_mc._y = all_mc.hero_mc.posY;
}
if (all_mc.hero_mc._y > -120) {
score_mc.air_mc.gotoAndStop(1);
} else {
score_mc.air_mc.gotoAndStop(2);
_root.Air_total++;
}
if (all_mc.hero_mc._y < 100) {
Group3 = true;
all_mc.ground3_mc._visible = true;
} else {
all_mc.ground3_mc._visible = false;
Group3 = false;
}
if (all_mc.hero_mc._y > 340) {
Group1 = true;
all_mc.ground1_mc._visible = true;
} else {
all_mc.ground1_mc._visible = false;
Group1 = false;
}
if ((all_mc.hero_mc._y > 740) || (all_mc.hero_mc._y <= -310)) {
all_mc.ground2_mc._visible = false;
Group2 = false;
} else {
all_mc.ground2_mc._visible = true;
Group2 = true;
}
if (all_mc.hero_mc._y > 1200) {
onFire = false;
Dead = true;
}
}
function initCamera() {
zoom = 1;
hero_clip = all_mc.hero_mc;
midY = 150;
camY = midY - 150;
}
function moveCameraY() {
deltaY = hero_clip._y - heroLastY;
heroLastY = hero_clip._y;
camY = camY - (0.09 * (camY - (((deltaY > 1) ? 1.3 : 1.3) * midY)));
all_mc._y = all_mc._y - (0.4 * (all_mc._y - ((camY - hero_clip._y) * zoom)));
theUp = Math.abs(all_mc.top_mc._y);
theUptemp = all_mc._y;
theDown = all_mc.bot_mc._y;
theDownTemp = Math.abs(all_mc._y - Stage.height);
if (theUptemp >= theUp) {
all_mc._y = theUp;
}
if (theDownTemp >= theDown) {
all_mc._y = (-theDown) + Stage.height;
}
}
function runGame() {
moveCameraY();
if (((!Pause) && (!Dead)) && (!CutScene)) {
getTheTime();
checkSpeed();
checkHeight();
move_ground();
checkGlider();
moveRL();
showShield();
fireBall();
}
if (Dead) {
speedBar_mc.runSpeeed--;
if (speedBar_mc.runSpeeed <= 0) {
speedBar_mc.runSpeeed = 0;
}
speedBar_mc.pin_mc.prevFrame();
if (Final_Score <= 150) {
}
}
}
function inGameMessage(n) {
message_txt.htmlText = (n + "<br>") + message_txt.htmlText;
message_txt.vPosition = message_txt.maxVPosition;
}
getTheTime = function () {
if (!Slow) {
startTime--;
} else {
startTime = startTime - 0.2;
}
if (startTime <= 0) {
seconds++;
startTime = 30;
}
timer = seconds;
if (seconds >= maxTime) {
_root.speedBar_mc.lives_mc.nextFrame();
_root.guardian++;
maxTime = maxTime * 2;
}
};
Frame 10
stop();
Frame 14
main_mc.gotoAndStop("menu");
gotoAndStop ("theMenu");
Frame 18
stop();
GameStart = true;
initCamera();
onEnterFrame = function () {
runGame();
};
Frame 19
stop();
GameStart = true;
initCamera();
onEnterFrame = function () {
runGame();
};
Frame 20
stop();
mm_mc.gotoAndStop(1);
stopAllSounds();
d_txt = Math.abs(final_death_mc.ccc);
gotThem = 0;
fromLeft = [40, 40, 40, 40, 90, 90, 90, 90, 140, 140, 140, 140, 190, 190, 190, 190, 240, 240, 240, 240, 290, 290, 290, 290, 340, 340, 340, 340, 392, 392, 392, 392];
fromTop = [70, 125, 180, 235, 70, 125, 180, 235, 70, 125, 180, 235, 70, 125, 180, 235, 70, 125, 180, 235, 70, 125, 180, 235, 70, 125, 180, 235, 70, 125, 180, 235];
gotAchieve = false;
GameStart = false;
if (this.achieve_maxOutMultiplier != FLOOD.data.achieve_maxOutMultiplier) {
inGameMessage("ACHIEVEMENT UNLOCKED - IMPULSIVE COLLECTOR");
ach2_mc._x = fromLeft[gotThem];
ach2_mc._y = fromTop[gotThem];
ach2_mc.gotoAndStop(FLOOD.data.achieve_maxOutMultiplier);
gotThem++;
gotAchieve = true;
}
if (this.achieve_superman != FLOOD.data.achieve_superman) {
inGameMessage("ACHIEVEMENT UNLOCKED - SUPERMAN");
ach4_mc._x = fromLeft[gotThem];
ach4_mc._y = fromTop[gotThem];
ach4_mc.gotoAndStop(FLOOD.data.achieve_superman);
gotThem++;
gotAchieve = true;
}
if (this.achieve_shield != FLOOD.data.achieve_shield) {
inGameMessage("ACHIEVEMENT UNLOCKED - WIELD THE SHIELD");
ach15_mc._x = fromLeft[gotThem];
ach15_mc._y = fromTop[gotThem];
ach15_mc.gotoAndStop(FLOOD.data.achieve_shield);
gotThem++;
gotAchieve = true;
}
if (this.achieve_elec != FLOOD.data.achieve_elec) {
inGameMessage("ACHIEVEMENT UNLOCKED - THUNDER STRUCK");
ach27_mc._x = fromLeft[gotThem];
ach27_mc._y = fromTop[gotThem];
ach27_mc.gotoAndStop(FLOOD.data.achieve_elec);
gotThem++;
gotAchieve = true;
}
if (this.achieve_kicks != FLOOD.data.achieve_kicks) {
inGameMessage("ACHIEVEMENT UNLOCKED - BUTCHER");
ach19_mc._x = fromLeft[gotThem];
ach19_mc._y = fromTop[gotThem];
ach19_mc.gotoAndStop(FLOOD.data.achieve_kicks);
gotThem++;
gotAchieve = true;
}
if (this.achieve_onfire != FLOOD.data.achieve_onfire) {
inGameMessage("ACHIEVEMENT UNLOCKED - GREAT BALL OF FIRE");
ach16_mc._x = fromLeft[gotThem];
ach16_mc._y = fromTop[gotThem];
ach16_mc.gotoAndStop(FLOOD.data.achieve_onfire);
gotThem++;
gotAchieve = true;
}
if (this.achieve_airtime != FLOOD.data.achieve_airtime) {
inGameMessage("ACHIEVEMENT UNLOCKED - AIR TIME");
ach5_mc._x = fromLeft[gotThem];
ach5_mc._y = fromTop[gotThem];
ach5_mc.gotoAndStop(FLOOD.data.achieve_airtime);
gotThem++;
gotAchieve = true;
}
if (this.achieve_angel != FLOOD.data.achieve_angel) {
inGameMessage("ACHIEVEMENT UNLOCKED - ANGEL");
ach24_mc._x = fromLeft[gotThem];
ach24_mc._y = fromTop[gotThem];
ach24_mc.gotoAndStop(FLOOD.data.achieve_angel);
gotThem++;
gotAchieve = true;
}
if (this.achieve_loser != FLOOD.data.achieve_loser) {
inGameMessage("ACHIEVEMENT UNLOCKED - LOSER");
ach14_mc._x = fromLeft[gotThem];
ach14_mc._y = fromTop[gotThem];
ach14_mc.gotoAndStop(FLOOD.data.achieve_loser);
gotThem++;
gotAchieve = true;
}
if (this.achieve_gemCollect != FLOOD.data.achieve_gemCollect) {
inGameMessage("ACHIEVEMENT UNLOCKED - GEM SHOPPER");
ach1_mc._x = fromLeft[gotThem];
ach1_mc._y = fromTop[gotThem];
ach1_mc.gotoAndStop(FLOOD.data.achieve_gemCollect);
gotThem++;
gotAchieve = true;
}
if (this.achieve_lifesaver != FLOOD.data.achieve_lifesaver) {
inGameMessage("ACHIEVEMENT UNLOCKED - LIFE SAVER");
ach00_mc._x = fromLeft[gotThem];
ach00_mc._y = fromTop[gotThem];
ach00_mc.gotoAndStop(FLOOD.data.achieve_lifesaver);
gotThem++;
gotAchieve = true;
}
if (this.achieve_wipeout != FLOOD.data.achieve_wipeout) {
inGameMessage("ACHIEVEMENT UNLOCKED - WIPEOUT MASTER");
ach12_mc._x = fromLeft[gotThem];
ach12_mc._y = fromTop[gotThem];
ach12_mc.gotoAndStop(FLOOD.data.achieve_wipeout);
gotThem++;
gotAchieve = true;
}
if (this.achieve_dragonRide != FLOOD.data.achieve_dragonRide) {
inGameMessage("ACHIEVEMENT UNLOCKED - DRAGON RIDER");
ach26_mc._x = fromLeft[gotThem];
ach26_mc._y = fromTop[gotThem];
ach26_mc.gotoAndStop(FLOOD.data.achieve_dragonRide);
gotThem++;
gotAchieve = true;
}
if (this.achieve_cloudWalker != FLOOD.data.achieve_cloudWalker) {
inGameMessage("ACHIEVEMENT UNLOCKED - CLOUD RUNNER");
ach31_mc._x = fromLeft[gotThem];
ach31_mc._y = fromTop[gotThem];
ach31_mc.gotoAndStop(FLOOD.data.achieve_cloudWalker);
gotThem++;
gotAchieve = true;
}
if (this.achieve_fireKills != FLOOD.data.achieve_fireKills) {
inGameMessage("ACHIEVEMENT UNLOCKED - PYRO MAN");
ach18_mc._x = fromLeft[gotThem];
ach18_mc._y = fromTop[gotThem];
ach18_mc.gotoAndStop(FLOOD.data.achieve_fireKills);
gotThem++;
gotAchieve = true;
}
if (this.achieve_tramps != FLOOD.data.achieve_tramps) {
inGameMessage("ACHIEVEMENT UNLOCKED - PURE TRAMP");
ach3_mc._x = fromLeft[gotThem];
ach3_mc._y = fromTop[gotThem];
ach3_mc.gotoAndStop(FLOOD.data.achieve_tramps);
gotThem++;
gotAchieve = true;
}
if (this.achieve_superKills != FLOOD.data.achieve_superKills) {
inGameMessage("ACHIEVEMENT UNLOCKED - MAN OF STEEL");
ach23_mc._x = fromLeft[gotThem];
ach23_mc._y = fromTop[gotThem];
ach23_mc.gotoAndStop(FLOOD.data.achieve_superKills);
gotThem++;
gotAchieve = true;
}
if (this.achieve_waspKills != FLOOD.data.achieve_waspKills) {
inGameMessage("ACHIEVEMENT UNLOCKED - WASP DESTROYER");
ach7_mc._x = fromLeft[gotThem];
ach7_mc._y = fromTop[gotThem];
ach7_mc.gotoAndStop(FLOOD.data.achieve_waspKills);
gotThem++;
gotAchieve = true;
}
if (this.achieve_tortoiseKiller != FLOOD.data.achieve_tortoiseKiller) {
inGameMessage("ACHIEVEMENT UNLOCKED - TORTOISE DESTROYER");
ach6_mc._x = fromLeft[gotThem];
ach6_mc._y = fromTop[gotThem];
ach6_mc.gotoAndStop(FLOOD.data.achieve_tortoiseKiller);
gotThem++;
gotAchieve = true;
}
if (this.achieve_batKiller != FLOOD.data.achieve_batKiller) {
inGameMessage("ACHIEVEMENT UNLOCKED - BAT HUNTER");
ach9_mc._x = fromLeft[gotThem];
ach9_mc._y = fromTop[gotThem];
ach9_mc.gotoAndStop(FLOOD.data.achieve_batKiller);
gotThem++;
gotAchieve = true;
}
if (this.achieve_bogKiller != FLOOD.data.achieve_bogKiller) {
inGameMessage("ACHIEVEMENT UNLOCKED - BOG OF THE FLIES");
ach8_mc._x = fromLeft[gotThem];
ach8_mc._y = fromTop[gotThem];
ach8_mc.gotoAndStop(FLOOD.data.achieve_bogKiller);
gotThem++;
gotAchieve = true;
}
if (this.achieve_pteraKiller != FLOOD.data.achieve_pteraKiller) {
inGameMessage("ACHIEVEMENT UNLOCKED - ANCIENT HISTORY");
ach10_mc._x = fromLeft[gotThem];
ach10_mc._y = fromTop[gotThem];
ach10_mc.gotoAndStop(FLOOD.data.achieve_pteraKiller);
gotThem++;
gotAchieve = true;
}
if (this.achieve_plantKiller != FLOOD.data.achieve_plantKiller) {
inGameMessage("ACHIEVEMENT UNLOCKED - PLANT KILLER");
ach11_mc._x = fromLeft[gotThem];
ach11_mc._y = fromTop[gotThem];
ach11_mc.gotoAndStop(FLOOD.data.achieve_plantKiller);
gotThem++;
gotAchieve = true;
}
if (this.achieve_marathonman != FLOOD.data.achieve_marathonman) {
inGameMessage("ACHIEVEMENT UNLOCKED - MARATHON MAN");
ach17_mc._x = fromLeft[gotThem];
ach17_mc._y = fromTop[gotThem];
ach17_mc.gotoAndStop(FLOOD.data.achieve_marathonman);
gotThem++;
gotAchieve = true;
}
if (this.achieve_jumper != FLOOD.data.achieve_jumper) {
inGameMessage("ACHIEVEMENT UNLOCKED - JUMPER");
ach20_mc._x = fromLeft[gotThem];
ach20_mc._y = fromTop[gotThem];
ach20_mc.gotoAndStop(FLOOD.data.achieve_jumper);
gotThem++;
gotAchieve = true;
}
if (this.achieve_highscore != FLOOD.data.achieve_highscore) {
inGameMessage("ACHIEVEMENT UNLOCKED - PRO RUNNER");
ach22_mc._x = fromLeft[gotThem];
ach22_mc._y = fromTop[gotThem];
ach22_mc.gotoAndStop(FLOOD.data.achieve_highscore);
gotThem++;
gotAchieve = true;
}
if (this.achieve_monsterSave != FLOOD.data.achieve_monsterSave) {
inGameMessage("ACHIEVEMENT UNLOCKED - MONSTER SLAYER");
ach13_mc._x = fromLeft[gotThem];
ach13_mc._y = fromTop[gotThem];
ach13_mc.gotoAndStop(FLOOD.data.achieve_monsterSave);
gotThem++;
gotAchieve = true;
}
if (this.achieve_skyCol != FLOOD.data.achieve_skyCol) {
inGameMessage("ACHIEVEMENT UNLOCKED - SKY RAISER");
ach25_mc._x = fromLeft[gotThem];
ach25_mc._y = fromTop[gotThem];
ach25_mc.gotoAndStop(FLOOD.data.achieve_skyCol);
gotThem++;
gotAchieve = true;
}
if (this.achieve_oilFire != FLOOD.data.achieve_oilFire) {
inGameMessage("ACHIEVEMENT UNLOCKED - FIRE STARTER");
ach29_mc._x = fromLeft[gotThem];
ach29_mc._y = fromTop[gotThem];
ach29_mc.gotoAndStop(FLOOD.data.achieve_oilFire);
gotThem++;
gotAchieve = true;
}
if (this.achieve_megaMonster != FLOOD.data.achieve_megaMonster) {
inGameMessage("ACHIEVEMENT UNLOCKED - Mega MONSTER");
ach32_mc._x = fromLeft[gotThem];
ach32_mc._y = fromTop[gotThem];
ach32_mc.gotoAndStop(FLOOD.data.achieve_megaMonster);
gotThem++;
gotAchieve = true;
}
if (this.achieve_superCombo != FLOOD.data.achieve_superCombo) {
inGameMessage("ACHIEVEMENT UNLOCKED - super combo");
ach30_mc._x = fromLeft[gotThem];
ach30_mc._y = fromTop[gotThem];
ach30_mc.gotoAndStop(FLOOD.data.achieve_superCombo);
gotThem++;
gotAchieve = true;
}
if (((((((((((((((((((((((((((((((FLOOD.data.achieve_maxOutMultiplier >= 2) && (FLOOD.data.achieve_superman >= 2)) && (FLOOD.data.achieve_shield >= 2)) && (FLOOD.data.achieve_elec >= 2)) && (FLOOD.data.achieve_kicks >= 2)) && (FLOOD.data.achieve_onfire >= 2)) && (FLOOD.data.achieve_airtime >= 2)) && (FLOOD.data.achieve_angel >= 2)) && (FLOOD.data.achieve_loser >= 2)) && (FLOOD.data.achieve_gemCollect >= 2)) && (FLOOD.data.achieve_lifesaver >= 2)) && (FLOOD.data.achieve_wipeout >= 2)) && (FLOOD.data.achieve_dragonRide >= 2)) && (FLOOD.data.achieve_cloudWalker >= 2)) && (FLOOD.data.achieve_fireKills >= 2)) && (FLOOD.data.achieve_tramps >= 2)) && (FLOOD.data.achieve_superKills >= 2)) && (FLOOD.data.achieve_waspKills >= 2)) && (FLOOD.data.achieve_tortoiseKiller >= 2)) && (FLOOD.data.achieve_batKiller >= 2)) && (FLOOD.data.achieve_bogKiller >= 2)) && (FLOOD.data.achieve_pteraKiller >= 2)) && (FLOOD.data.achieve_plantKiller >= 2)) && (FLOOD.data.achieve_marathonman >= 2)) && (FLOOD.data.achieve_jumper >= 2)) && (FLOOD.data.achieve_highscore >= 2)) && (FLOOD.data.achieve_monsterSave >= 2)) && (FLOOD.data.achieve_skyCol >= 2)) && (FLOOD.data.achieve_oilFire >= 2)) && (FLOOD.data.achieve_megaMonster >= 2)) && (FLOOD.data.achieve_superCombo >= 2)) {
FLOOD.data.achieve_getAll = 3;
FLOOD.flush();
}
if (((((((((((((((((((((((((((((((FLOOD.data.achieve_maxOutMultiplier == 4) && (FLOOD.data.achieve_superman == 4)) && (FLOOD.data.achieve_shield == 4)) && (FLOOD.data.achieve_elec == 4)) && (FLOOD.data.achieve_kicks == 4)) && (FLOOD.data.achieve_onfire == 4)) && (FLOOD.data.achieve_airtime == 4)) && (FLOOD.data.achieve_angel == 4)) && (FLOOD.data.achieve_loser == 4)) && (FLOOD.data.achieve_gemCollect == 4)) && (FLOOD.data.achieve_lifesaver == 4)) && (FLOOD.data.achieve_wipeout == 4)) && (FLOOD.data.achieve_dragonRide == 4)) && (FLOOD.data.achieve_cloudWalker == 4)) && (FLOOD.data.achieve_fireKills == 4)) && (FLOOD.data.achieve_tramps == 4)) && (FLOOD.data.achieve_superKills == 4)) && (FLOOD.data.achieve_waspKills == 4)) && (FLOOD.data.achieve_tortoiseKiller == 4)) && (FLOOD.data.achieve_batKiller == 4)) && (FLOOD.data.achieve_bogKiller == 4)) && (FLOOD.data.achieve_pteraKiller == 4)) && (FLOOD.data.achieve_plantKiller == 4)) && (FLOOD.data.achieve_marathonman == 4)) && (FLOOD.data.achieve_jumper == 4)) && (FLOOD.data.achieve_highscore == 4)) && (FLOOD.data.achieve_monsterSave == 4)) && (FLOOD.data.achieve_skyCol == 4)) && (FLOOD.data.achieve_oilFire == 4)) && (FLOOD.data.achieve_megaMonster == 4)) && (FLOOD.data.achieve_superCombo == 4)) {
FLOOD.data.achieve_getAll = 4;
FLOOD.flush();
}
if (this.achieve_getAll != FLOOD.data.achieve_getAll) {
inGameMessage("ACHIEVEMENT UNLOCKED - GOT THEM ALL");
ach21_mc._x = fromLeft[gotThem];
ach21_mc._y = fromTop[gotThem];
ach21_mc.gotoAndStop(FLOOD.data.achieve_getAll);
gotThem++;
gotAchieve = true;
}
if (gotAchieve == true) {
inGameMessage("----------------------------------------------------------------");
inGameMessage("view the achievements page to see your progress");
var gimmeACH = new Sound(this);
gimmeACH.attachSound("gimmeACH");
gimmeACH.setVolume(60);
if (!_root.Mute) {
gimmeACH.start();
}
}
FLOOD.flush();
onEnterFrame = function () {
};
var addMeScore = ((((((((((((((Multi_Collect + trampUsed) + tortoiseKill) + PlantKilled) + BeeKilled) + bogFlyKilled) + BatKilled) + pteraKill) + RideDragon) + shield_collected) + Air_total) + MonstersFaced) + WipedOut_times) + Elec_times) + Super_Collect);
Bonus = addMeScore * 2;
f_score_txt = (Final_Score + addMeScore) + Bonus;
if (f_score_txt > this.highScore) {
FLOOD.data.highScore = f_score_txt;
FLOOD.flush();
this.highScore = FLOOD.data.highScore;
}
Instance of Symbol 163 MovieClip [ach31] "ach31_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - CLOUD RUNNER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - CLOUD RUNNER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - CLOUD RUNNER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 160 MovieClip [ach1] "ach1_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - IMPULSIVE COLLECTOR";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - IMPULSIVE COLLECTOR";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - IMPULSIVE COLLECTOR";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 157 MovieClip [ach2] "ach2_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - MAXING MULTIPLIER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - MAXING MULTIPLIER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - MAXING MULTIPLIER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 154 MovieClip [ach3] "ach3_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - PURE TRAMP";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - PURE TRAMP";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - PURE TRAMP";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 151 MovieClip [ach4] "ach4_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - SUPERMAN";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - SUPERMAN";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - SUPERMAN";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 148 MovieClip [ach5] "ach23_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - MAN OF STEEL";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - MAN OF STEEL";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - MAN OF STEEL";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 145 MovieClip [ach6] "ach22_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - FLOOD RUNNER PRO";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - FLOOD RUNNER PRO";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - FLOOD RUNNER PRO";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 142 MovieClip [ach7] "ach6_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - TORTOISE TEMPER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - TORTOISE TEMPER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - TORTOISE TEMPER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 139 MovieClip [ach8] "ach11_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - THE BOTANIST";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - THE BOTANIST";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - THE BOTANIST";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 135 MovieClip [ach9] "ach7_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - WASP DESTROYER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - WASP DESTROYER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - WASP DESTROYER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 132 MovieClip [ach10] "ach8_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - LORD OF THE BOG FLIES";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - LORD OF THE BOG FLIES";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - LORD OF THE BOG FLIES";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 129 MovieClip [ach11] "ach9_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - BAT HUNTER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - BAT HUNTER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - BAT HUNTER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 126 MovieClip [ach12] "ach10_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - ANCIENT HISTORY";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - ANCIENT HISTOR";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - ANCIENT HISTOR";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 122 MovieClip [ach13] "ach18_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - PYROMANIAC";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - PYROMANIAC";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - PYROMANIAC";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 119 MovieClip [ach14] "ach26_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - DRAGON RIDER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - DRAGON RIDER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - DRAGON RIDER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 115 MovieClip [ach15] "ach24_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - THE AFTER LIFE";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - THE AFTER LIFE";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - THE AFTER LIFE";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 113 MovieClip [ach16] "ach15_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - WIELD THE SHIELD";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - WIELD THE SHIELD";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - WIELD THE SHIELD";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 110 MovieClip [ach17] "ach27_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - THUNDER STRUCK";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - THUNDER STRUCK";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - THUNDER STRUCK";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 107 MovieClip [ach18] "ach17_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - MARATHON MAN";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - MARATHON MAN";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - MARATHON MAN";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 104 MovieClip [ach19] "ach25_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - FLYING SQUIRREL";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - FLYING SQUIRREL";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - FLYING SQUIRREL";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 101 MovieClip [ach20] "ach20_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - HOPPING BUNNY";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - HOPPING BUNNY";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - HOPPING BUNNY";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 98 MovieClip [ach21] "ach19_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - BUTCHER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - BUTCHER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - BUTCHER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 95 MovieClip [ach22] "ach14_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - LOSER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - LOSER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - LOSER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 92 MovieClip [ach23] "ach12_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - RADICAL RECOVERY";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - RADICAL RECOVERY";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - RADICAL RECOVERY";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 89 MovieClip [ach24] "ach16_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - GREAT BALL OF FIRE";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - GREAT BALL OF FIRE";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - GREAT BALL OF FIRE";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 86 MovieClip [ach26] "ach5_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - FLYING SQUIRREL";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - FLYING SQUIRREL";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - FLYING SQUIRREL";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 83 MovieClip [ach27] "ach13_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - SLAYER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - SLAYER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - SLAYER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 80 MovieClip [ach28] "ach21_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - GOT 'EM ALL";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - GOT 'EM ALL";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - GOT 'EM ALL";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 77 MovieClip [ach25] "ach00_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - LIFE SAVER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - LIFE SAVER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - LIFE SAVER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 74 MovieClip [ach29] "ach29_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - FIRE STARTER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - FIRE STARTER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - FIRE STARTER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 71 MovieClip [ach32] "ach32_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - MEGA SLAYER";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - MEGA SLAYER";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - MEGA SLAYER";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 68 MovieClip [ach30] "ach30_mc" in Frame 20
onClipEvent (load) {
this.useHandCursor = false;
}
on (rollOver) {
if (this._currentframe == 2) {
_parent.rollAch_txt.text = "BRONZE UNLOCKED - DIE HARD NINJA";
} else if (this._currentframe == 3) {
_parent.rollAch_txt.text = "SILVER UNLOCKED - DIE HARD NINJA";
} else if (this._currentframe == 4) {
_parent.rollAch_txt.text = "GOLD UNLOCKED - DIE HARD NINJA";
}
}
on (rollOut) {
_parent.rollAch_txt.text = "";
}
Instance of Symbol 2262 MovieClip in Frame 20
onClipEvent (load) {
gotoAndPlay(random(690));
undefined + 1;
}
Frame 21
stop();
mm_mc.gotoAndStop("none");
var o = {n:[7, 14, 12, 7, 2, 9, 14, 12, 2, 1, 11, 13, 8, 3, 8, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:"7ec729ec21bd838e", score:f_score_txt});
Frame 23
gotoAndStop ("gameOver");
Frame 24
var GameStart = false;
var cloud_walker = 0;
var burnMulti = 3;
var MonstersSlay = 0;
var serpentKill = 0;
var sharkKill = 0;
var OctoKill = 0;
var skyColumn = 0;
var superCombo = 0;
var oilFire = 0;
var Health = 98;
var InPlant = false;
var Shield = false;
var Jumping = false;
var DoubleJump = false;
var Slipping = false;
var Multi_Collect = 0;
var Pause = true;
var CutScene = false;
var Dead = false;
var Group2 = true;
var Group1 = false;
var Group3 = false;
var Special = false;
var canBsaved = false;
var Final_Score = 0;
var maxTime = 40;
var fireKiller = 0;
var distChecker = 500;
var onFire = false;
var Spinning = false;
var FullSpeed = false;
var Slow = false;
var Boost = false;
var SuperBoost = false;
var DragonSpeed = false;
var CanGlide = false;
var tempSpeedUD = 0;
var canWallRun = false;
var is_wallRun = false;
var isGlide = false;
var Gapp = 150;
var deltaX = 0;
var goSpeed = 0.1;
var topSpeed = 12;
var startTime = 30;
var seconds = 0;
var trampUsed = 0;
var tortoiseKill = 0;
var PlantKilled = 0;
var BeeKilled = 0;
var bogFlyKilled = 0;
var BatKilled = 0;
var pteraKill = 0;
var RideDragon = 0;
var Elec_times = 0;
var WipedOut_times = 0;
var shield_collected = 0;
var MonstersFaced = 0;
var Air_total = 0;
var Bonus = 0;
var Super_Collect = 0;
var SuperHero = false;
var scoreMulti = 1;
var airTime = 1;
var showBogfly = false;
var SpeedoDistanceBG = 9999;
var Dragon_fly = false;
var showTramp = false;
var showFire = false;
var showTortoise = false;
var showBat = false;
var showBug = false;
var showPtera = false;
var showFallPlat = false;
var showOil = false;
var showPlant = false;
var showBatWave2 = false;
var showBugWave2 = false;
var onFireTime = 0;
var bogFlyOnFire = 0;
var theKicker = 0;
var maxJumper = 0;
var superKills = 0;
var guardian = 0;
var mouseJump = false;
var attackMonster = [0.5, 0.5, 0.8, 1, 1.5, 2, 2.5, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
var DragonSpeeeeed = [0.2, 0.2, 0.3, 0.4, 0.5, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2, 3, 4, 4, 4, 4];
var attackMonsterMouse = [0.3, 0.3, 0.5, 0.8, 1, 1.4, 1.8, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4];
this.highScore = FLOOD.data.highScore;
this.achieve_maxOutMultiplier = FLOOD.data.achieve_maxOutMultiplier;
this.achieve_superman = FLOOD.data.achieve_superman;
this.achieve_shield = FLOOD.data.achieve_shield;
this.achieve_elec = FLOOD.data.achieve_elec;
this.achieve_kicks = FLOOD.data.achieve_kicks;
this.achieve_onfire = FLOOD.data.achieve_onfire;
this.achieve_airtime = FLOOD.data.achieve_airtime;
this.achieve_angel = FLOOD.data.achieve_angel;
this.achieve_loser = FLOOD.data.achieve_loser;
this.achieve_gemCollect = FLOOD.data.achieve_gemCollect;
this.achieve_lifesaver = FLOOD.data.achieve_lifesaver;
this.achieve_wipeout = FLOOD.data.achieve_wipeout;
this.achieve_dragonRide = FLOOD.data.achieve_dragonRide;
this.achieve_cloudWalker = FLOOD.data.achieve_cloudWalker;
this.achieve_fireKills = FLOOD.data.achieve_fireKills;
this.achieve_tramps = FLOOD.data.achieve_tramps;
this.achieve_superKills = FLOOD.data.achieve_superKills;
this.achieve_waspKills = FLOOD.data.achieve_waspKills;
this.achieve_tortoiseKiller = FLOOD.data.achieve_tortoiseKiller;
this.achieve_batKiller = FLOOD.data.achieve_batKiller;
this.achieve_bogKiller = FLOOD.data.achieve_bogKiller;
this.achieve_pteraKiller = FLOOD.data.achieve_pteraKiller;
this.achieve_plantKiller = FLOOD.data.achieve_plantKiller;
this.achieve_marathonman = FLOOD.data.achieve_marathonman;
this.achieve_jumper = FLOOD.data.achieve_jumper;
this.achieve_highscore = FLOOD.data.achieve_highscore;
this.achieve_monsterSave = FLOOD.data.achieve_monsterSave;
this.achieve_skyCol = FLOOD.data.achieve_skyCol;
this.achieve_oilFire = FLOOD.data.achieve_oilFire;
this.achieve_megaMonster = FLOOD.data.achieve_megaMonster;
this.achieve_superCombo = FLOOD.data.achieve_superCombo;
this.achieve_getAll = FLOOD.data.achieve_getAll;
if (_root.usethemouse) {
_root.gotoAndStop("game_mouse");
} else {
_root.gotoAndStop("game");
}
Instance of Symbol 553 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_elecBig == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "REAL SHOCKER";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Get struck by lightning at least 5 times during the game.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 555 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_multi_1000 == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "SUPER GEM 1000";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Collect 1000 gems in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 557 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_tramp == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THE TRAMP";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Use the trampoline 50 or more times in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 560 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_tortKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "TORTOISE SLAYER";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Defeat 15 spiked tortoises in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 563 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_plantKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THE BOTANIST";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Defeat 10 flesh eating plants in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 566 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_beeKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "WASP WIZARD";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Defeat 15 waspy type creatures in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 569 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_bogKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "LORD OF THE BOG FLIES";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Defeat 5 bog flies in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 572 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_batKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "BAT BOILER";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Defeat 15 bats in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 574 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_pteraKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "PTERA DESTROYER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Defeat 15 Pteradactyls in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 576 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_rider == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "DRAGON RIDER";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Fly the dragon at least once during the game.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 579 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_wipe == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "WIPEOUT MASTER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Recover from at least 10 wipeouts during one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 582 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_airtime == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "BIRDIE";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Get a high total of 5000 air-time points to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 585 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_superman == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "SUPERMAN";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Collect 8 Superman Icons in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 588 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_onfire == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "GREAT BALL OF FIRE";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "You need to be on fire and get at least 2000 'on Fire' points to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 591 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_multi == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MULTIPLIER MASTER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Collect 50 gems as fast as you can to MAX out your multiplier at X50 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 592 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_runner == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MARATHON MAN";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "You need to reach a distance of 10000 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 595 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_slayer == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MONSTER SLAYER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "You must face up against 5 giant monsters in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 601 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_ALL == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "YOU ROCK, DUDE";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "unlock all achievements to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 604 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_pro == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "FLOOD RUNNER PRO";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Get a high score of 1,000,000 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 606 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_loser == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "LOSER";
_parent.stat_txt.text = "VERY EASY";
_parent.note_txt.text = "Die in the game with less than 150 points to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 609 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_shield == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "PARANOID";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Collect 5 shields in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 615 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_kicker == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THE KICKER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Kick at least 25 creatures to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 618 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_maxJump == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "JUMPING MANIA";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "You must jump or double jump at least 500 times in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 621 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_superKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MAN OF STEEL";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Slay 5 creatures while in Superman mode in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 622 MovieClip in Frame 27
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_myAngel == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MY ANGEL";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "achieve Angel Status 20 times to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 553 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_elecBig == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "REAL SHOCKER";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Get struck by lightning at least 5 times during the game.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 555 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_multi_1000 == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "SUPER GEM 1000";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Collect 1000 gems in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 557 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_tramp == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THE TRAMP";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Use the trampoline 50 or more times in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 560 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_tortKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "TORTOISE SLAYER";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Defeat 15 spiked tortoises in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 563 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_plantKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THE BOTANIST";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Defeat 10 flesh eating plants in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 566 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_beeKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "WASP WIZARD";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Defeat 15 waspy type creatures in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 569 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_bogKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "LORD OF THE BOG FLIES";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Defeat 5 bog flies in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 572 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_batKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "BAT BOILER";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Defeat 15 bats in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 574 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_pteraKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "PTERA DESTROYER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Defeat 15 Pteradactyls in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 576 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_rider == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "DRAGON RIDER";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Fly the dragon at least once during the game.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 2382 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_elec == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THUNDER STRUCK";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Get struck by lightning at least once during the game.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 579 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_wipe == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "WIPEOUT MASTER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Recover from at least 10 wipeouts during one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 582 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_airtime == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "BIRDIE";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Get a high total of 5000 air-time points to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 585 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_superman == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "SUPERMAN";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Collect 8 Superman Icons in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 588 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_onfire == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "GREAT BALL OF FIRE";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "You need to be on fire and get at least 2000 'on Fire' points to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 591 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_multi == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MULTIPLIER MASTER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Collect 50 gems as fast as you can to MAX out your multiplier at X50 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 592 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_runner == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MARATHON MAN";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "You need to reach a distance of 10000 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 595 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_slayer == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MONSTER SLAYER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "You must face up against 5 giant monsters in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 598 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_guard == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "GUARDIAN ANGEL";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "Get 3 life savers in a row without using them to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 601 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_ALL == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "YOU ROCK, DUDE";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "unlock all achievements to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 604 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_pro == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "FLOOD RUNNER PRO";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Get a high score of 1,000,000 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 606 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_loser == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "LOSER";
_parent.stat_txt.text = "VERY EASY";
_parent.note_txt.text = "Die in the game with less than 150 points to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 609 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_shield == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "PARANOID";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Collect 5 shields in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 615 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_kicker == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "THE KICKER";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "Kick at least 25 creatures to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 618 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_maxJump == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "JUMPING MANIA";
_parent.stat_txt.text = "MEDIUM";
_parent.note_txt.text = "You must jump or double jump at least 500 times in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 621 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_superKill == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MAN OF STEEL";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "Slay 5 creatures while in Superman mode in one sitting to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 622 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_myAngel == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MY ANGEL";
_parent.stat_txt.text = "EASY";
_parent.note_txt.text = "achieve Angel Status 20 times to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 627 MovieClip in Frame 29
onClipEvent (load) {
this.useHandCursor = false;
if (_root.FLOOD.data.achieve_runner == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
on (rollOver) {
_parent.name_txt.text = "MARATHON MAN";
_parent.stat_txt.text = "HARD";
_parent.note_txt.text = "You need to reach a distance of 10000 to unlock this achievement.";
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Symbol 39 MovieClip [valueMC3] Frame 30
stop();
removeMovieClip(this);
Symbol 42 MovieClip [valueMC2] Frame 30
stop();
removeMovieClip(this);
Symbol 45 MovieClip [valueMC] Frame 30
stop();
removeMovieClip(this);
Symbol 52 MovieClip [iceSlide_anim] Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 59 MovieClip [oil_anim] Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 61 MovieClip [achieveHolder] Frame 1
play();
var gimmeACH2 = new Sound(this);
gimmeACH2.attachSound("gimmeACH");
gimmeACH2.setVolume(60);
if (!_root.Mute) {
gimmeACH2.start();
}
Symbol 61 MovieClip [achieveHolder] Frame 70
stop();
removeMovieClip(this);
Symbol 68 MovieClip [ach30] Frame 1
stop();
Symbol 71 MovieClip [ach32] Frame 1
stop();
Symbol 74 MovieClip [ach29] Frame 1
stop();
Symbol 77 MovieClip [ach25] Frame 1
stop();
Symbol 80 MovieClip [ach28] Frame 1
stop();
Symbol 83 MovieClip [ach27] Frame 1
stop();
Symbol 86 MovieClip [ach26] Frame 1
stop();
Symbol 89 MovieClip [ach24] Frame 1
stop();
Symbol 92 MovieClip [ach23] Frame 1
stop();
Symbol 95 MovieClip [ach22] Frame 1
stop();
Symbol 98 MovieClip [ach21] Frame 1
stop();
Symbol 101 MovieClip [ach20] Frame 1
stop();
Symbol 104 MovieClip [ach19] Frame 1
stop();
Symbol 107 MovieClip [ach18] Frame 1
stop();
Symbol 110 MovieClip [ach17] Frame 1
stop();
Symbol 113 MovieClip [ach16] Frame 1
stop();
Symbol 115 MovieClip [ach15] Frame 1
stop();
Symbol 119 MovieClip [ach14] Frame 1
stop();
Symbol 122 MovieClip [ach13] Frame 1
stop();
Symbol 126 MovieClip [ach12] Frame 1
stop();
Symbol 129 MovieClip [ach11] Frame 1
stop();
Symbol 132 MovieClip [ach10] Frame 1
stop();
Symbol 135 MovieClip [ach9] Frame 1
stop();
Symbol 139 MovieClip [ach8] Frame 1
stop();
Symbol 142 MovieClip [ach7] Frame 1
stop();
Symbol 145 MovieClip [ach6] Frame 1
stop();
Symbol 148 MovieClip [ach5] Frame 1
stop();
Symbol 151 MovieClip [ach4] Frame 1
stop();
Symbol 154 MovieClip [ach3] Frame 1
stop();
Symbol 157 MovieClip [ach2] Frame 1
stop();
Symbol 160 MovieClip [ach1] Frame 1
stop();
Symbol 163 MovieClip [ach31] Frame 1
stop();
Symbol 193 MovieClip [tramp] Frame 1
stop();
if (!_root.showTramp) {
gotoAndStop ("none");
}
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc)) {
if (((((((!_root.Slow) && (_parent._parent._parent.hero_mc._currentframe >= 3)) && (_parent._parent._parent.hero_mc._currentframe <= 8)) && (!_root.DragonSpeed)) && (!_root.Pause)) && (!_root.CutScene)) && (!_root.Special)) {
_root.Boost = true;
_parent._parent._parent.hero_mc.gotoAndStop("tramp");
play();
}
}
};
Symbol 193 MovieClip [tramp] Frame 2
onEnterFrame = function () {
};
var Spring = new Sound(this);
Spring.attachSound("Spring");
if (_root.Mute) {
Spring.setVolume(0);
} else {
Spring.setVolume(50);
Spring.start();
}
_root.trampUsed++;
_parent._parent._parent.hero_mc.gotoAndStop("tramp");
if ((_root.FLOOD.data.achieve_tramps == 1) && (_root.trampUsed == 1)) {
_root.FLOOD.data.achieve_tramps = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach3", "ach3" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_tramps);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_tramps == 2) && (_root.trampUsed == 10)) {
_root.FLOOD.data.achieve_tramps = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach3", "ach3" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_tramps);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_tramps == 3) && (_root.trampUsed == 20)) {
_root.FLOOD.data.achieve_tramps = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach3", "ach3" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_tramps);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
play();
Symbol 193 MovieClip [tramp] Frame 15
gotoAndStop (1);
Symbol 193 MovieClip [tramp] Frame 16
onEnterFrame = function () {
};
Symbol 207 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 2
var slowMoPunch = new Sound(this);
slowMoPunch.attachSound("slowMoPunch");
slowMoPunch.setVolume(100);
if (!_root.Mute) {
slowMoPunch.start();
}
Symbol 244 MovieClip Frame 86
_parent._parent.gotoAndPlay("fin");
Symbol 244 MovieClip Frame 97
stop();
Symbol 254 MovieClip Frame 2
var slowMoPunch = new Sound(this);
slowMoPunch.attachSound("slowMoPunch");
slowMoPunch.setVolume(100);
if (!_root.Mute) {
slowMoPunch.start();
}
Symbol 254 MovieClip Frame 86
_parent._parent.gotoAndPlay("fin");
Symbol 254 MovieClip Frame 97
stop();
Symbol 265 MovieClip Frame 2
var slowMoPunch = new Sound(this);
slowMoPunch.attachSound("slowMoPunch");
slowMoPunch.setVolume(100);
if (!_root.Mute) {
slowMoPunch.start();
}
Symbol 265 MovieClip Frame 86
_parent._parent.gotoAndPlay("fin");
Symbol 265 MovieClip Frame 97
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 270 MovieClip [Cut_Scene_1] Frame 10
bg_mc.gotoAndStop(random(12) + 1);
effect_mc.gotoAndStop(random(8) + 1);
if (_root.all_mc.saver_mc.myEnemy == "dragon") {
heroAtt_mc.gotoAndStop(1);
} else if (_root.all_mc.saver_mc.myEnemy == "shark") {
heroAtt_mc.gotoAndStop(2);
} else if (_root.all_mc.saver_mc.myEnemy == "octo") {
heroAtt_mc.gotoAndStop(3);
}
var slowMoKill = new Sound(this);
slowMoKill.attachSound("slowMoKill");
slowMoKill.setVolume(100);
if (!_root.Mute) {
slowMoKill.start();
}
Symbol 270 MovieClip [Cut_Scene_1] Frame 30
stop();
Symbol 270 MovieClip [Cut_Scene_1] Frame 42
_root.Pause = false;
_root.CutScene = false;
stop();
unloadMovie (this);
Symbol 2401 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 2402 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 2403 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 2404 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 2405 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 2406 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.2 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2407 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2408 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2409 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2410 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 2411 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
options.clip = mochi.as2.MochiServices.clip;
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 2412 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 285 MovieClip Frame 1
_root.stop();
Symbol 285 MovieClip Frame 165
_root.gotoAndPlay("goOn");
Symbol 295 Button
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
Symbol 301 Button
on (release) {
getURL ("http://www.benrad.co.za", "_blank");
}
Symbol 313 Button
on (rollOver) {
gotoAndStop (2);
}
Symbol 314 Button
on (rollOver) {
gotoAndStop (3);
}
Symbol 315 Button
on (rollOver) {
gotoAndStop (4);
}
Symbol 316 Button
on (release) {
if (_root.FLOOD.data.controls_use == true) {
if (_root.FLOOD.data.controls_mouse == true) {
_root.gotoAndStop("game_mouse");
} else {
_root.gotoAndStop("game");
}
} else {
_parent.gotoAndStop("choose");
gotoAndStop ("none");
}
}
on (keyPress "<Right>") {
if (_root.FLOOD.data.controls_use == true) {
if (_root.FLOOD.data.controls_mouse == true) {
_root.gotoAndStop("game_mouse");
} else {
_root.gotoAndStop("game");
}
} else if (_root.FLOOD.data.controls_use == false) {
_parent.gotoAndStop("choose");
gotoAndStop ("none");
}
}
on (keyPress "<Enter>") {
if (_root.FLOOD.data.controls_use == true) {
if (_root.FLOOD.data.controls_mouse == true) {
_root.gotoAndStop("game_mouse");
} else {
_root.gotoAndStop("game");
}
} else if (_root.FLOOD.data.controls_use == false) {
_parent.gotoAndStop("choose");
gotoAndStop ("none");
}
}
Symbol 317 Button
on (rollOver) {
gotoAndStop (6);
}
Symbol 318 Button
on (rollOver) {
gotoAndStop (7);
}
Symbol 319 Button
on (rollOver) {
gotoAndStop (5);
}
Symbol 320 Button
on (keyPress "<Down>") {
nextFrame();
}
on (keyPress "<Up>") {
gotoAndStop (7);
}
Symbol 322 Button
on (release) {
_parent.gotoAndStop("instruct");
gotoAndStop ("none");
}
on (keyPress "<Right>") {
_parent.gotoAndStop("instruct");
gotoAndStop ("none");
}
on (keyPress "<Enter>") {
_parent.gotoAndStop("instruct");
gotoAndStop ("none");
}
Symbol 323 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 324 Button
on (keyPress "<Down>") {
nextFrame();
}
on (keyPress "<Up>") {
prevFrame();
}
Symbol 326 Button
on (release) {
_parent.gotoAndStop("options");
gotoAndStop ("none");
}
on (keyPress "<Right>") {
_parent.gotoAndStop("options");
gotoAndStop ("none");
}
on (keyPress "<Enter>") {
_parent.gotoAndStop("options");
gotoAndStop ("none");
}
Symbol 328 Button
on (release) {
_parent.gotoAndStop("achieve");
gotoAndStop ("none");
}
on (keyPress "<Right>") {
_parent.gotoAndStop("achieve");
gotoAndStop ("none");
}
on (keyPress "<Enter>") {
_parent.gotoAndStop("achieve");
gotoAndStop ("none");
}
Symbol 330 Button
on (release) {
_parent.gotoAndStop("leader");
gotoAndStop ("none");
}
on (keyPress "<Right>") {
_parent.gotoAndStop("leader");
gotoAndStop ("none");
}
on (keyPress "<Enter>") {
_parent.gotoAndStop("leader");
gotoAndStop ("none");
}
Symbol 332 Button
on (release) {
getURL ("http://clockworkmonster.com/307-The-Flood-Runner-2.html?FloodRunner3_TFR2", "_blank");
}
on (keyPress "<Enter>") {
getURL ("http://clockworkmonster.com/307-The-Flood-Runner-2.html?FloodRunner3_TFR2", "_blank");
}
Symbol 334 Button
on (release) {
getURL ("http://clockworkmonster.com/?p=free-games-for-your-site", "_blank");
}
Symbol 335 Button
on (keyPress "<Down>") {
gotoAndStop (1);
}
on (keyPress "<Up>") {
prevFrame();
}
Symbol 336 MovieClip Frame 1
stop();
_parent.menu_choose = "game";
Symbol 336 MovieClip Frame 2
stop();
_parent.menu_choose = "instructions";
Symbol 336 MovieClip Frame 3
stop();
_parent.menu_choose = "options";
Symbol 336 MovieClip Frame 4
stop();
_parent.menu_choose = "achieve";
Symbol 336 MovieClip Frame 5
stop();
_parent.menu_choose = "leader";
Symbol 336 MovieClip Frame 6
stop();
_parent.menu_choose = "high";
Symbol 336 MovieClip Frame 7
stop();
_parent.menu_choose = "host";
Symbol 351 Button
on (release) {
gotoAndStop ("menu");
}
on (keyPress "<Left>") {
gotoAndStop ("menu");
}
Symbol 356 Button
on (release) {
nextFrame();
}
on (keyPress "<Right>") {
nextFrame();
}
Symbol 360 Button
on (release) {
prevFrame();
}
on (keyPress "<Left>") {
prevFrame();
}
Symbol 375 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 390 Button
on (release) {
prevFrame();
}
on (keyPress "<Left>") {
prevFrame();
}
Symbol 484 Button
on (release) {
if (_root.FLOOD.data.controls_use == true) {
if (_root.FLOOD.data.controls_mouse == true) {
_root.gotoAndStop("game_mouse");
} else {
_root.gotoAndStop("game");
}
} else {
gotoAndStop ("choose");
}
}
on (keyPress "<Right>") {
if (_root.FLOOD.data.controls_use == true) {
if (_root.FLOOD.data.controls_mouse == true) {
_root.gotoAndStop("game_mouse");
} else {
_root.gotoAndStop("game");
}
} else {
gotoAndStop ("choose");
}
}
Symbol 502 Button
on (release) {
_root.FLOOD.data.highScore = 0;
_root.FLOOD.data.achieve_maxOutMultiplier = 1;
_root.FLOOD.data.achieve_superman = 1;
_root.FLOOD.data.achieve_shield = 1;
_root.FLOOD.data.achieve_elec = 1;
_root.FLOOD.data.achieve_kicks = 1;
_root.FLOOD.data.achieve_onfire = 1;
_root.FLOOD.data.achieve_airtime = 1;
_root.FLOOD.data.achieve_angel = 1;
_root.FLOOD.data.achieve_loser = 1;
_root.FLOOD.data.achieve_gemCollect = 1;
_root.FLOOD.data.achieve_lifesaver = 1;
_root.FLOOD.data.achieve_wipeout = 1;
_root.FLOOD.data.achieve_dragonRide = 1;
_root.FLOOD.data.achieve_cloudWalker = 1;
_root.FLOOD.data.achieve_fireKills = 1;
_root.FLOOD.data.achieve_tramps = 1;
_root.FLOOD.data.achieve_superKills = 1;
_root.FLOOD.data.achieve_waspKills = 1;
_root.FLOOD.data.achieve_tortoiseKiller = 1;
_root.FLOOD.data.achieve_batKiller = 1;
_root.FLOOD.data.achieve_bogKiller = 1;
_root.FLOOD.data.achieve_pteraKiller = 1;
_root.FLOOD.data.achieve_plantKiller = 1;
_root.FLOOD.data.achieve_marathonman = 1;
_root.FLOOD.data.achieve_jumper = 1;
_root.FLOOD.data.achieve_highscore = 1;
_root.FLOOD.data.achieve_monsterSave = 1;
_root.FLOOD.data.achieve_skyCol = 1;
_root.FLOOD.data.achieve_oilFire = 1;
_root.FLOOD.data.achieve_megaMonster = 1;
_root.FLOOD.data.achieve_superCombo = 1;
_root.FLOOD.data.achieve_getAll = 1;
_root.FLOOD.flush();
_root.highScore = _root.FLOOD.data.highScore;
_root.achieve_maxOutMultiplier = _root.FLOOD.data.achieve_maxOutMultiplier;
_root.achieve_superman = _root.FLOOD.data.achieve_superman;
_root.achieve_shield = _root.FLOOD.data.achieve_shield;
_root.achieve_elec = _root.FLOOD.data.achieve_elec;
_root.achieve_kicks = _root.FLOOD.data.achieve_kicks;
_root.achieve_onfire = _root.FLOOD.data.achieve_onfire;
_root.achieve_airtime = _root.FLOOD.data.achieve_airtime;
_root.achieve_angel = _root.FLOOD.data.achieve_angel;
_root.achieve_loser = _root.FLOOD.data.achieve_loser;
_root.achieve_gemCollect = _root.FLOOD.data.achieve_gemCollect;
_root.achieve_lifesaver = _root.FLOOD.data.achieve_lifesaver;
_root.achieve_wipeout = _root.FLOOD.data.achieve_wipeout;
_root.achieve_dragonRide = _root.FLOOD.data.achieve_dragonRide;
_root.achieve_cloudWalker = _root.FLOOD.data.achieve_cloudWalker;
_root.achieve_fireKills = _root.FLOOD.data.achieve_fireKills;
_root.achieve_tramps = _root.FLOOD.data.achieve_tramps;
_root.achieve_superKills = _root.FLOOD.data.achieve_superKills;
_root.achieve_waspKills = _root.FLOOD.data.achieve_waspKills;
_root.achieve_tortoiseKiller = _root.FLOOD.data.achieve_tortoiseKiller;
_root.achieve_batKiller = _root.FLOOD.data.achieve_batKiller;
_root.achieve_bogKiller = _root.FLOOD.data.achieve_bogKiller;
_root.achieve_pteraKiller = _root.FLOOD.data.achieve_pteraKiller;
_root.achieve_plantKiller = _root.FLOOD.data.achieve_plantKiller;
_root.achieve_marathonman = _root.FLOOD.data.achieve_marathonman;
_root.achieve_jumper = _root.FLOOD.data.achieve_jumper;
_root.achieve_highscore = (_root.FLOOD.data.achieve_highscore = 1);
_root.achieve_monsterSave = (_root.FLOOD.data.achieve_monsterSave = 1);
_root.achieve_skyCol = _root.FLOOD.data.achieve_skyCol;
_root.achieve_oilFire = _root.FLOOD.data.achieve_oilFire;
_root.achieve_megaMonster = _root.FLOOD.data.achieve_megaMonster;
_root.achieve_superCombo = _root.FLOOD.data.achieve_superCombo;
_root.achieve_getAll = _root.FLOOD.data.achieve_getAll;
gotoAndStop (1);
}
Symbol 506 Button
on (release) {
gotoAndStop (1);
}
Symbol 507 MovieClip Frame 1
stop();
Symbol 512 Button
on (release) {
gotoAndStop (3);
}
Symbol 515 Button
on (release) {
gotoAndStop (2);
}
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 2
_root.showCuts = true;
Symbol 518 MovieClip Frame 3
_root.showCuts = false;
Symbol 519 MovieClip Frame 1
stop();
Instance of Symbol 518 MovieClip in Symbol 519 MovieClip Frame 2
onClipEvent (load) {
if (_root.showCuts) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Symbol 523 Button
on (release) {
gotoAndStop (3);
}
Symbol 525 Button
on (release) {
gotoAndStop (2);
}
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 2
_root.showBG = true;
_quality = "HIGH";
Symbol 527 MovieClip Frame 3
_root.showBG = false;
_quality = "MEDIUM";
Symbol 528 MovieClip Frame 1
stop();
Instance of Symbol 527 MovieClip in Symbol 528 MovieClip Frame 2
onClipEvent (load) {
if (_root.showBG) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Symbol 532 Button
on (release) {
_root.FLOOD.data.controls_mouse = false;
_root.FLOOD.flush();
_root.controls_mouse = _root.FLOOD.data.controls_mouse;
_root.usethemouse = _root.controls_mouse;
gotoAndStop (3);
}
Symbol 534 Button
on (release) {
_root.FLOOD.data.controls_mouse = true;
_root.FLOOD.flush();
_root.controls_mouse = _root.FLOOD.data.controls_mouse;
_root.usethemouse = _root.controls_mouse;
gotoAndStop (2);
}
Symbol 536 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 1
stop();
Instance of Symbol 536 MovieClip in Symbol 537 MovieClip Frame 2
onClipEvent (load) {
if (_root.FLOOD.data.controls_mouse == true) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Symbol 541 Button
on (release) {
if (_root.sound_mc._currentframe == 1) {
_root.sound_mc.gotoAndPlay("mute");
gotoAndStop (3);
}
}
Symbol 543 Button
on (release) {
if (_root.sound_mc._currentframe == 10) {
_root.sound_mc.gotoAndPlay("unmute");
gotoAndStop (2);
}
}
Symbol 545 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 1
stop();
Instance of Symbol 545 MovieClip in Symbol 546 MovieClip Frame 2
onClipEvent (load) {
if (!_root.Mute) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Symbol 553 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 1
stop();
Symbol 557 MovieClip Frame 1
stop();
Symbol 560 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 576 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 1
stop();
Symbol 643 Button
on (release) {
_root.FLOOD.data.controls_mouse = false;
_root.FLOOD.flush();
_root.controls_mouse = _root.FLOOD.data.controls_mouse;
_root.usethemouse = _root.controls_mouse;
_root.ControlsChosen = true;
_root.FLOOD.data.controls_use = _root.ControlsChosen;
_root.FLOOD.flush();
_root.gotoAndStop("game");
}
Symbol 646 Button
on (release) {
_root.FLOOD.data.controls_mouse = true;
_root.FLOOD.flush();
_root.controls_mouse = _root.FLOOD.data.controls_mouse;
_root.usethemouse = _root.controls_mouse;
_root.ControlsChosen = true;
_root.FLOOD.data.controls_use = _root.ControlsChosen;
_root.FLOOD.flush();
_root.gotoAndStop("game_mouse");
}
Symbol 652 MovieClip Frame 1
menu_choose = "";
Symbol 652 MovieClip Frame 20
stop();
myScore_txt = _root.highScore;
if (menu_choose == "instructions") {
men_mc.gotoAndStop(2);
} else if (menu_choose == "options") {
men_mc.gotoAndStop(3);
} else if (menu_choose == "achieve") {
men_mc.gotoAndStop(4);
} else if (menu_choose == "high") {
men_mc.gotoAndStop(6);
} else if (menu_choose == "host") {
men_mc.gotoAndStop(7);
} else if (menu_choose == "leader") {
men_mc.gotoAndStop(5);
} else {
men_mc.gotoAndStop(1);
}
Symbol 652 MovieClip Frame 21
stop();
Symbol 652 MovieClip Frame 28
stop();
Instance of Symbol 507 MovieClip in Symbol 652 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 519 MovieClip in Symbol 652 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 528 MovieClip in Symbol 652 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 537 MovieClip in Symbol 652 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 546 MovieClip in Symbol 652 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
}
Symbol 652 MovieClip Frame 29
stop();
Instance of Symbol 553 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_elec);
}
on (rollOver) {
_parent.name_txt.text = "THUNDER STRUCK";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get struck by lightning once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get struck by lightning 3 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get struck by lightning 5 time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "Thunder struck.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 555 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
}
on (rollOver) {
_parent.name_txt.text = "IMPULSIVE COLLECTOR";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 75 gems to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 150 gems to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 250 gems to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You have collected over 250 gems in one sitting.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 557 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_tramps);
}
on (rollOver) {
_parent.name_txt.text = "PURE TRAMP";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Use 1 trampoline to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Use 10 trampolines to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Use 20 trampolines to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You used 20 trampolines in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 560 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_tortoiseKiller);
}
on (rollOver) {
_parent.name_txt.text = "TORTOISE SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Tortoises to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Tortoises to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Tortoises to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You defeated 10 tortoises.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 563 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
}
on (rollOver) {
_parent.name_txt.text = "THE BOTANIST";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Plant monsters to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Plant monsters to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Plant monsters to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 plant monsters.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 566 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
}
on (rollOver) {
_parent.name_txt.text = "WASP DESTROYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 wasps to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 wasps to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 wasps to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 wasps.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 569 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_bogKiller);
}
on (rollOver) {
_parent.name_txt.text = "LORD OF THE BOG FLIES";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 bog flies to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 bog flies to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 12 bog flies to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 12 bog flies.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 572 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
}
on (rollOver) {
_parent.name_txt.text = "BAT HUNTER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 bats to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 bats to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 bats to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 bats.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 574 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_pteraKiller);
}
on (rollOver) {
_parent.name_txt.text = "ANCIENT HISTORY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Pteradactyls to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Pteradactyls to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Pteradactyls to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 Pteradactyls.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 576 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
}
on (rollOver) {
_parent.name_txt.text = "DRAGON RIDER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Ride the dragon once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Ride the dragon twice to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Ride the dragon 3 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a true Dragon Rider.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 579 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
}
on (rollOver) {
_parent.name_txt.text = "RADICAL RECOVERY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Save yourself from a wipeout once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Save yourself from a wipeout 5 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Save yourself from a wipeout 15 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You recovered 15 times.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 582 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_airtime);
}
on (rollOver) {
_parent.name_txt.text = "FLYING SQUIRREL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Stay in the sky for a couple seconds to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Stay in the sky for a 500 units of ingame time to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Stay in the sky for a 1000 units of ingame time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "A skilled sky walker.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 585 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superman);
}
on (rollOver) {
_parent.name_txt.text = "SUPERMAN";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 1 Superman to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 3 Superman to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 5 Superman to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You collected 5 Superman icons in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 588 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_onfire);
}
on (rollOver) {
_parent.name_txt.text = "GREAT BALL OF FIRE";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Catch on fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Be on fire for 700 units of ingame time to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Be on fire for 1800 units of ingame time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Fire Thrower.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 591 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_maxOutMultiplier);
}
on (rollOver) {
_parent.name_txt.text = "MAXING MULTIPLIER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect a X10 multiplier to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect a X30 multiplie to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect a X50 multiplie to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You maxed out the multiplier at X50.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 592 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_marathonman);
}
on (rollOver) {
_parent.name_txt.text = "MARATHON MAN";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Run for 500m to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Run for 1500m to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Run for 4500m to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Done it! Over 4500m";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 595 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
}
on (rollOver) {
_parent.name_txt.text = "SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "You must defeat 1 Giant Monster to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "You must defeat 3 Giant Monster to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "You must defeat 5 Giant Monster to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a Giant Monster Tamer.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 598 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_skyCol);
}
on (rollOver) {
_parent.name_txt.text = "FLYING SQUIRREL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Use 1 air column to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Use 5 air column to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Use 10 air column to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a Flying Squirrel. You used 10 or more air columns.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 601 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_getAll);
}
on (rollOver) {
_parent.name_txt.text = "GET 'EM ALL!";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get all achievements to silver to unlock silver.";
}
if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get all achievements to gold to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are quite persistant, and a master of your own destiny.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 604 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_highscore);
}
on (rollOver) {
_parent.name_txt.text = "FLOOD RUNNER PRO";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get a score of 100,000 to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get a score of 1,000,000 to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get a score of 5,000,000 to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got over 5,000,000 points.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 606 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_loser);
}
on (rollOver) {
_parent.name_txt.text = "LOSER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Die with less than 10,000 to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Die with less than 5,000 to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Die with less than 150 to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "That what happens when you dont concentrate.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 609 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_shield);
}
on (rollOver) {
_parent.name_txt.text = "WIELD THE SHIELD";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 1 shield to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 3 shields to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 5 shields to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got 5 shields in one sitting.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 612 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
}
on (rollOver) {
_parent.name_txt.text = "PYROMANIAC";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Burn an enemy with fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Burn 7 enemies with fire to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Burn 15 enemies with fire to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You burned 15 enemies with fire.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 615 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_kicks);
}
on (rollOver) {
_parent.name_txt.text = "BUTCHER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Kick 1 enemy to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Kick 10 enemies to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Kick 30 enemies to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Are a serial killer.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 618 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_jumper);
}
on (rollOver) {
_parent.name_txt.text = "HOPPING BUNNY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Jump 100 times to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Jump 250 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Jump 500 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Jumper you.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 621 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superKills);
}
on (rollOver) {
_parent.name_txt.text = "MAN OF STEEL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Slay 1 enemy while in Superman mode to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Slay 5 enemy while in Superman mode to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Slay 10 enemy while in Superman mode to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Slayed 10 enemies while in Superman mode in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 622 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_angel);
}
on (rollOver) {
_parent.name_txt.text = "THE AFTER LIFE";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Die once unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Die 5 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Die 10 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You must love this game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 625 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
}
on (rollOver) {
_parent.name_txt.text = "LIFE SAVERS";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get 1 life saver during the game to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get 3 life saver during the game to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get 5 life saver during the game to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Got at least 5 life savers in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 627 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
}
on (rollOver) {
_parent.name_txt.text = "CLOUD RUNNER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Run on 1 cloud to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Run on 10 cloud to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Run on 30 cloud to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "The cloud runner.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 630 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
}
on (rollOver) {
_parent.name_txt.text = "FIRE STARTER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Set 1 oil patch on fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Set 5 oil patches on fir to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Set 10 oil patches on fire to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a true fire starter. ";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 633 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
}
on (rollOver) {
_parent.name_txt.text = "MEGA MONSTER SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "A true Combat Master. You Killed all 3 Giant Water Monsters and at least 1 plant to get this achievement.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 636 MovieClip in Symbol 652 MovieClip Frame 29
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
}
on (rollOver) {
_parent.name_txt.text = "SUPER COMBO";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get a 2 Kill combo without touching the ground to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get a 3 Kill combo without touching the ground to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get a 4 Kill combo without touching the ground to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got a Super Combo of X4 or more.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Symbol 652 MovieClip Frame 30
stop();
Symbol 652 MovieClip Frame 31
var o = {n:[7, 14, 12, 7, 2, 9, 14, 12, 2, 1, 11, 13, 8, 3, 8, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:"7ec729ec21bd838e"});
Symbol 653 Button
on (release) {
gotoAndPlay ("mute");
}
Symbol 658 MovieClip Frame 1
stop();
Symbol 659 Button
on (release) {
gotoAndPlay ("unmute");
}
Symbol 660 MovieClip Frame 1
stop();
if (_root.Mute) {
gotoAndStop (10);
}
onEnterFrame = function () {
if (Key.isDown(77)) {
if (this._currentframe == 1) {
gotoAndPlay ("mute");
}
}
if (_root.GameStart == true) {
btn._x = 670.3;
} else {
btn._x = 800;
}
};
Instance of Symbol 658 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.GameStart == true) {
this._visible = true;
} else {
this._visible = false;
}
this.gotoAndStop(_parent._currentframe);
}
Symbol 660 MovieClip Frame 2
_root.Mute = true;
Symbol 660 MovieClip Frame 10
stop();
onEnterFrame = function () {
if (Key.isDown(77)) {
if (this._currentframe == 10) {
gotoAndPlay ("unmute");
}
}
if (_root.GameStart == true) {
btn._x = 670.3;
} else {
btn._x = 800;
}
};
Symbol 660 MovieClip Frame 19
_root.Mute = false;
gotoAndStop (1);
Symbol 671 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.5);
if (this._x <= -800) {
this._x = random(1000) + 800;
}
}
};
Symbol 714 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.9);
if (this._x <= -800) {
this._x = random(1000) + 800;
}
}
};
Symbol 725 MovieClip Frame 1
if (!_root.showFire) {
gotoAndStop ("none");
}
onEnterFrame = function () {
if (((!_root.Slow) && (!_root.DragonSpeed)) && (!_root.Pause)) {
if (water_mc.hitTest(_parent._parent._parent.hero_mc)) {
_root.onFire = false;
_parent._parent._parent.hero_mc.deltaY = _parent._parent._parent.hero_mc.deltaY - 2;
}
}
if (((_root.Pause || (_root.Dead)) || (_root.Slow)) || (_root.DragonSpeed)) {
this.stop();
} else {
this.play();
}
};
Symbol 725 MovieClip Frame 10
gotoAndPlay (1);
Symbol 725 MovieClip Frame 11
onEnterFrame = function () {
};
Symbol 732 MovieClip Frame 1
this._alpha = 0;
Symbol 733 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 735 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 740 MovieClip Frame 16
stop();
Symbol 745 MovieClip Frame 12
stop();
Symbol 749 MovieClip Frame 7
stop();
Symbol 751 MovieClip Frame 1
function checktort() {
if ((_root.FLOOD.data.achieve_tortoiseKiller == 1) && (_root.tortoiseKill == 2)) {
_root.FLOOD.data.achieve_tortoiseKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach7", "ach7" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_tortoiseKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_tortoiseKiller == 2) && (_root.tortoiseKill == 5)) {
_root.FLOOD.data.achieve_tortoiseKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach7", "ach7" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_tortoiseKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_tortoiseKiller == 3) && (_root.tortoiseKill == 10)) {
_root.FLOOD.data.achieve_tortoiseKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach7", "ach7" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_tortoiseKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
}
stop();
onEnterFrame = function () {
if (!_root.Pause) {
if (!_root.showTortoise) {
gotoAndStop ("none");
}
if (this._currentframe == 1) {
if ((((((hit_mc.hitTest(_parent._parent._parent.hero_mc) && (!_root.Slow)) && (!_root.onFire)) && (!_root.DragonSpeed)) && (!_root.Shield)) && (!_root.Special)) && (!_root.SuperHero)) {
_root.Boost = false;
if (_root.FLOOD.data.controls_mouse == false) {
if ((((!Key.isDown(38)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (_root.Health != 0) {
_parent._parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
} else {
_parent._parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
}
gotoAndStop ("attack");
} else if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
_parent._parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("die");
}
} else if (_root.FLOOD.data.controls_mouse == true) {
if (!_root.mouseJump) {
if (_root.Health != 0) {
_parent._parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
} else {
_parent._parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
}
gotoAndStop ("attack");
} else if (_root.mouseJump) {
_parent._parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("die");
}
}
}
if ((hit_mc.hitTest(_parent._parent._parent.hero_mc) && (_root.Shield == true)) && (!_root.SuperHero)) {
_parent._parent._parent.shield_mc.gotoAndStop("pop");
_root.all_mc.hero_sound_mc.hero_feet.setVolume(0);
_parent._parent._parent.hero_mc.gotoAndStop("jump");
gotoAndStop ("miss");
}
if (hit_mc.hitTest(_parent._parent._parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
gotoAndStop ("superdie");
}
if (hit_mc.hitTest(_parent._parent._parent.hero_mc) && (_root.onFire)) {
gotoAndStop ("burn_die");
} else if (this.hitTest(_parent._parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
gotoAndStop ("burn_die");
}
}
}
};
Symbol 751 MovieClip Frame 2
stop();
tte = Math.floor((_root.score_mc.theScore / 200) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " tortoise";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
Symbol 751 MovieClip Frame 3
stop();
_root.all_mc.hero_sound_mc.hero_feet.setVolume(0);
Symbol 751 MovieClip Frame 4
onEnterFrame = function () {
};
stop();
_root.tortoiseKill++;
checktort();
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " tortoise";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 751 MovieClip Frame 5
onEnterFrame = function () {
};
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
stop();
_root.tortoiseKill++;
checktort();
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " tortoise";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
if ((_root.FLOOD.data.achieve_superKills == 1) && (_root.superKills == 1)) {
_root.FLOOD.data.achieve_superKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 2) && (_root.superKills == 5)) {
_root.FLOOD.data.achieve_superKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 3) && (_root.superKills == 10)) {
_root.FLOOD.data.achieve_superKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 751 MovieClip Frame 6
onEnterFrame = function () {
};
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(60);
Ignite.start();
}
_root.tortoiseKill++;
_root.fireKiller++;
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " tortoise";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 10)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 20)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checktort();
Symbol 751 MovieClip Frame 7
onEnterFrame = function () {
};
Symbol 755 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 757 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 775 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 1
stop();
key1 = random(4) + 1;
key2 = random(4) + 1;
if (key2 == key1) {
if (key2 == 4) {
key2 = 1;
} else if (key2 == 1) {
key2 = 4;
} else if (key2 == 2) {
key2 = 3;
} else if (key2 == 3) {
key2 = 2;
}
}
key3 = random(4) + 1;
if (key3 == key2) {
if (key3 == 4) {
key3 = 1;
} else if (key3 == 1) {
key3 = 4;
} else if (key3 == 2) {
key3 = 3;
} else if (key3 == 3) {
key3 = 2;
}
}
key4 = random(4) + 1;
if (key4 == key3) {
if (key4 == 4) {
key4 = 1;
} else if (key4 == 1) {
key4 = 4;
} else if (key4 == 2) {
key4 = 3;
} else if (key4 == 3) {
key4 = 2;
}
}
key1_mc.gotoAndStop(key1);
key2_mc.gotoAndStop(key2);
key3_mc.gotoAndStop(key3);
key4_mc.gotoAndStop(key4);
onEnterFrame = function () {
if (this._currentframe == 1) {
if (Key.isDown(38)) {
if (key1_mc._currentframe == 1) {
gotoAndStop (2);
}
} else if (Key.isDown(39)) {
if (key1_mc._currentframe == 2) {
gotoAndStop (2);
}
} else if (Key.isDown(40)) {
if (key1_mc._currentframe == 3) {
gotoAndStop (2);
}
} else if (Key.isDown(37)) {
if (key1_mc._currentframe == 4) {
gotoAndStop (2);
}
}
}
};
Symbol 780 MovieClip Frame 2
stop();
_parent.gotoAndPlay("hurt1");
onEnterFrame = function () {
if (this._currentframe == 2) {
if (Key.isDown(38)) {
if (key2_mc._currentframe == 1) {
gotoAndStop (3);
}
} else if (Key.isDown(39)) {
if (key2_mc._currentframe == 2) {
gotoAndStop (3);
}
} else if (Key.isDown(40)) {
if (key2_mc._currentframe == 3) {
gotoAndStop (3);
}
} else if (Key.isDown(37)) {
if (key2_mc._currentframe == 4) {
gotoAndStop (3);
}
}
}
};
Symbol 780 MovieClip Frame 3
stop();
_parent.gotoAndPlay("hurt2");
onEnterFrame = function () {
if (this._currentframe == 3) {
if (Key.isDown(38)) {
if (key3_mc._currentframe == 1) {
gotoAndStop (4);
}
} else if (Key.isDown(39)) {
if (key3_mc._currentframe == 2) {
gotoAndStop (4);
}
} else if (Key.isDown(40)) {
if (key3_mc._currentframe == 3) {
gotoAndStop (4);
}
} else if (Key.isDown(37)) {
if (key3_mc._currentframe == 4) {
gotoAndStop (4);
}
}
}
};
Symbol 780 MovieClip Frame 4
stop();
_parent.gotoAndPlay("hurt1");
onEnterFrame = function () {
if (this._currentframe == 4) {
if (Key.isDown(38)) {
if (key4_mc._currentframe == 1) {
gotoAndStop (5);
}
} else if (Key.isDown(39)) {
if (key4_mc._currentframe == 2) {
gotoAndStop (5);
}
} else if (Key.isDown(40)) {
if (key4_mc._currentframe == 3) {
gotoAndStop (5);
}
} else if (Key.isDown(37)) {
if (key4_mc._currentframe == 4) {
gotoAndStop (5);
}
}
}
};
Symbol 780 MovieClip Frame 5
stop();
onEnterFrame = function () {
};
nextFrame();
Symbol 780 MovieClip Frame 6
stop();
_parent.gotoAndPlay("escape");
onEnterFrame = function () {
};
Symbol 791 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
hide_mc._visible = false;
} else {
this.stop();
hide_mc._visible = true;
}
};
Symbol 791 MovieClip Frame 70
stop();
_parent.gotoAndPlay("eaten");
onEnterFrame = function () {
};
Symbol 855 Button
on (press) {
if ((key1_mc._currentframe == 1) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 859 Button
on (press) {
if ((key1_mc._currentframe == 4) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 863 Button
on (press) {
if ((key1_mc._currentframe == 2) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 867 Button
on (press) {
if ((key1_mc._currentframe == 3) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 871 Button
on (press) {
if ((key2_mc._currentframe == 1) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 872 Button
on (press) {
if ((key2_mc._currentframe == 4) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 873 Button
on (press) {
if ((key2_mc._currentframe == 2) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 874 Button
on (press) {
if ((key2_mc._currentframe == 3) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 876 Button
on (press) {
if ((key3_mc._currentframe == 1) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 877 Button
on (press) {
if ((key3_mc._currentframe == 4) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 878 Button
on (press) {
if ((key3_mc._currentframe == 2) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 879 Button
on (press) {
if ((key3_mc._currentframe == 3) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 881 Button
on (press) {
if ((key4_mc._currentframe == 1) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 882 Button
on (press) {
if ((key4_mc._currentframe == 4) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 883 Button
on (press) {
if ((key4_mc._currentframe == 2) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 884 Button
on (press) {
if ((key4_mc._currentframe == 3) && (!_root.Pause)) {
nextFrame();
}
}
Symbol 887 MovieClip Frame 1
stop();
key1 = random(4) + 1;
key2 = random(4) + 1;
if (key2 == key1) {
if (key2 == 4) {
key2 = 1;
} else if (key2 == 1) {
key2 = 4;
} else if (key2 == 2) {
key2 = 3;
} else if (key2 == 3) {
key2 = 2;
}
}
key3 = random(4) + 1;
if (key3 == key2) {
if (key3 == 4) {
key3 = 1;
} else if (key3 == 1) {
key3 = 4;
} else if (key3 == 2) {
key3 = 3;
} else if (key3 == 3) {
key3 = 2;
}
}
key4 = random(4) + 1;
if (key4 == key3) {
if (key4 == 4) {
key4 = 1;
} else if (key4 == 1) {
key4 = 4;
} else if (key4 == 2) {
key4 = 3;
} else if (key4 == 3) {
key4 = 2;
}
}
key1_mc.gotoAndStop(key1);
key2_mc.gotoAndStop(key2);
key3_mc.gotoAndStop(key3);
key4_mc.gotoAndStop(key4);
Symbol 887 MovieClip Frame 2
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
}
gotGem1.start();
Symbol 887 MovieClip Frame 3
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
}
gotGem1.start();
Symbol 887 MovieClip Frame 4
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
}
gotGem1.start();
Symbol 887 MovieClip Frame 5
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
}
gotGem1.start();
onEnterFrame = function () {
};
nextFrame();
Symbol 887 MovieClip Frame 6
stop();
_parent.gotoAndPlay("escape");
onEnterFrame = function () {
};
Symbol 893 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
hide_mc._visible = false;
} else {
this.stop();
hide_mc._visible = true;
}
};
Symbol 893 MovieClip Frame 155
stop();
_parent.gotoAndPlay("eaten");
onEnterFrame = function () {
};
Symbol 900 MovieClip Frame 1
stop();
if (!_root.showPlant) {
gotoAndStop ("none");
}
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Slow)) && (!_root.DragonSpeed)) && (!_root.Special)) {
if (((hit_mc.hitTest(_parent._parent._parent.hero_mc) && (this._currentframe == 1)) && (!_root.Shield)) && (!_root.onFire)) {
_root.InPlant = true;
_parent._parent._parent.hero_mc.gotoAndStop("invis");
_root.Boost = false;
_root.Slow = true;
_parent._parent._parent.hero_mc.deltaY = 0;
_parent._parent._parent.hero_mc._y = this._y - 3;
_parent._parent._parent.hero_mc.posY = this._y - 3;
gotoAndPlay ("attack");
} else if ((hit_mc.hitTest(_parent._parent._parent.hero_mc) && (_root.Shield == true)) && (!_root.onFire)) {
_parent._parent._parent.shield_mc.gotoAndStop("pop");
_parent._parent._parent.hero_mc.gotoAndStop("jump");
gotoAndStop ("miss");
} else if (hit_mc.hitTest(_parent._parent._parent.hero_mc) && (_root.onFire)) {
_parent._parent._parent.hero_mc.gotoAndStop("jump");
gotoAndPlay ("firee");
} else if (hit_mc.hitTest(_parent._parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
gotoAndPlay ("firee");
}
}
if (_root.SuperHero) {
if (this.hitTest(_parent._parent._parent.hero_mc) && (this._currentframe == 1)) {
_root.superKills++;
gotoAndStop ("blowUp");
}
}
};
Symbol 900 MovieClip Frame 2
play();
_parent._parent._parent.hero_mc.gotoAndStop("invis");
_root.Slow = true;
_root.onFire = false;
_root.Boost = false;
onEnterFrame = function () {
_parent._parent._parent.hero_mc.deltaY = 0;
_parent._parent._parent.hero_mc._y = this._y - 3;
_parent._parent._parent.hero_mc.posY = this._y - 3;
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
Symbol 900 MovieClip Frame 7
if (_root.FLOOD.data.controls_mouse == true) {
gotoAndPlay ("chew2");
} else {
play();
}
Symbol 900 MovieClip Frame 9
Symbol 900 MovieClip Frame 20
gotoAndPlay ("chew");
Symbol 900 MovieClip Frame 23
gotoAndPlay ("chew");
Symbol 900 MovieClip Frame 26
gotoAndPlay ("chew");
Symbol 900 MovieClip Frame 27
_root.InPlant = false;
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
Symbol 900 MovieClip Frame 30
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
_root.PlantKilled++;
stop();
tte = Math.floor(_root.score_mc.theScore / 100);
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " plant";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 900 MovieClip Frame 33
_root.Slow = false;
_root.Boost = true;
_parent._parent._parent.hero_mc.gotoAndStop("backward_kick");
if ((_root.FLOOD.data.achieve_plantKiller == 1) && (_root.PlantKilled == 2)) {
_root.FLOOD.data.achieve_plantKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_plantKiller == 2) && (_root.PlantKilled == 5)) {
_root.FLOOD.data.achieve_plantKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_plantKiller == 3) && (_root.PlantKilled == 10)) {
_root.FLOOD.data.achieve_plantKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 900 MovieClip Frame 35
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 900 MovieClip Frame 45
stop();
onEnterFrame = function () {
};
Symbol 900 MovieClip Frame 46
_root.Slow = false;
_root.Dead = true;
_root.all_mc.heart_sound_mc.Heart.setVolume(0);
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
play();
Symbol 900 MovieClip Frame 55
gotoAndStop (1);
Symbol 900 MovieClip Frame 56
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
play();
Symbol 900 MovieClip Frame 65
gotoAndStop (1);
Symbol 900 MovieClip Frame 66
stop();
onEnterFrame = function () {
};
Symbol 900 MovieClip Frame 67
play();
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
}
PlantDie.start();
_root.PlantKilled++;
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " plant";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
onEnterFrame = function () {
};
if ((_root.FLOOD.data.achieve_superKills == 1) && (_root.superKills == 1)) {
_root.FLOOD.data.achieve_superKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 2) && (_root.superKills == 5)) {
_root.FLOOD.data.achieve_superKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 3) && (_root.superKills == 10)) {
_root.FLOOD.data.achieve_superKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((_root.FLOOD.data.achieve_plantKiller == 1) && (_root.PlantKilled == 2)) {
_root.FLOOD.data.achieve_plantKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_plantKiller == 2) && (_root.PlantKilled == 5)) {
_root.FLOOD.data.achieve_plantKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_plantKiller == 3) && (_root.PlantKilled == 10)) {
_root.FLOOD.data.achieve_plantKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 900 MovieClip Frame 70
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 900 MovieClip Frame 76
stop();
Symbol 900 MovieClip Frame 78
Symbol 900 MovieClip Frame 89
gotoAndPlay ("chew2");
Symbol 900 MovieClip Frame 92
gotoAndPlay ("chew2");
Symbol 900 MovieClip Frame 95
gotoAndPlay ("chew2");
Symbol 900 MovieClip Frame 96
play();
_root.PlantKilled++;
_root.fireKiller++;
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(80);
Ignite.start();
}
onEnterFrame = function () {
};
tte = Math.floor(_root.score_mc.theScore / 50);
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " plant burn";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 10)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 20)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((_root.FLOOD.data.achieve_plantKiller == 1) && (_root.PlantKilled == 2)) {
_root.FLOOD.data.achieve_plantKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_plantKiller == 2) && (_root.PlantKilled == 5)) {
_root.FLOOD.data.achieve_plantKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_plantKiller == 3) && (_root.PlantKilled == 10)) {
_root.FLOOD.data.achieve_plantKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach8", "ach8" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 900 MovieClip Frame 99
stop();
Symbol 909 MovieClip Frame 1
if (!_root.showFire) {
gotoAndStop ("none");
}
onEnterFrame = function () {
if (((!_root.Slow) && (!_root.DragonSpeed)) && (!_root.Pause)) {
if (water_mc.hitTest(_parent._parent._parent.hero_mc)) {
_root.onFire = false;
_parent._parent._parent.hero_mc.deltaY = _parent._parent._parent.hero_mc.deltaY + 0.7;
if (_parent._parent._parent.hero_mc.deltaY >= 8) {
_parent._parent._parent.hero_mc.deltaY = 8;
}
}
}
if (((_root.Pause || (_root.Dead)) || (_root.Slow)) || (_root.DragonSpeed)) {
this.stop();
} else {
this.play();
}
};
Symbol 909 MovieClip Frame 10
gotoAndPlay (1);
Symbol 909 MovieClip Frame 11
stop();
onEnterFrame = function () {
};
Symbol 912 MovieClip Frame 1
stop();
_parent.add_bounce_plat(this);
var startPointY = this._y;
var spring = 0.1;
var friction = 0.8;
var vy = 0;
onMe = false;
onEnterFrame = function () {
if (!_root.Pause) {
var _local4 = (startPointY - this._y) * spring;
vy = vy + _local4;
vy = vy * friction;
this._y = this._y + vy;
}
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 932 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
if (fire_mc.hitTest(_parent._parent._parent.hero_mc)) {
if (((!_root.Slow) && (!_root.DragonSpeed)) && (!_root.Shield)) {
_root.onFire = true;
}
if (_root.Shield) {
_root.all_mc.shield_mc._xscale = _root.all_mc.shield_mc._xscale - 0.2;
_root.all_mc.shield_mc._yscale = _root.all_mc.shield_mc._yscale - 0.2;
_root.all_mc.shield_mc._alpha = _root.all_mc.shield_mc._alpha - 5;
}
}
}
if (_root.Slow || (_root.Pause)) {
stop();
} else {
play();
}
};
Symbol 932 MovieClip Frame 22
gotoAndPlay ("loop");
Symbol 933 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 2
_root.oilFire++;
if ((_root.FLOOD.data.achieve_oilFire == 1) && (_root.oilFire == 1)) {
_root.FLOOD.data.achieve_oilFire = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach29", "ach29" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_oilFire <= 2) && (_root.oilFire == 5)) {
_root.FLOOD.data.achieve_oilFire = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach29", "ach29" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_oilFire <= 3) && (_root.oilFire == 10)) {
_root.FLOOD.data.achieve_oilFire = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach29", "ach29" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 934 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 940 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 944 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 960 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 960 MovieClip Frame 2
var Split = new Sound(this);
Split.attachSound("Split");
if (_root.Mute) {
Split.setVolume(0);
} else {
Split.setVolume(50);
}
Split.start();
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
Symbol 960 MovieClip Frame 16
stop();
onEnterFrame = function () {
};
Symbol 1005 MovieClip Frame 1
onEnterFrame = function () {
if (_root.Pause || (_root.Slow)) {
this.stop();
} else {
this.play();
}
};
Symbol 1007 MovieClip Frame 1
stop();
Symbol 1007 MovieClip Frame 2
stop();
_root.skyColumn++;
if ((_root.FLOOD.data.achieve_skyCol == 1) && (_root.skyColumn == 1)) {
_root.FLOOD.data.achieve_skyCol = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach19", "ach19" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_skyCol);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_skyCol <= 2) && (_root.skyColumn == 5)) {
_root.FLOOD.data.achieve_skyCol = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach19", "ach19" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_skyCol);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_skyCol <= 3) && (_root.skyColumn == 10)) {
_root.FLOOD.data.achieve_skyCol = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach19", "ach19" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_skyCol);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1023 MovieClip Frame 1
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 717 MovieClip in Symbol 1023 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 2
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 753 MovieClip in Symbol 1023 MovieClip Frame 2
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 3
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 759 MovieClip in Symbol 1023 MovieClip Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 900 MovieClip in Symbol 1023 MovieClip Frame 3
/* no clip actions */
Symbol 1023 MovieClip Frame 4
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 902 MovieClip in Symbol 1023 MovieClip Frame 4
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 900 MovieClip in Symbol 1023 MovieClip Frame 4
/* no clip actions */
Symbol 1023 MovieClip Frame 5
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1023 MovieClip Frame 6
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 914 MovieClip in Symbol 1023 MovieClip Frame 6
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 7
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1023 MovieClip Frame 8
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
if (!_root.showOil) {
sink_plat_Array[_local2].oil_mc.gotoAndStop("none");
}
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if ((!_root.Slipping) && (sink_plat_Array[_local2].oil_mc._currentframe == 1)) {
_root.Slipping = true;
}
if (_root.onFire && (sink_plat_Array[_local2].oil_mc._currentframe == 1)) {
sink_plat_Array[_local2].oil_mc.gotoAndStop(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 918 MovieClip in Symbol 1023 MovieClip Frame 8
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 9
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 2;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 936 MovieClip in Symbol 1023 MovieClip Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 10
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 2;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 942 MovieClip in Symbol 1023 MovieClip Frame 10
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 11
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 946 MovieClip in Symbol 1023 MovieClip Frame 11
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 12
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 962 MovieClip in Symbol 1023 MovieClip Frame 12
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 13
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if (static_plat_Array[_local2]._currentframe == 1) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
if (draft_mc.hitTest(_parent._parent.hero_mc)) {
if ((_parent._parent.hero_mc._currentframe == 12) || (_parent._parent.hero_mc._currentframe == 13)) {
_parent._parent.hero_mc.deltaY = _parent._parent.hero_mc.deltaY - 2;
}
}
if (c_mc.hitTest(_parent._parent.hero_mc)) {
if ((_parent._parent.hero_mc._currentframe == 12) || (_parent._parent.hero_mc._currentframe == 13)) {
c_mc.gotoAndStop(2);
}
}
};
Symbol 1023 MovieClip Frame 14
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if (static_plat_Array[_local2]._currentframe == 1) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
if (draft_mc.hitTest(_parent._parent.hero_mc)) {
if ((_parent._parent.hero_mc._currentframe == 12) || (_parent._parent.hero_mc._currentframe == 13)) {
_parent._parent.hero_mc.deltaY = _parent._parent.hero_mc.deltaY - 2;
}
}
if (c_mc.hitTest(_parent._parent.hero_mc)) {
if ((_parent._parent.hero_mc._currentframe == 12) || (_parent._parent.hero_mc._currentframe == 13)) {
c_mc.gotoAndStop(2);
}
}
};
Symbol 1023 MovieClip Frame 15
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1010 MovieClip in Symbol 1023 MovieClip Frame 15
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 16
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1012 MovieClip in Symbol 1023 MovieClip Frame 16
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 17
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 2;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1014 MovieClip in Symbol 1023 MovieClip Frame 17
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 18
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1016 MovieClip in Symbol 1023 MovieClip Frame 18
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 900 MovieClip in Symbol 1023 MovieClip Frame 18
/* no clip actions */
Symbol 1023 MovieClip Frame 19
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1018 MovieClip in Symbol 1023 MovieClip Frame 19
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1023 MovieClip Frame 20
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1022 MovieClip in Symbol 1023 MovieClip Frame 20
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1025 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -1000) && (this._currentframe == 1)) {
this._y = random(380) + 600;
this._x = 2000;
} else if ((this._x <= -1000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(380) + 600;
this._x = 2000;
} else {
this._y = random(380) + 600;
this._x = 2000;
}
}
if (this.hitTest(_parent._parent.hero_mc)) {
this.gotoAndStop(2);
}
}
};
Symbol 1025 MovieClip Frame 2
stop();
_root.score_mc.multi_mc.nextFrame();
_root.Multi_Collect++;
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
if ((_root.FLOOD.data.achieve_gemCollect == 1) && (_root.Multi_Collect == 75)) {
_root.FLOOD.data.achieve_gemCollect = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_gemCollect <= 2) && (_root.Multi_Collect == 150)) {
_root.FLOOD.data.achieve_gemCollect = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_gemCollect <= 3) && (_root.Multi_Collect == 250)) {
_root.FLOOD.data.achieve_gemCollect = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((((_root.Multi_Collect == 100) || (_root.Multi_Collect == 200)) || (_root.Multi_Collect == 300)) || (_root.Multi_Collect == 400)) {
_root.health_mc.gotoAndStop(1);
}
Symbol 1027 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(380) + 600;
this._x = 7000;
} else if ((this._x <= -2000) && (this._currentframe == 2)) {
tempNum = random(5);
if ((tempNum <= 1) && (_root.Shield == false)) {
this.gotoAndStop(1);
this._y = random(380) + 600;
this._x = 7000;
} else {
this._y = random(380) + 600;
this._x = 7000;
}
}
if (this.hitTest(_parent._parent.hero_mc) && (!_root.Slow)) {
if (_root.onFire) {
_root.onFire = false;
}
this.gotoAndStop(2);
}
}
};
Symbol 1027 MovieClip Frame 2
stop();
_root.Shield = true;
_root.shield_collected++;
if ((_root.FLOOD.data.achieve_shield == 1) && (_root.shield_collected == 1)) {
_root.FLOOD.data.achieve_shield = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach16", "ach16" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_shield);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_shield == 2) && (_root.shield_collected == 3)) {
_root.FLOOD.data.achieve_shield = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach16", "ach16" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_shield);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_shield == 3) && (_root.shield_collected == 5)) {
_root.FLOOD.data.achieve_shield = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach16", "ach16" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_shield);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var ShieldSnd = new Sound(this);
ShieldSnd.attachSound("ShieldSnd");
if (_root.Mute) {
ShieldSnd.setVolume(0);
} else {
ShieldSnd.setVolume(100);
}
ShieldSnd.start();
Symbol 1029 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -7000) && (this._currentframe == 1)) {
this._y = random(380) + 600;
this._x = 7000;
} else if ((this._x <= -7000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
if (!_root.SuperHero) {
this.gotoAndStop(1);
}
this._y = random(380) + 600;
this._x = 7000;
} else {
this._y = random(380) + 600;
this._x = 7000;
}
}
if ((this.hitTest(_parent._parent.hero_mc) && (!_root.DragonSpeed)) && (!_root.Slow)) {
this.gotoAndStop(2);
}
}
};
Symbol 1029 MovieClip Frame 2
stop();
_root.Super_Collect++;
_root.SuperHero = true;
_root.onFire = false;
_parent._parent.hero_mc.gotoAndStop("superman");
if ((_root.FLOOD.data.achieve_superman == 1) && (_root.Super_Collect == 1)) {
_root.FLOOD.data.achieve_superman = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superman == 2) && (_root.Super_Collect == 3)) {
_root.FLOOD.data.achieve_superman = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superman == 3) && (_root.Super_Collect == 5)) {
_root.FLOOD.data.achieve_superman = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var superHero = new Sound(this);
superHero.attachSound("SupermanSnd");
if (_root.Mute) {
superHero.setVolume(0);
} else {
superHero.setVolume(60);
}
superHero.start();
Symbol 1030 MovieClip Frame 15
stop();
Symbol 1034 MovieClip Frame 7
stop();
Symbol 1035 MovieClip Frame 1
function checkBat() {
if ((_root.FLOOD.data.achieve_batKiller == 1) && (_root.BatKilled == 2)) {
_root.FLOOD.data.achieve_batKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach11", "ach11" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_batKiller == 2) && (_root.BatKilled == 5)) {
_root.FLOOD.data.achieve_batKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach11", "ach11" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_batKiller == 3) && (_root.BatKilled == 10)) {
_root.FLOOD.data.achieve_batKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach11", "ach11" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
}
stop();
onEnterFrame = function () {
if (!_root.showBat) {
gotoAndStop ("none");
}
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(380) + 600;
this._x = 8000;
} else if ((this._x <= -2000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(380) + 600;
this._x = 8000;
} else {
this._y = random(380) + 600;
this._x = 8000;
}
}
if (this._currentframe == 1) {
if ((((((this.hitTest(_parent._parent.hero_mc) && (!_root.Shield)) && (!_root.DragonSpeed)) && (!_root.onFire)) && (!_root.Spinning)) && (!_root.Special)) && (!_root.SuperHero)) {
if (_root.FLOOD.data.controls_mouse == false) {
if ((((!Key.isDown(38)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
}
} else if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
} else if (_root.FLOOD.data.controls_mouse == true) {
if (!_root.mouseJump) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
}
} else if (_root.mouseJump) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
}
} else if ((((this.hitTest(_parent._parent.hero_mc) && (_root.Shield)) && (!_root.Spinning)) && (!_root.onFire)) && (!_root.SuperHero)) {
_parent._parent.hero_mc.gotoAndStop("jump_clear");
_parent._parent.shield_mc.gotoAndStop("pop");
} else if ((this.hitTest(_parent._parent.hero_mc) && (_root.Spinning)) && (!_root.onFire)) {
this.gotoAndStop("splat");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
this.gotoAndStop("superdie");
}
}
}
};
Symbol 1035 MovieClip Frame 2
stop();
tte = Math.floor((_root.score_mc.theScore / 400) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " bat";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
Symbol 1035 MovieClip Frame 3
stop();
tte = Math.floor(_root.score_mc.theScore / 200);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " bat";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BatKilled++;
checkBat();
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1035 MovieClip Frame 4
stop();
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
tte = Math.floor(_root.score_mc.theScore / 200);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " bat super kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BatKilled++;
checkBat();
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1035 MovieClip Frame 5
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(60);
Ignite.start();
}
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " bat";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BatKilled++;
_root.fireKiller++;
checkBat();
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 7)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 15)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1035 MovieClip Frame 6
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1036 MovieClip Frame 1
function checkBat() {
if ((_root.FLOOD.data.achieve_batKiller == 1) && (_root.BatKilled == 2)) {
_root.FLOOD.data.achieve_batKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach11", "ach11" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_batKiller == 2) && (_root.BatKilled == 5)) {
_root.FLOOD.data.achieve_batKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach11", "ach11" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_batKiller == 3) && (_root.BatKilled == 10)) {
_root.FLOOD.data.achieve_batKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach11", "ach11" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
}
stop();
this._y = random(320) + 600;
var spring = 0.02;
var bouncyY = (this._y + 50);
var bby = 0;
cruizing = function () {
var _local3 = ((_parent._y + bouncyY) - this._y) * spring;
bby = bby + _local3;
this._y = this._y + bby;
};
onEnterFrame = function () {
if (!_root.showBatWave2) {
gotoAndStop ("none");
}
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
cruizing();
this._x = this._x - (_root.deltaX * 0.8);
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(320) + 600;
bouncyY = this._y + 50;
this._x = 8000;
} else if ((this._x <= -2000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(320) + 600;
bouncyY = this._y + 50;
this._x = 8000;
} else {
this._y = random(320) + 600;
bouncyY = this._y + 50;
this._x = 8000;
}
}
if (this._currentframe == 1) {
if ((((((this.hitTest(_parent._parent.hero_mc) && (!_root.Shield)) && (!_root.DragonSpeed)) && (!_root.onFire)) && (!_root.Spinning)) && (!_root.Special)) && (!_root.SuperHero)) {
if (_root.FLOOD.data.controls_mouse == false) {
if ((((!Key.isDown(38)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
}
} else if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
} else if (_root.FLOOD.data.controls_mouse == true) {
if (!_root.mouseJump) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
}
} else if (_root.mouseJump) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
}
} else if ((((this.hitTest(_parent._parent.hero_mc) && (_root.Shield)) && (!_root.Spinning)) && (!_root.onFire)) && (!_root.SuperHero)) {
_parent._parent.hero_mc.gotoAndStop("jump_clear");
_parent._parent.shield_mc.gotoAndStop("pop");
} else if ((this.hitTest(_parent._parent.hero_mc) && (_root.Spinning)) && (!_root.onFire)) {
this.gotoAndStop("splat");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
this.gotoAndStop("superdie");
}
}
}
};
Symbol 1036 MovieClip Frame 2
stop();
tte = Math.floor((_root.score_mc.theScore / 400) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " bat";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
Symbol 1036 MovieClip Frame 3
stop();
tte = Math.floor(_root.score_mc.theScore / 200);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " bat";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BatKilled++;
checkBat();
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1036 MovieClip Frame 4
stop();
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
tte = Math.floor(_root.score_mc.theScore / 200);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " bat super kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BatKilled++;
checkBat();
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1036 MovieClip Frame 5
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(60);
Ignite.start();
}
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " bat";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BatKilled++;
_root.fireKiller++;
checkBat();
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 7)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 15)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1036 MovieClip Frame 6
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(380) + 600;
this._x = 8000;
this.gotoAndStop(1);
}
}
};
Symbol 1057 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.Pause || (_root.Slow)) || (_root.Special)) {
this.stop();
} else {
this.play();
}
};
Instance of Symbol 666 MovieClip "mid_bg2_mc" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 668 MovieClip "mid_bg1_mc" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 671 MovieClip in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 711 MovieClip in Symbol 1058 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.Slow || (_root.CutScene)) || (_root.Pause)) || (_root.Dead)) {
stop();
} else {
play();
}
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 713 MovieClip "mid_bg_mc" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 711 MovieClip in Symbol 1058 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.Slow || (_root.CutScene)) || (_root.Pause)) || (_root.Dead)) {
stop();
} else {
play();
}
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 714 MovieClip in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 1023 MovieClip "land1" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(10) + 1);
}
Instance of Symbol 1023 MovieClip "land2" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(10) + 1);
}
Instance of Symbol 1023 MovieClip "land3" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(10) + 1);
}
Instance of Symbol 1023 MovieClip "land4" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(10) + 1);
}
Instance of Symbol 1057 MovieClip in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
if (!_root.showBG) {
this._visible = false;
}
}
Symbol 1206 MovieClip Frame 1
if (!_root.showBG) {
gotoAndStop ("hide");
}
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
Lava.setVolume(0);
}
};
Symbol 1206 MovieClip Frame 5
var Lava = new Sound(this);
Lava.attachSound("Volcano");
if (_root.Mute) {
Lava.setVolume(0);
} else {
Lava.setVolume(50);
}
Lava.start();
Symbol 1206 MovieClip Frame 131
_parent.v_mc.gotoAndPlay("again");
Symbol 1206 MovieClip Frame 283
stop();
onEnterFrame = function () {
};
Symbol 1206 MovieClip Frame 284
stop();
onEnterFrame = function () {
};
Symbol 1267 MovieClip Frame 1
if (!_root.showBG) {
gotoAndStop ("hide");
}
stop();
Symbol 1267 MovieClip Frame 2
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
Lava.setVolume(0);
}
};
Symbol 1267 MovieClip Frame 5
var Lava = new Sound(this);
Lava.attachSound("Volcano");
if (_root.Mute) {
Lava.setVolume(0);
} else {
Lava.setVolume(50);
}
Lava.start();
Symbol 1267 MovieClip Frame 283
stop();
onEnterFrame = function () {
};
Symbol 1267 MovieClip Frame 284
stop();
onEnterFrame = function () {
};
Symbol 1284 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.Pause || (_root.Slow)) || (!_root.Group2)) {
this.stop();
} else {
this.play();
}
};
Symbol 1290 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1292 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1294 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1298 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1302 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1308 MovieClip Frame 1
if (!_root.showFire) {
gotoAndStop ("none");
}
onEnterFrame = function () {
if (!_root.Pause) {
if (fire_mc.hitTest(_parent._parent._parent.hero_mc)) {
if ((((!_root.Slow) && (!_root.DragonSpeed)) && (!_root.Shield)) && (!_root.SuperHero)) {
_root.onFire = true;
}
if (_root.Shield) {
_root.all_mc.shield_mc._xscale = _root.all_mc.shield_mc._xscale - 0.2;
_root.all_mc.shield_mc._yscale = _root.all_mc.shield_mc._yscale - 0.2;
_root.all_mc.shield_mc._alpha = _root.all_mc.shield_mc._alpha - 5;
}
}
}
if (_root.Slow || (_root.Pause)) {
stop();
} else {
play();
}
};
Symbol 1308 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1308 MovieClip Frame 11
onEnterFrame = function () {
};
Symbol 1314 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1340 MovieClip Frame 1
stop();
_parent.add_static_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1340 MovieClip Frame 2
var Split = new Sound(this);
Split.attachSound("Split");
if (_root.Mute) {
Split.setVolume(0);
} else {
Split.setVolume(50);
}
Split.start();
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
Symbol 1340 MovieClip Frame 16
stop();
onEnterFrame = function () {
};
Symbol 1352 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1373 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
if (fire_mc.hitTest(_parent._parent._parent.hero_mc)) {
if (((!_root.Slow) && (!_root.DragonSpeed)) && (!_root.Shield)) {
_root.onFire = true;
}
if (_root.Shield) {
_root.all_mc.shield_mc._xscale = _root.all_mc.shield_mc._xscale - 0.2;
_root.all_mc.shield_mc._yscale = _root.all_mc.shield_mc._yscale - 0.2;
_root.all_mc.shield_mc._alpha = _root.all_mc.shield_mc._alpha - 5;
}
}
}
if (_root.Slow || (_root.Pause)) {
stop();
} else {
play();
}
};
Symbol 1373 MovieClip Frame 25
gotoAndPlay ("loop");
Symbol 1374 MovieClip Frame 1
stop();
Symbol 1374 MovieClip Frame 2
_root.oilFire++;
if ((_root.FLOOD.data.achieve_oilFire == 1) && (_root.oilFire == 1)) {
_root.FLOOD.data.achieve_oilFire = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach29", "ach29" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_oilFire <= 2) && (_root.oilFire == 5)) {
_root.FLOOD.data.achieve_oilFire = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach29", "ach29" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_oilFire <= 3) && (_root.oilFire == 10)) {
_root.FLOOD.data.achieve_oilFire = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach29", "ach29" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1375 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1378 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1387 MovieClip Frame 1
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1286 MovieClip in Symbol 1387 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 2
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1296 MovieClip in Symbol 1387 MovieClip Frame 2
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 3
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var lastFireVol = 0;
onEnterFrame = function () {
check_collision();
if ((_root.Slow || (_root.Pause)) || (!_root.showFire)) {
_parent._parent.fire_sound_mc.fireSnd.setVolume(0);
} else if ((((!_root.Slow) && (!_root.Pause)) && (_root.showFire)) && (fire_mc._currentframe < 11)) {
var _local7 = _parent._parent.hero_mc;
var _local6 = (this._x + fire_mc._x) - _local7._x;
var _local5 = (this._y + fire_mc._y) - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 500) ? (_local8) : 500);
var _local4 = Math.round(100 - (_local9 / 4));
_local4 = _local4 + 25;
if (_local4 <= 0) {
_local4 = 0;
}
if (_local4 != lastFireVol) {
if (!_root.Mute) {
_parent._parent.fire_sound_mc.fireSnd.setVolume(_local4 * 0.5);
lastFireVol = _local4;
} else {
_parent._parent.fire_sound_mc.fireSnd.setVolume(0);
}
}
}
};
Instance of Symbol 1300 MovieClip in Symbol 1387 MovieClip Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 4
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1310 MovieClip in Symbol 1387 MovieClip Frame 4
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 5
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1316 MovieClip in Symbol 1387 MovieClip Frame 5
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 6
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1318 MovieClip in Symbol 1387 MovieClip Frame 6
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 900 MovieClip in Symbol 1387 MovieClip Frame 6
/* no clip actions */
Symbol 1387 MovieClip Frame 7
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1320 MovieClip in Symbol 1387 MovieClip Frame 7
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 8
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var lastFireVol = 0;
onEnterFrame = function () {
check_collision();
if ((_root.Slow || (_root.Pause)) || (!_root.showFire)) {
_parent._parent.fire_sound_mc.fireSnd.setVolume(0);
} else if ((((!_root.Slow) && (!_root.Pause)) && (_root.showFire)) && (fire_mc._currentframe < 11)) {
var _local7 = _parent._parent.hero_mc;
var _local6 = (this._x + fire_mc._x) - _local7._x;
var _local5 = (this._y + fire_mc._y) - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 500) ? (_local8) : 500);
var _local4 = Math.round(100 - (_local9 / 4));
_local4 = _local4 + 25;
if (_local4 <= 0) {
_local4 = 0;
}
if (_local4 != lastFireVol) {
if (!_root.Mute) {
_parent._parent.fire_sound_mc.fireSnd.setVolume(_local4 * 0.5);
lastFireVol = _local4;
} else {
_parent._parent.fire_sound_mc.fireSnd.setVolume(0);
}
}
}
};
Instance of Symbol 1324 MovieClip in Symbol 1387 MovieClip Frame 8
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 9
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1328 MovieClip in Symbol 1387 MovieClip Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 10
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1342 MovieClip in Symbol 1387 MovieClip Frame 10
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 11
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1344 MovieClip in Symbol 1387 MovieClip Frame 11
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 12
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1348 MovieClip in Symbol 1387 MovieClip Frame 12
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 13
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1387 MovieClip Frame 14
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
if (!_root.showOil) {
sink_plat_Array[_local2].oil_mc.gotoAndStop("none");
}
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if ((!_root.Slipping) && (sink_plat_Array[_local2].oil_mc._currentframe == 1)) {
_root.Slipping = true;
}
if (_root.onFire && (sink_plat_Array[_local2].oil_mc._currentframe == 1)) {
sink_plat_Array[_local2].oil_mc.gotoAndStop(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1350 MovieClip in Symbol 1387 MovieClip Frame 14
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 15
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
if (!_root.showOil) {
sink_plat_Array[_local2].oil_mc.gotoAndStop("none");
}
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if ((!_root.Slipping) && (sink_plat_Array[_local2].oil_mc._currentframe == 1)) {
_root.Slipping = true;
}
if (_root.onFire && (sink_plat_Array[_local2].oil_mc._currentframe == 1)) {
sink_plat_Array[_local2].oil_mc.gotoAndStop(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1354 MovieClip in Symbol 1387 MovieClip Frame 15
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 16
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 2;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1377 MovieClip in Symbol 1387 MovieClip Frame 16
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 17
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var lastFireVol = 0;
onEnterFrame = function () {
check_collision();
if ((_root.Slow || (_root.Pause)) || (!_root.showFire)) {
_parent._parent.fire_sound_mc.fireSnd.setVolume(0);
} else if ((((!_root.Slow) && (!_root.Pause)) && (_root.showFire)) && (fire_mc._currentframe < 11)) {
var _local7 = _parent._parent.hero_mc;
var _local6 = (this._x + fire_mc._x) - _local7._x;
var _local5 = (this._y + fire_mc._y) - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 500) ? (_local8) : 500);
var _local4 = Math.round(100 - (_local9 / 4));
_local4 = _local4 + 25;
if (_local4 <= 0) {
_local4 = 0;
}
if (_local4 != lastFireVol) {
if (!_root.Mute) {
_parent._parent.fire_sound_mc.fireSnd.setVolume(_local4 * 0.5);
lastFireVol = _local4;
} else {
_parent._parent.fire_sound_mc.fireSnd.setVolume(0);
}
}
}
};
Instance of Symbol 1380 MovieClip in Symbol 1387 MovieClip Frame 17
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 18
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1382 MovieClip in Symbol 1387 MovieClip Frame 18
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 19
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if ((!_root.Pause) && (_root.showFallPlat)) {
static_plat_Array[_local2]._y = static_plat_Array[_local2]._y + 0.5;
}
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
if ((static_plat_Array[_local2]._currentframe == 1) && (_root.showFallPlat)) {
static_plat_Array[_local2].gotoAndPlay(2);
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1384 MovieClip in Symbol 1387 MovieClip Frame 19
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1387 MovieClip Frame 20
function add_static_plat(new_plat_static_MC) {
static_plat_Array.push(new_plat_static_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < static_plat_Array.length) {
checkGuy = hitCheck(static_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if ((((hero.deltaY >= 0) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
hero._y = static_plat_Array[_local2]._y + 3;
hero.posY = static_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
static_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Instance of Symbol 1386 MovieClip in Symbol 1387 MovieClip Frame 20
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1388 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if ((((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) && (!_root.Slow)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -1000) && (this._currentframe == 1)) {
this._y = random(450) - 60;
this._x = 2000;
} else if ((this._x <= -1000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(450) - 60;
this._x = 2000;
} else {
this._y = random(450) - 60;
this._x = 2000;
}
}
if (this.hitTest(_root.all_mc.hero_mc)) {
this.gotoAndStop(2);
}
if ((this.hitTest(_root.all_mc.dragonfly_mc) && (_root.DragonSpeed)) && (!_root.SuperHero)) {
this.gotoAndStop(2);
}
}
};
Symbol 1388 MovieClip Frame 2
stop();
_root.score_mc.multi_mc.nextFrame();
_root.Multi_Collect++;
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
}
gotGem1.start();
if ((_root.FLOOD.data.achieve_gemCollect == 1) && (_root.Multi_Collect == 75)) {
_root.FLOOD.data.achieve_gemCollect = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_gemCollect <= 2) && (_root.Multi_Collect == 150)) {
_root.FLOOD.data.achieve_gemCollect = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_gemCollect <= 3) && (_root.Multi_Collect == 250)) {
_root.FLOOD.data.achieve_gemCollect = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((((_root.Multi_Collect == 100) || (_root.Multi_Collect == 200)) || (_root.Multi_Collect == 300)) || (_root.Multi_Collect == 400)) {
_root.health_mc.gotoAndStop(1);
}
Symbol 1389 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(470) - 100;
this._x = 7000;
} else if ((this._x <= -2000) && (this._currentframe == 2)) {
tempNum = random(5);
if ((tempNum <= 1) && (_root.Shield == false)) {
this.gotoAndStop(1);
this._y = random(470) - 135;
this._x = 7000;
} else {
this._y = random(470) - 135;
this._x = 7000;
}
}
if (this.hitTest(_parent._parent.hero_mc)) {
if (_root.onFire) {
_root.onFire = false;
}
this.gotoAndStop(2);
}
}
};
Symbol 1389 MovieClip Frame 2
stop();
_root.Shield = true;
_root.shield_collected++;
if ((_root.FLOOD.data.achieve_shield == 1) && (_root.shield_collected == 1)) {
_root.FLOOD.data.achieve_shield = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach16", "ach16" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_shield);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_shield == 2) && (_root.shield_collected == 3)) {
_root.FLOOD.data.achieve_shield = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach16", "ach16" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_shield);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_shield == 3) && (_root.shield_collected == 5)) {
_root.FLOOD.data.achieve_shield = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach16", "ach16" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_shield);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var ShieldSnd = new Sound(this);
ShieldSnd.attachSound("ShieldSnd");
if (_root.Mute) {
ShieldSnd.setVolume(0);
} else {
ShieldSnd.setVolume(100);
}
ShieldSnd.start();
Symbol 1391 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -7000) && (this._currentframe == 1)) {
this._y = random(450) - 60;
this._x = 7000;
} else if ((this._x <= -7000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
if (!_root.SuperHero) {
this.gotoAndStop(1);
}
this._y = random(450) - 60;
this._x = 7000;
} else {
this._y = random(450) - 60;
this._x = 7000;
}
}
if ((this.hitTest(_parent._parent.hero_mc) && (!_root.DragonSpeed)) && (!_root.Slow)) {
this.gotoAndStop(2);
}
}
};
Symbol 1391 MovieClip Frame 2
stop();
_root.Super_Collect++;
_root.SuperHero = true;
_root.onFire = false;
_parent._parent.hero_mc.gotoAndStop("superman");
if ((_root.FLOOD.data.achieve_superman == 1) && (_root.Super_Collect == 1)) {
_root.FLOOD.data.achieve_superman = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superman == 2) && (_root.Super_Collect == 3)) {
_root.FLOOD.data.achieve_superman = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superman == 3) && (_root.Super_Collect == 5)) {
_root.FLOOD.data.achieve_superman = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var superHero = new Sound(this);
superHero.attachSound("SupermanSnd");
if (_root.Mute) {
superHero.setVolume(0);
} else {
superHero.setVolume(60);
}
superHero.start();
Symbol 1392 MovieClip Frame 15
stop();
Symbol 1396 MovieClip Frame 7
stop();
Symbol 1397 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (!_root.showBug) {
gotoAndStop ("none");
}
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(470) - 100;
this._x = 6000;
} else if ((this._x <= -2000) && (this._currentframe != 1)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(470) - 135;
this._x = 6000;
} else {
this._y = random(470) - 135;
this._x = 6000;
}
}
if (this._currentframe == 1) {
if ((((((this.hitTest(_parent._parent.hero_mc) && (!_root.Shield)) && (!_root.onFire)) && (!_root.DragonSpeed)) && (!_root.Spinning)) && (!_root.Special)) && (!_root.SuperHero)) {
if (_root.FLOOD.data.controls_mouse == false) {
if ((((!Key.isDown(38)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(100);
this.gotoAndStop(2);
}
} else if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
} else if (_root.FLOOD.data.controls_mouse == true) {
if (!_root.mouseJump) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
}
} else if (_root.mouseJump) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
}
} else if ((((this.hitTest(_parent._parent.hero_mc) && (_root.Shield)) && (!_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
_parent._parent.hero_mc.gotoAndStop("jump_clear");
_parent._parent.shield_mc.gotoAndStop("pop");
} else if (((this.hitTest(_parent._parent.hero_mc) && (_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
this.gotoAndStop("splat");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
this.gotoAndStop("splatSuper");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
}
}
}
};
checkwasp = function () {
if ((_root.FLOOD.data.achieve_waspKills == 1) && (_root.BeeKilled == 2)) {
_root.FLOOD.data.achieve_waspKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach9", "ach9" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_waspKills == 2) && (_root.BeeKilled == 5)) {
_root.FLOOD.data.achieve_waspKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach9", "ach9" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_waspKills == 3) && (_root.BeeKilled == 10)) {
_root.FLOOD.data.achieve_waspKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach9", "ach9" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
};
Symbol 1397 MovieClip Frame 2
stop();
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " bug";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
Symbol 1397 MovieClip Frame 3
stop();
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " wasp";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BeeKilled++;
checkwasp();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1397 MovieClip Frame 4
stop();
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
tte = Math.floor(_root.score_mc.theScore / 200);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " wasp kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BeeKilled++;
if ((_root.FLOOD.data.achieve_superKills == 1) && (_root.superKills == 1)) {
_root.FLOOD.data.achieve_superKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 2) && (_root.superKills == 5)) {
_root.FLOOD.data.achieve_superKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 3) && (_root.superKills == 10)) {
_root.FLOOD.data.achieve_superKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checkwasp();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1397 MovieClip Frame 5
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(60);
Ignite.start();
}
tte = Math.floor(_root.score_mc.theScore / 400);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " wasp kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BeeKilled++;
_root.fireKiller++;
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 7)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 15)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checkwasp();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1397 MovieClip Frame 6
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1398 MovieClip Frame 1
stop();
this._y = random(470) - 100;
var spring = 0.02;
var bouncyY = (this._y + 50);
var bby = 0;
cruizing = function () {
var _local3 = ((_parent._y + bouncyY) - this._y) * spring;
bby = bby + _local3;
this._y = this._y + bby;
};
onEnterFrame = function () {
if (!_root.showBugWave2) {
gotoAndStop ("none");
}
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
cruizing();
this._x = this._x - (_root.deltaX * 0.8);
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(470) - 100;
bouncyY = this._y + 50;
this._x = 6000;
} else if ((this._x <= -2000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(470) - 135;
bouncyY = this._y + 50;
this._x = 6000;
} else {
this._y = random(470) - 135;
bouncyY = this._y + 50;
this._x = 6000;
}
}
if (this._currentframe == 1) {
if ((((((this.hitTest(_parent._parent.hero_mc) && (!_root.Shield)) && (!_root.onFire)) && (!_root.DragonSpeed)) && (!_root.Spinning)) && (!_root.Special)) && (!_root.SuperHero)) {
if (_root.FLOOD.data.controls_mouse == false) {
if ((((!Key.isDown(38)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(100);
this.gotoAndStop(2);
}
} else if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
} else if (_root.FLOOD.data.controls_mouse == true) {
if (!_root.mouseJump) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
}
} else if (_root.mouseJump) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
}
} else if ((((this.hitTest(_parent._parent.hero_mc) && (_root.Shield)) && (!_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
_parent._parent.hero_mc.gotoAndStop("jump_clear");
_parent._parent.shield_mc.gotoAndStop("pop");
} else if (((this.hitTest(_parent._parent.hero_mc) && (_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
this.gotoAndStop("splat");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
this.gotoAndStop("splatSuper");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
}
}
}
};
checkwasp = function () {
if ((_root.FLOOD.data.achieve_waspKills == 1) && (_root.BeeKilled == 2)) {
_root.FLOOD.data.achieve_waspKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach9", "ach9" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_waspKills == 2) && (_root.BeeKilled == 5)) {
_root.FLOOD.data.achieve_waspKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach9", "ach9" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_waspKills == 3) && (_root.BeeKilled == 10)) {
_root.FLOOD.data.achieve_waspKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach9", "ach9" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
};
Symbol 1398 MovieClip Frame 2
stop();
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " bug";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
Symbol 1398 MovieClip Frame 3
stop();
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " wasp";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BeeKilled++;
checkwasp();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1398 MovieClip Frame 4
stop();
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
tte = Math.floor(_root.score_mc.theScore / 200);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " wasp kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BeeKilled++;
if ((_root.FLOOD.data.achieve_superKills == 1) && (_root.superKills == 1)) {
_root.FLOOD.data.achieve_superKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 2) && (_root.superKills == 5)) {
_root.FLOOD.data.achieve_superKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 3) && (_root.superKills == 10)) {
_root.FLOOD.data.achieve_superKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checkwasp();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1398 MovieClip Frame 5
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(60);
Ignite.start();
}
tte = Math.floor(_root.score_mc.theScore / 400);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " wasp kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.BeeKilled++;
_root.fireKiller++;
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 7)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 15)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checkwasp();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(470) - 100;
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1398 MovieClip Frame 6
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._x = 6000;
this.gotoAndStop(1);
}
}
};
Symbol 1402 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.Pause || (_root.Slow)) || (_root.seconds < 5)) {
this.stop();
} else {
this.play();
}
};
Symbol 1403 MovieClip Frame 1
tracce = function () {
trace("land 1 " + land1.static_plat_Array.length);
trace("land 2 " + land2.static_plat_Array.length);
trace("land 3 " + land3.static_plat_Array.length);
trace("land 4 " + land4.static_plat_Array.length);
};
Instance of Symbol 1268 MovieClip "mid_bg2_mc" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 1269 MovieClip "mid_bg1_mc" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 1271 MovieClip "mid_bg_mc" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 1387 MovieClip "land3" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 1387 MovieClip "land4" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (3);
}
Instance of Symbol 1402 MovieClip in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
if (!_root.showBG) {
this._visible = false;
}
}
Symbol 1420 MovieClip Frame 1
stop();
_parent.add_bounce_plat(this);
var startPointY = this._y;
var spring = 0.1;
var friction = 0.8;
var vy = 0;
onMe = false;
onEnterFrame = function () {
if (!_root.Pause) {
var _local4 = (startPointY - this._y) * spring;
vy = vy + _local4;
vy = vy * friction;
this._y = this._y + vy;
}
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1420 MovieClip Frame 2
_root.cloud_walker++;
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
if ((_root.FLOOD.data.achieve_cloudWalker == 1) && (_root.cloud_walker == 1)) {
_root.FLOOD.data.achieve_cloudWalker = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_cloudWalker == 2) && (_root.cloud_walker == 10)) {
_root.FLOOD.data.achieve_cloudWalker = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_cloudWalker == 3) && (_root.cloud_walker == 30)) {
_root.FLOOD.data.achieve_cloudWalker = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1420 MovieClip Frame 22
stop();
onEnterFrame = function () {
};
Symbol 1431 MovieClip Frame 1
stop();
_parent.add_bounce_plat(this);
var startPointY = this._y;
var spring = 0.1;
var friction = 0.8;
var vy = 0;
onMe = false;
onEnterFrame = function () {
if (!_root.Pause) {
var _local4 = (startPointY - this._y) * spring;
vy = vy + _local4;
vy = vy * friction;
this._y = this._y + vy;
}
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1431 MovieClip Frame 2
_root.cloud_walker++;
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
if ((_root.FLOOD.data.achieve_cloudWalker == 1) && (_root.cloud_walker == 1)) {
_root.FLOOD.data.achieve_cloudWalker = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_cloudWalker == 2) && (_root.cloud_walker == 10)) {
_root.FLOOD.data.achieve_cloudWalker = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_cloudWalker == 3) && (_root.cloud_walker == 30)) {
_root.FLOOD.data.achieve_cloudWalker = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1431 MovieClip Frame 22
stop();
onEnterFrame = function () {
};
Symbol 1443 MovieClip Frame 1
stop();
_parent.add_bounce_plat(this);
var startPointY = this._y;
var spring = 0.1;
var friction = 0.8;
var vy = 0;
onMe = false;
onEnterFrame = function () {
if (!_root.Pause) {
var _local4 = (startPointY - this._y) * spring;
vy = vy + _local4;
vy = vy * friction;
this._y = this._y + vy;
}
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1443 MovieClip Frame 2
_root.cloud_walker++;
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
if ((_root.FLOOD.data.achieve_cloudWalker == 1) && (_root.cloud_walker == 1)) {
_root.FLOOD.data.achieve_cloudWalker = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_cloudWalker == 2) && (_root.cloud_walker == 10)) {
_root.FLOOD.data.achieve_cloudWalker = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_cloudWalker == 3) && (_root.cloud_walker == 30)) {
_root.FLOOD.data.achieve_cloudWalker = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach31", "ach31" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1443 MovieClip Frame 31
stop();
onEnterFrame = function () {
};
Symbol 1445 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1447 MovieClip Frame 1
stop();
_parent.add_sink_plat(this);
onEnterFrame = function () {
if (this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true) && (!onMe)) {
onMe = true;
}
if (!this.hitTest(_parent._parent._parent.hero_mc._x, _parent._parent._parent.hero_mc._y + 3, true)) {
onMe = false;
}
};
Symbol 1448 MovieClip Frame 1
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 2
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 3
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 4
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if (!_root.Slipping) {
_root.Slipping = true;
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 5
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if (!_root.Slipping) {
_root.Slipping = true;
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 6
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if (!_root.Slipping) {
_root.Slipping = true;
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 7
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 8
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 9
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 10
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if (!_root.Slipping) {
_root.Slipping = true;
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 11
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if (!_root.Slipping) {
_root.Slipping = true;
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 12
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 13
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 14
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 15
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 16
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 17
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 18
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 19
function add_sink_plat(new_plat_sink_MC) {
sink_plat_Array.push(new_plat_sink_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < sink_plat_Array.length) {
checkGuy = hitCheck(sink_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
sink_plat_Array[_local2]._y = sink_plat_Array[_local2]._y + 1;
}
hero._y = sink_plat_Array[_local2]._y + 3;
hero.posY = sink_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = 0;
if (!_root.Slipping) {
_root.Slipping = true;
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
sink_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1448 MovieClip Frame 20
function add_bounce_plat(new_plat_bounce_MC) {
bounce_plat_Array.push(new_plat_bounce_MC);
}
function check_collision() {
var _local2 = 0;
while (_local2 < bounce_plat_Array.length) {
checkGuy = hitCheck(bounce_plat_Array[_local2].platHit_mc, hero._x, hero._y + 3);
if (((((hero.deltaY >= 0) && (_root.tempSpeedUD >= 0)) && (checkGuy)) && (_root.isGlide == false)) && (_root.Special == false)) {
if (!_root.Pause) {
bounce_plat_Array[_local2]._y = bounce_plat_Array[_local2]._y + _root.tempSpeedUD;
hero._y = bounce_plat_Array[_local2]._y + 3;
hero.posY = bounce_plat_Array[_local2]._y + 3;
hero.deltaY = 0;
_root.tempSpeedUD = _root.tempSpeedUD - (_root.tempSpeedUD / 2);
if ((_root.tempSpeedUD <= 1) && (_root.tempSpeedUD != 0)) {
hero.deltaY = 0;
_root.tempSpeedUD = 0;
}
if (bounce_plat_Array[_local2]._currentframe == 1) {
bounce_plat_Array[_local2].gotoAndPlay(2);
}
}
}
_local2++;
}
}
stop();
var hero = _parent._parent.hero_mc;
bounce_plat_Array = [];
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
onEnterFrame = function () {
check_collision();
};
Symbol 1449 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -1000) && (this._currentframe == 1)) {
this._y = random(400) - 550;
this._x = 4000;
} else if ((this._x <= -1000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(400) - 550;
this._x = 4000;
} else {
this._y = random(400) - 550;
this._x = 4000;
}
}
if (this.hitTest(_parent._parent.hero_mc)) {
this.gotoAndStop(2);
}
if ((this.hitTest(_root.all_mc.dragonfly_mc) && (_root.DragonSpeed)) && (!_root.SuperHero)) {
this.gotoAndStop(2);
}
}
};
Symbol 1449 MovieClip Frame 2
stop();
_root.score_mc.multi_mc.nextFrame();
_root.Multi_Collect++;
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
}
gotGem1.start();
if ((_root.FLOOD.data.achieve_gemCollect == 1) && (_root.Multi_Collect == 75)) {
_root.FLOOD.data.achieve_gemCollect = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_gemCollect <= 2) && (_root.Multi_Collect == 150)) {
_root.FLOOD.data.achieve_gemCollect = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_gemCollect <= 3) && (_root.Multi_Collect == 250)) {
_root.FLOOD.data.achieve_gemCollect = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach1", "ach1" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((((_root.Multi_Collect == 100) || (_root.Multi_Collect == 200)) || (_root.Multi_Collect == 300)) || (_root.Multi_Collect == 400)) {
_root.health_mc.gotoAndStop(1);
}
Symbol 1451 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - _root.deltaX;
if ((this._x <= -7000) && (this._currentframe == 1)) {
this._y = random(400) - 550;
this._x = 7000;
} else if ((this._x <= -7000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
if (!_root.SuperHero) {
this.gotoAndStop(1);
}
this._y = random(400) - 550;
this._x = 7000;
} else {
this._y = random(400) - 550;
this._x = 7000;
}
}
if ((this.hitTest(_parent._parent.hero_mc) && (!_root.DragonSpeed)) && (!_root.Slow)) {
this.gotoAndStop(2);
}
}
};
Symbol 1451 MovieClip Frame 2
stop();
_root.Super_Collect++;
_root.SuperHero = true;
_root.onFire = false;
_parent._parent.hero_mc.gotoAndStop("superman");
if ((_root.FLOOD.data.achieve_superman == 1) && (_root.Super_Collect == 1)) {
_root.FLOOD.data.achieve_superman = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superman == 2) && (_root.Super_Collect == 3)) {
_root.FLOOD.data.achieve_superman = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superman == 3) && (_root.Super_Collect == 5)) {
_root.FLOOD.data.achieve_superman = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach4", "ach4" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superman);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var superHero = new Sound(this);
superHero.attachSound("SupermanSnd");
if (_root.Mute) {
superHero.setVolume(0);
} else {
superHero.setVolume(100);
}
superHero.start();
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC3", "valueMC" + ndd, ndd);
val.val_mc.valuee = "SUPERMAN";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1456 MovieClip Frame 1
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
};
Symbol 1457 MovieClip Frame 15
stop();
Symbol 1461 MovieClip Frame 7
stop();
Symbol 1462 MovieClip Frame 1
function checkptera() {
if ((_root.FLOOD.data.achieve_pteraKiller == 1) && (_root.pteraKill == 2)) {
_root.FLOOD.data.achieve_pteraKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach12", "ach12" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_pteraKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_pteraKiller == 2) && (_root.pteraKill == 5)) {
_root.FLOOD.data.achieve_pteraKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach12", "ach12" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_pteraKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_pteraKiller == 3) && (_root.pteraKill == 10)) {
_root.FLOOD.data.achieve_pteraKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach12", "ach12" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_pteraKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
}
stop();
onEnterFrame = function () {
if (!_root.showPtera) {
gotoAndStop ("none");
}
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if ((this._x <= -2000) && (this._currentframe == 1)) {
this._y = random(360) - 500;
this._x = 5000;
} else if ((this._x <= -2000) && (((this._currentframe == 2) || (this._currentframe == 3)) || (this._currentframe == 4))) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(360) - 500;
this._x = 5000;
} else {
this._y = random(360) - 500;
this._x = 5000;
}
}
if (this._currentframe == 1) {
if (((((this.hitTest(_parent._parent.hero_mc) && (!_root.Shield)) && (!_root.DragonSpeed)) && (!_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
if (_root.FLOOD.data.controls_mouse == false) {
if ((((!Key.isDown(38)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(100);
this.gotoAndStop(2);
}
} else if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
} else if (_root.FLOOD.data.controls_mouse == true) {
if (!_root.mouseJump) {
if (_root.Health != 0) {
_parent._parent.hero_mc.gotoAndStop("wipeout");
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 20);
this.gotoAndStop(2);
} else {
_parent._parent.hero_mc.gotoAndStop("die_die");
_root.health_mc.gotoAndStop(100);
this.gotoAndStop(2);
}
} else if (_root.mouseJump) {
_parent._parent.hero_mc.gotoAndStop("slice");
this.gotoAndStop("splat");
}
}
} else if ((((this.hitTest(_parent._parent.hero_mc) && (_root.Shield)) && (!_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
_parent._parent.hero_mc.gotoAndStop("jump_clear");
_parent._parent.shield_mc.gotoAndStop("pop");
} else if (((this.hitTest(_parent._parent.hero_mc) && (_root.Spinning)) && (!_root.SuperHero)) && (!_root.onFire)) {
this.gotoAndStop("splat");
} else if (((this.hitTest(_parent._parent.hero_mc) && (!_root.Spinning)) && (_root.SuperHero)) && (!_root.onFire)) {
_root.superKills++;
this.gotoAndStop("splatSuper");
} else if (this.hitTest(_parent._parent.hero_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
} else if (this.hitTest(_parent._parent.fireBall_mc.hit_mc) && (_root.onFire)) {
this.gotoAndStop("fire");
}
}
}
};
Symbol 1462 MovieClip Frame 2
stop();
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " pteradactyl";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
Symbol 1462 MovieClip Frame 3
stop();
tte = Math.floor(_root.score_mc.theScore / 50);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " pteradactyl";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.pteraKill++;
checkptera();
Symbol 1462 MovieClip Frame 4
stop();
var PlantDie = new Sound(this);
PlantDie.attachSound("PlantDie");
if (_root.Mute) {
PlantDie.setVolume(0);
} else {
PlantDie.setVolume(50);
PlantDie.start();
}
tte = Math.floor(_root.score_mc.theScore / 20);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " Super ptera kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.pteraKill++;
checkptera();
if ((_root.FLOOD.data.achieve_superKills == 1) && (_root.superKills == 1)) {
_root.FLOOD.data.achieve_superKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 2) && (_root.superKills == 5)) {
_root.FLOOD.data.achieve_superKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 3) && (_root.superKills == 10)) {
_root.FLOOD.data.achieve_superKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1462 MovieClip Frame 5
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(60);
Ignite.start();
}
tte = Math.floor(_root.score_mc.theScore / 300);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " Burn ptera kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.pteraKill++;
_root.fireKiller++;
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 7)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 15)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checkptera();
Symbol 1462 MovieClip Frame 6
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(400) - 550;
this._x = 5000;
this.gotoAndStop(1);
}
}
};
Symbol 1463 MovieClip Frame 1
Instance of Symbol 1405 MovieClip "cloudBG_mc" in Symbol 1463 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 1408 MovieClip "cloud_top_mc" in Symbol 1463 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 1448 MovieClip "land1" in Symbol 1463 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1448 MovieClip "land2" in Symbol 1463 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1448 MovieClip "land3" in Symbol 1463 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1448 MovieClip "land4" in Symbol 1463 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1408 MovieClip "cloud_top2_mc" in Symbol 1463 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1471 MovieClip Frame 13
stop();
_parent.gotoAndStop("choose");
Symbol 1483 MovieClip Frame 1
stop();
key1 = random(4) + 1;
key2 = random(4) + 1;
if (key2 == key1) {
if (key2 == 4) {
key2 = 1;
} else if (key2 == 1) {
key2 = 4;
} else if (key2 == 2) {
key2 = 3;
} else if (key2 == 3) {
key2 = 2;
}
}
key3 = random(4) + 1;
if (key3 == key2) {
if (key3 == 4) {
key3 = 1;
} else if (key3 == 1) {
key3 = 4;
} else if (key3 == 2) {
key3 = 3;
} else if (key3 == 3) {
key3 = 2;
}
}
key4 = random(4) + 1;
if (key4 == key3) {
if (key4 == 4) {
key4 = 1;
} else if (key4 == 1) {
key4 = 4;
} else if (key4 == 2) {
key4 = 3;
} else if (key4 == 3) {
key4 = 2;
}
}
key1_mc.gotoAndStop(key1);
key2_mc.gotoAndStop(key2);
key3_mc.gotoAndStop(key3);
key4_mc.gotoAndStop(key4);
onEnterFrame = function () {
if (this._currentframe == 1) {
if (Key.isDown(38)) {
if (key1_mc._currentframe == 1) {
gotoAndStop (2);
}
} else if (Key.isDown(39)) {
if (key1_mc._currentframe == 2) {
gotoAndStop (2);
}
} else if (Key.isDown(40)) {
if (key1_mc._currentframe == 3) {
gotoAndStop (2);
}
} else if (Key.isDown(37)) {
if (key1_mc._currentframe == 4) {
gotoAndStop (2);
}
}
}
};
Symbol 1483 MovieClip Frame 2
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
onEnterFrame = function () {
if (this._currentframe == 2) {
if (Key.isDown(38)) {
if (key2_mc._currentframe == 1) {
gotoAndStop (3);
}
} else if (Key.isDown(39)) {
if (key2_mc._currentframe == 2) {
gotoAndStop (3);
}
} else if (Key.isDown(40)) {
if (key2_mc._currentframe == 3) {
gotoAndStop (3);
}
} else if (Key.isDown(37)) {
if (key2_mc._currentframe == 4) {
gotoAndStop (3);
}
}
}
};
Symbol 1483 MovieClip Frame 3
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
onEnterFrame = function () {
if (this._currentframe == 3) {
if (Key.isDown(38)) {
if (key3_mc._currentframe == 1) {
gotoAndStop (4);
}
} else if (Key.isDown(39)) {
if (key3_mc._currentframe == 2) {
gotoAndStop (4);
}
} else if (Key.isDown(40)) {
if (key3_mc._currentframe == 3) {
gotoAndStop (4);
}
} else if (Key.isDown(37)) {
if (key3_mc._currentframe == 4) {
gotoAndStop (4);
}
}
}
};
Symbol 1483 MovieClip Frame 4
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
onEnterFrame = function () {
if (this._currentframe == 4) {
if (Key.isDown(38)) {
if (key4_mc._currentframe == 1) {
gotoAndStop (5);
}
} else if (Key.isDown(39)) {
if (key4_mc._currentframe == 2) {
gotoAndStop (5);
}
} else if (Key.isDown(40)) {
if (key4_mc._currentframe == 3) {
gotoAndStop (5);
}
} else if (Key.isDown(37)) {
if (key4_mc._currentframe == 4) {
gotoAndStop (5);
}
}
}
};
Symbol 1483 MovieClip Frame 5
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
onEnterFrame = function () {
};
nextFrame();
Symbol 1483 MovieClip Frame 6
stop();
_parent.gotoAndStop("kill_who");
onEnterFrame = function () {
};
Symbol 1486 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
hide_mc._visible = false;
} else {
hide_mc._visible = true;
}
};
Symbol 1512 MovieClip Frame 1
stop();
key1 = random(4) + 1;
key2 = random(4) + 1;
if (key2 == key1) {
if (key2 == 4) {
key2 = 1;
} else if (key2 == 1) {
key2 = 4;
} else if (key2 == 2) {
key2 = 3;
} else if (key2 == 3) {
key2 = 2;
}
}
key3 = random(4) + 1;
if (key3 == key2) {
if (key3 == 4) {
key3 = 1;
} else if (key3 == 1) {
key3 = 4;
} else if (key3 == 2) {
key3 = 3;
} else if (key3 == 3) {
key3 = 2;
}
}
key4 = random(4) + 1;
if (key4 == key3) {
if (key4 == 4) {
key4 = 1;
} else if (key4 == 1) {
key4 = 4;
} else if (key4 == 2) {
key4 = 3;
} else if (key4 == 3) {
key4 = 2;
}
}
key1_mc.gotoAndStop(key1);
key2_mc.gotoAndStop(key2);
key3_mc.gotoAndStop(key3);
key4_mc.gotoAndStop(key4);
onEnterFrame = function () {
if (this._currentframe == 1) {
if (Key.isDown(38)) {
if (key1_mc._currentframe == 1) {
gotoAndStop (2);
}
} else if (Key.isDown(39)) {
if (key1_mc._currentframe == 2) {
gotoAndStop (2);
}
} else if (Key.isDown(40)) {
if (key1_mc._currentframe == 3) {
gotoAndStop (2);
}
} else if (Key.isDown(37)) {
if (key1_mc._currentframe == 4) {
gotoAndStop (2);
}
}
}
};
Symbol 1512 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (this._currentframe == 2) {
if (Key.isDown(38)) {
if (key2_mc._currentframe == 1) {
gotoAndStop (3);
}
} else if (Key.isDown(39)) {
if (key2_mc._currentframe == 2) {
gotoAndStop (3);
}
} else if (Key.isDown(40)) {
if (key2_mc._currentframe == 3) {
gotoAndStop (3);
}
} else if (Key.isDown(37)) {
if (key2_mc._currentframe == 4) {
gotoAndStop (3);
}
}
}
};
Symbol 1512 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (this._currentframe == 3) {
if (Key.isDown(38)) {
if (key3_mc._currentframe == 1) {
gotoAndStop (4);
}
} else if (Key.isDown(39)) {
if (key3_mc._currentframe == 2) {
gotoAndStop (4);
}
} else if (Key.isDown(40)) {
if (key3_mc._currentframe == 3) {
gotoAndStop (4);
}
} else if (Key.isDown(37)) {
if (key3_mc._currentframe == 4) {
gotoAndStop (4);
}
}
}
};
Symbol 1512 MovieClip Frame 4
stop();
onEnterFrame = function () {
if (this._currentframe == 4) {
if (Key.isDown(38)) {
if (key4_mc._currentframe == 1) {
gotoAndStop (5);
}
} else if (Key.isDown(39)) {
if (key4_mc._currentframe == 2) {
gotoAndStop (5);
}
} else if (Key.isDown(40)) {
if (key4_mc._currentframe == 3) {
gotoAndStop (5);
}
} else if (Key.isDown(37)) {
if (key4_mc._currentframe == 4) {
gotoAndStop (5);
}
}
}
};
Symbol 1512 MovieClip Frame 5
stop();
onEnterFrame = function () {
};
nextFrame();
Symbol 1512 MovieClip Frame 6
stop();
_parent.gotoAndStop("kill_who");
onEnterFrame = function () {
};
Symbol 1535 MovieClip Frame 1
stop();
key1 = random(4) + 1;
key2 = random(4) + 1;
if (key2 == key1) {
if (key2 == 4) {
key2 = 1;
} else if (key2 == 1) {
key2 = 4;
} else if (key2 == 2) {
key2 = 3;
} else if (key2 == 3) {
key2 = 2;
}
}
key3 = random(4) + 1;
if (key3 == key2) {
if (key3 == 4) {
key3 = 1;
} else if (key3 == 1) {
key3 = 4;
} else if (key3 == 2) {
key3 = 3;
} else if (key3 == 3) {
key3 = 2;
}
}
key4 = random(4) + 1;
if (key4 == key3) {
if (key4 == 4) {
key4 = 1;
} else if (key4 == 1) {
key4 = 4;
} else if (key4 == 2) {
key4 = 3;
} else if (key4 == 3) {
key4 = 2;
}
}
key1_mc.gotoAndStop(key1);
key2_mc.gotoAndStop(key2);
key3_mc.gotoAndStop(key3);
key4_mc.gotoAndStop(key4);
onEnterFrame = function () {
if (this._currentframe == 1) {
if (Key.isDown(38)) {
if (key1_mc._currentframe == 1) {
gotoAndStop (2);
}
} else if (Key.isDown(39)) {
if (key1_mc._currentframe == 2) {
gotoAndStop (2);
}
} else if (Key.isDown(40)) {
if (key1_mc._currentframe == 3) {
gotoAndStop (2);
}
} else if (Key.isDown(37)) {
if (key1_mc._currentframe == 4) {
gotoAndStop (2);
}
}
}
};
Symbol 1535 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (this._currentframe == 2) {
if (Key.isDown(38)) {
if (key2_mc._currentframe == 1) {
gotoAndStop (3);
}
} else if (Key.isDown(39)) {
if (key2_mc._currentframe == 2) {
gotoAndStop (3);
}
} else if (Key.isDown(40)) {
if (key2_mc._currentframe == 3) {
gotoAndStop (3);
}
} else if (Key.isDown(37)) {
if (key2_mc._currentframe == 4) {
gotoAndStop (3);
}
}
}
};
Symbol 1535 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (this._currentframe == 3) {
if (Key.isDown(38)) {
if (key3_mc._currentframe == 1) {
gotoAndStop (4);
}
} else if (Key.isDown(39)) {
if (key3_mc._currentframe == 2) {
gotoAndStop (4);
}
} else if (Key.isDown(40)) {
if (key3_mc._currentframe == 3) {
gotoAndStop (4);
}
} else if (Key.isDown(37)) {
if (key3_mc._currentframe == 4) {
gotoAndStop (4);
}
}
}
};
Symbol 1535 MovieClip Frame 4
stop();
onEnterFrame = function () {
if (this._currentframe == 4) {
if (Key.isDown(38)) {
if (key4_mc._currentframe == 1) {
gotoAndStop (5);
}
} else if (Key.isDown(39)) {
if (key4_mc._currentframe == 2) {
gotoAndStop (5);
}
} else if (Key.isDown(40)) {
if (key4_mc._currentframe == 3) {
gotoAndStop (5);
}
} else if (Key.isDown(37)) {
if (key4_mc._currentframe == 4) {
gotoAndStop (5);
}
}
}
};
Symbol 1535 MovieClip Frame 5
stop();
onEnterFrame = function () {
};
nextFrame();
Symbol 1535 MovieClip Frame 6
stop();
_parent.gotoAndStop("kill_who");
onEnterFrame = function () {
};
Symbol 1580 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent.hero_mc._y >= 1000) && (_root.canBsaved)) && (this._currentframe == 1)) && (!_root.Shield)) && (_parent.hero_mc._currentframe != 27)) && (!_root.Dead)) {
_parent.hero_mc.posY = 1000;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.detlaY = 0;
_parent.hero_mc.gotoAndStop("invis");
gotoAndStop ("splash");
}
if ((((_parent.hero_mc._y >= 1000) && (this._currentframe == 1)) && (_root.Shield)) && (!_root.Dead)) {
_parent.shield_mc.gotoAndStop("pop");
_parent.hero_mc.gotoAndStop("tramp");
}
};
Symbol 1580 MovieClip Frame 2
_root.onFire = false;
splash_mc._x = _parent.hero_mc._x;
splash_mc._y = 1000;
splash_mc.gotoAndPlay(1);
_root.Special = true;
_root.guardian = 0;
stop();
Symbol 1580 MovieClip Frame 3
stop();
_root.MonstersFaced++;
_root.Boost = false;
_root.speedBar_mc.lives_mc.prevFrame();
var myEnemy = "";
rand_enem = random(3);
if (rand_enem == 0) {
myEnemy = "dragon";
} else if (rand_enem == 1) {
myEnemy = "shark";
} else if (rand_enem == 2) {
myEnemy = "octo";
}
gotoAndPlay(myEnemy);
Symbol 1580 MovieClip Frame 4
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 1580 MovieClip Frame 22
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 23
_parent.hero_mc.gotoAndStop("special_air");
Symbol 1580 MovieClip Frame 32
_root.Slow = true;
monsterCounter = _root.attackMonster[_root.MonstersFaced];
stop();
onEnterFrame = function () {
if (!_root.Pause) {
barM_mc.bar_mc._xscale = barM_mc.bar_mc._xscale - monsterCounter;
barM_mc.bar2_mc._xscale = barM_mc.bar2_mc._xscale - monsterCounter;
if (barM_mc.bar_mc._xscale <= 0) {
barM_mc.bar_mc._xscale = 0;
barM_mc.bar2_mc._xscale = 0;
gotoAndPlay ("dragon_over");
}
}
};
Symbol 1580 MovieClip Frame 33
_root.Slow = false;
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 34
_parent.hero_mc.gotoAndStop("invis");
tte = 1000;
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " serpent";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1580 MovieClip Frame 51
stop();
_root.Dead = true;
onEnterFrame = function () {
};
Symbol 1580 MovieClip Frame 52
onEnterFrame = function () {
};
_root.serpentKill++;
_root.MonstersSlay++;
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
if ((_root.FLOOD.data.achieve_monsterSave == 1) && (_root.MonstersSlay == 1)) {
_root.FLOOD.data.achieve_monsterSave = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 2) && (_root.MonstersSlay == 3)) {
_root.FLOOD.data.achieve_monsterSave = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 3) && (_root.MonstersSlay == 5)) {
_root.FLOOD.data.achieve_monsterSave = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1580 MovieClip Frame 60
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1580 MovieClip Frame 70
stop();
gotoAndStop (1);
Symbol 1580 MovieClip Frame 71
stop();
if (_root.showCuts) {
_root.Pause = true;
_root.CutScene = true;
DD = _root.cut_mc.getNextHighestDepth();
DA = _root.cut_mc.attachMovie("Cut_Scene_1", "Cut_Scene_1" + DD, DD);
} else if (!_root.showCuts) {
_root.Pause = false;
_root.CutScene = false;
}
onEnterFrame = function () {
if ((!_root.Pause) && (!_root.CutScene)) {
if (myEnemy == "dragon") {
gotoAndPlay ("escape");
} else if (myEnemy == "shark") {
gotoAndPlay ("shark_escape");
} else if (myEnemy == "octo") {
gotoAndPlay ("octo_escape");
}
}
};
Symbol 1580 MovieClip Frame 73
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 74
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 1580 MovieClip Frame 88
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 89
_parent.hero_mc.gotoAndStop("special_air");
Symbol 1580 MovieClip Frame 97
_root.Slow = true;
monsterCounter = _root.attackMonster[_root.MonstersFaced];
stop();
onEnterFrame = function () {
if (!_root.Pause) {
barM_mc.bar_mc._xscale = barM_mc.bar_mc._xscale - monsterCounter;
barM_mc.bar2_mc._xscale = barM_mc.bar2_mc._xscale - monsterCounter;
if (barM_mc.bar_mc._xscale <= 0) {
barM_mc.bar_mc._xscale = 0;
barM_mc.bar2_mc._xscale = 0;
gotoAndPlay ("shark_over");
}
}
};
Symbol 1580 MovieClip Frame 98
_root.Slow = false;
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 99
_parent.hero_mc.gotoAndStop("invis");
tte = 1000;
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " shark";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1580 MovieClip Frame 118
stop();
_root.Dead = true;
onEnterFrame = function () {
};
Symbol 1580 MovieClip Frame 119
onEnterFrame = function () {
};
_root.sharkKill++;
_root.MonstersSlay++;
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
if ((_root.FLOOD.data.achieve_monsterSave == 1) && (_root.MonstersSlay == 1)) {
_root.FLOOD.data.achieve_monsterSave = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 2) && (_root.MonstersSlay == 3)) {
_root.FLOOD.data.achieve_monsterSave = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 3) && (_root.MonstersSlay == 5)) {
_root.FLOOD.data.achieve_monsterSave = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1580 MovieClip Frame 128
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1580 MovieClip Frame 138
stop();
gotoAndStop (1);
Symbol 1580 MovieClip Frame 140
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 141
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 1580 MovieClip Frame 148
_parent.hero_mc.gotoAndStop("special_air2");
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 166
_root.Slow = true;
monsterCounter = _root.attackMonster[_root.MonstersFaced];
stop();
onEnterFrame = function () {
if (!_root.Pause) {
barM_mc.bar_mc._xscale = barM_mc.bar_mc._xscale - monsterCounter;
barM_mc.bar2_mc._xscale = barM_mc.bar2_mc._xscale - monsterCounter;
if (barM_mc.bar_mc._xscale <= 0) {
barM_mc.bar_mc._xscale = 0;
barM_mc.bar2_mc._xscale = 0;
gotoAndPlay ("octo_over");
}
}
};
Symbol 1580 MovieClip Frame 167
_root.Slow = false;
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1580 MovieClip Frame 170
_parent.hero_mc.gotoAndStop("invis");
tte = 1000;
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " squid";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1580 MovieClip Frame 174
stop();
_root.Dead = true;
gotoAndPlay ("octoLeave");
Symbol 1580 MovieClip Frame 175
onEnterFrame = function () {
};
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
Symbol 1580 MovieClip Frame 190
stop();
gotoAndStop (1);
Symbol 1580 MovieClip Frame 191
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
};
_root.OctoKill++;
_root.MonstersSlay++;
_root.Slow = false;
_root.Special = false;
_root.Boost = false;
_parent.hero_mc.gotoAndStop("invis");
if ((_root.FLOOD.data.achieve_monsterSave == 1) && (_root.MonstersSlay == 1)) {
_root.FLOOD.data.achieve_monsterSave = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 2) && (_root.MonstersSlay == 3)) {
_root.FLOOD.data.achieve_monsterSave = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 3) && (_root.MonstersSlay == 5)) {
_root.FLOOD.data.achieve_monsterSave = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1580 MovieClip Frame 195
var MonsterK = new Sound(this);
MonsterK.attachSound("PlantDie");
MonsterK.setVolume(100);
if (!_root.Mute) {
MonsterK.start();
}
Symbol 1580 MovieClip Frame 199
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1580 MovieClip Frame 200
_parent.hero_mc.gotoAndStop("escape");
_root.Boost = true;
Symbol 1580 MovieClip Frame 210
stop();
gotoAndStop (1);
Symbol 1585 MovieClip Frame 81
stop();
Symbol 1586 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (!_root.Pause) {
this._x = this._x - _root.deltaX;
if ((this._x <= -960) && (this._currentframe == 1)) {
gotoAndStop (2);
}
}
};
Symbol 1586 MovieClip Frame 2
stop();
var bigCrack = new Sound(this);
bigCrack.attachSound("bigCrack");
if (_root.Mute) {
bigCrack.setVolume(0);
} else {
bigCrack.setVolume(80);
}
bigCrack.start();
onEnterFrame = function () {
if (!_root.Pause) {
this._x = this._x - _root.deltaX;
if (fall_mc._currentframe < 81) {
fall_mc.play();
}
} else {
fall_mc.stop();
}
};
Symbol 1600 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.Slow || (!_root.onFire)) || (_root.Pause)) {
stop();
} else {
play();
}
};
Symbol 1600 MovieClip Frame 3
Symbol 1600 MovieClip Frame 12
Symbol 1600 MovieClip Frame 22
Symbol 1600 MovieClip Frame 30
_root.health_mc.nextFrame();
if ((_root.FLOOD.data.achieve_onfire == 1) && (_root.onFireTime >= 10)) {
_root.FLOOD.data.achieve_onfire = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach24", "ach24" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_onfire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_onfire == 2) && (_root.onFireTime >= 700)) {
_root.FLOOD.data.achieve_onfire = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach24", "ach24" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_onfire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_onfire == 3) && (_root.onFireTime >= 1800)) {
_root.FLOOD.data.achieve_onfire = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach24", "ach24" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_onfire);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1610 MovieClip Frame 1
stop();
Symbol 1610 MovieClip Frame 16
stop();
_parent.gotoAndStop("run");
Symbol 1629 MovieClip Frame 4
stop();
Symbol 1632 MovieClip Frame 3
stop();
Symbol 1637 MovieClip Frame 9
stop();
Symbol 1657 MovieClip Frame 1
stop();
Symbol 1657 MovieClip Frame 2
var Punch = new Sound(this);
Punch.attachSound("Punch");
if (_root.Mute) {
Punch.setVolume(0);
} else {
Punch.setVolume(80);
}
Punch.start();
Symbol 1662 MovieClip Frame 3
stop();
Symbol 1666 MovieClip Frame 4
stop();
_parent.gotoAndStop("run");
Symbol 1672 MovieClip Frame 10
stop();
_parent.gotoAndStop("run");
Symbol 1681 MovieClip Frame 1
stop();
Symbol 1681 MovieClip Frame 8
gotoAndPlay ("loop");
Symbol 1681 MovieClip Frame 11
_parent.gotoAndStop("jump");
Symbol 1682 MovieClip Frame 3
stop();
Symbol 1703 MovieClip Frame 9
stop();
Symbol 1711 MovieClip Frame 5
stop();
Symbol 1724 MovieClip Frame 8
stop();
Symbol 1724 MovieClip Frame 11
_root.Boosting = false;
Symbol 1724 MovieClip Frame 17
_parent.gotoAndStop("run");
Symbol 1737 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
var Elec = new Sound(this);
Elec.attachSound("Elec");
if (_root.Mute) {
Elec.setVolume(0);
} else {
Elec.setVolume(50);
Elec.start();
}
Symbol 1737 MovieClip Frame 3
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " sky";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1737 MovieClip Frame 6
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " sky";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1737 MovieClip Frame 9
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " sky";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1737 MovieClip Frame 13
stop();
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
if (_root.Mute) {
Ouch.setVolume(0);
} else {
Ouch.setVolume(80);
Ouch.start();
}
if (_root.Health != 0) {
_root.health_mc.gotoAndStop(_root.health_mc._currentframe + 10);
_parent.gotoAndStop("wipeout");
} else {
_parent.gotoAndStop("wipeout_Die");
}
_root.Boost = true;
Symbol 1750 MovieClip Frame 1
_parent._parent.shield_mc.gotoAndStop("elec");
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
var Elec = new Sound(this);
Elec.attachSound("Elec");
if (_root.Mute) {
Elec.setVolume(0);
} else {
Elec.setVolume(50);
Elec.start();
}
Symbol 1750 MovieClip Frame 13
stop();
_parent._parent.shield_mc.gotoAndStop("pop");
_parent.gotoAndStop("wipeout");
Symbol 1765 MovieClip Frame 30
stop();
_root.Dead = true;
Symbol 1765 MovieClip Frame 33
_root.Boosting = false;
Symbol 1765 MovieClip Frame 39
_parent.gotoAndStop("run");
Symbol 1779 MovieClip Frame 5
_root.Dead = true;
Symbol 1779 MovieClip Frame 19
stop();
_root.Dead = true;
_root.Pause = true;
Symbol 1779 MovieClip Frame 31
_root.Boosting = false;
Symbol 1779 MovieClip Frame 37
_parent.gotoAndStop("run");
Symbol 1790 MovieClip Frame 11
stop();
Symbol 1792 MovieClip Frame 3
stop();
Symbol 1797 MovieClip Frame 10
stop();
Symbol 1798 MovieClip Frame 1
posY = this._y;
_root.tempSpeedUD = 0;
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var WR1 = _parent.ground2_mc.land1.wall_mc;
var WR2 = _parent.ground2_mc.land2.wall_mc;
var WR3 = _parent.ground2_mc.land3.wall_mc;
var WR4 = _parent.ground2_mc.land4.wall_mc;
var WR1b = _parent.ground1_mc.land1.wall_mc;
var WR2b = _parent.ground1_mc.land2.wall_mc;
var WR3b = _parent.ground1_mc.land3.wall_mc;
var WR4b = _parent.ground1_mc.land4.wall_mc;
checkWallRun = function () {
onTheWall = false;
if (hitCheck(WR1, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR1b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
};
checkWallFall = function () {
if ((((((((!hitCheck(WR1, this._x, this._y - 10)) && (!hitCheck(WR2, this._x, this._y - 10))) && (!hitCheck(WR3, this._x, this._y - 10))) && (!hitCheck(WR4, this._x, this._y - 10))) && (!hitCheck(WR1b, this._x, this._y - 10))) && (!hitCheck(WR2b, this._x, this._y - 10))) && (!hitCheck(WR3b, this._x, this._y - 10))) && (!hitCheck(WR4b, this._x, this._y - 10))) {
_root.is_wallRun = false;
gotoAndStop ("jump");
}
};
grav = function () {
deltaY = deltaY + gravity;
if (deltaY >= 18) {
deltaY = 18;
}
posY = posY + deltaY;
this._y = posY;
};
checkKeys = function () {
keyup = Key.isDown(38);
keydown = Key.isDown(40);
keyleft = Key.isDown(37);
keyright = Key.isDown(39);
};
Glider = false;
DJump = false;
deltaY = 0;
posY = this._y;
gravity = 1;
checkJumpingReward = function () {
if ((_root.FLOOD.data.achieve_jumper == 1) && (_root.maxJumper == 100)) {
_root.FLOOD.data.achieve_jumper = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_jumper == 2) && (_root.maxJumper == 250)) {
_root.FLOOD.data.achieve_jumper = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_jumper == 3) && (_root.maxJumper == 500)) {
_root.FLOOD.data.achieve_jumper = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
};
Symbol 1798 MovieClip Frame 3
stop();
onEnterFrame = function () {
if ((!_root.Pause) && (start_mc._currentframe == 1)) {
start_mc.gotoAndPlay(2);
}
};
Symbol 1798 MovieClip Frame 4
deltaY = 0;
_root.superCombo = 0;
_root.score_mc.combo_mc.gotoAndStop(1);
_root.Boost = false;
_root.isGlide = false;
_root.Spinning = false;
if (_root.InPlant) {
gotoAndStop ("invis");
}
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
_parent.hero_sound_mc.hero_feet.setVolume(0);
} else {
run_mc.play();
if (!_root.Mute) {
_parent.hero_sound_mc.hero_feet.setVolume(80);
} else {
_parent.hero_sound_mc.hero_feet.setVolume(0);
}
if (_root.Slipping) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("slip");
}
grav();
if (deltaY >= 2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("fall");
}
if (deltaY <= -2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
checkKeys();
if (keyup) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
}
};
Symbol 1798 MovieClip Frame 5
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.tempSpeedUD = 0;
_root.Slipping = false;
posY = this._y;
tempMax = 1;
deltaY = 2;
_root.Spinning = false;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!DJump) {
DJump = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 1798 MovieClip Frame 6
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 1798 MovieClip Frame 7
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.isGlide = false;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 1798 MovieClip Frame 8
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
_root.isGlide = false;
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY >= 0) {
gotoAndStop ("final_fall");
}
}
};
Symbol 1798 MovieClip Frame 9
_root.maxJumper++;
checkJumpingReward();
_root.SuperHero = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
if (_root.InPlant) {
gotoAndStop ("invis");
}
deltaY = -9;
posY = this._y;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 1798 MovieClip Frame 10
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -9;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 1798 MovieClip Frame 11
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -8;
posY = this._y;
DJump = false;
Glider = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("double_fall");
}
checkKeys();
if (!keyup) {
Glider = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
}
};
Symbol 1798 MovieClip Frame 12
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
deltaY = -6;
Glider = true;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.4;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 1798 MovieClip Frame 13
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
Glider = true;
deltaY = -2;
glideMax = 5;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.4;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
glideMax = 3;
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
if (glideMax != 5) {
if (deltaY < glideMax) {
gotoAndStop ("roll");
}
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 1798 MovieClip Frame 14
deltaY = 0;
_root.superCombo = 0;
_root.score_mc.combo_mc.gotoAndStop(1);
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 1798 MovieClip Frame 15
deltaY = 0;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
}
};
Symbol 1798 MovieClip Frame 16
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = -(random(20) + 20);
_parent.hero_sound_mc.hero_feet.setVolume(0);
_root.isGlide = true;
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
_root.isGlide = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
if (tramp_mc.spin_mc._currentframe == 1) {
_root.Spinning = true;
tramp_mc.spin_mc.gotoAndPlay(2);
}
}
if (!keyup) {
if ((tramp_mc.spin_mc._currentframe != 1) && (tramp_mc.spin_mc._currentframe < 9)) {
tramp_mc.spin_mc.gotoAndPlay("stopp");
}
}
}
};
Symbol 1798 MovieClip Frame 17
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -14;
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
gotoAndStop ("fall");
}
}
};
Symbol 1798 MovieClip Frame 18
_root.is_wallRun = true;
deltaY = 0;
wallRunNum = 5;
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
} else {
run_mc.play();
if (_root.Mute) {
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
} else {
_parent.wallRun_sound_mc.wallRunS.setVolume(70);
}
this._y = this._y - wallRunNum;
posY = posY - wallRunNum;
wallRunNum = wallRunNum - 0.15;
if (wallRunNum <= 0) {
wallRunNum = 0;
}
checkWallFall();
checkKeys();
if (keyup && (wallRunNum < 3)) {
_root.is_wallRun = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
gotoAndStop ("jump_clear");
}
}
};
Symbol 1798 MovieClip Frame 19
onEnterFrame = function () {
};
Symbol 1798 MovieClip Frame 20
onEnterFrame = function () {
};
Symbol 1798 MovieClip Frame 21
var Smack = new Sound(this);
Smack.attachSound("Smack");
if (_root.Mute) {
Smack.setVolume(0);
} else {
Smack.setVolume(80);
}
Smack.start();
deltaY = -14;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else {
deltaY = deltaY - 0.4;
}
}
}
};
Symbol 1798 MovieClip Frame 22
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
_root.Slipping = true;
if (this._y > -90) {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("oil_anim", "oil_mc", newSlickD);
} else {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("iceSlide_anim", "ice_mc", newSlickD);
}
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("wipeout");
}
checkKeys();
if (keyup) {
gotoAndStop ("slip_recover");
}
}
};
Symbol 1798 MovieClip Frame 23
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup && (support_mc._currentframe >= 5)) {
_root.Slipping = false;
gotoAndStop ("jump");
}
}
};
Symbol 1798 MovieClip Frame 24
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.WipedOut_times++;
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
if ((_root.FLOOD.data.achieve_wipeout == 1) && (_root.WipedOut_times == 1)) {
_root.FLOOD.data.achieve_wipeout = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_wipeout == 2) && (_root.WipedOut_times == 5)) {
_root.FLOOD.data.achieve_wipeout = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_wipeout == 3) && (_root.WipedOut_times == 15)) {
_root.FLOOD.data.achieve_wipeout = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
checkKeys();
if (!DJump) {
if (!keyup) {
DJump = true;
}
} else if (DJump) {
if ((keyup && (DeltaY >= 6)) && (trip_mc._currentframe <= 8)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 3) {
if (trip_mc._currentframe >= 9) {
trip_mc.gotoAndPlay(2);
}
}
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
trip_mc.play();
}
}
};
Symbol 1798 MovieClip Frame 25
deltaY = 0;
_root.onFire = false;
_root.Elec_times++;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
if ((_root.FLOOD.data.achieve_elec == 1) && (_root.Elec_times == 1)) {
_root.FLOOD.data.achieve_elec = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_elec == 2) && (_root.Elec_times == 3)) {
_root.FLOOD.data.achieve_elec = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_elec == 3) && (_root.Elec_times == 5)) {
_root.FLOOD.data.achieve_elec = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1798 MovieClip Frame 26
deltaY = 0;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 1798 MovieClip Frame 27
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 1798 MovieClip Frame 28
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 1798 MovieClip Frame 29
deltaY = -9;
posY = this._y;
_parent.hero_sound_mc.hero_feet.setVolume(0);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
DJump = false;
_root.theKicker++;
_root.superCombo++;
if (_root.superCombo >= 2) {
_root.score_mc.combo_mc.gotoAndStop(_root.superCombo);
} else {
_root.score_mc.combo_mc.gotoAndStop(1);
}
if ((_root.FLOOD.data.achieve_kicks == 1) && (_root.theKicker == 1)) {
_root.FLOOD.data.achieve_kicks = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_kicks == 2) && (_root.theKicker == 10)) {
_root.FLOOD.data.achieve_kicks = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_kicks == 3) && (_root.theKicker == 30)) {
_root.FLOOD.data.achieve_kicks = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((_root.FLOOD.data.achieve_superCombo == 1) && (_root.superCombo == 2)) {
_root.FLOOD.data.achieve_superCombo = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superCombo <= 2) && (_root.superCombo == 3)) {
_root.FLOOD.data.achieve_superCombo = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superCombo <= 3) && (_root.superCombo == 4)) {
_root.FLOOD.data.achieve_superCombo = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var Punch = new Sound(this);
Punch.attachSound("Punch");
if (_root.Mute) {
Punch.setVolume(0);
} else {
Punch.setVolume(80);
}
Punch.start();
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 1798 MovieClip Frame 30
_root.Slow = false;
_root.Boost = false;
_root.DragonSpeed = true;
_root.Special = true;
_root.SuperHero = true;
_root.dragonFly_mc.gotoAndStop(4);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (keyup && (this._y >= -450)) {
this._y = this._y - 5;
}
if (keydown && (this._y <= 980)) {
this._y = this._y + 5;
}
if (keyright && (this._x <= 550)) {
this._x = this._x + 5;
}
if (keyleft && (this._x >= 180)) {
this._x = this._x - 5;
}
}
};
Symbol 1798 MovieClip Frame 36
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
};
Symbol 1798 MovieClip Frame 39
stop();
gotoAndStop ("run");
onEnterFrame = function () {
if (Key.isDown(38)) {
_global.tempSpeedUD = 0;
this._y = this._y - 10;
}
if (Key.isDown(40)) {
_global.tempSpeedUD = 10;
this._y = this._y + 10;
}
};
Symbol 1812 MovieClip Frame 9
_root.Shield = false;
_parent.gotoAndStop(1);
Symbol 1818 MovieClip Frame 1
stop();
burst = false;
onEnterFrame = function () {
if (burst) {
gotoAndStop ("burst");
}
};
Instance of Symbol 1800 MovieClip in Symbol 1818 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1818 MovieClip Frame 3
var Pop = new Sound(this);
Pop.attachSound("Pop");
Pop.setVolume(100);
if (!_root.Mute) {
Pop.start();
}
onEnterFrame = function () {
};
Symbol 1818 MovieClip Frame 4
onEnterFrame = function () {
};
Instance of Symbol 1817 MovieClip in Symbol 1818 MovieClip Frame 4
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 1829 MovieClip Frame 5
if (this.hitTest(_parent._parent.hero_mc)) {
tte = Math.floor((_root.score_mc.theScore / 300) / _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " bog fly";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
}
Symbol 1833 MovieClip Frame 7
stop();
Symbol 1834 MovieClip Frame 1
function checkbog() {
if ((_root.FLOOD.data.achieve_bogKiller == 1) && (_root.bogFlyKilled == 2)) {
_root.FLOOD.data.achieve_bogKiller = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach10", "ach10" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_bogKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_bogKiller == 2) && (_root.bogFlyKilled == 5)) {
_root.FLOOD.data.achieve_bogKiller = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach10", "ach10" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_bogKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_bogKiller == 3) && (_root.bogFlyKilled == 12)) {
_root.FLOOD.data.achieve_bogKiller = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach10", "ach10" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_bogKiller);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
}
stop();
onEnterFrame = function () {
if (!_root.showBogfly) {
gotoAndStop ("none");
}
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 0.8);
if (this._x <= -2000) {
this._y = random(1000) - 400;
this._x = random(2000) + 9000;
}
var _local5 = this._x - _parent.hero_mc._x;
var _local4 = this._y - _parent.hero_mc._y;
var _local6 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if (((((_local6 <= 150) && (!_root.Special)) && (!_root.DragonSpeed)) && (!_root.Slow)) && (!_root.Shield)) {
gotoAndStop ("follow");
}
if (this.hitTest(_parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
gotoAndStop ("Superdie");
}
}
};
Symbol 1834 MovieClip Frame 2
stop();
var vx = 0;
var vy = 0;
var spring = 0.015;
var friction = 0.9;
targett = random(30) - 15;
numchanger = 5;
onEnterFrame = function () {
if (!_root.Pause) {
fly_mc.play();
var _local7 = ((_parent.hero_mc._x - this._x) - numchanger) * spring;
var _local6 = ((_parent.hero_mc._y - targett) - this._y) * spring;
if (_root.Boost) {
numchanger = numchanger + 1.5;
} else {
numchanger = 5;
}
if (numchanger >= 100) {
gotoAndStop ("flyAway");
}
vx = vx + _local7;
vy = vy + _local6;
vx = vx * friction;
vy = vy * friction;
this._x = this._x + vx;
this._y = this._y + vy;
if (this.hitTest(_parent.hero_mc) && (_root.Spinning)) {
gotoAndStop ("die");
}
if (this.hitTest(_parent.hero_mc) && (_parent.hero_mc._currentframe == 11)) {
_parent.hero_mc.double_mc.gotoAndStop(2);
gotoAndStop ("die");
}
if (this.hitTest(_parent.hero_mc) && (_root.onFire)) {
gotoAndStop ("flyAway_fire");
} else if (this.hitTest(_parent.fireBall_mc.hit_mc) && (_root.onFire)) {
gotoAndStop ("flyAway_fire");
}
if (this.hitTest(_parent.hero_mc) && (_root.SuperHero)) {
_root.superKills++;
gotoAndStop ("Superdie");
}
var _local5 = this._x - _parent.hero_mc._x;
var _local4 = this._y - _parent.hero_mc._y;
var _local8 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if (((((_local8 >= 150) || (_root.Special)) || (_root.DragonSpeed)) || (_root.Shield)) || (_root.Slow)) {
gotoAndStop ("flyAway");
}
} else {
fly_mc.stop();
}
};
Symbol 1834 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 1.2);
if (this._x <= -2000) {
this.gotoAndStop(1);
this._y = random(1000) - 400;
this._x = random(2000) + 9000;
}
}
};
Symbol 1834 MovieClip Frame 4
stop();
var Ignite = new Sound(this);
Ignite.attachSound("Ignite");
if (_root.Mute) {
Ignite.setVolume(0);
} else {
Ignite.setVolume(40);
Ignite.start();
}
_root.bogFlyKilled++;
_root.fireKiller++;
tte = 1000;
checkbog();
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " flaming blog fly";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 1.2);
if (this._x <= -2000) {
this.gotoAndStop(1);
this._y = random(1000) - 400;
this._x = random(2000) + 9000;
}
}
};
if ((_root.FLOOD.data.achieve_fireKills == 1) && (_root.fireKiller == 1)) {
_root.FLOOD.data.achieve_fireKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 2) && (_root.fireKiller == 7)) {
_root.FLOOD.data.achieve_fireKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_fireKills == 3) && (_root.fireKiller == 15)) {
_root.FLOOD.data.achieve_fireKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach13", "ach13" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1834 MovieClip Frame 5
stop();
_root.bogFlyKilled++;
checkbog();
tte = Math.floor(_root.score_mc.theScore / 500);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " spinning bog fly";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 1.2);
if (this._x <= -2000) {
this.gotoAndStop(1);
this._y = random(1000) - 400;
this._x = random(2000) + 9000;
}
}
};
Symbol 1834 MovieClip Frame 6
stop();
_root.bogFlyKilled++;
tte = Math.floor((_root.score_mc.theScore / 100) * _root.scoreMulti);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " rare kill";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
onEnterFrame = function () {
if (((!_root.Pause) && (!_root.Dead)) && (!_root.CutScene)) {
this._x = this._x - (_root.deltaX * 1.2);
if (this._x <= -2000) {
this.gotoAndStop(1);
this._y = random(1000) - 400;
this._x = random(2000) + 9000;
}
}
};
if ((_root.FLOOD.data.achieve_superKills == 1) && (_root.superKills == 1)) {
_root.FLOOD.data.achieve_superKills = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 2) && (_root.superKills == 5)) {
_root.FLOOD.data.achieve_superKills = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superKills == 3) && (_root.superKills == 10)) {
_root.FLOOD.data.achieve_superKills = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach5", "ach5" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superKills);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
checkbog();
Symbol 1834 MovieClip Frame 7
stop();
onEnterFrame = function () {
if (_root.showBogfly) {
gotoAndStop (1);
}
};
Symbol 1844 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 1850 MovieClip Frame 1
stop();
Symbol 1850 MovieClip Frame 2
stop();
_root.RideDragon++;
_root.onFire = false;
tte = Math.floor(_root.score_mc.theScore / 50);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " dragon ride";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
if ((_root.FLOOD.data.achieve_dragonRide == 1) && (_root.RideDragon == 1)) {
_root.FLOOD.data.achieve_dragonRide = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach14", "ach14" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_dragonRide == 2) && (_root.RideDragon == 2)) {
_root.FLOOD.data.achieve_dragonRide = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach14", "ach14" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_dragonRide == 3) && (_root.RideDragon == 3)) {
_root.FLOOD.data.achieve_dragonRide = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach14", "ach14" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1850 MovieClip Frame 4
_root.onFire = false;
tte = Math.floor(_root.score_mc.theScore / 100);
if (tte <= 1) {
tte = 1;
}
_root.score_mc.theScore = _root.score_mc.theScore + tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC2", "valueMC" + ndd, ndd);
val.val_mc.valuee = ("+ " + tte) + " dragon grab";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
_root.RideDragon++;
if ((_root.FLOOD.data.achieve_dragonRide == 1) && (_root.RideDragon == 1)) {
_root.FLOOD.data.achieve_dragonRide = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach14", "ach14" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_dragonRide == 2) && (_root.RideDragon == 2)) {
_root.FLOOD.data.achieve_dragonRide = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach14", "ach14" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_dragonRide == 3) && (_root.RideDragon == 3)) {
_root.FLOOD.data.achieve_dragonRide = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach14", "ach14" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1851 MovieClip Frame 1
stop();
var spring = 0.02;
var bouncyY = -100;
var bby = 0;
var DragonRoar = new Sound(this);
DragonRoar.attachSound("DragonRoar");
DragonRoar.setVolume(50);
cruizing = function () {
var _local1 = (bouncyY - dragon_mc._y) * spring;
bby = bby + _local1;
dragon_mc._y = dragon_mc._y + bby;
};
onEnterFrame = function () {
if (_root.Dragon_fly && (this._currentframe == 1)) {
if (!_root.Mute) {
DragonRoar.start();
}
gotoAndStop ("awake");
}
};
Symbol 1851 MovieClip Frame 2
_root.DragonSpeed = false;
dragon_mc.gotoAndStop(1);
theDragonSpeeed = _root.DragonSpeeeeed[_root.RideDragon];
onEnterFrame = function () {
if (!_root.Pause) {
dragon_mc._x = dragon_mc._x + (_root.deltaX * theDragonSpeeed);
dragon_mc._y = dragon_mc._y - 1;
if (dragon_mc._x >= (random(2000) + 5000)) {
dragon_mc._x = -365;
dragon_mc._y = -50;
if (!_root.Mute) {
DragonRoar.start();
}
}
if (((dragon_mc.saddle_mc.hitTest(_parent.hero_mc) && (!_root.Shield)) && (!_root.DragonSpeed)) && (!_root.SuperHero)) {
dragon_mc.gotoAndStop("saddle");
_parent.hero_mc.gotoAndStop("invis");
gotoAndStop ("fly");
}
if (((dragon_mc.hang_mc.hitTest(_parent.hero_mc) && (!_root.Shield)) && (!_root.DragonSpeed)) && (!_root.SuperHero)) {
dragon_mc.gotoAndStop("hang");
_parent.hero_mc.gotoAndStop("invis");
gotoAndStop ("hang");
}
}
};
Symbol 1851 MovieClip Frame 3
_root.DragonSpeed = true;
_parent.hero_mc.gotoAndStop("invis");
_root.dragonFly_mc.gotoAndStop(2);
onEnterFrame = function () {
if (!_root.Pause) {
_parent.hero_mc.posY = dragon_mc._y;
_parent.hero_mc._y = dragon_mc._y;
_parent.hero_mc._x = dragon_mc._x;
if (dragon_mc._x <= 180) {
dragon_mc._x = 180;
}
if (_root.FLOOD.data.controls_mouse == false) {
if (Key.isDown(38) && (dragon_mc._y >= -450)) {
dragon_mc._y = dragon_mc._y - 6;
}
if (Key.isDown(40) && (dragon_mc._y <= 400)) {
dragon_mc._y = dragon_mc._y + 8;
}
if (Key.isDown(39) && (dragon_mc._x <= 500)) {
dragon_mc._x = dragon_mc._x + 5;
}
if (Key.isDown(37) && (dragon_mc._x >= 181)) {
dragon_mc._x = dragon_mc._x - 5;
}
} else {
if ((dragon_mc._y >= -450) && (dragon_mc._y <= 550)) {
newPOSY = _parent._ymouse;
if (dragon_mc._y <= (newPOSY - 15)) {
dragon_mc._y = dragon_mc._y + 8;
}
if (dragon_mc._y >= (newPOSY + 15)) {
dragon_mc._y = dragon_mc._y - 8;
}
}
if ((dragon_mc._x >= 100) && (dragon_mc._x <= 500)) {
newPOSX = _parent._xmouse;
if (dragon_mc._x <= (newPOSX + 25)) {
dragon_mc._x = dragon_mc._x + 6;
}
if (dragon_mc._x >= (newPOSX - 25)) {
dragon_mc._x = dragon_mc._x - 6;
}
}
if (dragon_mc._x <= 250) {
dragon_mc._x = 250;
}
if (dragon_mc._x >= 500) {
dragon_mc._x = 500;
}
if (dragon_mc._y <= -450) {
dragon_mc._y = -450;
}
if (dragon_mc._y >= 550) {
dragon_mc._y = 550;
}
}
}
};
Symbol 1851 MovieClip Frame 4
_root.DragonSpeed = true;
_parent.hero_mc.gotoAndStop("invis");
_root.dragonFly_mc.gotoAndStop(2);
onEnterFrame = function () {
if (!_root.Pause) {
_parent.hero_mc._x = dragon_mc._x;
_parent.hero_mc.posY = dragon_mc._y;
_parent.hero_mc._y = dragon_mc._y;
cruizing();
}
};
Symbol 1851 MovieClip Frame 5
stop();
_parent.hero_mc._x = dragon_mc._x;
_root.DragonSpeed = false;
_parent.hero_mc.gotoAndStop("jump");
dragon_mc.gotoAndStop("away");
onEnterFrame = function () {
if (!_root.Pause) {
dragon_mc._x = dragon_mc._x + (_root.deltaX * (theDragonSpeeed * 2));
dragon_mc._y = dragon_mc._y - 2;
if (dragon_mc._x >= (random(2000) + 9000)) {
dragon_mc.gotoAndStop(1);
dragon_mc._x = -365;
dragon_mc._y = -50;
if (!_root.Mute) {
DragonRoar.start();
}
gotoAndStop (2);
}
}
};
Symbol 1851 MovieClip Frame 6
stop();
_root.DragonSpeed = false;
_parent.hero_mc.gotoAndStop("wipeout");
dragon_mc.gotoAndStop("away");
onEnterFrame = function () {
if (!_root.Pause) {
dragon_mc._x = dragon_mc._x + (_root.deltaX * (theDragonSpeeed * 2));
dragon_mc._y = dragon_mc._y - 2;
if (dragon_mc._x >= (random(2000) + 9000)) {
if (!_root.Mute) {
DragonRoar.start();
}
gotoAndStop (2);
dragon_mc.gotoAndStop(1);
dragon_mc._x = -365;
dragon_mc._y = -50;
}
}
};
tte = Math.round(_root.score_mc.theScore / 15);
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " dragon tail";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 1859 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.seconds == 2) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 2
stop();
new mx.transitions.Tween(_parent.bot_mc, "_y", mx.transitions.easing.Regular.easeInOut, _parent._y + 350, _parent._y + 1080, 2, true);
new mx.transitions.Tween(_parent.top_mc, "_y", mx.transitions.easing.Regular.easeInOut, _parent._y, _parent._y - 650, 2, true);
onEnterFrame = function () {
if (_root.seconds == 20) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 3
stop();
_root.showTramp = true;
onEnterFrame = function () {
if (_root.seconds == 30) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 4
stop();
_root.showTortoise = true;
onEnterFrame = function () {
if (_root.seconds == 50) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 5
stop();
_root.showBat = true;
onEnterFrame = function () {
if (_root.seconds == 70) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 6
stop();
_root.showBug = true;
_root.showFire = true;
_root.Gap = 150;
_root.topSpeed++;
onEnterFrame = function () {
if (_root.seconds == 90) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 7
stop();
_root.showPtera = true;
_root.Dragon_fly = true;
_root.showOil = true;
onEnterFrame = function () {
if (_root.seconds == 110) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 8
stop();
_root.showPlant = true;
onEnterFrame = function () {
if (_root.seconds == 130) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 9
stop();
_root.showBogfly = true;
_root.Gap = 200;
onEnterFrame = function () {
if (_root.seconds == 150) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 10
stop();
_root.topSpeed++;
onEnterFrame = function () {
if (_root.seconds == 180) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 11
stop();
onEnterFrame = function () {
if (_root.seconds == 210) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 12
stop();
_root.showFallPlat = true;
_root.topSpeed++;
onEnterFrame = function () {
if (_root.seconds == 250) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 13
stop();
_root.showBatWave2 = true;
onEnterFrame = function () {
if (_root.seconds == 300) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 14
stop();
_root.showBugWave2 = true;
_root.Gap = 280;
onEnterFrame = function () {
if (_root.seconds == 330) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 15
stop();
_root.Gap = _root.Gap + 10;
onEnterFrame = function () {
if (_root.seconds == 390) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 16
stop();
_root.Gap = _root.Gap + 10;
onEnterFrame = function () {
if (_root.seconds == 450) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 17
stop();
_root.Gap = _root.Gap + 10;
onEnterFrame = function () {
if (_root.seconds == 490) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 18
stop();
_root.topSpeed++;
onEnterFrame = function () {
if (_root.seconds == 550) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 19
stop();
_root.Gap = _root.Gap + 10;
onEnterFrame = function () {
if (_root.seconds == 600) {
nextFrame();
}
};
Symbol 1859 MovieClip Frame 20
stop();
_root.Gap = _root.Gap + 10;
_root.topSpeed++;
onEnterFrame = function () {
};
Symbol 1861 MovieClip Frame 1
var hero_feet = new Sound(this);
hero_feet.attachSound("hero_feet");
hero_feet.setVolume(0);
hero_feet.start(0, 99999);
Symbol 1863 MovieClip Frame 1
var Air = new Sound(this);
var lastVol = 0;
Air.setVolume(0);
Air.attachSound("Air");
Air.start(0, 99999);
onEnterFrame = function () {
var _local7 = _parent.hero_mc;
var _local6 = this._x - _local7._x;
var _local5 = this._y - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 700) ? (_local8) : 700);
var _local4 = Math.round(100 - (_local9 / 8));
if (_local4 <= 10) {
_local4 = 10;
}
if (_local4 != lastVol) {
Air.setVolume(_local4 * 0.5);
lastVol = _local4;
}
if (((_root.Pause && (_root.seconds >= 1)) || (_root.Slow)) || (_root.Mute)) {
Air.setVolume(0);
}
};
Symbol 1864 MovieClip Frame 1
var Water = new Sound(this);
var lastVol = 0;
Water.setVolume(0);
Water.attachSound("water");
Water.start(0, 99999);
onEnterFrame = function () {
var _local7 = _parent.hero_mc;
if (!_root.Pause) {
var _local6 = this._x - _local7._x;
var _local5 = this._y - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 550) ? (_local8) : 550);
var _local4 = Math.round(100 - (_local9 / 5));
if (_local4 <= 0) {
_local4 = 0;
}
if (_local4 != lastVol) {
Water.setVolume(_local4 * 0.5);
lastVol = _local4;
}
}
if ((_root.Pause || (_root.Slow)) || (_root.Mute)) {
Water.setVolume(0);
}
};
Symbol 1866 MovieClip Frame 1
var wallRunS = new Sound(this);
wallRunS.attachSound("wallRunS");
wallRunS.setVolume(0);
wallRunS.start(0, 99999);
Symbol 1867 MovieClip Frame 1
var fireSnd = new Sound(this);
fireSnd.attachSound("fireSnd");
fireSnd.setVolume(0);
fireSnd.start(0, 999999);
Symbol 1869 MovieClip Frame 1
var fireSnd2 = new Sound(this);
fireSnd2.attachSound("fire_small");
fireSnd2.setVolume(0);
fireSnd2.start(0, 999999);
Symbol 1871 MovieClip Frame 1
var Heart = new Sound(this);
Heart.attachSound("heartBeat");
Heart.setVolume(0);
Heart.start(0, 999999);
Symbol 1873 MovieClip Frame 1
var Lava = new Sound(this);
var lastVol = 0;
Lava.setVolume(0);
Lava.attachSound("LavaSnd");
Lava.start(0, 99999);
soundFull = false;
soundAdd = 0;
onEnterFrame = function () {
if (!soundFull) {
if (_root.seconds > 2) {
soundAdd++;
var _local7 = _parent.hero_mc;
var _local6 = this._x - _local7._x;
var _local5 = this._y - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 350) ? (_local8) : 350);
var _local4 = Math.round(100 - (_local9 / 4));
if (soundAdd >= _local4) {
soundFull = true;
}
Lava.setVolume(soundAdd);
}
}
if (soundAdd) {
var _local7 = _parent.hero_mc;
var _local6 = this._x - _local7._x;
var _local5 = this._y - _local7._y;
var _local8 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local8 < 350) ? (_local8) : 350);
var _local4 = Math.round(100 - (_local9 / 4));
if (_local4 <= 0) {
_local4 = 0;
}
if (_local4 != lastVol) {
Lava.setVolume(_local4 * 0.5);
lastVol = _local4;
}
if (((_root.Pause || (_root.Slow)) || (_root.Mute)) || (!_root.Group2)) {
Lava.setVolume(0);
}
}
};
Instance of Symbol 663 MovieClip in Symbol 1874 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 711 MovieClip in Symbol 1874 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.Slow || (_root.CutScene)) || (_root.Pause)) || (_root.Dead)) {
stop();
} else {
play();
}
}
Instance of Symbol 1588 MovieClip "foreground_mc" in Symbol 1874 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 1600 MovieClip "fireBall_mc" in Symbol 1874 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1818 MovieClip "shield_mc" in Symbol 1874 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(999994);
}
Instance of Symbol 1851 MovieClip "dragonfly_mc" in Symbol 1874 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(999998);
}
Instance of Symbol 1853 MovieClip "foregroundLow_mc" in Symbol 1874 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
this.swapDepths(999999);
}
Symbol 1876 Button
on (press) {
if (FullSpeed) {
DragonSpeed = true;
}
}
on (release) {
if (FullSpeed) {
DragonSpeed = false;
}
}
Symbol 1877 Button
on (press) {
if (FullSpeed) {
Slow = true;
}
}
on (release) {
if (FullSpeed) {
Slow = false;
}
}
Symbol 1878 Button
on (press) {
if (FullSpeed) {
Boost = true;
}
}
on (release) {
if (FullSpeed) {
Boost = false;
}
}
Symbol 1879 Button
on (press) {
if (FullSpeed) {
SuperBoost = true;
}
}
on (release) {
if (FullSpeed) {
SuperBoost = false;
}
}
Symbol 1886 MovieClip Frame 60
gotoAndPlay ("loop");
Symbol 1889 MovieClip Frame 30
stop();
Symbol 1890 MovieClip Frame 1
stop();
_root.canBsaved = false;
Symbol 1890 MovieClip Frame 2
stop();
_parent.simmer_mc.gotoAndPlay(2);
_root.canBsaved = true;
if (_root.FLOOD.data.achieve_lifesaver == 1) {
_root.FLOOD.data.achieve_lifesaver = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach25", "ach25" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1890 MovieClip Frame 3
_parent.simmer_mc.gotoAndPlay(2);
Symbol 1890 MovieClip Frame 4
_parent.simmer_mc.gotoAndPlay(2);
if (_root.FLOOD.data.achieve_lifesaver < 3) {
_root.FLOOD.data.achieve_lifesaver = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach25", "ach25" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1895 MovieClip Frame 1
stop();
Symbol 1902 MovieClip Frame 1
stop();
Instance of Symbol 1892 MovieClip "slowMo_mc" in Symbol 1903 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1895 MovieClip "airTime_mc" in Symbol 1903 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.slowMo_mc._visible == false) {
this.gotoAndStop(1);
this._x = 77;
} else if (_parent.slowMo_mc._visible == true) {
this.gotoAndStop(2);
this._x = 180;
}
}
Symbol 1907 MovieClip Frame 1
stop();
Symbol 1910 MovieClip Frame 1
stop();
Instance of Symbol 1907 MovieClip "bar_mc" in Symbol 1910 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 0;
}
Symbol 1915 MovieClip Frame 1
stop();
Symbol 1933 MovieClip Frame 1
stop();
Symbol 1941 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.Pause || (_root.Slow)) || (_root.Dead)) {
stop();
} else {
play();
}
};
Symbol 1941 MovieClip Frame 80
_parent.prevFrame();
Symbol 1990 MovieClip Frame 1
stop();
_root.scoreMulti = 1;
_parent.bg_mc.multi_mc._visible = false;
Symbol 1990 MovieClip Frame 2
_root.scoreMulti = 2;
_parent.bg_mc.multi_mc._visible = true;
Symbol 1990 MovieClip Frame 3
_root.scoreMulti = 3;
Symbol 1990 MovieClip Frame 4
_root.scoreMulti = 4;
Symbol 1990 MovieClip Frame 5
_root.scoreMulti = 5;
Symbol 1990 MovieClip Frame 6
_root.scoreMulti = 6;
Symbol 1990 MovieClip Frame 7
_root.scoreMulti = 7;
Symbol 1990 MovieClip Frame 8
_root.scoreMulti = 8;
Symbol 1990 MovieClip Frame 9
_root.scoreMulti = 9;
Symbol 1990 MovieClip Frame 10
_root.scoreMulti = 10;
if (_root.FLOOD.data.achieve_maxOutMultiplier < 2) {
_root.FLOOD.data.achieve_maxOutMultiplier = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach2", "ach2" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_maxOutMultiplier);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1990 MovieClip Frame 11
_root.scoreMulti = 11;
Symbol 1990 MovieClip Frame 12
_root.scoreMulti = 12;
Symbol 1990 MovieClip Frame 13
_root.scoreMulti = 13;
Symbol 1990 MovieClip Frame 14
_root.scoreMulti = 14;
Symbol 1990 MovieClip Frame 15
_root.scoreMulti = 15;
Symbol 1990 MovieClip Frame 16
_root.scoreMulti = 16;
Symbol 1990 MovieClip Frame 17
_root.scoreMulti = 17;
Symbol 1990 MovieClip Frame 18
_root.scoreMulti = 18;
Symbol 1990 MovieClip Frame 19
_root.scoreMulti = 19;
Symbol 1990 MovieClip Frame 20
_root.scoreMulti = 20;
Symbol 1990 MovieClip Frame 21
_root.scoreMulti = 21;
Symbol 1990 MovieClip Frame 22
_root.scoreMulti = 22;
Symbol 1990 MovieClip Frame 23
_root.scoreMulti = 23;
Symbol 1990 MovieClip Frame 24
_root.scoreMulti = 24;
Symbol 1990 MovieClip Frame 25
_root.scoreMulti = 25;
Symbol 1990 MovieClip Frame 26
_root.scoreMulti = 26;
Symbol 1990 MovieClip Frame 27
_root.scoreMulti = 27;
Symbol 1990 MovieClip Frame 28
_root.scoreMulti = 28;
Symbol 1990 MovieClip Frame 29
_root.scoreMulti = 29;
Symbol 1990 MovieClip Frame 30
_root.scoreMulti = 30;
if (_root.FLOOD.data.achieve_maxOutMultiplier < 3) {
_root.FLOOD.data.achieve_maxOutMultiplier = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach2", "ach2" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_maxOutMultiplier);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1990 MovieClip Frame 31
_root.scoreMulti = 31;
Symbol 1990 MovieClip Frame 32
_root.scoreMulti = 32;
Symbol 1990 MovieClip Frame 33
_root.scoreMulti = 33;
Symbol 1990 MovieClip Frame 34
_root.scoreMulti = 34;
Symbol 1990 MovieClip Frame 35
_root.scoreMulti = 35;
Symbol 1990 MovieClip Frame 36
_root.scoreMulti = 36;
Symbol 1990 MovieClip Frame 37
_root.scoreMulti = 37;
Symbol 1990 MovieClip Frame 38
_root.scoreMulti = 38;
Symbol 1990 MovieClip Frame 39
_root.scoreMulti = 39;
Symbol 1990 MovieClip Frame 40
_root.scoreMulti = 40;
Symbol 1990 MovieClip Frame 41
_root.scoreMulti = 41;
Symbol 1990 MovieClip Frame 42
_root.scoreMulti = 42;
Symbol 1990 MovieClip Frame 43
_root.scoreMulti = 43;
Symbol 1990 MovieClip Frame 44
_root.scoreMulti = 44;
Symbol 1990 MovieClip Frame 45
_root.scoreMulti = 45;
Symbol 1990 MovieClip Frame 46
_root.scoreMulti = 46;
Symbol 1990 MovieClip Frame 47
_root.scoreMulti = 47;
Symbol 1990 MovieClip Frame 48
_root.scoreMulti = 48;
Symbol 1990 MovieClip Frame 49
_root.scoreMulti = 49;
Symbol 1990 MovieClip Frame 50
_root.scoreMulti = 50;
if (_root.FLOOD.data.achieve_maxOutMultiplier != 4) {
_root.FLOOD.data.achieve_maxOutMultiplier = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach2", "ach2" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_maxOutMultiplier);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1992 MovieClip Frame 1
stop();
_root.airTime = 1;
_root.speedBar_mc.airTime_mc._visible = false;
if ((_root.FLOOD.data.achieve_airtime == 1) && (_root.Air_total >= 5)) {
_root.FLOOD.data.achieve_airtime = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach26", "ach26" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_airtime);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_airtime == 2) && (_root.Air_total >= 900)) {
_root.FLOOD.data.achieve_airtime = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach26", "ach26" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_airtime);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_airtime == 3) && (_root.Air_total >= 2400)) {
_root.FLOOD.data.achieve_airtime = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach26", "ach26" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_airtime);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1992 MovieClip Frame 2
_root.airTime = 2;
_root.speedBar_mc.airTime_mc._visible = true;
var AirTimeSnd = new Sound(this);
AirTimeSnd.attachSound("AirTimeSnd");
if (_root.Mute) {
AirTimeSnd.setVolume(0);
} else {
AirTimeSnd.setVolume(100);
}
AirTimeSnd.start();
if ((_root.FLOOD.data.achieve_airtime == 1) && (_root.Air_total >= 5)) {
_root.FLOOD.data.achieve_airtime = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach26", "ach26" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_airtime);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_airtime == 2) && (_root.Air_total >= 900)) {
_root.FLOOD.data.achieve_airtime = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach26", "ach26" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_airtime);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_airtime == 3) && (_root.Air_total >= 2400)) {
_root.FLOOD.data.achieve_airtime = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach26", "ach26" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_airtime);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 1994 MovieClip Frame 1
stop();
_root.burnMulti = 1;
Symbol 1994 MovieClip Frame 2
_root.burnMulti = 3;
Symbol 2008 MovieClip Frame 1
stop();
Symbol 2009 MovieClip Frame 1
theScore = 0;
rewardCounter = 150;
counter = 10;
counterMax = 10;
scoreBG = 999;
checkscoreaward = function () {
if ((_root.FLOOD.data.achieve_highscore == 1) && (_root.Final_Score >= 100000)) {
_root.FLOOD.data.achieve_highscore = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach6", "ach6" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_highscore);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_highscore <= 2) && (_root.Final_Score >= 1000000)) {
_root.FLOOD.data.achieve_highscore = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach6", "ach6" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_highscore);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_highscore <= 3) && (_root.Final_Score >= 5000000)) {
_root.FLOOD.data.achieve_highscore = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach6", "ach6" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_highscore);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
};
onEnterFrame = function () {
if (!_root.Pause) {
if (!_root.Dead) {
if (!_root.Slow) {
counter--;
rewardCounter--;
} else {
counter = counter - 0.2;
rewardCounter = rewardCounter - 0;
}
if (rewardCounter <= 0) {
checkscoreaward();
rewardCounter = 150;
}
if (counter <= 0) {
theScore = theScore + Math.floor((((2 * _root.scoreMulti) * _root.airTime) * _root.scoreMulti) * _root.burnMulti);
_root.Final_Score = theScore;
counter = counterMax;
}
}
if (Math.abs(theScore) >= scoreBG) {
bg_mc.nextFrame();
scoreBG = scoreBG * 10;
}
}
};
Instance of Symbol 1992 MovieClip "air_mc" in Symbol 2009 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.bg_mc.multi_mc._visible == true) {
this._x = 85;
} else if (_parent.bg_mc.multi_mc._visible == false) {
this._x = 40;
}
}
Instance of Symbol 1994 MovieClip "burn_mc" in Symbol 2009 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.bg_mc.multi_mc._visible == true) && (_parent.air_mc._currentframe == 1)) {
this._x = 85;
} else if ((_parent.bg_mc.multi_mc._visible == false) && (_parent.air_mc._currentframe == 1)) {
this._x = 40;
} else if ((_parent.bg_mc.multi_mc._visible == true) && (_parent.air_mc._currentframe == 2)) {
this._x = 115.5;
}
}
Symbol 2016 MovieClip Frame 61
_root.Pause = false;
Symbol 2016 MovieClip Frame 82
stop();
Symbol 2017 Button
on (release) {
if (_root.pause_mc._currentframe == 1) {
_root.pause_mc.gotoAndPlay(2);
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
} else if (_root.pause_mc._currentframe == 10) {
_root.pause_mc.gotoAndStop(10);
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
}
Symbol 2023 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2023 MovieClip Frame 360
stop();
_root.all_mc.dragonfly_mc.gotoAndStop("leave");
_parent.gotoAndStop(1);
onEnterFrame = function () {
};
Symbol 2026 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2026 MovieClip Frame 400
stop();
_root.DragonSpeed = false;
_root.Special = false;
_root.SuperHero = false;
_root.all_mc.hero_mc.gotoAndStop("jump");
_parent.gotoAndStop(1);
onEnterFrame = function () {
};
Symbol 2027 MovieClip Frame 1
stop();
Symbol 2027 MovieClip Frame 2
stop();
var dragonRock = new Sound(this);
dragonRock.attachSound("dragonRock");
if (_root.Mute) {
dragonRock.setVolume(0);
} else {
dragonRock.setVolume(60);
dragonRock.start();
}
Symbol 2027 MovieClip Frame 4
stop();
Symbol 2034 MovieClip Frame 1
stop();
var Ouch = new Sound(this);
Ouch.attachSound("Ouch");
_root.Health = 98;
Symbol 2034 MovieClip Frame 2
stop();
_root.Health = 97;
Symbol 2034 MovieClip Frame 3
stop();
_root.Health = 96;
Symbol 2034 MovieClip Frame 4
stop();
_root.Health = 95;
Symbol 2034 MovieClip Frame 5
stop();
_root.Health = 94;
Symbol 2034 MovieClip Frame 6
stop();
_root.Health = 93;
Symbol 2034 MovieClip Frame 7
stop();
_root.Health = 92;
Symbol 2034 MovieClip Frame 8
stop();
_root.Health = 91;
Symbol 2034 MovieClip Frame 9
stop();
_root.Health = 90;
Symbol 2034 MovieClip Frame 10
stop();
_root.Health = 89;
Symbol 2034 MovieClip Frame 11
stop();
_root.Health = 88;
Symbol 2034 MovieClip Frame 12
stop();
_root.Health = 87;
Symbol 2034 MovieClip Frame 13
stop();
_root.Health = 86;
Symbol 2034 MovieClip Frame 14
stop();
_root.Health = 85;
Symbol 2034 MovieClip Frame 15
stop();
_root.Health = 84;
Symbol 2034 MovieClip Frame 16
stop();
_root.Health = 83;
Symbol 2034 MovieClip Frame 17
stop();
_root.Health = 82;
Symbol 2034 MovieClip Frame 18
stop();
_root.Health = 81;
Symbol 2034 MovieClip Frame 19
stop();
_root.Health = 80;
Symbol 2034 MovieClip Frame 20
stop();
_root.Health = 79;
Symbol 2034 MovieClip Frame 21
stop();
_root.Health = 78;
Symbol 2034 MovieClip Frame 22
stop();
_root.Health = 77;
Symbol 2034 MovieClip Frame 23
stop();
_root.Health = 76;
Symbol 2034 MovieClip Frame 24
stop();
_root.Health = 75;
Symbol 2034 MovieClip Frame 25
stop();
_root.Health = 74;
Symbol 2034 MovieClip Frame 26
stop();
_root.Health = 73;
Symbol 2034 MovieClip Frame 27
stop();
_root.Health = 72;
Symbol 2034 MovieClip Frame 28
stop();
_root.Health = 71;
Symbol 2034 MovieClip Frame 29
stop();
_root.Health = 70;
Symbol 2034 MovieClip Frame 30
stop();
_root.Health = 69;
Symbol 2034 MovieClip Frame 31
stop();
_root.Health = 68;
Symbol 2034 MovieClip Frame 32
stop();
_root.Health = 67;
Symbol 2034 MovieClip Frame 33
stop();
_root.Health = 66;
Symbol 2034 MovieClip Frame 34
stop();
_root.Health = 65;
Symbol 2034 MovieClip Frame 35
stop();
_root.Health = 64;
Symbol 2034 MovieClip Frame 36
stop();
_root.Health = 63;
Symbol 2034 MovieClip Frame 37
stop();
_root.Health = 62;
Symbol 2034 MovieClip Frame 38
stop();
_root.Health = 61;
Symbol 2034 MovieClip Frame 39
stop();
_root.Health = 60;
Symbol 2034 MovieClip Frame 40
stop();
_root.Health = 59;
Symbol 2034 MovieClip Frame 41
stop();
_root.Health = 58;
Symbol 2034 MovieClip Frame 42
stop();
_root.Health = 57;
Symbol 2034 MovieClip Frame 43
stop();
_root.Health = 56;
Symbol 2034 MovieClip Frame 44
stop();
_root.Health = 55;
Symbol 2034 MovieClip Frame 45
stop();
_root.Health = 54;
Symbol 2034 MovieClip Frame 46
stop();
_root.Health = 53;
Symbol 2034 MovieClip Frame 47
stop();
_root.Health = 52;
Symbol 2034 MovieClip Frame 48
stop();
_root.Health = 51;
Symbol 2034 MovieClip Frame 49
stop();
_root.Health = 50;
Symbol 2034 MovieClip Frame 50
stop();
_root.Health = 49;
Symbol 2034 MovieClip Frame 51
stop();
_root.Health = 48;
Symbol 2034 MovieClip Frame 52
stop();
_root.Health = 47;
Symbol 2034 MovieClip Frame 53
stop();
_root.Health = 46;
Symbol 2034 MovieClip Frame 54
stop();
_root.Health = 45;
Symbol 2034 MovieClip Frame 55
stop();
_root.Health = 44;
Symbol 2034 MovieClip Frame 56
stop();
_root.Health = 43;
Symbol 2034 MovieClip Frame 57
stop();
_root.Health = 42;
Symbol 2034 MovieClip Frame 58
stop();
_root.Health = 41;
Symbol 2034 MovieClip Frame 59
stop();
_root.Health = 40;
Symbol 2034 MovieClip Frame 60
stop();
_root.Health = 39;
Symbol 2034 MovieClip Frame 61
stop();
_root.Health = 38;
Symbol 2034 MovieClip Frame 62
stop();
_root.Health = 37;
Symbol 2034 MovieClip Frame 63
stop();
_root.Health = 36;
Symbol 2034 MovieClip Frame 64
stop();
_root.Health = 35;
Symbol 2034 MovieClip Frame 65
stop();
_root.Health = 34;
Symbol 2034 MovieClip Frame 66
stop();
_root.Health = 33;
Symbol 2034 MovieClip Frame 67
stop();
_root.Health = 32;
Symbol 2034 MovieClip Frame 68
stop();
_root.Health = 31;
Symbol 2034 MovieClip Frame 69
stop();
_root.Health = 30;
Symbol 2034 MovieClip Frame 70
stop();
_root.Health = 29;
Symbol 2034 MovieClip Frame 71
stop();
_root.Health = 28;
Symbol 2034 MovieClip Frame 72
stop();
_root.Health = 27;
Symbol 2034 MovieClip Frame 73
stop();
_root.Health = 26;
Symbol 2034 MovieClip Frame 74
stop();
_root.Health = 25;
Symbol 2034 MovieClip Frame 75
stop();
_root.Health = 24;
Symbol 2034 MovieClip Frame 76
stop();
_root.Health = 23;
Symbol 2034 MovieClip Frame 77
stop();
_root.Health = 22;
Symbol 2034 MovieClip Frame 78
stop();
_root.Health = 21;
Symbol 2034 MovieClip Frame 79
stop();
_root.Health = 20;
Symbol 2034 MovieClip Frame 80
stop();
_root.Health = 19;
Symbol 2034 MovieClip Frame 81
stop();
_root.Health = 18;
Symbol 2034 MovieClip Frame 82
stop();
_root.Health = 17;
Symbol 2034 MovieClip Frame 83
stop();
_root.Health = 16;
Symbol 2034 MovieClip Frame 84
stop();
_root.Health = 15;
Symbol 2034 MovieClip Frame 85
stop();
_root.Health = 14;
Symbol 2034 MovieClip Frame 86
stop();
_root.Health = 13;
Symbol 2034 MovieClip Frame 87
stop();
_root.Health = 12;
Symbol 2034 MovieClip Frame 88
stop();
_root.Health = 11;
Symbol 2034 MovieClip Frame 89
stop();
_root.Health = 10;
Symbol 2034 MovieClip Frame 90
stop();
_root.Health = 9;
Symbol 2034 MovieClip Frame 91
stop();
_root.Health = 8;
Symbol 2034 MovieClip Frame 92
stop();
_root.Health = 7;
Symbol 2034 MovieClip Frame 93
stop();
_root.Health = 6;
Symbol 2034 MovieClip Frame 94
stop();
_root.Health = 5;
Symbol 2034 MovieClip Frame 95
stop();
_root.Health = 4;
Symbol 2034 MovieClip Frame 96
stop();
_root.Health = 3;
Symbol 2034 MovieClip Frame 97
_root.Health = 2;
Symbol 2034 MovieClip Frame 98
_root.Health = 1;
Symbol 2034 MovieClip Frame 99
_root.Health = 0;
_root.onFire = false;
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 100
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 101
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 102
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 103
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 104
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 105
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 106
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 107
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 108
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 109
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 110
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 111
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 112
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 113
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 114
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 115
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 116
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 117
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 118
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 119
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 120
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 121
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 122
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 123
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 124
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 125
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 126
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 127
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 128
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 129
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2034 MovieClip Frame 130
_root.Health = 0;
_root.onFire = false;
trace("WTF");
onEnterFrame = function () {
_root.all_mc.hero_mc.gotoAndStop("die_die");
_root.Dead = true;
};
Symbol 2035 Button
on (keyPress "<Space>") {
if (_root.Pause == false) {
_root.Pause = true;
play();
}
}
on (release) {
if (_root.Pause == false) {
_root.Pause = true;
play();
}
}
Symbol 2040 Button
on (keyPress "<Space>") {
if (pauseMenu_mc._currentframe == 1) {
play();
}
}
on (release) {
if (pauseMenu_mc._currentframe == 1) {
play();
}
}
Symbol 2048 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("menu");
}
Symbol 2051 Button
on (release) {
gotoAndStop (2);
}
Symbol 2054 Button
on (release) {
_parent.gotoAndPlay("unpause");
}
Symbol 2060 Button
on (release) {
gotoAndStop (1);
}
on (keyPress "<Space>") {
gotoAndStop (1);
}
Symbol 2061 MovieClip Frame 1
stop();
Instance of Symbol 2055 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
Instance of Symbol 553 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_elec);
}
on (rollOver) {
_parent.name_txt.text = "THUNDER STRUCK";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get struck by lightning once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get struck by lightning 3 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get struck by lightning 5 time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "Thunder struck.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 555 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
}
on (rollOver) {
_parent.name_txt.text = "IMPULSIVE COLLECTOR";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 75 gems to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 150 gems to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 250 gems to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You have collected over 250 gems in one sitting.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 557 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_tramps);
}
on (rollOver) {
_parent.name_txt.text = "PURE TRAMP";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Use 1 trampoline to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Use 10 trampolines to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Use 20 trampolines to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You used 20 trampolines in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 560 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_tortoiseKiller);
}
on (rollOver) {
_parent.name_txt.text = "TORTOISE SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Tortoises to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Tortoises to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Tortoises to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You defeated 10 tortoises.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 563 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
}
on (rollOver) {
_parent.name_txt.text = "THE BOTANIST";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Plant monsters to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Plant monsters to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Plant monsters to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 plant monsters.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 566 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
}
on (rollOver) {
_parent.name_txt.text = "WASP DESTROYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 wasps to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 wasps to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 wasps to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 wasps.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 569 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_bogKiller);
}
on (rollOver) {
_parent.name_txt.text = "LORD OF THE BOG FLIES";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 bog flies to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 bog flies to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 12 bog flies to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 12 bog flies.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 572 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
}
on (rollOver) {
_parent.name_txt.text = "BAT HUNTER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 bats to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 bats to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 bats to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 bats.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 574 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_pteraKiller);
}
on (rollOver) {
_parent.name_txt.text = "ANCIENT HISTORY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Pteradactyls to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Pteradactyls to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Pteradactyls to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 Pteradactyls.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 576 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
}
on (rollOver) {
_parent.name_txt.text = "DRAGON RIDER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Ride the dragon once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Ride the dragon twice to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Ride the dragon 3 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a true Dragon Rider.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 579 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
}
on (rollOver) {
_parent.name_txt.text = "RADICAL RECOVERY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Save yourself from a wipeout once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Save yourself from a wipeout 5 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Save yourself from a wipeout 15 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You recovered 15 times.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 582 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_airtime);
}
on (rollOver) {
_parent.name_txt.text = "FLYING SQUIRREL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Stay in the sky for a couple seconds to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Stay in the sky for a 500 units of ingame time to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Stay in the sky for a 1000 units of ingame time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "A skilled sky walker.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 585 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superman);
}
on (rollOver) {
_parent.name_txt.text = "SUPERMAN";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 1 Superman to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 3 Superman to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 5 Superman to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You collected 5 Superman icons in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 588 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_onfire);
}
on (rollOver) {
_parent.name_txt.text = "GREAT BALL OF FIRE";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Catch on fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Be on fire for 700 units of ingame time to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Be on fire for 1800 units of ingame time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Fire Thrower.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 591 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_maxOutMultiplier);
}
on (rollOver) {
_parent.name_txt.text = "MAXING MULTIPLIER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect a X10 multiplier to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect a X30 multiplie to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect a X50 multiplie to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You maxed out the multiplier at X50.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 592 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_marathonman);
}
on (rollOver) {
_parent.name_txt.text = "MARATHON MAN";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Run for 500m to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Run for 1500m to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Run for 4500m to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Done it! Over 4500m";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 595 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
}
on (rollOver) {
_parent.name_txt.text = "SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "You must defeat 1 Giant Monster to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "You must defeat 3 Giant Monster to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "You must defeat 5 Giant Monster to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a Giant Monster Tamer.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 598 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_skyCol);
}
on (rollOver) {
_parent.name_txt.text = "FLYING SQUIRREL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Use 1 air column to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Use 5 air column to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Use 10 air column to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a Flying Squirrel. You used 10 or more air columns.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 601 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_getAll);
}
on (rollOver) {
_parent.name_txt.text = "GET 'EM ALL!";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get all achievements to silver to unlock silver.";
}
if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get all achievements to gold to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are quite persistant, and a master of your own destiny.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 604 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_highscore);
}
on (rollOver) {
_parent.name_txt.text = "FLOOD RUNNER PRO";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get a score of 100,000 to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get a score of 1,000,000 to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get a score of 5,000,000 to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got over 5,000,000 points.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 606 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_loser);
}
on (rollOver) {
_parent.name_txt.text = "LOSER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Die with less than 10,000 to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Die with less than 5,000 to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Die with less than 150 to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "That what happens when you dont concentrate.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 609 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_shield);
}
on (rollOver) {
_parent.name_txt.text = "WIELD THE SHIELD";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 1 shield to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 3 shields to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 5 shields to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got 5 shields in one sitting.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 612 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
}
on (rollOver) {
_parent.name_txt.text = "PYROMANIAC";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Burn an enemy with fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Burn 7 enemies with fire to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Burn 15 enemies with fire to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You burned 15 enemies with fire.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 615 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_kicks);
}
on (rollOver) {
_parent.name_txt.text = "BUTCHER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Kick 1 enemy to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Kick 10 enemies to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Kick 30 enemies to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Are a serial killer.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 618 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_jumper);
}
on (rollOver) {
_parent.name_txt.text = "HOPPING BUNNY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Jump 100 times to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Jump 250 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Jump 500 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Jumper you.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 621 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superKills);
}
on (rollOver) {
_parent.name_txt.text = "MAN OF STEEL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Slay 1 enemy while in Superman mode to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Slay 5 enemy while in Superman mode to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Slay 10 enemy while in Superman mode to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Slayed 10 enemies while in Superman mode in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 622 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_angel);
}
on (rollOver) {
_parent.name_txt.text = "THE AFTER LIFE";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Die once unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Die 5 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Die 10 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You must love this game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 625 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
}
on (rollOver) {
_parent.name_txt.text = "LIFE SAVERS";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get 1 life saver during the game to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get 3 life saver during the game to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get 5 life saver during the game to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Got at least 5 life savers in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 627 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
}
on (rollOver) {
_parent.name_txt.text = "CLOUD RUNNER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Run on 1 cloud to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Run on 10 cloud to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Run on 30 cloud to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "The cloud runner.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 630 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
}
on (rollOver) {
_parent.name_txt.text = "FIRE STARTER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Set 1 oil patch on fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Set 5 oil patches on fir to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Set 10 oil patches on fire to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a true fire starter. ";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 633 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
}
on (rollOver) {
_parent.name_txt.text = "MEGA MONSTER SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "A true Combat Master. You Killed all 3 Giant Water Monsters and at least 1 plant to get this achievement.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 636 MovieClip in Symbol 2061 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
}
on (rollOver) {
_parent.name_txt.text = "SUPER COMBO";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get a 2 Kill combo without touching the ground to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get a 3 Kill combo without touching the ground to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get a 4 Kill combo without touching the ground to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got a Super Combo of X4 or more.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Symbol 2062 MovieClip Frame 1
stop();
Symbol 2062 MovieClip Frame 2
_root.Pause = true;
Symbol 2062 MovieClip Frame 10
stop();
Symbol 2062 MovieClip Frame 19
_root.Pause = false;
gotoAndStop (1);
Symbol 2069 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.Dead && (this._currentframe == 1)) {
_root.Slow = false;
this.gotoAndPlay(2);
}
};
Symbol 2069 MovieClip Frame 17
_root.Pause = true;
ccc = _root.speedBar_mc.runDistance;
_root.myAngel++;
if ((_root.FLOOD.data.achieve_angel == 1) && (_root.myAngel == 1)) {
_root.FLOOD.data.achieve_angel = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach15", "ach15" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_angel);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_angel == 2) && (_root.myAngel == 5)) {
_root.FLOOD.data.achieve_angel = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach15", "ach15" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_angel);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_angel == 3) && (_root.myAngel == 10)) {
_root.FLOOD.data.achieve_angel = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach15", "ach15" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_angel);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2069 MovieClip Frame 21
if (((_root.FLOOD.data.achieve_loser <= 2) && (_root.Final_Score <= 10000)) && (_root.Final_Score >= 9900)) {
_root.FLOOD.data.achieve_loser = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach22", "ach22" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_loser);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if (((_root.FLOOD.data.achieve_loser <= 3) && (_root.Final_Score <= 5000)) && (_root.Final_Score >= 4900)) {
_root.FLOOD.data.achieve_loser = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach22", "ach22" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_loser);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_loser != 4) && (_root.Final_Score <= 150)) {
_root.FLOOD.data.achieve_loser = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach22", "ach22" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_loser);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2069 MovieClip Frame 25
if ((_root.FLOOD.data.achieve_lifesaver <= 2) && (_root.speedBar_mc.lives_mc._currentframe == 2)) {
_root.FLOOD.data.achieve_lifesaver = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach25", "ach25" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_lifesaver <= 3) && (_root.speedBar_mc.lives_mc._currentframe == 3)) {
_root.FLOOD.data.achieve_lifesaver = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach25", "ach25" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_lifesaver != 4) && (_root.speedBar_mc.lives_mc._currentframe == 4)) {
_root.FLOOD.data.achieve_lifesaver = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach25", "ach25" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2069 MovieClip Frame 56
_parent.gotoAndStop("gameOver");
Symbol 2069 MovieClip Frame 73
stop();
Symbol 2070 Button
on (press) {
_root.mouseJump = true;
_root.mouse_Hold = true;
gotoAndPlay (2);
}
on (release) {
_root.mouseJump = false;
_root.mouse_Hold = false;
gotoAndStop (1);
}
Symbol 2071 MovieClip Frame 1
stop();
Symbol 2071 MovieClip Frame 3
gotoAndStop (1);
Symbol 2075 Button
on (press) {
if ((key1_mc._currentframe == 1) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 2076 Button
on (press) {
if ((key1_mc._currentframe == 4) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 2077 Button
on (press) {
if ((key1_mc._currentframe == 2) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 2078 Button
on (press) {
if ((key1_mc._currentframe == 3) && (!_root.Pause)) {
gotoAndStop (2);
}
}
Symbol 2079 MovieClip Frame 1
stop();
key1 = random(4) + 1;
key2 = random(4) + 1;
if (key2 == key1) {
if (key2 == 4) {
key2 = 1;
} else if (key2 == 1) {
key2 = 4;
} else if (key2 == 2) {
key2 = 3;
} else if (key2 == 3) {
key2 = 2;
}
}
key3 = random(4) + 1;
if (key3 == key2) {
if (key3 == 4) {
key3 = 1;
} else if (key3 == 1) {
key3 = 4;
} else if (key3 == 2) {
key3 = 3;
} else if (key3 == 3) {
key3 = 2;
}
}
key4 = random(4) + 1;
if (key4 == key3) {
if (key4 == 4) {
key4 = 1;
} else if (key4 == 1) {
key4 = 4;
} else if (key4 == 2) {
key4 = 3;
} else if (key4 == 3) {
key4 = 2;
}
}
key1_mc.gotoAndStop(key1);
key2_mc.gotoAndStop(key2);
key3_mc.gotoAndStop(key3);
key4_mc.gotoAndStop(key4);
Symbol 2079 MovieClip Frame 2
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
Symbol 2079 MovieClip Frame 3
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
Symbol 2079 MovieClip Frame 4
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
Symbol 2079 MovieClip Frame 5
stop();
var gotGem1 = new Sound(this);
gotGem1.attachSound("gotGem1");
if (_root.Mute) {
gotGem1.setVolume(0);
} else {
gotGem1.setVolume(50);
gotGem1.start();
}
onEnterFrame = function () {
};
nextFrame();
Symbol 2079 MovieClip Frame 6
stop();
_parent.gotoAndStop("kill_who");
onEnterFrame = function () {
};
Symbol 2135 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent.hero_mc._y >= 1000) && (_root.canBsaved)) && (this._currentframe == 1)) && (!_root.Shield)) && (_parent.hero_mc._currentframe != 27)) && (!_root.Dead)) {
_parent.hero_mc.posY = 1000;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.detlaY = 0;
_parent.hero_mc.gotoAndStop("invis");
gotoAndStop ("splash");
}
if ((((_parent.hero_mc._y >= 1000) && (this._currentframe == 1)) && (_root.Shield)) && (!_root.Dead)) {
_parent.shield_mc.gotoAndStop("pop");
_parent.hero_mc.gotoAndStop("tramp");
}
};
Symbol 2135 MovieClip Frame 2
_root.onFire = false;
splash_mc._x = _parent.hero_mc._x;
splash_mc._y = 1000;
splash_mc.gotoAndPlay(1);
_root.Special = true;
_root.guardian = 0;
stop();
Symbol 2135 MovieClip Frame 3
stop();
_root.MonstersFaced++;
_root.Boost = false;
_root.speedBar_mc.lives_mc.prevFrame();
var myEnemy = "";
rand_enem = random(3);
if (rand_enem == 0) {
myEnemy = "dragon";
} else if (rand_enem == 1) {
myEnemy = "shark";
} else if (rand_enem == 2) {
myEnemy = "octo";
}
gotoAndPlay(myEnemy);
Symbol 2135 MovieClip Frame 4
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 2135 MovieClip Frame 22
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 23
_parent.hero_mc.gotoAndStop("special_air");
Symbol 2135 MovieClip Frame 32
_root.Slow = true;
monsterCounter = _root.attackMonsterMouse[_root.MonstersFaced];
stop();
onEnterFrame = function () {
if (!_root.Pause) {
barM_mc.bar_mc._xscale = barM_mc.bar_mc._xscale - monsterCounter;
barM_mc.bar2_mc._xscale = barM_mc.bar2_mc._xscale - monsterCounter;
if (barM_mc.bar_mc._xscale <= 0) {
barM_mc.bar_mc._xscale = 0;
barM_mc.bar2_mc._xscale = 0;
gotoAndPlay ("dragon_over");
}
}
};
Symbol 2135 MovieClip Frame 33
_root.Slow = false;
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 34
_parent.hero_mc.gotoAndStop("invis");
tte = 1000;
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " serpent";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 2135 MovieClip Frame 51
stop();
_root.Dead = true;
onEnterFrame = function () {
};
Symbol 2135 MovieClip Frame 52
onEnterFrame = function () {
};
_root.serpentKill++;
_root.MonstersSlay++;
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
if ((_root.FLOOD.data.achieve_monsterSave == 1) && (_root.MonstersSlay == 1)) {
_root.FLOOD.data.achieve_monsterSave = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 2) && (_root.MonstersSlay == 3)) {
_root.FLOOD.data.achieve_monsterSave = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 3) && (_root.MonstersSlay == 5)) {
_root.FLOOD.data.achieve_monsterSave = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2135 MovieClip Frame 59
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2135 MovieClip Frame 70
stop();
gotoAndStop (1);
Symbol 2135 MovieClip Frame 71
stop();
if (_root.showCuts) {
_root.Pause = true;
_root.CutScene = true;
DD = _root.cut_mc.getNextHighestDepth();
DA = _root.cut_mc.attachMovie("Cut_Scene_1", "Cut_Scene_1" + DD, DD);
} else if (!_root.showCuts) {
_root.Pause = false;
_root.CutScene = false;
}
onEnterFrame = function () {
if ((!_root.Pause) && (!_root.CutScene)) {
if (myEnemy == "dragon") {
gotoAndPlay ("escape");
} else if (myEnemy == "shark") {
gotoAndPlay ("shark_escape");
} else if (myEnemy == "octo") {
gotoAndPlay ("octo_escape");
}
}
};
Symbol 2135 MovieClip Frame 73
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 74
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 2135 MovieClip Frame 88
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 89
_parent.hero_mc.gotoAndStop("special_air");
Symbol 2135 MovieClip Frame 97
_root.Slow = true;
monsterCounter = _root.attackMonsterMouse[_root.MonstersFaced];
stop();
onEnterFrame = function () {
if (!_root.Pause) {
barM_mc.bar_mc._xscale = barM_mc.bar_mc._xscale - monsterCounter;
barM_mc.bar2_mc._xscale = barM_mc.bar2_mc._xscale - monsterCounter;
if (barM_mc.bar_mc._xscale <= 0) {
barM_mc.bar_mc._xscale = 0;
barM_mc.bar2_mc._xscale = 0;
gotoAndPlay ("shark_over");
}
}
};
Symbol 2135 MovieClip Frame 98
_root.Slow = false;
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 99
_parent.hero_mc.gotoAndStop("invis");
tte = 1000;
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " shark";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 2135 MovieClip Frame 118
stop();
_root.Dead = true;
onEnterFrame = function () {
};
Symbol 2135 MovieClip Frame 119
onEnterFrame = function () {
};
_root.sharkKill++;
_root.MonstersSlay++;
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
if ((_root.FLOOD.data.achieve_monsterSave == 1) && (_root.MonstersSlay == 1)) {
_root.FLOOD.data.achieve_monsterSave = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 2) && (_root.MonstersSlay == 3)) {
_root.FLOOD.data.achieve_monsterSave = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 3) && (_root.MonstersSlay == 5)) {
_root.FLOOD.data.achieve_monsterSave = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2135 MovieClip Frame 127
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2135 MovieClip Frame 138
stop();
gotoAndStop (1);
Symbol 2135 MovieClip Frame 140
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 141
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 2135 MovieClip Frame 148
_parent.hero_mc.gotoAndStop("special_air2");
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 166
_root.Slow = true;
monsterCounter = _root.attackMonsterMouse[_root.MonstersFaced];
stop();
onEnterFrame = function () {
if (!_root.Pause) {
barM_mc.bar_mc._xscale = barM_mc.bar_mc._xscale - monsterCounter;
barM_mc.bar2_mc._xscale = barM_mc.bar2_mc._xscale - monsterCounter;
if (barM_mc.bar_mc._xscale <= 0) {
barM_mc.bar_mc._xscale = 0;
barM_mc.bar2_mc._xscale = 0;
gotoAndPlay ("octo_over");
}
}
};
Symbol 2135 MovieClip Frame 167
_root.Slow = false;
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2135 MovieClip Frame 170
_parent.hero_mc.gotoAndStop("invis");
tte = 1000;
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " squid";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 2135 MovieClip Frame 174
stop();
_root.Dead = true;
gotoAndPlay ("octoLeave");
Symbol 2135 MovieClip Frame 175
onEnterFrame = function () {
};
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
Symbol 2135 MovieClip Frame 190
stop();
gotoAndStop (1);
Symbol 2135 MovieClip Frame 191
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
};
_root.OctoKill++;
_root.MonstersSlay++;
_root.Slow = false;
_root.Special = false;
_root.Boost = false;
_parent.hero_mc.gotoAndStop("invis");
if ((_root.FLOOD.data.achieve_monsterSave == 1) && (_root.MonstersSlay == 1)) {
_root.FLOOD.data.achieve_monsterSave = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 2) && (_root.MonstersSlay == 3)) {
_root.FLOOD.data.achieve_monsterSave = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_monsterSave <= 3) && (_root.MonstersSlay == 5)) {
_root.FLOOD.data.achieve_monsterSave = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach27", "ach27" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2135 MovieClip Frame 195
var MonsterK = new Sound(this);
MonsterK.attachSound("PlantDie");
MonsterK.setVolume(100);
if (!_root.Mute) {
MonsterK.start();
}
Symbol 2135 MovieClip Frame 199
if (((((_root.FLOOD.data.achieve_megaMonster <= 3) && (_root.serpentKill >= 1)) && (_root.sharkKill >= 1)) && (_root.OctoKill >= 1)) && (_root.PlantKilled >= 1)) {
_root.FLOOD.data.achieve_megaMonster = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach32", "ach32" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2135 MovieClip Frame 200
_parent.hero_mc.gotoAndStop("escape");
_root.Boost = true;
Symbol 2135 MovieClip Frame 210
stop();
gotoAndStop (1);
Symbol 2143 MovieClip Frame 1
posY = this._y;
_root.tempSpeedUD = 0;
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var WR1 = _parent.ground2_mc.land1.wall_mc;
var WR2 = _parent.ground2_mc.land2.wall_mc;
var WR3 = _parent.ground2_mc.land3.wall_mc;
var WR4 = _parent.ground2_mc.land4.wall_mc;
var WR1b = _parent.ground1_mc.land1.wall_mc;
var WR2b = _parent.ground1_mc.land2.wall_mc;
var WR3b = _parent.ground1_mc.land3.wall_mc;
var WR4b = _parent.ground1_mc.land4.wall_mc;
checkWallRun = function () {
onTheWall = false;
if (hitCheck(WR1, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR1b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
};
checkWallFall = function () {
if ((((((((!hitCheck(WR1, this._x, this._y - 10)) && (!hitCheck(WR2, this._x, this._y - 10))) && (!hitCheck(WR3, this._x, this._y - 10))) && (!hitCheck(WR4, this._x, this._y - 10))) && (!hitCheck(WR1b, this._x, this._y - 10))) && (!hitCheck(WR2b, this._x, this._y - 10))) && (!hitCheck(WR3b, this._x, this._y - 10))) && (!hitCheck(WR4b, this._x, this._y - 10))) {
_root.is_wallRun = false;
gotoAndStop ("jump");
}
};
grav = function () {
deltaY = deltaY + gravity;
if (deltaY >= 18) {
deltaY = 18;
}
posY = posY + deltaY;
this._y = posY;
};
checkKeys = function () {
keyup = _root.mouseJump == true;
keydown = Key.isDown(40);
keyleft = Key.isDown(37);
keyright = Key.isDown(39);
};
Glider = false;
DJump = false;
deltaY = 0;
posY = this._y;
gravity = 1;
checkJumpingReward = function () {
if ((_root.FLOOD.data.achieve_jumper == 1) && (_root.maxJumper == 100)) {
_root.FLOOD.data.achieve_jumper = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_jumper == 2) && (_root.maxJumper == 250)) {
_root.FLOOD.data.achieve_jumper = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_jumper == 3) && (_root.maxJumper == 500)) {
_root.FLOOD.data.achieve_jumper = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
};
Symbol 2143 MovieClip Frame 3
stop();
onEnterFrame = function () {
if ((!_root.Pause) && (start_mc._currentframe == 1)) {
start_mc.gotoAndPlay(2);
}
};
Symbol 2143 MovieClip Frame 4
deltaY = 0;
_root.superCombo = 0;
_root.score_mc.combo_mc.gotoAndStop(1);
_root.Boost = false;
_root.isGlide = false;
_root.Spinning = false;
if (_root.InPlant) {
gotoAndStop ("invis");
}
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
_parent.hero_sound_mc.hero_feet.setVolume(0);
} else {
run_mc.play();
if (!_root.Mute) {
_parent.hero_sound_mc.hero_feet.setVolume(80);
} else {
_parent.hero_sound_mc.hero_feet.setVolume(0);
}
if (_root.Slipping) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("slip");
}
grav();
if (deltaY >= 2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("fall");
}
if (deltaY <= -2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
checkKeys();
if (keyup) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
}
};
Symbol 2143 MovieClip Frame 5
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.tempSpeedUD = 0;
_root.Slipping = false;
posY = this._y;
tempMax = 1;
deltaY = 2;
_root.Spinning = false;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!DJump) {
DJump = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2143 MovieClip Frame 6
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2143 MovieClip Frame 7
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.isGlide = false;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2143 MovieClip Frame 8
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
_root.isGlide = false;
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY >= 0) {
gotoAndStop ("final_fall");
}
}
};
Symbol 2143 MovieClip Frame 9
_root.maxJumper++;
_root.SuperHero = false;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
if (_root.InPlant) {
gotoAndStop ("invis");
}
deltaY = -9;
posY = this._y;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2143 MovieClip Frame 10
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -9;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2143 MovieClip Frame 11
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -8;
posY = this._y;
DJump = false;
Glider = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("double_fall");
}
checkKeys();
if (!keyup) {
Glider = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
}
};
Symbol 2143 MovieClip Frame 12
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
deltaY = -6;
Glider = true;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.4;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 2143 MovieClip Frame 13
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
Glider = true;
deltaY = -2;
glideMax = 5;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.4;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
glideMax = 3;
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
if (glideMax != 5) {
if (deltaY < glideMax) {
gotoAndStop ("roll");
}
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 2143 MovieClip Frame 14
deltaY = 0;
_root.superCombo = 0;
_root.score_mc.combo_mc.gotoAndStop(1);
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2143 MovieClip Frame 15
deltaY = 0;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
}
};
Symbol 2143 MovieClip Frame 16
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = -(random(20) + 20);
_parent.hero_sound_mc.hero_feet.setVolume(0);
_root.isGlide = true;
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
_root.isGlide = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
if (tramp_mc.spin_mc._currentframe == 1) {
_root.Spinning = true;
tramp_mc.spin_mc.gotoAndPlay(2);
}
}
if (!keyup) {
if ((tramp_mc.spin_mc._currentframe != 1) && (tramp_mc.spin_mc._currentframe < 9)) {
tramp_mc.spin_mc.gotoAndPlay("stopp");
}
}
}
};
Symbol 2143 MovieClip Frame 17
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -14;
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
gotoAndStop ("fall");
}
}
};
Symbol 2143 MovieClip Frame 18
_root.is_wallRun = true;
deltaY = 0;
wallRunNum = 5;
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
} else {
run_mc.play();
if (_root.Mute) {
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
} else {
_parent.wallRun_sound_mc.wallRunS.setVolume(70);
}
this._y = this._y - wallRunNum;
posY = posY - wallRunNum;
wallRunNum = wallRunNum - 0.15;
if (wallRunNum <= 0) {
wallRunNum = 0;
}
checkWallFall();
checkKeys();
if (keyup && (wallRunNum < 3)) {
_root.is_wallRun = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
gotoAndStop ("jump_clear");
}
}
};
Symbol 2143 MovieClip Frame 19
onEnterFrame = function () {
};
Symbol 2143 MovieClip Frame 20
onEnterFrame = function () {
};
Symbol 2143 MovieClip Frame 21
var Smack = new Sound(this);
Smack.attachSound("Smack");
if (_root.Mute) {
Smack.setVolume(0);
} else {
Smack.setVolume(80);
}
Smack.start();
deltaY = -14;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else {
deltaY = deltaY - 0.4;
}
}
}
};
Symbol 2143 MovieClip Frame 22
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
_root.Slipping = true;
if (this._y > -90) {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("oil_anim", "oil_mc", newSlickD);
} else {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("iceSlide_anim", "ice_mc", newSlickD);
}
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("wipeout");
}
checkKeys();
if (keyup) {
gotoAndStop ("slip_recover");
}
}
};
Symbol 2143 MovieClip Frame 23
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup && (support_mc._currentframe >= 5)) {
_root.Slipping = false;
gotoAndStop ("jump");
}
}
};
Symbol 2143 MovieClip Frame 24
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.WipedOut_times++;
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
if ((_root.FLOOD.data.achieve_wipeout == 1) && (_root.WipedOut_times == 1)) {
_root.FLOOD.data.achieve_wipeout = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_wipeout == 2) && (_root.WipedOut_times == 5)) {
_root.FLOOD.data.achieve_wipeout = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_wipeout == 3) && (_root.WipedOut_times == 15)) {
_root.FLOOD.data.achieve_wipeout = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
checkKeys();
if (!DJump) {
if (!keyup) {
DJump = true;
}
} else if (DJump) {
if ((keyup && (DeltaY >= 6)) && (trip_mc._currentframe <= 8)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 3) {
if (trip_mc._currentframe >= 9) {
trip_mc.gotoAndPlay(2);
}
}
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
trip_mc.play();
}
}
};
Symbol 2143 MovieClip Frame 25
deltaY = 0;
_root.onFire = false;
_root.Elec_times++;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
if ((_root.FLOOD.data.achieve_elec == 1) && (_root.Elec_times == 1)) {
_root.FLOOD.data.achieve_elec = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_elec == 2) && (_root.Elec_times == 3)) {
_root.FLOOD.data.achieve_elec = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_elec == 3) && (_root.Elec_times == 5)) {
_root.FLOOD.data.achieve_elec = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2143 MovieClip Frame 26
deltaY = 0;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2143 MovieClip Frame 27
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 2143 MovieClip Frame 28
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 2143 MovieClip Frame 29
deltaY = -9;
posY = this._y;
_parent.hero_sound_mc.hero_feet.setVolume(0);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
DJump = false;
_root.superCombo++;
_root.theKicker++;
if (_root.superCombo >= 2) {
_root.score_mc.combo_mc.gotoAndStop(_root.superCombo);
} else {
_root.score_mc.combo_mc.gotoAndStop(1);
}
if ((_root.FLOOD.data.achieve_kicks == 1) && (_root.theKicker == 1)) {
_root.FLOOD.data.achieve_kicks = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_kicks == 2) && (_root.theKicker == 10)) {
_root.FLOOD.data.achieve_kicks = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_kicks == 3) && (_root.theKicker == 30)) {
_root.FLOOD.data.achieve_kicks = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((_root.FLOOD.data.achieve_superCombo == 1) && (_root.superCombo == 2)) {
_root.FLOOD.data.achieve_superCombo = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superCombo <= 2) && (_root.superCombo == 3)) {
_root.FLOOD.data.achieve_superCombo = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superCombo <= 3) && (_root.superCombo == 4)) {
_root.FLOOD.data.achieve_superCombo = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var Punch = new Sound(this);
Punch.attachSound("Punch");
if (_root.Mute) {
Punch.setVolume(0);
} else {
Punch.setVolume(80);
}
Punch.start();
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2143 MovieClip Frame 30
_root.Slow = false;
_root.Boost = false;
_root.DragonSpeed = true;
_root.Special = true;
_root.SuperHero = true;
_root.dragonFly_mc.gotoAndStop(4);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
if ((this._y >= -450) && (this._y <= 980)) {
newPOSY = _parent._ymouse;
if (this._y <= (newPOSY - 35)) {
this._y = this._y + 5;
}
if (this._y >= (newPOSY - 10)) {
this._y = this._y - 5;
}
}
if ((this._x >= 200) && (this._x <= 500)) {
newPOSX = _parent._xmouse;
if (this._x <= (newPOSX + 15)) {
this._x = this._x + 5;
}
if (this._x >= (newPOSX - 15)) {
this._x = this._x - 5;
}
}
if (this._x <= -200) {
this._x = 200;
}
if (this._x >= 500) {
this._x = 500;
}
if (this._y <= -450) {
this._y = -450;
}
if (this._y >= 900) {
this._y = 900;
}
}
};
Symbol 2143 MovieClip Frame 36
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
};
Symbol 2143 MovieClip Frame 39
stop();
gotoAndStop ("run");
onEnterFrame = function () {
if (Key.isDown(38)) {
_global.tempSpeedUD = 0;
this._y = this._y - 10;
}
if (Key.isDown(40)) {
_global.tempSpeedUD = 10;
this._y = this._y + 10;
}
};
Instance of Symbol 663 MovieClip in Symbol 2144 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
if (!_root.showBG) {
this._visible = false;
}
}
Instance of Symbol 711 MovieClip in Symbol 2144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.Slow || (_root.CutScene)) || (_root.Pause)) || (_root.Dead)) {
stop();
} else {
play();
}
}
Instance of Symbol 1588 MovieClip "foreground_mc" in Symbol 2144 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 1853 MovieClip "foregroundLow_mc" in Symbol 2144 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 2153 MovieClip Frame 1
stop();
Symbol 2160 Button
on (release) {
_parent.gotoAndStop("play_again");
}
on (keyPress "<Right>") {
_parent.gotoAndStop("play_again");
}
on (keyPress "<Left>") {
_parent.gotoAndStop("play_again");
}
on (keyPress "<Enter>") {
_parent.gotoAndStop("play_again");
}
Symbol 2161 Button
on (rollOver) {
gotoAndStop (2);
}
Symbol 2162 Button
on (rollOver) {
gotoAndStop (4);
}
Symbol 2163 Button
on (rollOver) {
gotoAndStop (3);
}
Symbol 2164 Button
on (rollOver) {
gotoAndStop (5);
}
Symbol 2165 Button
on (keyPress "<Down>") {
nextFrame();
}
on (keyPress "<Up>") {
gotoAndStop (4);
}
Symbol 2167 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 2168 Button
on (release) {
if ((submitt == undefined) || (submitt == false)) {
submitt = true;
_root.gotoAndStop("submit");
}
}
on (keyPress "<Enter>") {
if ((submitt == undefined) || (submitt == false)) {
submitt = true;
_root.gotoAndStop("submit");
}
}
Symbol 2169 Button
on (keyPress "<Down>") {
nextFrame();
}
on (keyPress "<Up>") {
prevFrame();
}
Symbol 2171 Button
on (release) {
gotoAndStop (7);
}
on (keyPress "<Enter>") {
gotoAndStop (7);
}
Symbol 2173 Button
on (release) {
_parent.gotoAndPlay("menu");
}
on (keyPress "<Right>") {
_parent.gotoAndPlay("menu");
}
on (keyPress "<Left>") {
_parent.gotoAndPlay("menu");
}
on (keyPress "<Enter>") {
_parent.gotoAndPlay("menu");
}
Symbol 2175 Button
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
on (keyPress "<Right>") {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
on (keyPress "<Left>") {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
on (keyPress "<Enter>") {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
Symbol 2176 Button
on (keyPress "<Down>") {
gotoAndStop (1);
}
on (keyPress "<Up>") {
prevFrame();
}
Symbol 2213 Button
on (release) {
gotoAndStop (3);
}
Symbol 2246 Button
on (release) {
gotoAndStop (7);
}
Symbol 2252 Button
on (release) {
gotoAndStop (6);
}
Symbol 2253 MovieClip Frame 1
stop();
Instance of Symbol 2153 MovieClip in Symbol 2253 MovieClip Frame 1
onClipEvent (load) {
if (_parent.submitt == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 2153 MovieClip in Symbol 2253 MovieClip Frame 2
onClipEvent (load) {
if (_parent.submitt == true) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Instance of Symbol 2153 MovieClip in Symbol 2253 MovieClip Frame 3
onClipEvent (load) {
if (_parent.submitt == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 2253 MovieClip Frame 6
d_txt = Math.abs(_root.final_death_mc.ccc);
topSpeed = _root.topSpeed * 2;
Instance of Symbol 2178 MovieClip in Symbol 2253 MovieClip Frame 6
onClipEvent (load) {
this.useHandCursor = false;
}
Instance of Symbol 553 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_elec);
}
on (rollOver) {
_parent.name_txt.text = "THUNDER STRUCK";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get struck by lightning once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get struck by lightning 3 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get struck by lightning 5 time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "Thunder struck.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 555 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_gemCollect);
}
on (rollOver) {
_parent.name_txt.text = "IMPULSIVE COLLECTOR";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 75 gems to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 150 gems to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 250 gems to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You have collected over 250 gems in one sitting.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 557 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_tramps);
}
on (rollOver) {
_parent.name_txt.text = "PURE TRAMP";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Use 1 trampoline to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Use 10 trampolines to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Use 20 trampolines to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You used 20 trampolines in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 560 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_tortoiseKiller);
}
on (rollOver) {
_parent.name_txt.text = "TORTOISE SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Tortoises to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Tortoises to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Tortoises to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You defeated 10 tortoises.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 563 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_plantKiller);
}
on (rollOver) {
_parent.name_txt.text = "THE BOTANIST";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Plant monsters to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Plant monsters to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Plant monsters to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 plant monsters.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 566 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_waspKills);
}
on (rollOver) {
_parent.name_txt.text = "WASP DESTROYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 wasps to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 wasps to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 wasps to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 wasps.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 569 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_bogKiller);
}
on (rollOver) {
_parent.name_txt.text = "LORD OF THE BOG FLIES";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 bog flies to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 bog flies to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 12 bog flies to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 12 bog flies.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 572 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_batKiller);
}
on (rollOver) {
_parent.name_txt.text = "BAT HUNTER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 bats to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 bats to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 bats to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 bats.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 574 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_pteraKiller);
}
on (rollOver) {
_parent.name_txt.text = "ANCIENT HISTORY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Defeat 2 Pteradactyls to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Defeat 5 Pteradactyls to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Defeat 10 Pteradactyls to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You killed 10 Pteradactyls.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 576 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_dragonRide);
}
on (rollOver) {
_parent.name_txt.text = "DRAGON RIDER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Ride the dragon once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Ride the dragon twice to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Ride the dragon 3 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a true Dragon Rider.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 579 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
}
on (rollOver) {
_parent.name_txt.text = "RADICAL RECOVERY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Save yourself from a wipeout once to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Save yourself from a wipeout 5 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Save yourself from a wipeout 15 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You recovered 15 times.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 582 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_airtime);
}
on (rollOver) {
_parent.name_txt.text = "FLYING SQUIRREL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Stay in the sky for a couple seconds to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Stay in the sky for a 500 units of ingame time to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Stay in the sky for a 1000 units of ingame time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "A skilled sky walker.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 585 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superman);
}
on (rollOver) {
_parent.name_txt.text = "SUPERMAN";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 1 Superman to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 3 Superman to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 5 Superman to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You collected 5 Superman icons in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 588 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_onfire);
}
on (rollOver) {
_parent.name_txt.text = "GREAT BALL OF FIRE";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Catch on fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Be on fire for 700 units of ingame time to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Be on fire for 1800 units of ingame time to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Fire Thrower.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 591 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_maxOutMultiplier);
}
on (rollOver) {
_parent.name_txt.text = "MAXING MULTIPLIER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect a X10 multiplier to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect a X30 multiplie to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect a X50 multiplie to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You maxed out the multiplier at X50.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 592 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_marathonman);
}
on (rollOver) {
_parent.name_txt.text = "MARATHON MAN";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Run for 500m to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Run for 1500m to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Run for 4500m to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Done it! Over 4500m";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 595 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_monsterSave);
}
on (rollOver) {
_parent.name_txt.text = "SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "You must defeat 1 Giant Monster to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "You must defeat 3 Giant Monster to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "You must defeat 5 Giant Monster to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a Giant Monster Tamer.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 598 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_skyCol);
}
on (rollOver) {
_parent.name_txt.text = "FLYING SQUIRREL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Use 1 air column to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Use 5 air column to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Use 10 air column to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a Flying Squirrel. You used 10 or more air columns.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 601 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_getAll);
}
on (rollOver) {
_parent.name_txt.text = "GET 'EM ALL!";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get all achievements to silver to unlock silver.";
}
if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get all achievements to gold to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are quite persistant, and a master of your own destiny.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 604 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_highscore);
}
on (rollOver) {
_parent.name_txt.text = "FLOOD RUNNER PRO";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get a score of 100,000 to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get a score of 1,000,000 to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get a score of 5,000,000 to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got over 5,000,000 points.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 606 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_loser);
}
on (rollOver) {
_parent.name_txt.text = "LOSER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Die with less than 10,000 to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Die with less than 5,000 to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Die with less than 150 to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "That what happens when you dont concentrate.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 609 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_shield);
}
on (rollOver) {
_parent.name_txt.text = "WIELD THE SHIELD";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Collect 1 shield to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Collect 3 shields to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Collect 5 shields to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got 5 shields in one sitting.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 612 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_fireKills);
}
on (rollOver) {
_parent.name_txt.text = "PYROMANIAC";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Burn an enemy with fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Burn 7 enemies with fire to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Burn 15 enemies with fire to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You burned 15 enemies with fire.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 615 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_kicks);
}
on (rollOver) {
_parent.name_txt.text = "BUTCHER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Kick 1 enemy to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Kick 10 enemies to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Kick 30 enemies to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Are a serial killer.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 618 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_jumper);
}
on (rollOver) {
_parent.name_txt.text = "HOPPING BUNNY";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Jump 100 times to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Jump 250 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Jump 500 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Jumper you.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 621 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superKills);
}
on (rollOver) {
_parent.name_txt.text = "MAN OF STEEL";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Slay 1 enemy while in Superman mode to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Slay 5 enemy while in Superman mode to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Slay 10 enemy while in Superman mode to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Slayed 10 enemies while in Superman mode in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 622 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_angel);
}
on (rollOver) {
_parent.name_txt.text = "THE AFTER LIFE";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Die once unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Die 5 times to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Die 10 times to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You must love this game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 625 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_lifesaver);
}
on (rollOver) {
_parent.name_txt.text = "LIFE SAVERS";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get 1 life saver during the game to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get 3 life saver during the game to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get 5 life saver during the game to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You Got at least 5 life savers in one game.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 627 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_cloudWalker);
}
on (rollOver) {
_parent.name_txt.text = "CLOUD RUNNER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Run on 1 cloud to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Run on 10 cloud to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Run on 30 cloud to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "The cloud runner.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 630 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_oilFire);
}
on (rollOver) {
_parent.name_txt.text = "FIRE STARTER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Set 1 oil patch on fire to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Set 5 oil patches on fir to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Set 10 oil patches on fire to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You are a true fire starter. ";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 633 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_megaMonster);
}
on (rollOver) {
_parent.name_txt.text = "MEGA MONSTER SLAYER";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "HARD - You have to defeat all 3 different Water Monsters and a Plant to achieve gold.";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "A true Combat Master. You Killed all 3 Giant Water Monsters and at least 1 plant to get this achievement.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Instance of Symbol 636 MovieClip in Symbol 2253 MovieClip Frame 7
onClipEvent (load) {
this.useHandCursor = false;
this.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
}
on (rollOver) {
_parent.name_txt.text = "SUPER COMBO";
if (this._currentframe == 1) {
_parent.stat_txt.text = "LOCKED";
_parent.note_txt.text = "Get a 2 Kill combo without touching the ground to unlock bronze";
} else if (this._currentframe == 2) {
_parent.stat_txt.text = "YOU HAVE BRONZE";
_parent.note_txt.text = "Get a 3 Kill combo without touching the ground to unlock silver";
} else if (this._currentframe == 3) {
_parent.stat_txt.text = "YOU HAVE SILVER";
_parent.note_txt.text = "Get a 4 Kill combo without touching the ground to unlock gold";
} else if (this._currentframe == 4) {
_parent.stat_txt.text = "YOU HAVE GOLD";
_parent.note_txt.text = "You got a Super Combo of X4 or more.";
}
}
on (rollOut) {
_parent.name_txt.text = "";
_parent.stat_txt.text = "";
_parent.note_txt.text = "";
}
Symbol 2253 MovieClip Frame 8
stop();
Symbol 2266 Button
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunner3", "_blank");
}
Symbol 2287 Button
on (release) {
gotoAndStop ("play_again");
}
Symbol 2292 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 2301 MovieClip Frame 1
stop();
Symbol 2304 MovieClip Frame 1
stop();
Symbol 2307 MovieClip Frame 1
stop();
Symbol 2311 MovieClip Frame 1
stop();
Symbol 2314 MovieClip Frame 1
stop();
this.createEmptyMovieClip("line", _root.getNextHighestDepth());
line.lineStyle(5, 16711680, 80);
var drawing = false;
combo = 4;
this.onMouseDown = function () {
drawing = true;
};
this.onMouseUp = function () {
drawing = false;
};
this.onEnterFrame = function () {
if (!drawing) {
this.line.moveTo(_xmouse, _ymouse);
}
if (drawing) {
this.line.lineTo(_xmouse, _ymouse);
}
if (combo == 0) {
}
};
stop();
Instance of Symbol 2301 MovieClip "m1" in Symbol 2314 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_parent.drawing)) && (this._currentframe == 1)) {
_parent.combo--;
this.gotoAndStop(2);
}
if (((!_parent.drawing) && (_parent.combo != 0)) && (this._currentframe == 2)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 2304 MovieClip "m2" in Symbol 2314 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_root._xmouse, _root._ymouse, true) && (_parent.drawing)) && (this._currentframe == 1)) && (_parent.m1._currentframe == 2)) {
_parent.combo--;
this.gotoAndStop(2);
}
if (((!_parent.drawing) && (_parent.combo != 0)) && (this._currentframe == 2)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 2307 MovieClip "m3" in Symbol 2314 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_root._xmouse, _root._ymouse, true) && (_parent.drawing)) && (this._currentframe == 1)) && (_parent.m2._currentframe == 2)) {
_parent.combo--;
this.gotoAndStop(2);
}
if (((!_parent.drawing) && (_parent.combo != 0)) && (this._currentframe == 2)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 2311 MovieClip "m4" in Symbol 2314 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_root._xmouse, _root._ymouse, true) && (_parent.drawing)) && (this._currentframe == 1)) && (_parent.m3._currentframe == 2)) {
_parent.combo--;
this.gotoAndStop(2);
_parent.gotoAndStop("done");
}
if (((!_parent.drawing) && (_parent.combo != 0)) && (this._currentframe == 2)) {
this.gotoAndStop(1);
}
}
Symbol 2314 MovieClip Frame 2
stop();
this.createEmptyMovieClip("line", _root.getNextHighestDepth());
line.lineStyle(5, 16711680, 80);
var drawing = false;
combo = 4;
this.onMouseDown = function () {
drawing = true;
};
this.onMouseUp = function () {
drawing = false;
};
this.onEnterFrame = function () {
if (!drawing) {
this.line.moveTo(_xmouse, _ymouse);
}
if (drawing) {
this.line.lineTo(_xmouse, _ymouse);
}
if (combo == 0) {
}
};
stop();
Symbol 2314 MovieClip Frame 3
stop();
this.createEmptyMovieClip("line", _root.getNextHighestDepth());
line.lineStyle(5, 16711680, 80);
var drawing = false;
combo = 4;
this.onMouseDown = function () {
drawing = true;
};
this.onMouseUp = function () {
drawing = false;
};
this.onEnterFrame = function () {
if (!drawing) {
this.line.moveTo(_xmouse, _ymouse);
}
if (drawing) {
this.line.lineTo(_xmouse, _ymouse);
}
if (combo == 0) {
}
};
stop();
Symbol 2314 MovieClip Frame 4
stop();
this.createEmptyMovieClip("line", _root.getNextHighestDepth());
line.lineStyle(5, 16711680, 80);
var drawing = false;
combo = 4;
this.onMouseDown = function () {
drawing = true;
};
this.onMouseUp = function () {
drawing = false;
};
this.onEnterFrame = function () {
if (!drawing) {
this.line.moveTo(_xmouse, _ymouse);
}
if (drawing) {
this.line.lineTo(_xmouse, _ymouse);
}
if (combo == 0) {
}
};
stop();
Symbol 2314 MovieClip Frame 5
stop();
this.createEmptyMovieClip("line", _root.getNextHighestDepth());
line.lineStyle(5, 16711680, 80);
var drawing = false;
combo = 4;
this.onMouseDown = function () {
drawing = true;
};
this.onMouseUp = function () {
drawing = false;
};
this.onEnterFrame = function () {
if (!drawing) {
this.line.moveTo(_xmouse, _ymouse);
}
if (drawing) {
this.line.lineTo(_xmouse, _ymouse);
}
if (combo == 0) {
}
};
stop();
Symbol 2314 MovieClip Frame 6
this.line.clear();
_parent.gotoAndStop("kill_who");
stop();
Symbol 2317 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
hide_mc._visible = false;
} else {
this.stop();
hide_mc._visible = true;
}
};
Symbol 2317 MovieClip Frame 105
stop();
onEnterFrame = function () {
};
Symbol 2370 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent.hero_mc._y >= 1000) && (_root.canBsaved)) && (this._currentframe == 1)) && (!_root.Shield)) && (_parent.hero_mc._currentframe != 27)) && (!_root.Dead)) {
_parent.hero_mc.posY = 1000;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.detlaY = 0;
_parent.hero_mc.gotoAndStop("invis");
gotoAndStop ("splash");
}
if ((((_parent.hero_mc._y >= 1000) && (this._currentframe == 1)) && (_root.Shield)) && (!_root.Dead)) {
_parent.shield_mc.gotoAndStop("pop");
_parent.hero_mc.gotoAndStop("tramp");
}
};
Symbol 2370 MovieClip Frame 2
_root.onFire = false;
splash_mc._x = _parent.hero_mc._x;
splash_mc._y = 1000;
splash_mc.gotoAndPlay(1);
_root.Special = true;
_root.guardian = 0;
stop();
Symbol 2370 MovieClip Frame 3
stop();
_root.MonstersFaced++;
_root.Boost = false;
_root.speedBar_mc.lives_mc.prevFrame();
var myEnemy = "";
rand_enem = random(3);
if (rand_enem == 0) {
myEnemy = "dragon";
} else if (rand_enem == 1) {
myEnemy = "shark";
} else if (rand_enem == 2) {
myEnemy = "octo";
}
gotoAndPlay(myEnemy);
Symbol 2370 MovieClip Frame 4
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 2370 MovieClip Frame 22
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2370 MovieClip Frame 23
_parent.hero_mc.gotoAndStop("special_air");
Symbol 2370 MovieClip Frame 32
_root.Slow = true;
Instance of Symbol 2314 MovieClip in Symbol 2370 MovieClip Frame 32
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 2370 MovieClip Frame 137
_root.Slow = false;
Symbol 2370 MovieClip Frame 138
_parent.hero_mc.gotoAndStop("invis");
tte = Math.round(_root.score_mc.theScore / 50);
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " serpent";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 2370 MovieClip Frame 155
stop();
_root.Dead = true;
onEnterFrame = function () {
};
Symbol 2370 MovieClip Frame 156
onEnterFrame = function () {
};
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
Symbol 2370 MovieClip Frame 166
stop();
gotoAndStop (1);
Symbol 2370 MovieClip Frame 167
stop();
if (_root.showCuts) {
_root.Pause = true;
_root.CutScene = true;
DD = _root.cut_mc.getNextHighestDepth();
DA = _root.cut_mc.attachMovie("Cut_Scene_1", "Cut_Scene_1" + DD, DD);
} else if (!_root.showCuts) {
_root.Pause = false;
_root.CutScene = false;
}
onEnterFrame = function () {
if ((!_root.Pause) && (!_root.CutScene)) {
if (myEnemy == "dragon") {
gotoAndPlay ("escape");
} else if (myEnemy == "shark") {
gotoAndPlay ("shark_escape");
} else if (myEnemy == "octo") {
gotoAndPlay ("octo_escape");
}
}
};
Symbol 2370 MovieClip Frame 169
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2370 MovieClip Frame 170
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 2370 MovieClip Frame 184
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2370 MovieClip Frame 185
_parent.hero_mc.gotoAndStop("special_air");
Symbol 2370 MovieClip Frame 193
_root.Slow = true;
Instance of Symbol 2314 MovieClip in Symbol 2370 MovieClip Frame 193
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 2370 MovieClip Frame 297
_root.Slow = false;
Symbol 2370 MovieClip Frame 298
_parent.hero_mc.gotoAndStop("invis");
tte = Math.round(_root.score_mc.theScore / 50);
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " shark";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 2370 MovieClip Frame 317
stop();
_root.Dead = true;
onEnterFrame = function () {
};
Symbol 2370 MovieClip Frame 318
onEnterFrame = function () {
};
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
Symbol 2370 MovieClip Frame 328
stop();
gotoAndStop (1);
Symbol 2370 MovieClip Frame 330
onEnterFrame = function () {
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2370 MovieClip Frame 331
var Monster2 = new Sound(this);
Monster2.attachSound("Monster2");
Monster2.setVolume(100);
if (!_root.Mute) {
Monster2.start();
}
Symbol 2370 MovieClip Frame 338
_parent.hero_mc.gotoAndStop("special_air2");
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
if (!_root.Pause) {
this.play();
} else {
this.stop();
}
};
Symbol 2370 MovieClip Frame 356
_root.Slow = true;
Instance of Symbol 2314 MovieClip in Symbol 2370 MovieClip Frame 356
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 2370 MovieClip Frame 461
_root.Slow = false;
Symbol 2370 MovieClip Frame 464
_parent.hero_mc.gotoAndStop("invis");
tte = Math.round(_root.score_mc.theScore / 50);
_root.score_mc.theScore = _root.score_mc.theScore - tte;
ndd = _root.score_mc.sub_mc.getNextHighestDepth();
val = _root.score_mc.sub_mc.attachMovie("valueMC", "valueMC" + ndd, ndd);
val.val_mc.valuee = (-tte) + " squid";
val.tempX = random(200) - 100;
val.tempY = random(50) + 40;
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, 0, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, 0, val.tempY, 1, true);
Symbol 2370 MovieClip Frame 468
stop();
_root.Dead = true;
gotoAndPlay ("octoLeave");
Symbol 2370 MovieClip Frame 469
onEnterFrame = function () {
};
_root.Slow = false;
_root.Special = false;
_root.Boost = true;
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
_parent.hero_mc.gotoAndStop("backward_kick");
Symbol 2370 MovieClip Frame 484
stop();
gotoAndStop (1);
Symbol 2370 MovieClip Frame 485
onEnterFrame = function () {
_parent.hero_mc._x = pos_mc._x;
_parent.hero_mc.posY = pos_mc._y;
_parent.hero_mc._y = _parent.hero_mc.posY;
};
_root.Slow = false;
_root.Special = false;
_root.Boost = false;
_parent.hero_mc.gotoAndStop("invis");
Symbol 2370 MovieClip Frame 489
var MonsterK = new Sound(this);
MonsterK.attachSound("PlantDie");
MonsterK.setVolume(100);
if (!_root.Mute) {
MonsterK.start();
}
Symbol 2370 MovieClip Frame 494
_parent.hero_mc.gotoAndStop("escape");
_root.Boost = true;
Symbol 2370 MovieClip Frame 504
stop();
gotoAndStop (1);
Symbol 2378 MovieClip Frame 1
posY = this._y;
_root.tempSpeedUD = 0;
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var WR1 = _parent.ground2_mc.land1.wall_mc;
var WR2 = _parent.ground2_mc.land2.wall_mc;
var WR3 = _parent.ground2_mc.land3.wall_mc;
var WR4 = _parent.ground2_mc.land4.wall_mc;
var WR1b = _parent.ground1_mc.land1.wall_mc;
var WR2b = _parent.ground1_mc.land2.wall_mc;
var WR3b = _parent.ground1_mc.land3.wall_mc;
var WR4b = _parent.ground1_mc.land4.wall_mc;
checkWallRun = function () {
onTheWall = false;
if (hitCheck(WR1, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR1b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
};
checkWallFall = function () {
if ((((((((!hitCheck(WR1, this._x, this._y - 10)) && (!hitCheck(WR2, this._x, this._y - 10))) && (!hitCheck(WR3, this._x, this._y - 10))) && (!hitCheck(WR4, this._x, this._y - 10))) && (!hitCheck(WR1b, this._x, this._y - 10))) && (!hitCheck(WR2b, this._x, this._y - 10))) && (!hitCheck(WR3b, this._x, this._y - 10))) && (!hitCheck(WR4b, this._x, this._y - 10))) {
_root.is_wallRun = false;
gotoAndStop ("jump");
}
};
grav = function () {
deltaY = deltaY + gravity;
if (deltaY >= 18) {
deltaY = 18;
}
posY = posY + deltaY;
this._y = posY;
};
checkKeys = function () {
keyup = _root.mouseJump == true;
keydown = Key.isDown(40);
keyleft = Key.isDown(37);
keyright = Key.isDown(39);
};
Glider = false;
DJump = false;
deltaY = 0;
posY = this._y;
gravity = 1;
Symbol 2378 MovieClip Frame 3
stop();
onEnterFrame = function () {
if ((!_root.Pause) && (start_mc._currentframe == 1)) {
start_mc.gotoAndPlay(2);
}
};
Symbol 2378 MovieClip Frame 4
deltaY = 0;
_root.Boost = false;
_root.isGlide = false;
_root.Spinning = false;
if (_root.InPlant) {
gotoAndStop ("invis");
}
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
_parent.hero_sound_mc.hero_feet.setVolume(0);
} else {
run_mc.play();
if (!_root.Mute) {
_parent.hero_sound_mc.hero_feet.setVolume(80);
} else {
_parent.hero_sound_mc.hero_feet.setVolume(0);
}
if (_root.Slipping) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("slip");
}
grav();
if (deltaY >= 2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("fall");
}
if (deltaY <= -2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
checkKeys();
if (keyup) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
}
};
Symbol 2378 MovieClip Frame 5
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.tempSpeedUD = 0;
_root.Slipping = false;
posY = this._y;
tempMax = 1;
deltaY = 2;
_root.Spinning = false;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!DJump) {
DJump = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2378 MovieClip Frame 6
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2378 MovieClip Frame 7
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.isGlide = false;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2378 MovieClip Frame 8
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
_root.isGlide = false;
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY >= 0) {
gotoAndStop ("final_fall");
}
}
};
Symbol 2378 MovieClip Frame 9
_root.maxJumper++;
_root.SuperHero = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
if (_root.InPlant) {
gotoAndStop ("invis");
}
deltaY = -9;
posY = this._y;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2378 MovieClip Frame 10
_root.maxJumper++;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -9;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2378 MovieClip Frame 11
_root.maxJumper++;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -8;
posY = this._y;
DJump = false;
Glider = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("double_fall");
}
checkKeys();
if (!keyup) {
Glider = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
}
};
Symbol 2378 MovieClip Frame 12
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
deltaY = -6;
Glider = true;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.2;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 2378 MovieClip Frame 13
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
Glider = true;
deltaY = -2;
glideMax = 5;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.2;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
glideMax = 3;
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
if (glideMax != 5) {
if (deltaY < glideMax) {
gotoAndStop ("roll");
}
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 2378 MovieClip Frame 14
deltaY = 0;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2378 MovieClip Frame 15
deltaY = 0;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
}
};
Symbol 2378 MovieClip Frame 16
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = -(random(20) + 20);
_parent.hero_sound_mc.hero_feet.setVolume(0);
_root.isGlide = true;
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
_root.isGlide = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
if (tramp_mc.spin_mc._currentframe == 1) {
_root.Spinning = true;
tramp_mc.spin_mc.gotoAndPlay(2);
}
}
if (!keyup) {
if ((tramp_mc.spin_mc._currentframe != 1) && (tramp_mc.spin_mc._currentframe < 9)) {
tramp_mc.spin_mc.gotoAndPlay("stopp");
}
}
}
};
Symbol 2378 MovieClip Frame 17
_root.maxJumper++;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -14;
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
gotoAndStop ("fall");
}
}
};
Symbol 2378 MovieClip Frame 18
_root.is_wallRun = true;
deltaY = 0;
wallRunNum = 5;
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
} else {
run_mc.play();
if (_root.Mute) {
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
} else {
_parent.wallRun_sound_mc.wallRunS.setVolume(70);
}
this._y = this._y - wallRunNum;
posY = posY - wallRunNum;
wallRunNum = wallRunNum - 0.15;
if (wallRunNum <= 0) {
wallRunNum = 0;
}
checkWallFall();
checkKeys();
if (keyup && (wallRunNum < 3)) {
_root.is_wallRun = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
gotoAndStop ("jump_clear");
}
}
};
Symbol 2378 MovieClip Frame 19
onEnterFrame = function () {
};
Symbol 2378 MovieClip Frame 20
onEnterFrame = function () {
};
Symbol 2378 MovieClip Frame 21
var Smack = new Sound(this);
Smack.attachSound("Smack");
if (_root.Mute) {
Smack.setVolume(0);
} else {
Smack.setVolume(80);
}
Smack.start();
deltaY = -14;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else {
deltaY = deltaY - 0.4;
}
}
}
};
Symbol 2378 MovieClip Frame 22
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
_root.Slipping = true;
if (this._y > -90) {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("oil_anim", "oil_mc", newSlickD);
} else {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("iceSlide_anim", "ice_mc", newSlickD);
}
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("wipeout");
}
checkKeys();
if (keyup) {
gotoAndStop ("slip_recover");
}
}
};
Symbol 2378 MovieClip Frame 23
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup && (support_mc._currentframe >= 5)) {
_root.Slipping = false;
gotoAndStop ("jump");
}
}
};
Symbol 2378 MovieClip Frame 24
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.WipedOut_times++;
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
checkKeys();
if (!DJump) {
if (!keyup) {
DJump = true;
}
} else if (DJump) {
if ((keyup && (DeltaY >= 6)) && (trip_mc._currentframe <= 8)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 3) {
if (trip_mc._currentframe >= 9) {
trip_mc.gotoAndPlay(2);
}
}
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
trip_mc.play();
}
}
};
Symbol 2378 MovieClip Frame 25
deltaY = 0;
_root.onFire = false;
_root.Elec_times++;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2378 MovieClip Frame 26
deltaY = 0;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2378 MovieClip Frame 27
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 2378 MovieClip Frame 28
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 2378 MovieClip Frame 29
deltaY = -9;
posY = this._y;
_parent.hero_sound_mc.hero_feet.setVolume(0);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
DJump = false;
_root.theKicker++;
var Punch = new Sound(this);
Punch.attachSound("Punch");
if (_root.Mute) {
Punch.setVolume(0);
} else {
Punch.setVolume(80);
}
Punch.start();
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2378 MovieClip Frame 30
_root.Slow = false;
_root.Boost = false;
_root.DragonSpeed = true;
_root.Special = true;
_root.SuperHero = true;
_root.dragonFly_mc.gotoAndStop(4);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
if ((this._y >= -450) && (this._y <= 550)) {
newPOSY = _parent._ymouse;
if (this._y <= (newPOSY - 35)) {
this._y = this._y + 5;
}
if (this._y >= (newPOSY + 5)) {
this._y = this._y - 5;
}
}
if (this._y <= -450) {
this._y = -450;
}
if (this._y >= 550) {
this._y = 550;
}
}
};
Symbol 2378 MovieClip Frame 36
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
};
Symbol 2378 MovieClip Frame 39
stop();
gotoAndStop ("run");
onEnterFrame = function () {
if (Key.isDown(38)) {
_global.tempSpeedUD = 0;
this._y = this._y - 10;
}
if (Key.isDown(40)) {
_global.tempSpeedUD = 10;
this._y = this._y + 10;
}
};
Instance of Symbol 711 MovieClip in Symbol 2379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.Slow || (_root.CutScene)) || (_root.Pause)) || (_root.Dead)) {
stop();
} else {
play();
}
}
Instance of Symbol 1588 MovieClip "foreground_mc" in Symbol 2379 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 1853 MovieClip "foregroundLow_mc" in Symbol 2379 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 2382 MovieClip Frame 1
stop();
Symbol 2393 MovieClip Frame 1
stop();
Symbol 2393 MovieClip Frame 16
stop();
_parent.gotoAndStop("run");
Symbol 2400 MovieClip Frame 1
posY = this._y;
_root.tempSpeedUD = 0;
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
var WR1 = _parent.ground2_mc.land1.wall_mc;
var WR2 = _parent.ground2_mc.land2.wall_mc;
var WR3 = _parent.ground2_mc.land3.wall_mc;
var WR4 = _parent.ground2_mc.land4.wall_mc;
var WR1b = _parent.ground1_mc.land1.wall_mc;
var WR2b = _parent.ground1_mc.land2.wall_mc;
var WR3b = _parent.ground1_mc.land3.wall_mc;
var WR4b = _parent.ground1_mc.land4.wall_mc;
checkWallRun = function () {
onTheWall = false;
if (hitCheck(WR1, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR1b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR2b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR3b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
if (hitCheck(WR4b, this._x, this._y - 10)) {
onTheWall = true;
gotoAndStop ("wallrun");
}
};
checkWallFall = function () {
if ((((((((!hitCheck(WR1, this._x, this._y - 10)) && (!hitCheck(WR2, this._x, this._y - 10))) && (!hitCheck(WR3, this._x, this._y - 10))) && (!hitCheck(WR4, this._x, this._y - 10))) && (!hitCheck(WR1b, this._x, this._y - 10))) && (!hitCheck(WR2b, this._x, this._y - 10))) && (!hitCheck(WR3b, this._x, this._y - 10))) && (!hitCheck(WR4b, this._x, this._y - 10))) {
_root.is_wallRun = false;
gotoAndStop ("jump");
}
};
grav = function () {
deltaY = deltaY + gravity;
if (deltaY >= 18) {
deltaY = 18;
}
posY = posY + deltaY;
this._y = posY;
};
checkKeys = function () {
keyup = Key.isDown(38);
keydown = Key.isDown(40);
keyleft = Key.isDown(37);
keyright = Key.isDown(39);
};
Glider = false;
DJump = false;
deltaY = 0;
posY = this._y;
gravity = 1;
checkJumpingReward = function () {
if ((_root.FLOOD.data.achieve_jumper == 1) && (_root.maxJumper == 100)) {
_root.FLOOD.data.achieve_jumper = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_jumper == 2) && (_root.maxJumper == 250)) {
_root.FLOOD.data.achieve_jumper = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_jumper == 3) && (_root.maxJumper == 500)) {
_root.FLOOD.data.achieve_jumper = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach20", "ach20" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_jumper);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
};
Symbol 2400 MovieClip Frame 3
stop();
onEnterFrame = function () {
if ((!_root.Pause) && (start_mc._currentframe == 1)) {
start_mc.gotoAndPlay(2);
}
};
Symbol 2400 MovieClip Frame 4
deltaY = 0;
_root.superCombo = 0;
_root.score_mc.combo_mc.gotoAndStop(1);
_root.Boost = false;
_root.isGlide = false;
_root.Spinning = false;
if (_root.InPlant) {
gotoAndStop ("invis");
}
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
_parent.hero_sound_mc.hero_feet.setVolume(0);
} else {
run_mc.play();
if (!_root.Mute) {
_parent.hero_sound_mc.hero_feet.setVolume(80);
} else {
_parent.hero_sound_mc.hero_feet.setVolume(0);
}
if (_root.Slipping) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("slip");
}
grav();
if (deltaY >= 2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("fall");
}
if (deltaY <= -2) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
checkKeys();
if (keyup) {
_parent.hero_sound_mc.hero_feet.setVolume(0);
gotoAndStop ("jump");
}
}
};
Symbol 2400 MovieClip Frame 5
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.tempSpeedUD = 0;
_root.Slipping = false;
posY = this._y;
tempMax = 1;
deltaY = 2;
_root.Spinning = false;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!DJump) {
DJump = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2400 MovieClip Frame 6
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2400 MovieClip Frame 7
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = 2;
posY = this._y;
_root.isGlide = false;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (!keyup) {
if (!Glider) {
Glider = true;
}
} else if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY <= 1) {
deltaY = 0;
gotoAndStop ("run");
}
}
};
Symbol 2400 MovieClip Frame 8
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
posY = this._y;
_root.tempSpeedUD = 0;
tempMax = 1;
onEnterFrame = function () {
if (!_root.Pause) {
_root.isGlide = false;
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else if (_root.CanGlide) {
gotoAndStop ("glide_again");
}
}
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
} else {
tempMax = 1;
}
_root.tempSpeedUD = tempMax;
if (deltaY >= 0) {
gotoAndStop ("final_fall");
}
}
};
Symbol 2400 MovieClip Frame 9
_root.maxJumper++;
checkJumpingReward();
_root.SuperHero = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
if (_root.InPlant) {
gotoAndStop ("invis");
}
deltaY = -9;
posY = this._y;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2400 MovieClip Frame 10
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -9;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2400 MovieClip Frame 11
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -8;
posY = this._y;
DJump = false;
Glider = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("double_fall");
}
checkKeys();
if (!keyup) {
Glider = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!Glider) || (Glider))) {
gotoAndStop ("wallrun");
} else if ((!Glider) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (Glider && (!onTheWall)) {
if (_root.CanGlide) {
gotoAndStop ("glide_start");
}
}
}
}
};
Symbol 2400 MovieClip Frame 12
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
deltaY = -6;
Glider = true;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.4;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 2400 MovieClip Frame 13
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
if (_root.Mute) {
gotWings.setVolume(0);
} else {
gotWings.setVolume(100);
}
gotWings.start();
_root.spaceHold = true;
Glider = true;
deltaY = -2;
glideMax = 5;
_root.isGlide = true;
_root.Slipping = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.glide_mc.glideBar_mc.bar_mc._xscale = _root.glide_mc.glideBar_mc.bar_mc._xscale - 1.4;
deltaY = deltaY + 0.2;
if (deltaY >= 3) {
glideMax = 3;
deltaY = 3;
}
if (deltaY >= 0) {
_root.isGlide = false;
}
if (glideMax != 5) {
if (deltaY < glideMax) {
gotoAndStop ("roll");
}
}
_global.tempSpeedUD = deltaY;
posY = posY + deltaY;
this._y = posY;
if (_root.CanGlide == false) {
gotoAndStop ("glide_fall");
}
checkKeys();
if (!keyup) {
gotoAndStop ("glide_fall");
}
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
}
}
};
Symbol 2400 MovieClip Frame 14
deltaY = 0;
_root.superCombo = 0;
_root.score_mc.combo_mc.gotoAndStop(1);
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2400 MovieClip Frame 15
deltaY = 0;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
}
};
Symbol 2400 MovieClip Frame 16
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
deltaY = -(random(20) + 20);
_parent.hero_sound_mc.hero_feet.setVolume(0);
_root.isGlide = true;
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
_root.isGlide = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
if (tramp_mc.spin_mc._currentframe == 1) {
_root.Spinning = true;
tramp_mc.spin_mc.gotoAndPlay(2);
}
}
if (!keyup) {
if ((tramp_mc.spin_mc._currentframe != 1) && (tramp_mc.spin_mc._currentframe < 9)) {
tramp_mc.spin_mc.gotoAndPlay("stopp");
}
}
}
};
Symbol 2400 MovieClip Frame 17
_root.maxJumper++;
checkJumpingReward();
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
var jump_swish = new Sound(this);
jump_swish.attachSound("swish");
if (_root.Mute) {
jump_swish.setVolume(0);
} else {
jump_swish.setVolume(40);
}
jump_swish.start();
deltaY = -14;
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
deltaY = deltaY + gravity;
posY = posY + deltaY;
this._y = posY;
if (deltaY > 0) {
gotoAndStop ("fall");
}
}
};
Symbol 2400 MovieClip Frame 18
_root.is_wallRun = true;
deltaY = 0;
wallRunNum = 5;
onEnterFrame = function () {
if (_root.Pause) {
run_mc.stop();
} else {
run_mc.play();
if (_root.Mute) {
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
} else {
_parent.wallRun_sound_mc.wallRunS.setVolume(70);
}
this._y = this._y - wallRunNum;
posY = posY - wallRunNum;
wallRunNum = wallRunNum - 0.15;
if (wallRunNum <= 0) {
wallRunNum = 0;
}
checkWallFall();
checkKeys();
if (keyup && (wallRunNum < 3)) {
_root.is_wallRun = false;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
gotoAndStop ("jump_clear");
}
}
};
Symbol 2400 MovieClip Frame 19
onEnterFrame = function () {
};
Symbol 2400 MovieClip Frame 20
onEnterFrame = function () {
};
Symbol 2400 MovieClip Frame 21
var Smack = new Sound(this);
Smack.attachSound("Smack");
if (_root.Mute) {
Smack.setVolume(0);
} else {
Smack.setVolume(80);
}
Smack.start();
deltaY = -14;
DJump = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
checkKeys();
if (keyup) {
checkWallRun();
if (onTheWall) {
gotoAndStop ("wallrun");
} else {
deltaY = deltaY - 0.4;
}
}
}
};
Symbol 2400 MovieClip Frame 22
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
_root.Slipping = true;
if (this._y > -90) {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("oil_anim", "oil_mc", newSlickD);
} else {
newSlickD = slick_mc.getNextHighestDepth();
newSlick = slick_mc.attachMovie("iceSlide_anim", "ice_mc", newSlickD);
}
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("wipeout");
}
checkKeys();
if (keyup) {
gotoAndStop ("slip_recover");
}
}
};
Symbol 2400 MovieClip Frame 23
deltaY = 0;
_root.Boost = true;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 2) {
_root.Slipping = false;
gotoAndStop ("fall");
}
checkKeys();
if (keyup && (support_mc._currentframe >= 5)) {
_root.Slipping = false;
gotoAndStop ("jump");
}
}
};
Symbol 2400 MovieClip Frame 24
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_root.WipedOut_times++;
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
if ((_root.FLOOD.data.achieve_wipeout == 1) && (_root.WipedOut_times == 1)) {
_root.FLOOD.data.achieve_wipeout = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_wipeout == 2) && (_root.WipedOut_times == 5)) {
_root.FLOOD.data.achieve_wipeout = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_wipeout == 3) && (_root.WipedOut_times == 15)) {
_root.FLOOD.data.achieve_wipeout = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach23", "ach23" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_wipeout);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
checkKeys();
if (!DJump) {
if (!keyup) {
DJump = true;
}
} else if (DJump) {
if ((keyup && (DeltaY >= 6)) && (trip_mc._currentframe <= 8)) {
gotoAndStop ("double");
}
}
grav();
if (deltaY > 3) {
if (trip_mc._currentframe >= 9) {
trip_mc.gotoAndPlay(2);
}
}
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
trip_mc.play();
}
}
};
Symbol 2400 MovieClip Frame 25
deltaY = 0;
_root.onFire = false;
_root.Elec_times++;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
if ((_root.FLOOD.data.achieve_elec == 1) && (_root.Elec_times == 1)) {
_root.FLOOD.data.achieve_elec = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_elec == 2) && (_root.Elec_times == 3)) {
_root.FLOOD.data.achieve_elec = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_elec == 3) && (_root.Elec_times == 5)) {
_root.FLOOD.data.achieve_elec = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach17", "ach17" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_elec);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
Symbol 2400 MovieClip Frame 26
deltaY = 0;
onEnterFrame = function () {
if (!_root.Pause) {
}
};
Symbol 2400 MovieClip Frame 27
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 2400 MovieClip Frame 28
_root.tempSpeedUD = 0;
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
tempMax = 1;
deltaY = 2;
_root.isGlide = false;
onEnterFrame = function () {
if (!_root.Pause) {
_root.Slipping = false;
grav();
if (deltaY > 1) {
getSpeed = deltaY;
if (getSpeed > tempMax) {
tempMax = getSpeed;
}
_root.tempSpeedUD = tempMax;
}
if (deltaY <= 1) {
deltaY = 0;
}
}
};
Symbol 2400 MovieClip Frame 29
deltaY = -9;
posY = this._y;
_parent.hero_sound_mc.hero_feet.setVolume(0);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
DJump = false;
_root.theKicker++;
_root.superCombo++;
if (_root.superCombo >= 2) {
_root.score_mc.combo_mc.gotoAndStop(_root.superCombo);
} else {
_root.score_mc.combo_mc.gotoAndStop(1);
}
if ((_root.FLOOD.data.achieve_kicks == 1) && (_root.theKicker == 1)) {
_root.FLOOD.data.achieve_kicks = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_kicks == 2) && (_root.theKicker == 10)) {
_root.FLOOD.data.achieve_kicks = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_kicks == 3) && (_root.theKicker == 30)) {
_root.FLOOD.data.achieve_kicks = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach21", "ach21" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_kicks);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
if ((_root.FLOOD.data.achieve_superCombo == 1) && (_root.superCombo == 2)) {
_root.FLOOD.data.achieve_superCombo = 2;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superCombo <= 2) && (_root.superCombo == 3)) {
_root.FLOOD.data.achieve_superCombo = 3;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
} else if ((_root.FLOOD.data.achieve_superCombo <= 3) && (_root.superCombo == 4)) {
_root.FLOOD.data.achieve_superCombo = 4;
_root.FLOOD.flush();
ndd = _root.score_mc.achieve_mc.getNextHighestDepth();
val = _root.score_mc.achieve_mc.attachMovie("achieveHolder", "achieveHolder" + ndd, ndd);
clip_val = val.hold_mc.attachMovie("ach30", "ach30" + ndd, ndd);
val.tempX = -20;
val.tempY = -100;
clip_val.gotoAndStop(_root.FLOOD.data.achieve_superCombo);
val.cacheAsBitmap = true;
new mx.transitions.Tween(val, "_x", mx.transitions.easing.Regular.easeOut, -20, val.tempX, 1, true);
new mx.transitions.Tween(val, "_y", mx.transitions.easing.Regular.easeOut, -40, val.tempY, 1, true);
}
var Punch = new Sound(this);
Punch.attachSound("Punch");
if (_root.Mute) {
Punch.setVolume(0);
} else {
Punch.setVolume(80);
}
Punch.start();
onEnterFrame = function () {
if (!_root.Pause) {
grav();
if (deltaY >= 1) {
gotoAndStop ("fall");
}
if (deltaY <= -1) {
_root.Slipping = false;
}
checkKeys();
if (!keyup) {
DJump = true;
}
if (keyup) {
checkWallRun();
if (onTheWall && ((!DJump) || (DJump))) {
gotoAndStop ("wallrun");
} else if ((!DJump) && (!onTheWall)) {
deltaY = deltaY - 0.4;
} else if (DJump && (!onTheWall)) {
gotoAndStop ("double");
}
}
}
};
Symbol 2400 MovieClip Frame 30
_root.Slow = false;
_root.Boost = false;
_root.DragonSpeed = true;
_root.Special = true;
_root.SuperHero = true;
_root.dragonFly_mc.gotoAndStop(4);
_parent.wallRun_sound_mc.wallRunS.setVolume(0);
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
if (!_root.Pause) {
checkKeys();
if (keyup && (this._y >= -450)) {
this._y = this._y - 5;
}
if (keydown && (this._y <= 550)) {
this._y = this._y + 5;
}
if (keyright && (this._x <= 550)) {
this._x = this._x + 5;
}
if (keyleft && (this._x >= 180)) {
this._x = this._x - 5;
}
}
};
Symbol 2400 MovieClip Frame 36
_parent.hero_sound_mc.hero_feet.setVolume(0);
onEnterFrame = function () {
};
Symbol 2400 MovieClip Frame 39
stop();
gotoAndStop ("run");
onEnterFrame = function () {
if (Key.isDown(38)) {
_global.tempSpeedUD = 0;
this._y = this._y - 10;
}
if (Key.isDown(40)) {
_global.tempSpeedUD = 10;
this._y = this._y + 10;
}
};