Frame 1
var menu = new ContextMenu();
menu.hideBuiltInItems();
_root.menu = menu;
stop();
_root.kongregateServices.connect();
dthcnt = 0;
timrttl = 0;
charid = 0;
_quality = "LOW";
var savefile = SharedObject.getLocal("real");
achievement_status = savefile.data.achievement_status;
multiplier = [1, 2, 3, 4, 2, 10, 3, 3, 2];
if (savefile.data.achievement_status == undefined) {
_root.savefile.data.achievement_status = [false, false, false, false, false, false];
_root.achievement_status = [false, false, false, false, false, false];
_root.hidden_objects = [false, false, false, false, false, false, false, false, false, false];
_root.savefile.data.hidden_objects = _root.hidden_objects;
_root.soundOn = true;
_root.savefile.data.soundOn = true;
_root.tpscore = 0;
_root.beatShanty = false;
_root.savefile.data.beatShanty = false;
_root.savefile.data.tpscore = 0;
_root.levels_grades = [1, 1, 1, 1, 1, 1, 1];
_root.savefile.data.levels_grades = [1, 1, 1, 1, 1, 1, 1];
_root.content_access = [false, false];
_root.savefile.data.content_access = [false, false];
_root.scr_final = 0;
_root.savefile.data.scr_final = 0;
_root.djttl = 0;
_root.savefile.data.djttl = 0;
_root.character = "boy";
_root.savefile.data.character = _root.character;
_root.charid = 0;
_root.savefile.data.charid = 0;
_root.boss_status = [1, 1, 1, 1, 1, 1];
_root.savefile.data.boss_status = [1, 1, 1, 1, 1, 1];
_root.char_status = [1, 1, 0, 0, 0, 0];
_root.char_status = [1, 1, 0, 0, 0, 0];
_root.lastplay = [0, 1, [35, 545], [0, 0, 0, 3]];
_root.savefile.data.lastplay = [0, 1, [35, 545], [0, 0, 0, 3]];
_root.limbs = true;
_root.savefile.data.limbs = _root.limbs;
} else {
beatShanty = savefile.data.beatShanty;
lastplay = savefile.data.lastplay;
char_status = savefile.data.char_status;
charid = savefile.data.charid;
character = savefile.data.character;
limbs = savefile.data.limbs;
autoRestart = savefile.data.autoRestart;
boss_status = savefile.data.boss_status;
hidden_objects = savefile.data.hidden_objects;
achievement_status = savefile.data.achievement_status;
content_access = savefile.data.content_access;
levels_grades = savefile.data.levels_grades;
scr_final = savefile.data.scr_final;
djttl = savefile.data.djttl;
boss_status = savefile.data.boss_status;
soundOn = savefile.data.soundOn;
tpscore = savefile.data.tpscore;
}
isPlaying = false;
character = "preloader";
ldd = _root.getBytesLoaded();
ttl = _root.getBytesTotal();
pct = 0;
place_holders = ["s", "o", "m1", "m2", "st", "b1", "b2", "sL", "sM", "sH", "bR", "bL", "bU", "bD", "L", "wR", "wL", "wU", "wD", "cP"];
frames = ["a", "b", "c", "b", "b", "b", "b", "s", "o", "m1", "m2", "st", "b1", "b2", "sL", "sM", "sH", "bR", "bL", "bU", "bD", "L", "wR", "wL", "wU", "wD", "cP"];
replacements_editor = ["spike", "boulder", "spikem", "spikem2", "start", "spikeballmove1", "spikeballmove2", "spring_low", "spring_med", "spring_high", "sb_moveright", "sb_moveleft", "sb_moveup", "sb_movedown", "lavar", "wind_gustleft", "wind_gustright", "wind_gustup", "wind_gustdown", "flag_pickup"];
replacements = replacements_editor;
this.onEnterFrame = function () {
if ((pct >= 100) && (_root.trans._currentframe == 1)) {
if (_root._currentframe == 1) {
_root.trans.play();
character = savefile.data.character;
if (savefile.data.character == undefined) {
character = "boy";
}
_root.ochc = "intros";
}
pctstr = "100% :D";
} else {
ldd = _root.getBytesLoaded();
ttl = _root.getBytesTotal();
pct = Math.round((ldd * 100) / ttl);
pctstr = pct + "%";
}
};
mochiFinished = false;
mochi.as2.MochiAd.showPreGameAd({id:"e8c1a218ba525dd2", res:"600x600", no_bg:true, no_progress_bar:true, ad_started:function () {
_root.soundOn = false;
}, ad_finished:function () {
mochiFinished = true;
_root.soundOn = true;
}});
Instance of Symbol 214 MovieClip in Frame 1
on (release) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", "_blank");
}
Frame 3
stop();
level_packs = ["practice", "easy", "medium", "hard", "cat", "shanty", "alps", "cave", "easy2"];
bgt = level_packs[lastplay[0]];
achievement_title = ["WINRAR :D", "One Below", "I Wanna Be The Guy", "Lesson in Asskickery", "Reaching New Heights", "Cat Over Man", "That Happy Cat", "Pass Without Flying Colours", "What Check Points?", "Where's My Winky!?", "I Ain't Afraid of No Vampires", "What did you eat!?", "That's it bend over...", "Just a Minute...", "Sorry I'm Late.", "Four Minutes Too Late.", "Cake Walk", "Medium Rare", "1337 Ninja", "Out of the Tree", "Siamese Victory", "Shanty Side of Life", "Carl! That Kills People!", "My Score is More Than Yours!", "'Feel Good' Factor", "A Good Start", "A Flying Start", "I Wanna Be The Explorer!"];
achievement_caption = ["Complete a level pack.", "Complete a level pack with 1 death or restart maximum.", "Complete the Easy Level Pack II without dying or restarting.", "Complete the practice level pack.", "Double jump 100 times.", "Sacrifice yourself in order to save the cat.", "Rescue the cat 10 times.", "Earn a C or above in any level pack.", "Complete the Medium level pack without the use of check points.", "Find Winky the Wombat!", "Defeat Hard Mode.", "Defeat Hard Mode without the use of check points.", "Defeat Hard Mode using the Ninja.", "Complete Practice Mode in 30 seconds.", "Complete the Easy Level Pack II in 80 seconds.", "Complete Medium Mode in 240 seconds.", "Defeat the Boss in Easy Mode.", "Defeat the Boss in Medium Mode.", "Defeat the Boss in Hard Mode.", "Complete the Cat Rescue Level Pack.", "Complete the Cat Rescue Level Pack as the Cat.", "Complete the Shanty Town Level Pack.", "Defeat the Shanty Llama.", "Earn a total score of 1 Million (Check Options to find your total so far.)", "Complete the Easy Level Pack.", "Complete the Easy Level Pack without dying or restarting.", "Complete the Easy Level Pack in under 150 seconds.", "Find the 10 trophies!"];
achievement_value = [20, 50, 100, 20, 5, 25, 30, 25, 100, 50, 100, 200, 400, 50, 100, 150, 50, 100, 150, 100, 100, 250, 100, 400, 20, 75, 50, 500];
ochc = "";
unlockd = false;
achtimr = 0;
djcnt = 0;
trophycount = 0;
for (i in _root.hidden_objects) {
if (_root.hidden_objects[i]) {
trophycount++;
}
}
_root.kongregateStats.submit("Trophies", trophycount);
_root.kongregateStats.submit("FinalScores", scr_final);
if (trophycount == 10) {
_root.achievementUnlocked(27);
_root.kongregateStats.submit("AllTrophies", 1);
}
if (_root.sounds._currentframe != 2) {
_root.sounds.gotoAndStop(2);
}
if (!soundOn) {
_root.sounds.gotoAndStop(1);
}
this.onEnterFrame = function () {
achtimr--;
if (achtimr < 0) {
unlockd = false;
}
};
trace("Items Found: " + _root.hidden_objects);
function achievementUnlocked(id) {
if (!_root.achievement_status[id]) {
numberofachievements = 0;
unlockd = true;
achicon.icn.gotoAndStop(id + 1);
achicon.achtitle = achievement_title[id];
achicon.achcaption = achievement_caption[id];
achtimr = 96;
_root.tpscore = _root.tpscore + achievement_value[id];
_root.achievement_status[id] = true;
_root.savefile.data.tpscore = _root.tpscore;
_root.savefile.data.achievement_status = _root.achievement_status;
_root.savefile.flush();
for (i in _root.achievement_status) {
if (_root.achievement_status[i]) {
numberofachievements++;
}
}
_root.kongregateStats.submit("AchievementsEarnt", numberofachievements);
}
}
dthcnt = 0;
timrttl = 0;
pausemenu._visible = false;
continued = false;
pid = 1;
if (isNaN(tpscore)) {
tpscore = 0;
savefile.data.tpscore;
}
if (boss_status[1] == 3) {
char_status[2] = 1;
} else {
char_status[2] = 0;
}
if (boss_status[3] == 3) {
char_status[3] = 1;
} else {
char_status[3] = 0;
}
if (content_access[0]) {
char_status[4] = 1;
} else {
char_status[4] = 0;
}
boss_fight = false;
Instance of Symbol 251 MovieClip "bgm" in Frame 3
onClipEvent (load) {
gotoAndStop(_root.bgt);
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "1";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[0]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "2";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[1]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "3";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[2]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "4";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[3]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "5";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[4]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "6";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[5]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "7";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[6]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "8";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[7]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "9";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[8]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 258 MovieClip in Frame 3
onClipEvent (load) {
id = "10";
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[9]) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 274 MovieClip "pl1" in Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_root.charid + 1);
}
Instance of Symbol 278 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "lvls";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 281 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "leveledit";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 287 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "content_store";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 290 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "options";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 293 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.continued = true;
_root.ochc = "levels_" + _root.level_packs[_root.lastplay[0]];
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 299 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "credits";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 302 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "instructions";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 305 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "achievements";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 320 MovieClip "sounds" in Frame 3
onClipEvent (load) {
key_m = false;
lastplay = this._currentframe;
}
onClipEvent (enterFrame) {
if (Key.isDown(77) && (!key_m)) {
if (_root.soundOn) {
lastplay = this._currentframe;
_root.soundOn = false;
this.gotoAndStop(1);
} else {
_root.soundOn = true;
this.gotoAndStop(lastplay);
}
_root.savefile.data.soundOn = _root.soundOn;
}
if (!Key.isDown(77)) {
key_m = false;
} else {
key_m = true;
}
}
Instance of Symbol 334 MovieClip in Frame 3
on (release) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", "_blank");
}
Frame 4
md = false;
resetting = false;
buttons_work = true;
onMouseDown = function () {
md = true;
};
onMouseUp = function () {
md = false;
};
Instance of Symbol 340 MovieClip in Frame 4
on (release) {
_root.trans.play();
_root.ochc = "main_menu";
}
Instance of Symbol 343 MovieClip in Frame 4
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (_root.packs._currentframe < 2) {
if (_root.content_access[2] || (_root.content_access[3])) {
this._x = 550;
} else {
this._x = 5000;
}
} else {
this._x = 5000;
}
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.packs.nextFrame();
}
Instance of Symbol 343 MovieClip in Frame 4
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (_root.packs._currentframe > 1) {
this._x = 80;
} else {
this._x = 5000;
}
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.packs.prevFrame();
}
Frame 5
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
}
}
_root[_root.character]._name = "pl1";
bgt = "practice";
shortct = false;
if (continued) {
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
pl1._x = stx;
pl1._y = sty;
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
used_cpoint = true;
} else {
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
used_cpoint = false;
}
scpts = cpoints;
pid = 1;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
lvlpack_choice = 0;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(3);
} else {
_root.sounds.gotoAndStop(1);
}
onEnterFrame = function () {
if (_root.minipz) {
_root.pl1._x = _root.pl1.stx;
_root.pl1._y = _root.pl1.sty;
_root.pl1.xspd = 0;
_root.pl1.yspd = 0;
}
if (_root._currentframe == 5) {
if (((!dead) && (!pz)) && (!minipz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (lvl._currentframe <= 5) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Instance of Symbol 547 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.pl1._y < 45) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 550 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.pl1._y < 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = _root.pl1._x;
}
Instance of Symbol 585 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.dead && (!_root.autoRestart)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Frame 6
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
if (_root.lvl._currentframe == 21) {
_root.lvl.hp2._y = -500;
_root.lvl.hp1._y = -500;
_root.lvl.hp3._y = 250;
_root.lvl.hp = 3;
_root.lvl.hp3.dead = false;
_root.lvl.hp2.dead = false;
_root.lvl.hp1.dead = false;
}
}
}
_root[_root.character]._name = "pl1";
bgt = "easy";
if (continued) {
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
used_cpoint = true;
} else {
stx = pl1._x;
sty = pl1._y;
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
used_cpoint = false;
}
scpts = cpoints;
pl1._x = stx;
pl1._y = sty;
pid = 1;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
shortct = false;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
lvlpack_choice = 1;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(6);
} else {
_root.sounds.gotoAndStop(1);
}
lvlpack_choice = 1;
onEnterFrame = function () {
if (_root._currentframe == 6) {
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Frame 7
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
dead = true;
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
pl1._visible = false;
}
}
function death_cat() {
if (cat._visible) {
cdead = true;
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.cat._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.cat._y + Number(random(15) - 7.5);
i++;
}
pid = pid + 20;
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pid = pid + 20;
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
cat._visible = false;
}
}
function resetLevel() {
if (rok && (!cdead)) {
dthcnt++;
}
rok = false;
resetting = true;
cat._x = cstx;
cat._y = csty;
cat.timr = 96;
cat.xspd = 4;
cat.yspd = 0;
cat._visible = true;
cat._xscale = 100;
cat.gotoAndStop(1);
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
cdead = false;
pl1._visible = true;
pid = 1;
rstimr = 8;
}
_root[_root.character]._name = "pl1";
if (continued) {
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
pl1._x = stx;
pl1._y = sty;
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
rescue = lastplay[3][3];
} else {
timrttl = 0;
score = 0;
dthcnt = 0;
rescue = 0;
}
cpoints = 0;
scpts = cpoints;
pid = 1;
pz = false;
win = false;
rok = false;
rstimr = 8;
resetting = false;
dead = false;
rescuestr = _root.rescue;
djcnt = 0;
cjcnt = 0;
sectimr = 45;
lvlpack_choice = 4;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(8);
} else {
_root.sounds.gotoAndStop(1);
}
pz = false;
cstx = cat._x;
csty = cat._y;
pid = 1;
rok = false;
bgt = "cat";
rstimr = 8;
resetting = false;
dead = false;
cdead = false;
this.onEnterFrame = function () {
if (_root._currentframe == 7) {
rstimr--;
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (rescue >= 10) {
achievementUnlocked(6);
}
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (Key.isDown(82) && (dead)) {
pl1._x = stx;
pl1._y = sty;
dead = false;
pl1._visible = true;
}
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (cdead) {
resetLevel();
} else {
rok = true;
}
if ((_root.pl1._y < 570) || (_root.cat._y < 570)) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
if ((_root.pl1._y < 45) || (_root.cat._y < 45)) {
timrstr = "";
scorestr = "";
deathstr = "";
rescuestr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.rescue <= 9) {
rescuestr = "0" + _root.rescue;
} else {
rescuestr = _root.rescue;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
}
};
Instance of Symbol 683 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.pl1._y < 45) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Frame 8
function purchaseContent(id) {
_root.content_access[id] = true;
_root.savefile.data.content_access = _root.content_access;
_root.tpscore = _root.tpscore - _root.content_price[id];
_root.savefile.data.tpscore = _root.tpscore;
_root.displayContent(id);
}
function displayContent(id) {
_root.current_choice = id;
display_icon.gotoAndStop(id + 2);
display_title = content_title[id];
display_description = content_description[id];
if (content_price[id] > 0) {
display_price = content_price[id];
} else {
display_price = "FREE";
}
if (!content_access[id]) {
if (content_status[id] != 3) {
if (content_price[id] <= _root.tpscore) {
if (content_status[id] == 1) {
btn_purchase.gotoAndStop(1);
} else {
btn_purchase.gotoAndStop(4);
}
} else if (content_status[id] == 1) {
btn_purchase.gotoAndStop(3);
} else {
btn_purchase.gotoAndStop(4);
}
} else {
btn_purchase.gotoAndStop(6);
}
} else {
btn_purchase.gotoAndStop(2);
}
}
content_title = ["Cat Rescue Level Pack", "Shanty Town Level Pack", "Himalayia Level Pack", "Volcanicity Level Pack", "Advanced Level Pack"];
content_description = ["20 levels in which you must escort your feline friend from their starting point to the end of each level.\r\rBuy now and get a free playable cat!", "There's no getting out of Shanty Town!!!\r\rJump through the 20 hardest levels in the game, confront the Blue Llama and escape Shanty Town, if you can!", "Set in some enchanted awesome looking mountains, 30 levels featuring new obstacles and beautiful scenery!", "Play your way through the very depths of hell in 30 levels of diving, ducking and dodging of fireballs and lava!", "30 of the game's hardest levels made harder...\r\rSo you know it's worth it!"];
content_price = [200, 200, 300, 300, 300];
content_status = [1, 1, 3, 3, 3];
current_choice = 0;
this.onEnterFrame = function () {
display_tpscore = _root.tpscore;
};
Instance of Symbol 697 MovieClip in Frame 8
on (release) {
_root.displayContent(0);
}
Instance of Symbol 732 MovieClip "btn_purchase" in Frame 8
onClipEvent (load) {
gotoAndStop (5);
}
on (release) {
if (_currentframe == 1) {
_root.purchaseContent(_root.current_choice);
}
if (_currentframe == 6) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", _blank);
}
}
Instance of Symbol 738 MovieClip in Frame 8
on (release) {
_root.displayContent(1);
}
Instance of Symbol 741 MovieClip "btn_purchase" in Frame 8
on (release) {
_root.trans.play();
_root.ochc = "main_menu";
}
Instance of Symbol 743 MovieClip "btn_purchase" in Frame 8
on (release) {
_root.trans.play();
_root.ochc = "achievements";
}
Instance of Symbol 746 MovieClip in Frame 8
on (release) {
_root.displayContent(2);
}
Instance of Symbol 749 MovieClip in Frame 8
on (release) {
_root.displayContent(3);
}
Instance of Symbol 752 MovieClip in Frame 8
on (release) {
_root.displayContent(4);
}
Frame 9
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
_root.used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
if (_root.lvl._currentframe == 21) {
_root.lvl.hp2._y = -500;
_root.lvl.hp1._y = -500;
_root.lvl.hp3._y = 250;
_root.lvl.hp = 3;
_root.lvl.hp3.dead = false;
_root.lvl.hp2.dead = false;
_root.lvl.hp1.dead = false;
}
}
}
_root[_root.character]._name = "pl1";
bgt = "shanty";
if (continued) {
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
used_cpoint = true;
} else {
stx = pl1._x;
sty = pl1._y;
cpoints = 20;
timrttl = 0;
score = 0;
dthcnt = 0;
used_cpoint = false;
}
scpts = cpoints;
pl1._x = stx;
pl1._y = sty;
pid = 1;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(9);
} else {
_root.sounds.gotoAndStop(1);
}
lvlpack_choice = 5;
onEnterFrame = function () {
if (_root._currentframe == 9) {
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Instance of Symbol 547 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.pl1._y < 45) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 550 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.pl1._y < 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = _root.pl1._x;
}
Instance of Symbol 820 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.pl1._y > 600) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = _root.pl1._x;
}
Instance of Symbol 585 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.dead && (!_root.autoRestart)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Frame 10
achid = 0;
ach_category = 0;
achpct = 0;
ach_current = 0;
ach_total = _root.achievement_status.length;
for (i in _root.achievement_status) {
if (_root.achievement_status[i]) {
ach_current++;
}
}
trace((((((("Current: " + ach_current) + newline) + "Total: ") + ach_total) + newline) + "Percentage: ") + Math.round((ach_current * 100) / ach_total));
trophycount = 0;
for (i in _root.hidden_objects) {
if (_root.hidden_objects[i]) {
trophycount++;
}
}
if (trophycount <= 9) {
trophycount = "0" + trophycount;
}
achpct = (ach_current * 100) / ach_total;
ach_pct = Math.round(achpct) + "%";
ach_cat_titles = ["Easy Achievements", "Time Consuming Achievements", "Difficult Achievments", "Unlock-based Achievements"];
this.onEnterFrame = function () {
mimiach.gotoAndStop(ach_category + 1);
miniach.gotoAndStop(ach_category + 1);
achicon.gotoAndStop(achid + 1);
achcatstr = ach_cat_titles[ach_category];
achttl = ((_root.achievement_title[achid] + " - ") + _root.achievement_value[achid]) + " pts";
achdesc = _root.achievement_caption[achid];
if (!_root.achievement_status[achid]) {
achicon._alpha = 25;
} else {
achicon._alpha = 100;
}
};
Instance of Symbol 833 MovieClip in Frame 10
on (release) {
_root.achid--;
if (_root.achid < 0) {
_root.achid = _root.achievement_title.length - 1;
}
}
Instance of Symbol 835 MovieClip in Frame 10
on (release) {
_root.achid++;
if (_root.achid > (_root.achievement_title.length - 1)) {
_root.achid = 0;
}
}
Instance of Symbol 841 MovieClip in Frame 10
on (release) {
_root.ach_category--;
if (_root.ach_category < 0) {
_root.ach_category = _root.ach_cat_titles.length - 1;
}
}
Instance of Symbol 841 MovieClip in Frame 10
on (release) {
_root.ach_category++;
if (_root.ach_category > (_root.ach_cat_titles.length - 1)) {
_root.ach_category = 0;
}
}
Instance of Symbol 340 MovieClip in Frame 10
on (release) {
_root.trans.play();
_root.ochc = "main_menu";
}
Frame 11
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
_root.used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
}
}
_root[_root.character]._name = "pl1";
bgt = "medium";
if (continued) {
used_cpoint = true;
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
} else {
used_cpoint = false;
stx = pl1._x;
sty = pl1._y;
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
}
shortct = false;
scpts = cpoints;
pl1._x = stx;
pl1._y = sty;
pid = 1;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
lvlpack_choice = 2;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(4);
} else {
_root.sounds.gotoAndStop(1);
}
onEnterFrame = function () {
if (_root._currentframe == 11) {
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Instance of Symbol 547 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.pl1._y < 45) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 550 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.pl1._y < 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = _root.pl1._x;
}
Instance of Symbol 585 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.dead && (!_root.autoRestart)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Frame 12
if (lvlpack_choice != 0) {
scr_final = Math.round((((scr_final + score) + (cpoints * 100)) - (dthcnt * 10)) - (timrttl * 10));
scr_kong = Math.round(((score + (cpoints * 100)) - (dthcnt * 10)) - (timrttl * 10));
scr_time = timrttl;
scr_dths = dthcnt;
} else {
scr_final = Math.round((scr_final + score) + (cpoints * 100));
scr_kong = Math.round(score + (cpoints * 100));
scr_time = timrttl;
scr_dths = dthcnt;
}
win = true;
score_totup_timr = 0;
kong_scores = ["Practice", "EasyTwo", "Medium", "Hard", "CatRescue", "Shanty", "Cave", "Alps", "Easy"];
kong_grades = ["PracticeGrade", "EasyTwoGrade", "MediumGrade", "HardGrade", undefined, "ShantyGrade", "CaveGrade", "AlpsGrade", "EasyGrade"];
kong_beats = ["PracticeWin", "EasyTwoWin", "MediumWin", "HardWin", undefined, "ShantyWin", "CaveWin", "AlpsWin", "EasyWin"];
kong_passes = ["PracticePass", "EasyTwoPass", "MediumPass", "HardPass", "CatRescuePass", "ShantyPass", "CavePass", "AlpsPass", "EasyPass"];
grade_limits = [[20, 50, 100, 200, 300], [7, 15, 30, 60, 100], [10, 25, 50, 100, 250], [100, 200, 500, 750, 999], [], [250, 500, 1000, 2500, 5000], [], [], [7, 15, 30, 60, 100]];
savefile.data.scr_final = scr_final;
addgrade = true;
grade = 1;
shortct = false;
_root.sounds.gotoAndStop(1);
_root.kongregateStats.submit(kong_scores[_root.lvlpack_choice], scr_kong);
if ((timrttl <= 30) && (lvlpack_choice == 0)) {
_root.achievementUnlocked(13);
}
if ((timrttl <= 80) && (lvlpack_choice == 1)) {
_root.achievementUnlocked(14);
}
if ((timrttl <= 150) && (lvlpack_choice == 8)) {
_root.achievementUnlocked(26);
}
if ((timrttl <= 240) && (lvlpack_choice == 2)) {
_root.achievementUnlocked(15);
}
if (dthcnt == 0) {
grade = 8;
}
if ((dthcnt > 0) && (dthcnt <= _root.grade_limits[_root.lvlpack_choice][0])) {
grade = 7;
}
if ((dthcnt > _root.grade_limits[_root.lvlpack_choice][0]) && (dthcnt <= _root.grade_limits[_root.lvlpack_choice][1])) {
grade = 6;
}
if ((dthcnt > _root.grade_limits[_root.lvlpack_choice][1]) && (dthcnt <= _root.grade_limits[_root.lvlpack_choice][2])) {
grade = 5;
}
if ((dthcnt > _root.grade_limits[_root.lvlpack_choice][2]) && (dthcnt <= _root.grade_limits[_root.lvlpack_choice][3])) {
grade = 4;
}
if ((dthcnt > _root.grade_limits[_root.lvlpack_choice][3]) && (dthcnt <= _root.grade_limits[_root.lvlpack_choice][4])) {
grade = 3;
}
if (dthcnt > _root.grade_limits[_root.lvlpack_choice][4]) {
grade = 2;
}
if (grade >= 5) {
_root.achievementUnlocked(7);
_root.kongregateStats.submit(kong_passes[_root.lvlpack_choice], 1);
}
if (_root.lvlpack_choice == 4) {
_root.kongregateStats.submit("CatRescuePass", 1);
}
_root.kongregateStats.submit(kong_grades[_root.lvlpack_choice], grade);
if (_root.levels_grades[_root.lvlpack_choice] <= grade) {
_root.levels_grades[_root.lvlpack_choice] = grade;
savefile.data.levels_grades = _root.levels_grades;
}
if (_root.boss_status[lvlpack_choice] == 1) {
if (grade >= 5) {
_root.boss_status[lvlpack_choice] = 2;
}
}
_root.savefile.data.boss_status = _root.boss_status;
cpointstr2 = cpoints * 100;
dthcntstr2 = dthcnt * 100;
timrttlstr2 = timrttl * 10;
score = Math.round(score);
scorestr2 = score;
scr_finalstr2 = scr_final;
gradedisplay.gotoAndStop(grade);
if (grade <= 4) {
end_status = "Not a Pass D:";
} else {
end_status = "Pass! :D";
}
if (scr_final >= 1000000) {
_root.achievementUnlocked(23);
}
Instance of Symbol 932 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.lvlpack_choice == 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 340 MovieClip in Frame 12
on (release) {
_root.trans.play();
_root.ochc = "main_menu";
}
Instance of Symbol 334 MovieClip in Frame 12
on (release) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", "_blank");
}
Frame 13
autorestartstr = "";
lodstr = "";
charray = ["boy", "girl", "dumpling", "ninja", "pcat"];
charr_realnames = ["Greg", "Alison", "The Dumpling", "The Ninja", "Pet Cat"];
qualityarray = ["LOW", "MEDIUM", "HIGH"];
qid = 0;
this.onEnterFrame = function () {
_quality = qualityarray[qid];
qualitystr = qualityarray[qid];
charstr = charr_realnames[charid];
if (_root.soundOn) {
audiostr = "ON";
} else {
audiostr = "OFF";
}
if (_root.autoRestart) {
autorestartstr = "ON";
} else {
autorestartstr = "OFF";
}
if (_root.limbs) {
lodstr = "ON";
} else {
lodstr = "OFF";
}
};
Instance of Symbol 935 MovieClip in Frame 13
on (release) {
if (_root.autoRestart) {
_root.autoRestart = false;
_root.autorestartstr = "OFF";
} else {
_root.autoRestart = true;
_root.autorestartstr = "ON";
}
_root.savefile.data.autoRestart = _root.autoRestart;
}
Instance of Symbol 935 MovieClip in Frame 13
on (release) {
if (_root.limbs) {
_root.limbs = false;
_root.lodstr = "OFF";
} else {
_root.limbs = true;
_root.lodstr = "ON";
}
_root.savefile.data.limbs = _root.limbs;
}
Instance of Symbol 938 MovieClip in Frame 13
onClipEvent (enterFrame) {
gotoAndStop(_root.charid + 1);
}
Instance of Symbol 935 MovieClip in Frame 13
on (release) {
_root.qid++;
if (_root.qid >= 3) {
_root.qid = 0;
}
}
Instance of Symbol 935 MovieClip in Frame 13
on (release) {
if (_root.soundOn) {
_root.soundOn = false;
_root.sounds.gotoAndStop(1);
_root.audiostr = "Audio is Off";
} else {
_root.soundOn = true;
_root.audiostr = "Audio if On";
}
_root.savefile.data.soundOn = _root.soundOn;
}
Instance of Symbol 935 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char_status[_root.charid] == 0) {
_root.charid++;
_root.character = _root.charray[_root.charid];
_root.savefile.data.character = _root.character;
_root.savefile.data.charid = _root.charid;
}
if (_root.charid >= 5) {
_root.charid = 0;
_root.character = _root.charray[_root.charid];
_root.savefile.data.character = _root.character;
_root.savefile.data.charid = _root.charid;
}
}
on (release) {
_root.charid++;
_root.character = _root.charray[_root.charid];
_root.savefile.data.character = _root.character;
_root.savefile.data.charid = _root.charid;
}
Instance of Symbol 935 MovieClip in Frame 13
on (release) {
_root.savefile.data.achievement_status = [false, false, false, false, false, false];
_root.achievement_status = [false, false, false, false, false, false];
_root.hidden_objects = [false, false, false, false, false, false, false, false, false, false];
_root.savefile.data.hidden_objects = _root.hidden_objects;
_root.beatShanty = false;
_root.savefile.data.beatShanty = false;
_root.soundOn = true;
_root.savefile.data.soundOn = true;
_root.tpscore = 0;
_root.savefile.data.tpscore = 0;
_root.levels_grades = [1, 1, 1, 1, 1, 1, 1];
_root.savefile.data.levels_grades = [1, 1, 1, 1, 1, 1, 1];
_root.content_access = [false, false];
_root.savefile.data.content_access = [false, false];
_root.scr_final = 0;
_root.savefile.data.scr_final = 0;
_root.djttl = 0;
_root.savefile.data.djttl = 0;
_root.erasestr = "Erased.";
_root.character = "boy";
_root.savefile.data.character = _root.character;
_root.charid = 0;
_root.savefile.data.charid = 0;
_root.boss_status = [1, 1, 1, 1, 1, 1];
_root.savefile.data.boss_status = [1, 1, 1, 1, 1, 1];
_root.char_status = [1, 1, 0, 0, 0, 0];
_root.char_status = [1, 1, 0, 0, 0, 0];
_root.lastplay = [0, 1, [35, 545], [0, 0, 0, 3]];
_root.savefile.data.lastplay = [0, 1, [35, 545], [0, 0, 0, 3]];
_root.limbs = true;
_root.savefile.data.limbs = _root.limbs;
}
Frame 14
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
_root.used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function winRar() {
_root.boss_status[3] = 3;
pid = 0;
explodetimr = 96;
ninjai.fade = true;
bosswin = true;
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
if (_root.boss && (_root.bossok)) {
ninjai._x = nstx;
ninjai._y = nsty;
bossoktimr = 128;
boss = false;
}
rok = false;
pid = 1;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
rstimr = 8;
}
}
_root[_root.character]._name = "pl1";
bgt = "hard";
if (continued) {
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
used_cpoint = true;
} else {
stx = pl1._x;
sty = pl1._y;
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
used_cpoint = false;
}
scpts = cpoints;
pl1._x = stx;
pl1._y = sty;
pid = 1;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
lvlpack_choice = 3;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(5);
} else {
_root.sounds.gotoAndStop(1);
}
explodetimr = 0;
boss = false;
bossok = true;
bossoktimr = 128;
nstx = 300;
nsty = 300;
removeBeams = false;
onEnterFrame = function () {
if (_root._currentframe == 14) {
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
explodetimr--;
if (removetimr >= 1) {
removetimr--;
} else {
removeBeams = false;
}
if (explodetimr >= 1) {
_root.attachMovie("fire1", "f" + pid, pid);
_root["f" + pid]._x = (ninjai._x + random(20)) - 10;
_root["f" + pid]._y = (ninjai._y + random(40)) - 20;
pid++;
_root.attachMovie("fire1", "f" + pid, pid);
_root["f" + pid]._x = (ninjai._x + random(20)) - 10;
_root["f" + pid]._y = (ninjai._y + random(40)) - 20;
pid++;
_root.attachMovie("fire1", "f" + pid, pid);
_root["f" + pid]._x = (ninjai._x + random(20)) - 10;
_root["f" + pid]._y = (ninjai._y + random(40)) - 20;
pid++;
} else if (bosswin) {
_root.lvl.grd.boss_enddoor.act = true;
}
if (boss && (bossok)) {
cpoints = 0;
ffield._x = nstx;
ffield._y = nsty;
ninjai._x = nstx;
ninjai._y = nsty;
b = 0;
while (b <= 10) {
_root.attachMovie("glowboss", "g" + b, b);
_root["g" + b]._x = 300;
_root["g" + b]._y = 300;
b++;
}
bossok = false;
}
if (boss && (!bossok)) {
bossoktimr--;
}
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Instance of Symbol 547 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.pl1._y < 45) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 550 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.pl1._y < 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = _root.pl1._x;
}
Instance of Symbol 585 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.dead && (!_root.autoRestart)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Frame 15
if (soundOn) {
sounds.gotoAndStop(10);
}
Instance of Symbol 1037 MovieClip in Frame 15
onClipEvent (enterFrame) {
_y = (_y-1);
if (Key.isDown(38)) {
_y = (_y - 10);
}
if (Key.isDown(40)) {
_y = (_y + 6);
}
if (_y <= -939) {
_root.trans.play();
_root.ochc = "main_menu";
}
}
Frame 16
_root.character = "boy";
_root.sounds.gotoAndStop(1);
Instance of Symbol 1046 MovieClip "intro" in Frame 16
on (release) {
_root.getURL("http://www.topaz-games.com", "_blank");
}
Instance of Symbol 1051 MovieClip in Frame 16
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = "main_menu";
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 214 MovieClip in Frame 16
on (release) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", "_blank");
}
Instance of Symbol 1080 MovieClip in Frame 17
on (release) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", "_blank");
}
Frame 18
sounds.gotoAndStop(1);
if (soundOn) {
sounds.gotoAndStop(10);
}
worldframes = [["practice", 1, 3], ["easy", 4, 6], ["medium", 7, 8], ["hard", 9, 15], ["shanty", 16, 18]];
worldchoice = 0;
if (_root.lvlpack_choice == 0) {
worldchoice = 0;
}
if (_root.lvlpack_choice == 1) {
worldchoice = 1;
}
if (_root.lvlpack_choice == 2) {
worldchoice = 2;
}
if (_root.lvlpack_choice == 3) {
worldchoice = 3;
}
if (_root.lvlpack_choice == 5) {
worldchoice = 4;
}
_root.bossimgs.gotoAndStop(worldchoice + 1);
_root.txts.gotoAndStop(worldframes[worldchoice][1]);
onMouseDown = function () {
if (_root._currentframe == 18) {
blackanim.play();
}
};
Frame 19
showpart = 1;
this.onEnterFrame = function () {
plf.gotoAndStop(showpart);
lvls.gotoAndStop(showpart);
ltxts.gotoAndStop(showpart);
if (showpart == 6) {
_root.ochc = "main_menu";
_root.trans.play();
}
};
Instance of Symbol 251 MovieClip "bgm" in Frame 19
on (release) {
_root.showpart++;
}
onClipEvent (load) {
gotoAndStop(_root.bgt);
}
Frame 20
function createLevel(lvl) {
lvlarr = lvl.split("|");
_root.pid = 1;
rowc = 0;
colc = 0;
i = 0;
while (i < _root.lvlarr.length) {
lvlarr[i] = lvlarr[i].split(":");
j = 0;
while (j < lvlarr[i][1]) {
_root.lvl.attachMovie("block", "b" + _root.pid, _root.pid);
_root.lvl["b" + _root.pid].gotoAndStop(lvlarr[i][0]);
_root.lvl["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl["b" + _root.pid]._y = 15 + (colc * 30);
rowc++;
if (rowc == 20) {
colc++;
rowc = 0;
}
_root.pid++;
j++;
}
if (colc == 20) {
break;
}
i++;
}
}
function createRealLevel(lvl) {
lvlarr = lvl.split("|");
_root.pid = 1;
k = 0;
rowc = 0;
colc = 0;
i = 0;
while (i < _root.lvlarr.length) {
lvlarr[i] = lvlarr[i].split(":");
j = 0;
while (j < lvlarr[i][1]) {
if (lvlarr[i][0] != "b") {
if ((lvlarr[i][0] == "a") || (lvlarr[i][0] == "c")) {
_root.lvl.grd.attachMovie("blocksr", "b" + _root.pid, _root.pid);
_root.lvl.grd["b" + _root.pid].gotoAndStop(lvlarr[i][0]);
_root.lvl.grd["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl.grd["b" + _root.pid]._y = 15 + (colc * 30);
} else {
k = 0;
while (k < place_holders.length) {
if (lvlarr[i][0] != "b") {
if (lvlarr[i][0] == _root.place_holders[k]) {
_root.lvl.attachMovie(_root.replacements_editor[k], "b" + _root.pid, _root.pid);
_root.lvl["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl["b" + _root.pid]._y = 15 + (colc * 30);
}
}
k++;
}
}
}
rowc++;
if (rowc == 20) {
colc++;
rowc = 0;
}
_root.pid++;
j++;
}
if (colc == 20) {
break;
}
i++;
}
}
function getCode() {
ac = 0;
done = false;
frst = true;
_root.blkstr = _root.frames[_root.lvl.b1._currentframe - 1];
_root.lvlstr = "";
j = 1;
while (j < _root.pid) {
if (!done) {
if (_root.blkstr != _root.frames[_root.lvl["b" + j]._currentframe - 1]) {
if (frst) {
_root.lvlstr = (((_root.lvlstr + _root.blkstr) + ":") + ac) + "|";
frst = false;
} else {
_root.lvlstr = (((_root.lvlstr + _root.blkstr) + ":") + (ac + 1)) + "|";
}
_root.blkstr = _root.frames[_root.lvl["b" + j]._currentframe - 1];
ac = 0;
} else {
ac++;
}
if (j == (_root.pid - 1)) {
_root.lvlstr = ((_root.lvlstr + _root.blkstr) + ":") + (ac + 1);
_root.blkstr = _root.frames[_root["b" + j]._currentframe - 1];
ac = 0;
done = true;
}
}
j++;
}
return(_root.lvlstr);
}
function getSurroundData(id) {
surround = [];
surround[0] = _root.lvl["b" + (id - 21)]._currentframe - 1;
surround[1] = _root.lvl["b" + (id - 20)]._currentframe - 1;
surround[2] = _root.lvl["b" + (id - 19)]._currentframe - 1;
surround[3] = _root.lvl["b" + (id - 1)]._currentframe - 1;
surround[4] = _root.lvl["b" + (id + 1)]._currentframe - 1;
surround[5] = _root.lvl["b" + (id + 19)]._currentframe - 1;
surround[6] = _root.lvl["b" + (id + 20)]._currentframe - 1;
surround[7] = _root.lvl["b" + (id + 21)]._currentframe - 1;
i = 0;
while (i <= 7) {
_root.disp["txt" + [i]] = _root.frames[surround[i]];
i++;
}
return(surround);
}
function refreshLevel() {
getCode();
createLevel(_root.lvlstr);
}
bgt_choices = ["practice", "easy", "cat", "hard", "medium", "shanty", "cave", "alps"];
bgt_chc_int = 0;
stop();
md = false;
dead = false;
baselevel = "a:21|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:18|a:22";
if (_root.ft != false) {
bgt = "practice";
level = baselevel;
level_real = level;
_root.ft = false;
}
pid = 1;
block_choice = "a";
lvlstr = "";
blkstr = "";
createLevel(level);
_root.onMouseDown = function () {
md = true;
};
_root.onMouseUp = function () {
md = false;
};
Instance of Symbol 251 MovieClip "bgm" in Frame 20
onClipEvent (load) {
gotoAndStop(_root.bgt);
}
Instance of Symbol 1170 MovieClip "slct" in Frame 20
onClipEvent (load) {
keySpace = false;
_visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (!keySpace)) {
keySpace = true;
_visible = (!_visible);
}
if (!Key.isDown(32)) {
keySpace = false;
}
}
Instance of Symbol 1172 MovieClip in Frame 20
onClipEvent (load) {
_alpha = 100;
timr = 45;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
if (_alpha >= 0) {
_alpha = (_alpha - 10);
}
}
}
Frame 21
function death() {
if (pl1._visible) {
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
_root.resetting = true;
}
function getRealSurroundData(id) {
surround = [];
surround[0] = _root.lvl.grd["b" + (id - 21)]._currentframe - 1;
surround[1] = _root.lvl.grd["b" + (id - 20)]._currentframe - 1;
surround[2] = _root.lvl.grd["b" + (id - 19)]._currentframe - 1;
surround[3] = _root.lvl.grd["b" + (id - 1)]._currentframe - 1;
surround[4] = _root.lvl.grd["b" + (id + 1)]._currentframe - 1;
surround[5] = _root.lvl.grd["b" + (id + 19)]._currentframe - 1;
surround[6] = _root.lvl.grd["b" + (id + 20)]._currentframe - 1;
surround[7] = _root.lvl.grd["b" + (id + 21)]._currentframe - 1;
return(surround);
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
_root.resetting = false;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
if (_root.lvl._currentframe == 21) {
_root.lvl.hp2._y = -500;
_root.lvl.hp1._y = -500;
_root.lvl.hp3._y = 250;
_root.lvl.hp = 3;
_root.lvl.hp3.dead = false;
_root.lvl.hp2.dead = false;
_root.lvl.hp1.dead = false;
}
}
}
stop();
autoRestart = true;
restart_timr = 16;
rstimr = 0;
restarting = false;
this.onEnterFrame = function () {
if (((Key.isDown(32) && (_root._currentframe == 21)) && (!dead)) && (pl1._visible)) {
_root.level = _root.level_real;
_root.pz = true;
_root.ochc = "leveledit";
_root.trans.play();
}
if (_root.pl1._y >= 630) {
_root.death();
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
};
character = "boy";
dead = false;
createRealLevel(_root.level_real);
this.onMouseDown = function () {
if (!_root.lvl.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.pl1._x = _root._xmouse;
_root.pl1._y = _root._ymouse;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
}
};
Frame 22
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
_root.used_cpoint = true;
}
}
}
function removeLevel() {
i = 0;
while (i < 400) {
_root.lvl["b" + i].removeMovieClip(_root.lvl["b" + i]);
_root.lvl.grd["b" + i].removeMovieClip(_root.lvl.grd["b" + i]);
i++;
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
}
}
function createRealLevel(lvl) {
lvlarr = lvl.split("|");
_root.pid = 1;
k = 0;
rowc = 0;
colc = 0;
i = 0;
while (i < _root.lvlarr.length) {
lvlarr[i] = lvlarr[i].split(":");
j = 0;
while (j < lvlarr[i][1]) {
if (lvlarr[i][0] != "b") {
if ((lvlarr[i][0] == "a") || (lvlarr[i][0] == "c")) {
_root.lvl.grd.attachMovie("blocksr", "b" + _root.pid, _root.pid);
_root.lvl.grd["b" + _root.pid].gotoAndStop(lvlarr[i][0]);
_root.lvl.grd["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl.grd["b" + _root.pid]._y = 15 + (colc * 30);
} else {
k = 0;
while (k < place_holders.length) {
if (lvlarr[i][0] != "b") {
if (lvlarr[i][0] == _root.place_holders[k]) {
_root.lvl.attachMovie(_root.replacements[k], "b" + _root.pid, _root.pid);
_root.lvl["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl["b" + _root.pid]._y = 15 + (colc * 30);
}
}
k++;
}
}
}
rowc++;
if (rowc == 20) {
colc++;
rowc = 0;
}
_root.pid++;
j++;
}
if (colc == 20) {
break;
}
i++;
}
}
function getRealSurroundData(id) {
surround = [];
surround[0] = _root.lvl.grd["b" + (id - 21)]._currentframe - 1;
surround[1] = _root.lvl.grd["b" + (id - 20)]._currentframe - 1;
surround[2] = _root.lvl.grd["b" + (id - 19)]._currentframe - 1;
surround[3] = _root.lvl.grd["b" + (id - 1)]._currentframe - 1;
surround[4] = _root.lvl.grd["b" + (id + 1)]._currentframe - 1;
surround[5] = _root.lvl.grd["b" + (id + 19)]._currentframe - 1;
surround[6] = _root.lvl.grd["b" + (id + 20)]._currentframe - 1;
surround[7] = _root.lvl.grd["b" + (id + 21)]._currentframe - 1;
return(surround);
}
_root[_root.character]._name = "pl1";
bgt = "cave";
pid = 1;
lvlpack_choice = 7;
block_choice = "a";
lvlstr = "";
blkstr = "";
if (continued) {
used_cpoint = true;
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
} else {
used_cpoint = false;
stx = pl1._x;
sty = pl1._y;
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
}
scpts = cpoints;
shortct = false;
pl1._x = stx;
pl1._y = sty;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
restart_timr = 16;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(12);
} else {
_root.sounds.gotoAndStop(1);
}
onEnterFrame = function () {
if (_root._currentframe == 22) {
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Instance of Symbol 547 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.pl1._y < 45) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 550 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.pl1._y < 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = _root.pl1._x;
}
Instance of Symbol 585 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.dead && (!_root.autoRestart)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Frame 23
function changeLevel() {
newLevel = true;
NLTimr = 4;
}
function removeLevel() {
i = 0;
while (i < 400) {
_root.lvl["b" + i].removeMovieClip(_root.lvl["b" + i]);
_root.lvl.grd["b" + i].removeMovieClip(_root.lvl.grd["b" + i]);
i++;
}
}
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
_root.used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
}
}
function createRealLevel(lvl) {
lvlarr = lvl.split("|");
_root.pid = 1;
k = 0;
rowc = 0;
colc = 0;
i = 0;
while (i < _root.lvlarr.length) {
lvlarr[i] = lvlarr[i].split(":");
j = 0;
while (j < lvlarr[i][1]) {
if (lvlarr[i][0] != "b") {
if ((lvlarr[i][0] == "a") || (lvlarr[i][0] == "c")) {
_root.lvl.grd.attachMovie("blocksr", "b" + _root.pid, _root.pid);
_root.lvl.grd["b" + _root.pid].gotoAndStop(lvlarr[i][0]);
_root.lvl.grd["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl.grd["b" + _root.pid]._y = 15 + (colc * 30);
} else {
k = 0;
while (k < place_holders.length) {
if (lvlarr[i][0] != "b") {
if (lvlarr[i][0] == _root.place_holders[k]) {
_root.lvl.attachMovie(_root.replacements[k], "b" + _root.pid, _root.pid);
_root.lvl["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl["b" + _root.pid]._y = 15 + (colc * 30);
}
}
k++;
}
}
}
rowc++;
if (rowc == 20) {
colc++;
rowc = 0;
}
_root.pid++;
j++;
}
if (colc == 20) {
break;
}
i++;
}
}
function getRealSurroundData(id) {
surround = [];
surround[0] = _root.lvl.grd["b" + (id - 21)]._currentframe - 1;
surround[1] = _root.lvl.grd["b" + (id - 20)]._currentframe - 1;
surround[2] = _root.lvl.grd["b" + (id - 19)]._currentframe - 1;
surround[3] = _root.lvl.grd["b" + (id - 1)]._currentframe - 1;
surround[4] = _root.lvl.grd["b" + (id + 1)]._currentframe - 1;
surround[5] = _root.lvl.grd["b" + (id + 19)]._currentframe - 1;
surround[6] = _root.lvl.grd["b" + (id + 20)]._currentframe - 1;
surround[7] = _root.lvl.grd["b" + (id + 21)]._currentframe - 1;
return(surround);
}
_root[_root.character]._name = "pl1";
trace(_root.character + " = character");
bgt = "alps";
pid = 1;
lvlpack_choice = 6;
block_choice = "a";
lvlstr = "";
blkstr = "";
if (continued) {
used_cpoint = true;
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
} else {
used_cpoint = false;
stx = pl1._x;
sty = pl1._y;
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
}
scpts = cpoints;
shortct = false;
pl1._x = stx;
pl1._y = sty;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
restart_timr = 16;
newLevel = false;
NLTimr = 4;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(11);
} else {
_root.sounds.gotoAndStop(1);
}
onEnterFrame = function () {
if (_root._currentframe == 23) {
if (newLevel) {
NLTimr--;
if (NLTimr <= 0) {
newLevel = false;
}
}
if (_root.pl1._y >= 630) {
_root.death();
}
if ((!dead) && (!pz)) {
sectimr--;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Frame 24
function changeLevel() {
newLevel = true;
NLTimr = 4;
}
function removeLevel() {
i = 0;
while (i < 400) {
_root.lvl["b" + i].removeMovieClip(_root.lvl["b" + i]);
_root.lvl.grd["b" + i].removeMovieClip(_root.lvl.grd["b" + i]);
i++;
}
}
function setCheckPoint() {
if (((_root.cpoint_timr <= 0) && (!_root.pz)) && (!_root.dead)) {
if (_root.cpoints >= 1) {
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.flag._x = _root.stx;
_root.flag._y = _root.sty;
_root.cpoints--;
_root.cpoint_timr = 32;
_root.used_cpoint = true;
}
}
}
function pauseToggle() {
if (!pz) {
pz = true;
pausemenu._visible = true;
} else {
pz = false;
pausemenu._visible = false;
}
}
function death() {
if (pl1._visible) {
_root.dsounds.gotoAndStop(1);
if (_root.soundOn) {
_root.dsounds.gotoAndStop(random(9) + 1);
}
dead = true;
if (_root.limbs) {
_root.attachMovie("player_head", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_hand", "ph" + pid, pid);
_root["ph" + pid]._x = pl1._x;
_root["ph" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_body", "pb" + pid, pid);
_root["pb" + pid]._x = pl1._x;
_root["pb" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
_root.attachMovie("player_foot", "pf" + pid, pid);
_root["pf" + pid]._x = pl1._x;
_root["pf" + pid]._y = pl1._y;
pid++;
}
i = pid;
while (i < (pid + 20)) {
_root.attachMovie("blood", "b" + i, i);
_root["b" + i]._x = _root.pl1._x + Number(random(15) - 7.5);
_root["b" + i]._y = _root.pl1._y + Number(random(15) - 7.5);
i++;
}
pl1._x = _root.stx;
pl1._y = _root.sty;
pl1.pz = true;
_root.dthcnt++;
pl1._visible = false;
}
}
function resetLevel() {
if (!_root.pz) {
if (rok && (!dead)) {
_root.dthcnt++;
}
rok = false;
resetting = true;
pl1._x = stx;
pl1._y = sty;
pl1.xspd = 0;
pl1.yspd = 0;
pl1.vertical = "fall";
pl1.pz = false;
dead = false;
pl1._visible = true;
djcnt = 0;
pid = 1;
rstimr = 8;
}
}
function createRealLevel(lvl) {
lvlarr = lvl.split("|");
_root.pid = 1;
k = 0;
rowc = 0;
colc = 0;
i = 0;
while (i < _root.lvlarr.length) {
lvlarr[i] = lvlarr[i].split(":");
j = 0;
while (j < lvlarr[i][1]) {
if (lvlarr[i][0] != "b") {
if ((lvlarr[i][0] == "a") || (lvlarr[i][0] == "c")) {
_root.lvl.grd.attachMovie("blocksr", "b" + _root.pid, _root.pid);
_root.lvl.grd["b" + _root.pid].gotoAndStop(lvlarr[i][0]);
_root.lvl.grd["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl.grd["b" + _root.pid]._y = 15 + (colc * 30);
} else {
k = 0;
while (k < place_holders.length) {
if (lvlarr[i][0] != "b") {
if (lvlarr[i][0] == _root.place_holders[k]) {
_root.lvl.attachMovie(_root.replacements[k], "b" + _root.pid, _root.pid);
_root.lvl["b" + _root.pid]._x = 15 + (rowc * 30);
_root.lvl["b" + _root.pid]._y = 15 + (colc * 30);
}
}
k++;
}
}
}
rowc++;
if (rowc == 20) {
colc++;
rowc = 0;
}
_root.pid++;
j++;
}
if (colc == 20) {
break;
}
i++;
}
}
function getRealSurroundData(id) {
surround = [];
surround[0] = _root.lvl.grd["b" + (id - 21)]._currentframe - 1;
surround[1] = _root.lvl.grd["b" + (id - 20)]._currentframe - 1;
surround[2] = _root.lvl.grd["b" + (id - 19)]._currentframe - 1;
surround[3] = _root.lvl.grd["b" + (id - 1)]._currentframe - 1;
surround[4] = _root.lvl.grd["b" + (id + 1)]._currentframe - 1;
surround[5] = _root.lvl.grd["b" + (id + 19)]._currentframe - 1;
surround[6] = _root.lvl.grd["b" + (id + 20)]._currentframe - 1;
surround[7] = _root.lvl.grd["b" + (id + 21)]._currentframe - 1;
return(surround);
}
_root[_root.character]._name = "pl1";
trace(_root.character + " = character");
bgt = "easy";
pid = 1;
lvlpack_choice = 8;
block_choice = "a";
lvlstr = "";
blkstr = "";
if (continued) {
used_cpoint = true;
lvl.gotoAndStop(lastplay[1]);
stx = lastplay[2][0];
sty = lastplay[2][1];
score = lastplay[3][0];
timrttl = lastplay[3][1];
dthcnt = lastplay[3][2];
cpoints = lastplay[3][3];
} else {
used_cpoint = false;
stx = pl1._x;
sty = pl1._y;
cpoints = 3;
timrttl = 0;
score = 0;
dthcnt = 0;
}
scpts = cpoints;
shortct = false;
pl1._x = stx;
pl1._y = sty;
pz = false;
win = false;
rok = false;
cpoint_timr = 0;
rstimr = 8;
resetting = false;
dead = false;
cpointstr = _root.cpoints;
djcnt = 0;
sectimr = 45;
restart_timr = 16;
newLevel = false;
NLTimr = 4;
if (soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(4);
} else {
_root.sounds.gotoAndStop(1);
}
onEnterFrame = function () {
if (_root._currentframe == 24) {
if ((!dead) && (!pz)) {
sectimr--;
}
if (win) {
_root.sendScoresToKong(lvlpack_choice, score, timrttl, dthcnt);
win = false;
}
if (score < 0) {
score = 0;
}
if ((sectimr < 0) && (!win)) {
timrttl++;
sectimr = 45;
}
if (lvl._currentframe <= 20) {
if (_root.pl1._y < 570) {
levelstr = "Level " + lvl._currentframe;
} else {
levelstr = "";
}
} else if (_root.pl1._y < 570) {
levelstr = "Boss Level";
} else {
levelstr = "";
}
if (_root.pl1._y < 45) {
timrstr = "";
scorestr = "";
deathstr = "";
cpointstr = "";
} else {
if (timrttl <= 9) {
timrstr = "00" + timrttl;
} else if ((timrttl >= 10) && (timrttl <= 99)) {
timrstr = "0" + timrttl;
} else {
timrstr = timrttl;
}
if (_root.score <= 9) {
scorestr = "00000000" + _root.score;
} else if ((_root.score >= 10) && (_root.score <= 99)) {
scorestr = "0000000" + _root.score;
} else if ((_root.score >= 100) && (_root.score <= 999)) {
scorestr = "000000" + _root.score;
} else if ((_root.score >= 1000) && (_root.score <= 9999)) {
scorestr = "00000" + _root.score;
} else if ((_root.score >= 10000) && (_root.score <= 99999)) {
scorestr = "0000" + _root.score;
} else if ((_root.score >= 100000) && (_root.score <= 999999)) {
scorestr = "000" + _root.score;
} else if ((_root.score >= 1000000) && (_root.score <= 9999999)) {
scorestr = "00" + _root.score;
} else if ((_root.score >= 10000000) && (_root.score <= 99999999)) {
scorestr = "0" + _root.score;
} else {
scorestr = _root.score;
}
if (_root.cpoints <= 9) {
cpointstr = "0" + _root.cpoints;
} else {
cpointstr = _root.cpoints;
}
if (_root.dthcnt <= 9) {
deathstr = "00" + _root.dthcnt;
} else if ((_root.dthcnt >= 10) && (_root.dthcnt <= 99)) {
deathstr = "0" + _root.dthcnt;
} else {
deathstr = _root.dthcnt;
}
}
cpoint_timr--;
rstimr--;
if (djttl >= 100) {
achievementUnlocked(4);
}
if (rstimr < 0) {
resetting = false;
}
if (!_root.autoRestart) {
if (Key.isDown(82)) {
resetLevel();
} else {
rok = true;
}
} else if (dead) {
restart_timr--;
if (restart_timr <= 0) {
resetLevel();
restart_timr = 16;
}
} else {
rok = true;
}
}
};
Symbol 1 MovieClip [start] Frame 1
_root.stx = this._x;
_root.sty = this._y;
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
this.onEnterFrame = function () {
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 6 MovieClip [spike] Frame 1
function calculateBaseTile() {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this._rotation = 180;
} else if ((posarr[6] == 0) || (posarr[6] == 2)) {
this._rotation = 0;
} else if ((posarr[3] == 0) || (posarr[3] == 2)) {
this._rotation = 90;
} else if ((posarr[4] == 0) || (posarr[4] == 2)) {
this._rotation = 270;
}
}
posarr = _root.getRealSurroundData(Number(this._name.substr(1, this._name.length - 1)));
this.onEnterFrame = function () {
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
calculateBaseTile();
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Symbol 7 MovieClip [spikem2] Frame 1
function calculateBaseTile() {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this._rotation = 180;
} else if ((posarr[6] == 0) || (posarr[6] == 2)) {
this._rotation = 0;
} else if ((posarr[3] == 0) || (posarr[3] == 2)) {
this._rotation = 90;
} else if ((posarr[4] == 0) || (posarr[4] == 2)) {
this._rotation = 270;
}
}
posarr = _root.getRealSurroundData(Number(this._name.substr(1, this._name.length - 1)));
this.onEnterFrame = function () {
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
calculateBaseTile();
Symbol 8 MovieClip [spikem] Frame 1
function calculateBaseTile() {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this._rotation = 180;
} else if ((posarr[6] == 0) || (posarr[6] == 2)) {
this._rotation = 0;
} else if ((posarr[3] == 0) || (posarr[3] == 2)) {
this._rotation = 90;
} else if ((posarr[4] == 0) || (posarr[4] == 2)) {
this._rotation = 270;
}
}
posarr = _root.getRealSurroundData(Number(this._name.substr(1, this._name.length - 1)));
this.onEnterFrame = function () {
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
calculateBaseTile();
Symbol 10 MovieClip [boulder] Frame 1
act = false;
xspd = 0;
yspd = 0;
falltimr = 0;
stx = this._x;
sty = this._y;
hit_ground = false;
movtimr = 160;
this.onEnterFrame = function () {
if (_root.resetting) {
this._x = stx;
this._y = sty;
this._alpha = 100;
movtimr = 160;
xspd = 0;
yspd = 0;
act = false;
falltimr = 0;
hit_ground = false;
}
if (((((_root.pl1._y >= (this._y + 20)) && (_root.pl1._y <= (this._y + 120))) && (_root.pl1._x >= (this._x - 30))) && (_root.pl1._x <= (this._x + 30))) && (!act)) {
act = true;
if (_root.pl1.xspd >= 1) {
xspd = 90;
}
if (_root.pl1.xspd <= -1) {
xspd = -90;
}
if ((_root.pl1.xspd >= -0.99) && (_root.pl1.xspd <= 0.99)) {
xspd = 0;
}
}
if (act) {
movtimr--;
if (movtimr <= 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._y = 650;
this._x = 650;
}
}
this._x = this._x + (xspd / 120);
this._y = this._y + (yspd / 4);
falltimr++;
this._rotation = this._rotation + (xspd / 100);
yspd++;
if (xspd != 0) {
if (xspd >= 2) {
xspd--;
}
if ((xspd > 0) && (xspd < 1)) {
xspd = 0;
}
if (xspd <= -2) {
xspd++;
}
if ((xspd < 0) && (xspd >= -1)) {
xspd = 0;
}
}
if ((yspd >= -1) && (yspd <= -1)) {
yspd = 0;
}
if (!hit_ground) {
this._y = this._y + (yspd / 4);
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
this._y--;
}
hit_ground = true;
yspd = (-yspd) / 1.4;
_root.pl1.yspd = -6;
}
} else {
if (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
this._y--;
}
yspd = (-yspd) / 1.4;
if (_root.lvl.grd.hitTest(_root.pl1._x, _root.pl1._y + 12, true)) {
if (falltimr >= 14) {
trace(falltimr);
_root.pl1.yspd = -7;
}
}
falltimr = 0;
}
if (_root.lvl.grd.hitTest(this._x + 20, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 20, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 20, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 20, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
}
}
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.death();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 2
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 2
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 1
if (_root.bgt == "practice") {
this.gotoAndStop(1);
}
stop();
if (_root.bgt == "easy") {
this.nextFrame();
}
if (_root.bgt == "cat") {
this.gotoAndStop(3);
}
if (_root.bgt == "shanty") {
this.gotoAndStop(4);
}
if (_root.bgt == "medium") {
this.gotoAndStop(5);
}
if (_root.bgt == "hard") {
this.gotoAndStop(6);
}
if (_root.bgt == "cave") {
this.gotoAndStop(7);
}
if (_root.bgt == "alps") {
this.gotoAndStop(8);
}
Symbol 48 MovieClip Frame 1
if (_root.bgt == "practice") {
gotoAndStop (1);
}
if (_root.bgt == "practice") {
this.gotoAndStop(1);
}
stop();
if (_root.bgt == "easy") {
this.nextFrame();
}
if (_root.bgt == "cat") {
this.gotoAndStop(3);
}
if (_root.bgt == "shanty") {
this.gotoAndStop(4);
}
if (_root.bgt == "medium") {
this.gotoAndStop(5);
}
if (_root.bgt == "hard") {
this.gotoAndStop(6);
}
if (_root.bgt == "cave") {
this.gotoAndStop(7);
}
if (_root.bgt == "alps") {
this.gotoAndStop(8);
}
Symbol 48 MovieClip Frame 2
if (_root.bgt == "practice") {
gotoAndStop (1);
}
Symbol 48 MovieClip Frame 3
if (_root.bgt == "practice") {
gotoAndStop (1);
}
if (_root.bgt == "practice") {
this.gotoAndStop(1);
}
Symbol 48 MovieClip Frame 4
if (_root.bgt == "practice") {
gotoAndStop (1);
}
Symbol 48 MovieClip Frame 5
if (_root.bgt == "practice") {
gotoAndStop (1);
}
Symbol 48 MovieClip Frame 6
if (_root.bgt == "practice") {
gotoAndStop (1);
}
Symbol 48 MovieClip Frame 7
if (_root.bgt == "practice") {
gotoAndStop (1);
}
Symbol 48 MovieClip Frame 8
if (_root.bgt == "practice") {
gotoAndStop (1);
}
Symbol 49 MovieClip [blocksr] Frame 1
this.onEnterFrame = function () {
if ((_root._currentframe == 20) || (_root.newLevel)) {
this.removeMovieClip(this);
}
};
function calculateBaseTile() {
if (this._currentframe == 3) {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this.gotoAndStop("a");
}
}
if (this._currentframe == 1) {
if (((posarr[1] == 1) || (posarr[1] == 7)) || (posarr[1] == 11)) {
this.gotoAndStop("c");
}
}
if (this._currentframe == 8) {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this._rotation = 180;
} else if ((posarr[3] == 0) || (posarr[3] == 2)) {
this._rotation = 90;
} else if ((posarr[4] == 0) || (posarr[4] == 2)) {
this._rotation = 270;
} else {
this._rotation = 0;
}
}
if (this._currentframe != 8) {
this._rotation = 0;
}
}
posarr = _root.getSurroundData(Number(this._name.substr(1, this._name.length - 1)));
calculateBaseTile();
calculateBaseTile();
Symbol 49 MovieClip [blocksr] Frame 3
calculateBaseTile();
Symbol 55 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 65 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.pl1.anms.hitTest(this.hb2) || (_root.pl1.anms.hitTest(this.hb3))) || (_root.pl1.anms.hitTest(this.hb1))) {
_root.death();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 70 MovieClip [spring_low] Frame 1
this.onEnterFrame = function () {
if ((_root.pl1.anms.hitTest(this._x, this._y + 6, true) || (_root.pl1.anms.hitTest(this._x + 7.5, this._y + 6, true))) || (_root.pl1.anms.hitTest(this._x - 7.5, this._y + 6, true))) {
while ((_root.pl1.anms.hitTest(this._x, this._y + 6, true) || (_root.pl1.anms.hitTest(this._x + 7.5, this._y + 6, true))) || (_root.pl1.anms.hitTest(this._x - 7.5, this._y + 6, true))) {
_root.pl1._y--;
}
this._height = 15;
_root.pl1.kuptimr = 8;
if ((_root.pl1.vertical == "landed") || (_root.pl1.vertical == "platform")) {
_root.pl1.vertical = "jump";
}
_root.pl1.djump = true;
_root.pl1.djumpok = true;
_root.pl1.yspd = -10;
_root.pl1.jtimr = 24;
_root.pl1.jumping = 1;
} else {
this._height = 30;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 73 MovieClip [spring_med] Frame 1
this.onEnterFrame = function () {
if ((_root.pl1.anms.hitTest(this._x, this._y + 6, true) || (_root.pl1.anms.hitTest(this._x + 7.5, this._y + 6, true))) || (_root.pl1.anms.hitTest(this._x - 7.5, this._y + 6, true))) {
while ((_root.pl1.anms.hitTest(this._x, this._y + 6, true) || (_root.pl1.anms.hitTest(this._x + 7.5, this._y + 6, true))) || (_root.pl1.anms.hitTest(this._x - 7.5, this._y + 6, true))) {
_root.pl1._y--;
}
this._height = 15;
_root.pl1.kuptimr = 8;
if ((_root.pl1.vertical == "landed") || (_root.pl1.vertical == "platform")) {
_root.pl1.vertical = "jump";
}
_root.pl1.djump = true;
_root.pl1.djumpok = true;
_root.pl1.yspd = -10;
_root.pl1.jtimr = 32;
_root.pl1.jumping = 1;
} else {
this._height = 30;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 76 MovieClip [spring_high] Frame 1
this.onEnterFrame = function () {
if ((_root.pl1.anms.hitTest(this._x, this._y + 6, true) || (_root.pl1.anms.hitTest(this._x + 7.5, this._y + 6, true))) || (_root.pl1.anms.hitTest(this._x - 7.5, this._y + 6, true))) {
while ((_root.pl1.anms.hitTest(this._x, this._y + 6, true) || (_root.pl1.anms.hitTest(this._x + 7.5, this._y + 6, true))) || (_root.pl1.anms.hitTest(this._x - 7.5, this._y + 6, true))) {
_root.pl1._y--;
}
this._height = 15;
_root.pl1.kuptimr = 8;
if ((_root.pl1.vertical == "landed") || (_root.pl1.vertical == "platform")) {
_root.pl1.vertical = "jump";
}
_root.pl1.djump = true;
_root.pl1.djumpok = true;
_root.pl1.yspd = -10;
_root.pl1.jtimr = 40;
_root.pl1.jumping = 1;
} else {
this._height = 30;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 85 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.anms.hitTest(this)) {
_root.death();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 86 MovieClip Frame 1
stop();
Symbol 95 MovieClip [block] Frame 1
function calculateBaseTile() {
if (this._currentframe == 3) {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this.gotoAndStop("a");
}
}
if (this._currentframe == 1) {
if (((posarr[1] == 1) || (posarr[1] == 7)) || (posarr[1] == 11)) {
this.gotoAndStop("c");
}
}
if ((this._currentframe == 8) || (this._currentframe == 10)) {
if ((posarr[1] == 0) || (posarr[1] == 2)) {
this._rotation = 180;
} else if ((posarr[6] == 0) || (posarr[6] == 2)) {
this._rotation = 0;
} else if ((posarr[3] == 0) || (posarr[3] == 2)) {
this._rotation = 90;
} else if ((posarr[4] == 0) || (posarr[4] == 2)) {
this._rotation = 270;
}
}
if (this._currentframe != 8) {
this._rotation = 0;
}
}
hlight._alpha = 0;
posarr = _root.getSurroundData(Number(this._name.substr(1, this._name.length - 1)));
this.onEnterFrame = function () {
if (_root._currentframe == 21) {
this.removeMovieClip(this);
}
if (this.bg.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.getSurroundData(Number(this._name.substr(1, this._name.length - 1)));
hlight._alpha = 100;
if (_root.md) {
calculateBaseTile();
if ((!_root.slct.hitTest(_root._xmouse, _root._ymouse, true)) || (!_root.slct._visible)) {
this.gotoAndStop(_root.block_choice);
}
}
} else {
hlight._alpha = 0;
}
};
calculateBaseTile();
calculateBaseTile();
Symbol 95 MovieClip [block] Frame 3
calculateBaseTile();
Symbol 95 MovieClip [block] Frame 8
calculateBaseTile();
Symbol 95 MovieClip [block] Frame 10
calculateBaseTile();
Symbol 95 MovieClip [block] Frame 11
calculateBaseTile();
Symbol 95 MovieClip [block] Frame 22
calculateBaseTile();
Symbol 97 MovieClip [fireball] Frame 1
stimr = 30;
etimr = 96;
die = false;
dspd = 0;
this._xscale = (this._yscale = (this._alpha = 0));
crf = _root._currentframe;
this.onEnterFrame = function () {
if (_root._currentframe != crf) {
this.removeMovieClip(this);
}
if (!die) {
stimr--;
if (this._alpha >= 100) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._alpha = this._alpha + 4;
this._yscale = (this._xscale = this._alpha);
}
if (stimr < 0) {
if ((((_root.lvl.grd.hitTest(this._x, this._y, true) || (this._x < 0)) || (this._y < 0)) || (this._x > 600)) || (this._y > 600)) {
die = true;
}
}
} else {
this._alpha = this._alpha - dspd;
dspd++;
this._xscale = this._xscale - dspd;
this._yscale = this._yscale - dspd;
if (((this._alpha <= 0) || (this._xscale <= 0)) || (this._yscale <= 0)) {
this.removeMovieClip(this);
}
}
if (_root.pl1.hitTest(this)) {
_root.death();
this.removeMovieClip(this);
}
if (_root.resetting) {
this.removeMovieClip(this);
}
};
Symbol 101 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.anms.hitTest(this)) {
_root.death();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 102 MovieClip [lavar] Frame 1
function calculateBaseTile() {
if (posarr[6] == 2) {
this.gotoAndStop(2);
} else if (posarr[6] == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
stop();
posarr = _root.getRealSurroundData(Number(this._name.substr(1, this._name.length - 1)));
calculateBaseTile();
this.onEnterFrame = function () {
if (_root.pl1.anms.hitTest(this)) {
_root.death();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 102 MovieClip [lavar] Frame 2
stop();
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.death();
}
};
Symbol 103 MovieClip [spikeballmove2] Frame 1
rspd = 1;
this.onEnterFrame = function () {
this._rotation = this._rotation - rspd;
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 106 MovieClip [mblazar1] Frame 2
Xd = _root.pl1._x - _x;
Yd = _root.pl1._y - _y;
stop();
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
spd = 15;
stx = this._x;
sty = this._y;
timr = 128;
this.onEnterFrame = function () {
timr--;
if (_root.resetting) {
this.removeMovieClip(this);
}
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (!_root.lvl.hitTest(this)) {
this.removeMovieClip(this);
}
if (_root.pl1.hitTest(this)) {
_root.death();
this.removeMovieClip(this);
}
};
Symbol 108 MovieClip [hblazar] Frame 2
Xd = _root.pl1._x - _x;
Yd = _root.pl1._y - _y;
stop();
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
spd = 15;
stx = this._x;
sty = this._y;
timr = 128;
this.onEnterFrame = function () {
if (_root.removeBeams) {
this.removeMovieClip(this);
}
timr--;
if (_root.resetting) {
this.removeMovieClip(this);
}
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (!_root.lvl.hitTest(this)) {
this.removeMovieClip(this);
}
if (_root.pl1.hitTest(this)) {
_root.death();
this.removeMovieClip(this);
}
};
Symbol 110 MovieClip [sl1] Frame 1
Xd = _root.pl1._x - _x;
Yd = _root.pl1._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
spd = 6;
this.onEnterFrame = function () {
this._xscale = (this._yscale = this._alpha);
if (_rotation > 180) {
_y = (_y + (Math.cos((Math.PI/180) * _rotation) * spd));
_x = (_x - (Math.sin((Math.PI/180) * _rotation) * spd));
} else {
_y = (_y - (Math.cos((Math.PI/180) * _rotation) * spd));
_x = (_x + (Math.sin((Math.PI/180) * _rotation) * spd));
}
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.death();
this.removeMovieClip(this);
}
if (!_root.lvl.hitTest(this)) {
this.removeMovieClip(this);
}
};
Symbol 111 MovieClip [sb_moveup] Frame 1
yspd = -3;
this.onEnterFrame = function () {
this._y = this._y + yspd;
if (_root.lvl.grd.hitTest(this._x, this._y - 13, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 13, true)) {
this._y++;
}
yspd = 3;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 13, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 13, true)) {
this._y--;
}
yspd = -3;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 112 MovieClip [sb_movedown] Frame 1
yspd = 3;
this.onEnterFrame = function () {
this._y = this._y + yspd;
if (_root.lvl.grd.hitTest(this._x, this._y - 13, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 13, true)) {
this._y++;
}
yspd = 3;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 13, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 13, true)) {
this._y--;
}
yspd = -3;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 113 MovieClip [sb_moveright] Frame 1
xspd = 3;
this.onEnterFrame = function () {
this._x = this._x + xspd;
if (_root.lvl.grd.hitTest(this._x - 13, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 13, this._y, true)) {
this._x++;
}
xspd = 3;
}
if (_root.lvl.grd.hitTest(this._x + 13, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 13, this._y, true)) {
this._x--;
}
xspd = -3;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 114 MovieClip [sb_moveleft] Frame 1
xspd = -3;
this.onEnterFrame = function () {
this._x = this._x + xspd;
if (_root.lvl.grd.hitTest(this._x - 13, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 13, this._y, true)) {
this._x++;
}
xspd = 3;
}
if (_root.lvl.grd.hitTest(this._x + 13, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 13, this._y, true)) {
this._x--;
}
xspd = -3;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 118 MovieClip Frame 1
this._alpha = random(50) + 50;
Symbol 119 MovieClip [wind_gustleft] Frame 1
this.onEnterFrame = function () {
if (this.box.hitTest(_root.pl1) && (_root.pl1.xspd >= -9)) {
_root.pl1.xspd--;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Instance of Symbol 118 MovieClip in Symbol 119 MovieClip [wind_gustleft] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_x = (_x-1);
if (_x <= -15) {
_x = 15;
}
}
Instance of Symbol 118 MovieClip in Symbol 119 MovieClip [wind_gustleft] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_x = (_x-1);
if (_x <= -15) {
_x = 15;
}
}
Instance of Symbol 118 MovieClip in Symbol 119 MovieClip [wind_gustleft] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_x = (_x-1);
if (_x <= -15) {
_x = 15;
}
}
Symbol 120 MovieClip [wind_gustright] Frame 1
this.onEnterFrame = function () {
if (this.box.hitTest(_root.pl1) && (_root.pl1.xspd <= 9)) {
_root.pl1.xspd++;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip [wind_gustright] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_x = (_x+1);
if (_x >= 15) {
_x = -15;
}
}
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip [wind_gustright] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_x = (_x+1);
if (_x >= 15) {
_x = -15;
}
}
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip [wind_gustright] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_x = (_x+1);
if (_x >= 15) {
_x = -15;
}
}
Symbol 121 MovieClip [wind_gustdown] Frame 1
this.onEnterFrame = function () {
if (this.box.hitTest(_root.pl1) && (_root.pl1.yspd <= 9)) {
_root.pl1.yspd++;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Instance of Symbol 118 MovieClip in Symbol 121 MovieClip [wind_gustdown] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_y = (_y+1);
if (_y >= 15) {
_y = -15;
}
}
Instance of Symbol 118 MovieClip in Symbol 121 MovieClip [wind_gustdown] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_y = (_y+1);
if (_y >= 15) {
_y = -15;
}
}
Instance of Symbol 118 MovieClip in Symbol 121 MovieClip [wind_gustdown] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_y = (_y+1);
if (_y >= 15) {
_y = -15;
}
}
Symbol 122 MovieClip [wind_gustup] Frame 1
this.onEnterFrame = function () {
if (this.box.hitTest(_root.pl1) && (_root.pl1.yspd >= -9)) {
_root.pl1.yspd--;
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Instance of Symbol 118 MovieClip in Symbol 122 MovieClip [wind_gustup] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_y = (_y-1);
if (_y <= -15) {
_y = 15;
}
}
Instance of Symbol 118 MovieClip in Symbol 122 MovieClip [wind_gustup] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_y = (_y-1);
if (_y <= -15) {
_y = 15;
}
}
Instance of Symbol 118 MovieClip in Symbol 122 MovieClip [wind_gustup] Frame 1
onClipEvent (load) {
_x = (random(30) - 15);
_y = (random(30) - 15);
}
onClipEvent (enterFrame) {
_y = (_y-1);
if (_y <= -15) {
_y = 15;
}
}
Symbol 124 MovieClip [trophy_glow] Frame 1
timr = 45;
xspd = random(24) - 12;
yspd = random(24) - 12;
this.onEnterFrame = function () {
this._alpha--;
timr--;
this._x = this._x + (xspd / 6);
this._y = this._y + (yspd / 6);
if (yspd != 0) {
if (yspd > 0) {
yspd--;
}
if (yspd < 0) {
yspd++;
}
}
if (xspd != 0) {
if (xspd > 0) {
xspd--;
}
if (xspd < 0) {
xspd++;
}
}
if (timr <= 0) {
this._alpha = this._alpha - 4;
}
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
Symbol 129 MovieClip [spikeballmove1] Frame 1
rspd = 1;
this.onEnterFrame = function () {
this._rotation = this._rotation + rspd;
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 130 MovieClip [flag_pickup] Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this.fmc)) {
this._x = -500;
this._y = -500;
_root.cpoints++;
}
};
Instance of Symbol 137 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (100 - _root.pct);
}
Instance of Symbol 140 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _root.pct;
}
Symbol 156 MovieClip Frame 8
stop();
Symbol 158 MovieClip Frame 3
stop();
_root.pl.vertical = "fall";
_root.pl.anms.gotoAndStop(1);
Symbol 160 MovieClip Frame 8
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
timr = 6;
i = _root.pid + 1;
auok = true;
this.onEnterFrame = function () {
if (_root.trophycount == 10) {
if (auok) {
_root.achievementUnlocked(27);
auok = false;
}
this._visible = true;
timr--;
if (timr <= 0) {
_root.attachMovie("trophy_glow", "tg" + i, i);
_root["tg" + i]._x = _root.pl1._x + (random(10) - 5);
_root["tg" + i]._y = _root.pl1._y + (random(10) - 5);
_root.pid++;
i = _root.pid;
timr = 6;
}
} else {
this._visible = false;
}
};
Symbol 164 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 6;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "preloader";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if ((!_root.pz) || (!_root.dead)) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.black._alpha = 100;
_root.continued = false;
_root.resetting = true;
_root.score = (_root.score + ((1000 * _root.multiplier[_root.lvlpack_choice]) + 1)) - (((_root.djcnt * 10) / _root.lvlpack_choice) + 1);
_root.flag._x = -500;
_root.flag._y = -500;
if (this._y < 0) {
_root.shortct = true;
}
_root.lvl.nextFrame();
_root.pid = 1;
this._x = _root.stx;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
if (!kup) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 8;
jumping = 2;
kup = true;
}
}
}
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Symbol 171 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root._currentframe <= 18) {
this._alpha = 0;
} else {
this._alpha = 100;
}
};
Symbol 172 MovieClip Frame 1
this.onEnterFrame = function () {
if (this._currentframe != 1) {
}
};
stop();
Symbol 172 MovieClip Frame 20
_root.black._alpha = 100;
_root.gotoAndStop(_root.ochc);
Symbol 205 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
timr = 96;
this._alpha = 0;
onEnterFrame = function () {
if (_root.unlockd) {
timr--;
if (this._alpha <= 90) {
this._alpha = this._alpha + 10;
}
if (timr < 0) {
_root.unlockd = false;
}
} else {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
}
achtitle = "";
achcaption = "";
timr = 96;
}
};
Symbol 215 MovieClip Frame 1
this.onEnterFrame = function () {
if (_alpha >= 10) {
_alpha = (_alpha - 10);
} else {
_alpha = 0;
}
};
Symbol 1194 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 _local26 = {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, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = 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 _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
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;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
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 _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {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, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
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 _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
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 _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.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 _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
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 1195 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 1196 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.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.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, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 1197 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 1198 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
static var gameStart, levelStart;
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function trigger(kind, obj) {
if (obj == undefined) {
obj = {};
} else if (obj.kind != undefined) {
trace("WARNING: optional arguements package contains key 'id', it will be overwritten");
obj.kind = kind;
}
mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startGame() {
gameStart = new Date().getTime();
trigger("start_game");
}
static function endGame() {
var _local1 = new Date().getTime() - gameStart;
trigger("end_game", {time:_local1});
}
static function startLevel() {
levelStart = new Date().getTime();
trigger("start_level");
}
static function endLevel() {
var _local1 = new Date().getTime() - levelStart;
trigger("end_level", {time:_local1});
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1199 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 showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
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 220 MovieClip [player_body] Frame 1
xspd = random(20) - 10;
yspd = random(10) - 10;
timr = 90;
this.onEnterFrame = function () {
this.gotoAndStop(_root.charid + 1);
this._x = this._x + xspd;
this._y = this._y + yspd;
yspd++;
timr--;
if (timr < 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
if ((xspd >= -3) && (xspd >= 3)) {
this._rotation = this._rotation + (xspd * 2);
} else {
this._rotation = this._rotation - (xspd * 2);
}
if ((yspd >= -3) && (yspd >= 3)) {
this._rotation = this._rotation + (yspd * 2);
} else {
this._rotation = this._rotation - (yspd * 2);
}
if (_root.lvl.grd.hitTest(this._x, this._y + 5, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 5, true)) {
this._y--;
}
if (xspd != 0) {
if (xspd > 0) {
xspd--;
}
if (xspd < 0) {
xspd++;
}
}
yspd = (-yspd) / 2;
if ((yspd >= -2) && (yspd < 2)) {
yspd = 0;
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (Key.isDown(82)) {
this.removeMovieClip(this);
}
};
Symbol 222 MovieClip [player_foot] Frame 1
xspd = random(20) - 10;
yspd = random(10) - 10;
timr = 90;
this.onEnterFrame = function () {
this._x = this._x + xspd;
this._y = this._y + yspd;
yspd++;
timr--;
if (timr < 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
if ((xspd >= -3) && (xspd >= 3)) {
this._rotation = this._rotation + (xspd * 2);
} else {
this._rotation = this._rotation - (xspd * 2);
}
if ((yspd >= -3) && (yspd >= 3)) {
this._rotation = this._rotation + (yspd * 2);
} else {
this._rotation = this._rotation - (yspd * 2);
}
if (_root.lvl.grd.hitTest(this._x, this._y + 2, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 2, true)) {
this._y--;
}
if (xspd != 0) {
if (xspd > 0) {
xspd--;
}
if (xspd < 0) {
xspd++;
}
}
yspd = (-yspd) / 2;
if ((yspd >= -2) && (yspd < 2)) {
yspd = 0;
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 5, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 5, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (Key.isDown(82)) {
this.removeMovieClip(this);
}
};
Symbol 225 MovieClip [player_hand] Frame 1
xspd = random(20) - 10;
yspd = random(10) - 10;
timr = 90;
this.onEnterFrame = function () {
this.gotoAndStop(_root.charid + 1);
this._x = this._x + xspd;
this._y = this._y + yspd;
yspd++;
timr--;
if (timr < 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
if ((xspd >= -3) && (xspd >= 3)) {
this._rotation = this._rotation + (xspd * 2);
} else {
this._rotation = this._rotation - (xspd * 2);
}
if ((yspd >= -3) && (yspd >= 3)) {
this._rotation = this._rotation + (yspd * 2);
} else {
this._rotation = this._rotation - (yspd * 2);
}
if (_root.lvl.grd.hitTest(this._x, this._y + 5, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 5, true)) {
this._y--;
}
if (xspd != 0) {
if (xspd > 0) {
xspd--;
}
if (xspd < 0) {
xspd++;
}
}
yspd = (-yspd) / 2;
if ((yspd >= -2) && (yspd < 2)) {
yspd = 0;
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 1, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 1, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (Key.isDown(82)) {
this.removeMovieClip(this);
}
};
Symbol 231 MovieClip [player_head] Frame 1
xspd = random(20) - 10;
yspd = random(10) - 10;
timr = 90;
this.onEnterFrame = function () {
this.gotoAndStop(_root.charid + 1);
this._x = this._x + xspd;
this._y = this._y + yspd;
yspd++;
timr--;
if (timr < 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
if ((xspd >= -3) && (xspd >= 3)) {
this._rotation = this._rotation + (xspd * 2);
} else {
this._rotation = this._rotation - (xspd * 2);
}
if ((yspd >= -3) && (yspd >= 3)) {
this._rotation = this._rotation + (yspd * 2);
} else {
this._rotation = this._rotation - (yspd * 2);
}
if (_root.lvl.grd.hitTest(this._x, this._y + 5, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 5, true)) {
this._y--;
}
if (xspd != 0) {
if (xspd > 0) {
xspd--;
}
if (xspd < 0) {
xspd++;
}
}
yspd = (-yspd) / 2;
if ((yspd >= -2) && (yspd < 2)) {
yspd = 0;
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 5, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 5, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (Key.isDown(82)) {
this.removeMovieClip(this);
}
};
Symbol 234 MovieClip Frame 1
lastplay = _root.sounds._currentframe;
this.onEnterFrame = function () {
if (_root.soundOn) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if (_root.soundOn) {
_root.soundOn = false;
lastplay = _root.sounds._currentframe;
_root.sounds.gotoAndStop(1);
trace("OFF");
} else {
_root.soundOn = true;
_root.sounds.gotoAndStop(lastplay);
trace("ON");
}
_root.savefile.data.soundOn = _root.soundOn;
};
stop();
Symbol 252 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - 6;
if (this._x <= -15) {
this._x = 1245;
}
};
this.blk.gotoAndStop(_root.bgt);
Symbol 254 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - 6;
if (this._x <= -15) {
this._x = 1245;
}
};
Symbol 258 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - 6;
if (this._x <= -15) {
this._x = 1245;
}
};
Symbol 274 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 6
gotoAndStop (3);
Symbol 330 Button
on (release) {
getURL ("http://games.mochiads.com/c/g/greg-can-jump/real.swf", "_blank");
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) && (_root.buttons_work)) {
if (_root.boss_status[1] >= 2) {
_root.bquery._visible = true;
_root.level_of_choice = "levels_easy";
} else {
_root.trans.play();
_root.ochc = "levels_easy";
}
}
};
Instance of Symbol 374 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[1]);
}
Instance of Symbol 378 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.boss_status[1] + 1);
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) && (_root.buttons_work)) {
if (_root.boss_status[0] >= 2) {
_root.bquery._visible = true;
_root.level_of_choice = "levels_practice";
} else {
_root.trans.play();
_root.ochc = "levels_practice";
}
}
};
Instance of Symbol 374 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[0]);
}
Instance of Symbol 384 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.boss_status[0] + 1);
}
Symbol 388 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) && (_root.buttons_work)) {
_root.trans.play();
_root.ochc = "levels_easy2";
}
};
Instance of Symbol 374 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[8]);
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) && (_root.buttons_work)) {
if (_root.beatShanty) {
_root.bquery._visible = true;
_root.level_of_choice = "levels_shanty";
} else {
_root.trans.play();
_root.ochc = "levels_shanty";
}
}
};
Instance of Symbol 374 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[5]);
}
Instance of Symbol 394 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.boss_status[4] + 1);
}
Symbol 398 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) {
_root.ochc = "levels_cat";
_root.trans.play();
}
};
Instance of Symbol 374 MovieClip in Symbol 398 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (9);
}
Symbol 404 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) && (_root.buttons_work)) {
if (_root.boss_status[2] >= 2) {
_root.bquery._visible = true;
_root.level_of_choice = "levels_medium";
} else {
_root.trans.play();
_root.ochc = "levels_medium";
}
}
};
Instance of Symbol 374 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[2]);
}
Instance of Symbol 404 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.boss_status[2] + 1);
}
Symbol 411 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) && (_root.buttons_work)) {
if (_root.boss_status[3] >= 2) {
_root.bquery._visible = true;
_root.level_of_choice = "levels_hard";
} else {
_root.trans.play();
_root.ochc = "levels_hard";
}
}
};
Instance of Symbol 374 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[4]);
}
Instance of Symbol 411 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.boss_status[3] + 1);
}
Symbol 415 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) {
_root.ochc = "levels_alps";
_root.trans.play();
}
};
Instance of Symbol 374 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[6]);
}
Symbol 418 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.md)) {
_root.ochc = "levels_cave";
_root.trans.play();
}
};
Instance of Symbol 374 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.levels_grades[7]);
}
Symbol 419 MovieClip Frame 1
stop();
Instance of Symbol 379 MovieClip "lvlpack2a" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 385 MovieClip "lvlpack1" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 388 MovieClip "lvlpack2" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 395 MovieClip "lvlpack6" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.content_access[1]) {
_x = 5000;
} else {
_x = -3.6;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 398 MovieClip "lvlpack5" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.content_access[0]) {
_x = 5000;
} else {
_x = -3.6;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 405 MovieClip "lvlpack3" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 412 MovieClip "lvlpack4" in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 415 MovieClip "lvlpack7" in Symbol 419 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.content_access[2]) {
_x = 5000;
} else {
_x = -3.6;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 418 MovieClip "lvlpack8" in Symbol 419 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.content_access[3]) {
_x = 5000;
} else {
_x = -3.6;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
}
}
Symbol 435 MovieClip Frame 1
this._visible = false;
this.onEnterFrame = function () {
if (this._visible) {
_root.buttons_work = false;
this._x = 300;
} else {
_root.buttons_work = true;
this._x = -300;
}
};
Instance of Symbol 428 MovieClip in Symbol 435 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = _root.level_of_choice;
_root.boss_fight = true;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 431 MovieClip in Symbol 435 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.trans.play();
_root.ochc = _root.level_of_choice;
_root.boss_fight = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Instance of Symbol 434 MovieClip in Symbol 435 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_parent._x = -300;
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
} else {
_alpha = (_alpha - ((_alpha - 50) / 5));
_yscale = (_alpha - ((_alpha - 50) / 5));
_xscale = (_alpha - ((_alpha - 50) / 5));
}
}
Symbol 445 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this) && (_root.character == "pcat")) {
_root.pl1.glow._alpha = 100;
}
this.gotoAndStop(_root.bgt);
};
stop();
Symbol 445 MovieClip Frame 2
if (_root.bgt == "practice") {
this.gotoAndStop(1);
}
Symbol 447 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
if (_root.newLevel) {
this.removeMovieClip(this);
}
};
Symbol 451 MovieClip Frame 1
this._alpha = 0;
disp = false;
display_txt = "";
this.onEnterFrame = function () {
if (disp) {
if (this._alpha <= 100) {
this._alpha = this._alpha + 10;
txt = "";
} else {
txt = display_txt;
}
} else {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
}
txt = "";
}
};
Symbol 464 MovieClip Frame 1
stop();
Instance of Symbol 465 MovieClip "boss_enddoor" in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.boss_win) {
act = true;
}
if (_root.resetting) {
_x = stx;
act = false;
}
if (act) {
_y = (_y - 4);
}
}
Instance of Symbol 468 MovieClip "head" in Symbol 470 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.pl1._x, _root.pl1._y, true) && (_root.lvl.boss_active)) && (!_root.dead)) {
if (_root.lvl.hp == 3) {
_root.pl1.yspd = -5;
_root.lvl.boss.gotoAndPlay(141);
_root.lvl.boss_active = false;
}
if (_root.lvl.hp == 2) {
_root.pl1.yspd = -10;
_root.lvl.boss.gotoAndPlay(315);
_root.lvl.boss_active = false;
}
if (_root.lvl.hp == 1) {
_root.pl1.yspd = -12;
_root.lvl.boss.gotoAndPlay(636);
_root.lvl.boss_active = false;
}
}
}
Symbol 471 MovieClip Frame 1
_root.lvl.boss_active = false;
_root.lvl.boss_win = false;
_root.lvl.hp = 3;
this.onEnterFrame = function () {
if (((_root.pl1._x > 175) && (_root.pl1._x < 405)) && (this._currentframe == 1)) {
this.stop();
} else {
this.play();
}
};
Symbol 471 MovieClip Frame 30
_root.lvl.boss_active = true;
Symbol 471 MovieClip Frame 115
_root.lvl.boss_active = true;
Symbol 471 MovieClip Frame 140
gotoAndPlay (115);
Symbol 471 MovieClip Frame 141
_root.lvl.boss_active = false;
Symbol 471 MovieClip Frame 177
_root.lvl.boss_active = false;
_root.lvl.hp = 2;
this.onEnterFrame = function () {
if (((_root.pl1._x > 175) && (_root.pl1._x < 405)) && (this._currentframe == 177)) {
this.stop();
} else {
this.play();
}
};
Symbol 471 MovieClip Frame 215
_root.lvl.boss_active = true;
Symbol 471 MovieClip Frame 314
gotoAndPlay (305);
Symbol 471 MovieClip Frame 315
_root.lvl.boss_active = false;
Symbol 471 MovieClip Frame 419
_root.lvl.hp = 1;
this.onEnterFrame = function () {
if (((_root.pl1._x > 175) && (_root.pl1._x < 405)) && (this._currentframe == 419)) {
this.stop();
} else {
this.play();
}
};
Symbol 471 MovieClip Frame 420
_root.lvl.boss_active = true;
Symbol 471 MovieClip Frame 469
_root.lvl.boss_active = true;
_root.lvl.hp = 1;
Symbol 471 MovieClip Frame 505
_root.lvl.boss_active = true;
_root.lvl.hp = 1;
Symbol 471 MovieClip Frame 635
gotoAndPlay (505);
Symbol 471 MovieClip Frame 750
stop();
_root.lvl.boss_win = true;
this.unloadMovie(this);
Symbol 473 MovieClip Frame 1
stop();
if (!_root.boss_fight) {
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
} else {
_root.pl1._x = 30;
_root.pl1._y = 545;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
gotoAndStop (6);
}
Instance of Symbol 131 MovieClip [speechbubble] "sp501" in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Welcome to the Practice Chamber! Use the Left + Right keys to move, and the Up key to jump (The WASD keys work too).";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp503" in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Hit the UP key twice to double jump. The longer you hold it, the higher you jump!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp502" in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Press Z to place a checkpoint!";
} else if (hitok) {
_root.lvl.dialog2.disp = false;
hitok = false;
}
}
Symbol 473 MovieClip Frame 2
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "sp504" in Symbol 473 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "To wall jump, Run up to the wall and hit UP, switch between the left and right keys when you jump off the wall to go higher!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp505" in Symbol 473 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "To wall climb, run up to the wall, hold the arrow key pointing to the wall, and tap the up arrow key, this will allow you to jump without bouncing off and in to the spikes!";
} else if (hitok) {
_root.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 456 MovieClip in Symbol 473 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pl1._y < 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 473 MovieClip Frame 3
if (!_root.continued) {
_root.pl1._x = 30;
if (!_root.shortct) {
_root.pl1._y = 545;
} else {
_root.pl1._y = 200;
}
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "sp506" in Symbol 473 MovieClip Frame 3
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Practice wall jumps and wall climbs on the walls above you!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp507" in Symbol 473 MovieClip Frame 3
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I see you found the short-cut...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 473 MovieClip Frame 4
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 461 MovieClip in Symbol 473 MovieClip Frame 4
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[0]) {
act = true;
} else if (!_root.hidden_objects[0]) {
if (_root.pl1.hitTest(this)) {
act = true;
_root.hidden_objects[0] = true;
trace(_root.hidden_objects[0]);
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[0])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp508" in Symbol 473 MovieClip Frame 4
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog2.disp = true;
_root.lvl.dialog2.display_txt = "If you run off of an edge without jumping, you can still double-jump while in mid-air!";
} else if (hitok) {
_root.lvl.dialog2.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp509" in Symbol 473 MovieClip Frame 4
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Good work! I have a feeling that there is something nice in this room though...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 473 MovieClip Frame 5
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 464 MovieClip "msg" in Symbol 473 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.achievementUnlocked(3);
_root.score = 2000;
_root.beatLevelPack();
if (_root.dthcnt <= 1) {
_root.achievementUnlocked(1);
}
gotoAndStop (2);
_root.ochc = "end_results";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "p510" in Symbol 473 MovieClip Frame 5
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Reach the exit to complete the test!";
} else if (hitok) {
_root.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "p511" in Symbol 473 MovieClip Frame 5
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Press Z to place a checkpoint!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "p512" in Symbol 473 MovieClip Frame 5
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Maybe place another checkpoint? Just to be safe :3";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 473 MovieClip Frame 6
boss_active = false;
hp = 3;
if (_root.soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(7);
}
Instance of Symbol 471 MovieClip "boss" in Symbol 473 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.resetting) {
gotoAndPlay (1);
}
}
Instance of Symbol 472 MovieClip in Symbol 473 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.boss_status[0] = 3;
_root.savefile.boss_status = _root.boss_status;
_root.ochc = "endings";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp513" in Symbol 473 MovieClip Frame 6
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Jump on the boss's head 3 times to defeat it.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
this.onEnterFrame = function () {
if (!_root.soundOn) {
this.gotoAndStop(1);
}
};
Symbol 485 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 6;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "boy";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if ((!_root.pz) || (!_root.dead)) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.black._alpha = 100;
_root.continued = false;
_root.resetting = true;
_root.score = (_root.score + ((1000 * _root.multiplier[_root.lvlpack_choice]) + 1)) - (((_root.djcnt * 10) / _root.lvlpack_choice) + 1);
_root.flag._x = -500;
_root.flag._y = -500;
if (this._y < 0) {
_root.shortct = true;
}
_root.lvl.nextFrame();
_root.pid = 1;
this._x = _root.stx;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
if (!kup) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 8;
jumping = 2;
kup = true;
}
}
}
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Symbol 491 MovieClip Frame 8
stop();
Symbol 493 MovieClip Frame 3
stop();
_root.pl.vertical = "fall";
_root.pl.anms.gotoAndStop(1);
Symbol 497 MovieClip Frame 8
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 6
stop();
timr = 32;
this.onEnterFrame = function () {
timr--;
if (timr < 0) {
this.gotoAndStop(1);
}
};
Symbol 500 MovieClip Frame 7
stop();
timr = 32;
this.onEnterFrame = function () {
timr--;
if (timr < 0) {
this.gotoAndStop(1);
}
};
Symbol 501 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 7;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "ninja";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if ((!_root.pz) || (!_root.dead)) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.black._alpha = 100;
_root.continued = false;
_root.resetting = true;
_root.score = (_root.score + ((1000 * _root.multiplier[_root.lvlpack_choice]) + 1)) - (((_root.djcnt * 10) / _root.lvlpack_choice) + 1);
_root.flag._x = -500;
_root.flag._y = -500;
if (this._y < 0) {
_root.shortct = true;
}
_root.lvl.nextFrame();
_root.pid = 1;
this._x = _root.stx;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
if (!kup) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 12;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 14;
jumping = 2;
kup = true;
}
}
}
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 12;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 14;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Symbol 510 MovieClip Frame 3
stop();
Symbol 515 MovieClip Frame 3
stop();
Symbol 519 MovieClip Frame 3
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 6;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "girl";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if ((!_root.pz) || (!_root.dead)) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.black._alpha = 100;
_root.continued = false;
_root.resetting = true;
_root.score = (_root.score + ((1000 * _root.multiplier[_root.lvlpack_choice]) + 1)) - (((_root.djcnt * 10) / _root.lvlpack_choice) + 1);
_root.flag._x = -500;
_root.flag._y = -500;
if (this._y < 0) {
_root.shortct = true;
}
_root.lvl.nextFrame();
_root.pid = 1;
this._x = _root.stx;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
if (!kup) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 8;
jumping = 2;
kup = true;
}
}
}
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Symbol 527 MovieClip Frame 3
stop();
Symbol 529 MovieClip Frame 3
stop();
Symbol 530 MovieClip Frame 3
stop();
Symbol 531 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 5;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "dumpling";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if ((!_root.pz) || (!_root.dead)) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.black._alpha = 100;
_root.continued = false;
_root.resetting = true;
_root.score = (_root.score + ((1000 * _root.multiplier[_root.lvlpack_choice]) + 1)) - (((_root.djcnt * 10) / _root.lvlpack_choice) + 1);
_root.flag._x = -500;
_root.flag._y = -500;
if (this._y < 0) {
_root.shortct = true;
}
_root.lvl.nextFrame();
_root.pid = 1;
this._x = _root.stx;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
if (!kup) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 10;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 12;
jumping = 2;
kup = true;
}
}
}
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 10;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 12;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Symbol 540 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 6;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "pcat";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if ((!_root.pz) || (!_root.dead)) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.black._alpha = 100;
_root.continued = false;
_root.resetting = true;
_root.score = (_root.score + ((1000 * _root.multiplier[_root.lvlpack_choice]) + 1)) - (((_root.djcnt * 10) / _root.lvlpack_choice) + 1);
_root.flag._x = -500;
_root.flag._y = -500;
if (this._y < 0) {
_root.shortct = true;
}
_root.lvl.nextFrame();
_root.pid = 1;
this._x = _root.stx;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
if (!kup) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 8;
jumping = 2;
kup = true;
}
}
}
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (!Key.isDown(32))) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if ((Key.isDown(38) || (Key.isDown(87))) || (Key.isDown(32))) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Instance of Symbol 534 MovieClip "glow" in Symbol 541 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_alpha >= 10) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 546 MovieClip in Symbol 547 MovieClip Frame 1
on (release) {
if (_root.lvl.grd.hitTest(_root.pl1._x, _root.pl._y + 20, true)) {
_root.setCheckPoint();
}
}
Symbol 550 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1._y < 0) {
height_display = -_root.pl1._y;
} else {
height_display = "";
}
};
Symbol 580 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pz) {
timrstr2 = _root.timrstr;
deathstr2 = _root.deathstr;
cpoint_str2 = _root.cpointstr;
} else {
timrstr2 = "";
deathstr2 = "";
cpoint_str2 = "";
_visible = false;
}
};
Instance of Symbol 566 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
_root.lastplay = [_root.lvlpack_choice, _root.lvl._currentframe, [_root.stx, _root.sty], [_root.score, _root.timrttl, _root.dthcnt, _root.cpoints - 1]];
_root.savefile.data.lastplay = _root.lastplay;
_root.ochc = "main_menu";
_root.trans.play();
}
onClipEvent (enterFrame) {
if (available) {
_yscale = (_yscale - ((_yscale - 100) / 5));
_xscale = (_yscale - ((_yscale - 100) / 5));
} else {
_yscale = (_yscale - ((_yscale - 50) / 5));
_xscale = (_yscale - ((_yscale - 50) / 5));
}
}
Instance of Symbol 576 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
on (release) {
if (_root.lvlpack_choice != 4) {
_root.lastplay = [_root.lvlpack_choice, _root.lvl._currentframe, [_root.stx, _root.sty], [_root.score, _root.timrttl, _root.dthcnt, _root.cpoints - 1]];
} else {
_root.lastplay = [_root.lvlpack_choice, _root.lvl._currentframe, [_root.stx, _root.sty], [_root.score, _root.timrttl, _root.dthcnt, _root.rescue]];
}
_root.savefile.data.lastplay = _root.lastplay;
}
onClipEvent (enterFrame) {
if (available) {
_yscale = (_yscale - ((_yscale - 100) / 5));
_xscale = (_yscale - ((_yscale - 100) / 5));
} else {
_yscale = (_yscale - ((_yscale - 50) / 5));
_xscale = (_yscale - ((_yscale - 50) / 5));
}
}
Instance of Symbol 579 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
_yscale = 50;
_xscale = 50;
}
on (rollOver) {
if (!_root.boss_fight) {
available = true;
}
}
on (rollOut) {
available = false;
}
on (release) {
if (!_root.boss_fight) {
_root.lvl.gotoAndStop(1);
_root.cpoints = _root.scpts;
_root.timrttl = 0;
_root.score = 0;
_root.dthcnt = 0;
_root.used_cpoint = false;
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
_root.lastplay = [_root.lvlpack_choice, _root.lvl._currentframe, [_root.stx, _root.sty], [_root.score, _root.timrttl, _root.dthcnt, _root.cpoints - 1]];
_root.savefile.data.lastplay = _root.lastplay;
}
}
onClipEvent (enterFrame) {
if (available) {
_yscale = (_yscale - ((_yscale - 100) / 5));
_xscale = (_yscale - ((_yscale - 100) / 5));
} else {
_yscale = (_yscale - ((_yscale - 50) / 5));
_xscale = (_yscale - ((_yscale - 50) / 5));
}
}
Instance of Symbol 334 MovieClip in Symbol 580 MovieClip Frame 1
on (release) {
_root.getURL("http://www.kongregate.com/?gamereferral=gregcanjump", "_blank");
}
Instance of Symbol 600 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.timrttl >= 51) {
this._x = 150;
} else {
this._x = 700;
}
}
Instance of Symbol 465 MovieClip "boss_enddoor" in Symbol 607 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (_root.resetting) {
_y = sty;
act = false;
}
if (act) {
_y = (_y - 4);
}
}
Symbol 620 MovieClip Frame 1
stop();
timr = 96;
yspd = 0;
this.onEnterFrame = function () {
timr--;
this._y = this._y + yspd;
if (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
this._y--;
}
yspd = 0;
} else {
yspd++;
}
if ((timr <= 0) && (this._currentframe == 1)) {
this.nextFrame();
}
};
Instance of Symbol 614 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this) && (!_root.lvl.bdead)) {
_root.death();
}
}
Symbol 620 MovieClip Frame 2
yspd = 0;
xspd = -2;
stx = this._x;
sty = this._y;
dead = false;
this.onEnterFrame = function () {
this._y = this._y + yspd;
this._x = this._x + xspd;
if (!dead) {
tail._x = 36;
if (_root.pl1.hitTest(this.head)) {
_root.pl1.yspd = -12;
yspd = -15;
dead = true;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
this._y--;
}
yspd = 0;
} else {
yspd++;
}
if (_root.lvl.grd.hitTest(this._x + 100, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 100, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 100, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 100, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (xspd > 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
} else {
tail._x = 999;
if (this._y > 750) {
_root.lvl.hp = 2;
_root.lvl.hp2.act = true;
} else {
yspd++;
this._rotation = this._rotation + 10;
}
}
if (_root.resetting) {
_root.lvl.hp = 3;
dead = false;
gotoAndStop (1);
this._y = sty;
this._rotation = 0;
this._x = stx;
this._xscale = 100;
}
};
Instance of Symbol 614 MovieClip "tail" in Symbol 620 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.death();
}
}
Symbol 629 MovieClip Frame 1
stop();
timr = 96;
yspd = 0;
this.onEnterFrame = function () {
if (_root.lvl.hp == 2) {
timr--;
this._y = this._y + yspd;
if (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
this._y--;
}
yspd = 0;
} else {
yspd++;
}
if ((timr <= 0) && (this._currentframe == 1)) {
this.nextFrame();
}
} else {
this._y = -200;
}
};
Instance of Symbol 614 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.death();
}
}
Symbol 629 MovieClip Frame 2
yspd = 0;
xspd = -3;
act = false;
dead = false;
stx = this._x;
sty = this._y;
this.onEnterFrame = function () {
this._y = this._y + yspd;
this._x = this._x + xspd;
if ((!dead) && (act)) {
tail._x = 36;
boot._x = -36;
if (_root.pl1.hitTest(this.head)) {
_root.pl1.yspd = -12;
yspd = -20;
dead = true;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 99, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 99, true)) {
this._y--;
}
yspd = 0;
} else {
yspd++;
}
if (_root.lvl.grd.hitTest(this._x + 100, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 100, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 100, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 100, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (xspd > 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
} else {
tail._x = 999;
boot._x = 999;
if (this._y > 750) {
_root.lvl.hp = 1;
_root.lvl.hp1.act = true;
} else {
yspd++;
this._rotation = this._rotation + 10;
}
}
if (_root.resetting) {
_root.lvl.hp = 3;
act = false;
dead = false;
this._x = stx;
this._y = sty;
yspd = 0;
xspd = 0;
this._rotation = 0;
this._xscale = 100;
gotoAndStop (1);
}
};
Instance of Symbol 614 MovieClip "boot" in Symbol 629 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.death();
}
}
Symbol 630 MovieClip Frame 1
stop();
timr = 96;
yspd = 0;
this.onEnterFrame = function () {
if ((_root.lvl.hp == 1) || (_root.lvl.hp2._y > 750)) {
timr--;
this._y = this._y + yspd;
if (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 89, true)) {
this._y--;
}
yspd = 0;
} else {
yspd++;
}
if ((timr <= 0) && (this._currentframe == 1)) {
this.nextFrame();
}
} else {
this._y = -200;
}
};
Instance of Symbol 614 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.death();
}
}
Symbol 630 MovieClip Frame 2
yspd = 0;
xspd = -4;
act = false;
dead = false;
stx = this._x;
sty = this._y;
jtimr = 90;
dtimr = 0;
this.onEnterFrame = function () {
this._y = this._y + yspd;
jtimr--;
if (jtimr <= 0) {
yspd = -10;
jtimr = 45;
}
if ((!dead) && (act)) {
tail._x = 36;
boot._x = -36;
dtimr = 0;
if (_root.pl1.hitTest(this.head)) {
_root.pl1.yspd = -10;
yspd = -10;
dead = true;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 99, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 99, true)) {
this._y--;
}
yspd = 0;
} else {
yspd++;
}
if (!_root.lvl.grd.hitTest(this._x, this._y + 119, true)) {
this._x = this._x + xspd;
}
if (_root.lvl.grd.hitTest(this._x + 100, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 100, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 100, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 100, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (xspd > 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
} else {
yspd++;
dtimr++;
tail._x = 999;
boot._x = 999;
this._rotation = this._rotation + 10;
if (dtimr >= 16) {
_root.lvl.grd.boss_enddoor.act = true;
}
}
if (_root.resetting) {
_root.lvl.hp = 3;
act = false;
dead = false;
this._x = stx;
this._y = sty;
yspd = 0;
xspd = 0;
this._rotation = 0;
this._xscale = 100;
gotoAndStop (1);
}
};
Instance of Symbol 614 MovieClip "boot" in Symbol 630 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.death();
}
}
Symbol 631 MovieClip Frame 1
stop();
if (_root.boss_fight) {
gotoAndStop (21);
}
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 250;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "sp514" in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Welcome to Easy II Forest! This is kind of where the real challenge begins!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 631 MovieClip Frame 2
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 250;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 3
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 250;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 4
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 365;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 5
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 365;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "sp515" in Symbol 631 MovieClip Frame 5
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "The glowy flag that technically shouldn't be visible to you is a checkpoint pickup, you can collect them to give you extra checkpoints later!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 631 MovieClip Frame 6
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 365;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 7
if (!_root.continued) {
_root.pl1._x = 20;
if (!_root.shortct) {
_root.pl1._y = 365;
} else {
_root.pl1._y = -60;
}
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "e7_2" in Symbol 631 MovieClip Frame 7
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "You found the 'shortcut' eh? Just keep going to the right.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "e7_3" in Symbol 631 MovieClip Frame 7
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "You found the 'shortcut' eh? Just keep going to the right.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "e7_4" in Symbol 631 MovieClip Frame 7
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "You found the 'shortcut' eh? Just keep going to the right.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 631 MovieClip Frame 8
if (!_root.continued) {
_root.pl1._x = 30;
if (!_root.shortct) {
_root.pl1._y = 90;
} else {
_root.pl1._y = 530;
}
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 9
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 360;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 10
if (!_root.continued) {
_root.pl1._x = 50;
_root.pl1._y = 95;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 11
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 250;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 12
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 250;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 13
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 365;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 14
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 15
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 461 MovieClip in Symbol 631 MovieClip Frame 15
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[1]) {
act = true;
} else if (!_root.hidden_objects[1]) {
if (_root.pl1.hitTest(this)) {
act = true;
_root.hidden_objects[1] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[1])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp515" in Symbol 631 MovieClip Frame 15
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Wow, you got here fast! There's a reward next to me somewhere...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 631 MovieClip Frame 16
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 17
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 18
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 631 MovieClip Frame 19
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "sp516" in Symbol 631 MovieClip Frame 19
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Remember, you can place a checkpoint with Z.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 631 MovieClip Frame 20
if (!_root.continued) {
_root.pl1._x = 20;
_root.pl1._y = 200;
} else {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 464 MovieClip "msg" in Symbol 631 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.win = true;
_root.beatLevelPack();
_root.achievementUnlocked(0);
if (_root.dthcnt == 0) {
_root.achievementUnlocked(2);
}
if (_root.dthcnt <= 1) {
_root.achievementUnlocked(1);
}
gotoAndStop (2);
_root.ochc = "end_results";
_root.trans.play();
}
}
Instance of Symbol 461 MovieClip in Symbol 631 MovieClip Frame 20
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[2]) {
act = true;
} else if (!_root.hidden_objects[2]) {
if (_root.pl1.hitTest(this) && (_root.character == "pcat")) {
act = true;
_root.hidden_objects[2] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[2])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp517" in Symbol 631 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Another friendly reminder that checkpoints are your friend :).";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp518" in Symbol 631 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Pet cats should go left.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 631 MovieClip Frame 21
_root.pl1._x = 30;
_root.pl1._y = 400;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
if (_root.soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(7);
}
hp = 3;
Instance of Symbol 472 MovieClip in Symbol 631 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.boss_status[1] = 3;
_root.achievementUnlocked(16);
_root.savefile.boss_status = _root.boss_status;
_root.ochc = "endings";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp519" in Symbol 631 MovieClip Frame 21
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Jump on the Dumpling three times to defeat it.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 632 MovieClip [blood] Frame 1
xspd = random(30) - 15;
yspd = random(30) - 15;
timr = 96;
this.onEnterFrame = function () {
this._x = this._x + xspd;
this._y = this._y + yspd;
yspd++;
timr--;
if (timr <= 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
if (xspd != 0) {
if (xspd < 0) {
xspd++;
}
if (xspd > 0) {
xspd--;
}
}
if (_root.lvl.grd.hitTest(this._x, this._y + 1, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 1, true)) {
this._y--;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x, this._y - 1, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 1, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 1, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 1, this._y, true)) {
this._x--;
}
xspd = 0;
}
if (_root.lvl.grd.hitTest(this._x - 1, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 1, this._y, true)) {
this._x++;
}
xspd = 0;
}
if (_root.resetting) {
this.removeMovieClip(this);
}
};
Symbol 639 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hit.hitTest(this)) {
_root.death();
}
};
Symbol 644 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
door1._x = 1337;
Instance of Symbol 647 MovieClip "elevator" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_y = (_y-1);
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 648 MovieClip "bridge" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_x = (_x-1);
}
if (_root.resetting) {
act = false;
_x = stx;
}
}
Symbol 656 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.cat.hitTest(this)) {
_root.death_cat();
}
};
Symbol 664 MovieClip Frame 1
dir = "right";
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
while (_root.pl1.hitTest(this._x, this._y - 3, true)) {
_root.pl1._y--;
}
if (dir == "right") {
_root.pl1.xspd = 2;
} else {
_root.pl1.xspd = -2;
}
}
if (dir == "left") {
this._x = this._x - 2;
}
if (dir == "right") {
this._x = this._x + 2;
}
if (_root.lvl.grd.hitTest(this._x - 15, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 15, this._y, true)) {
this._x++;
}
dir = "right";
}
if (_root.lvl.grd.hitTest(this._x + 15, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 15, this._y, true)) {
this._x--;
}
dir = "left";
}
};
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 25
stop();
Symbol 677 MovieClip Frame 1
stop();
_root.pl1._x = 5;
_root.pl1._y = 200;
_root.cat._x = 35;
_root.cat._y = 200;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 131 MovieClip [speechbubble] "sp520" in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Here to save cats eh? Firstly, cats use your head as a trampoline.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp521" in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Cats change direction if they run into either you or a wall.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sp522" in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Avoid Blue No Entry signs, and keep the cat away from Black ones.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 2
_root.pl1._x = 280;
_root.pl1._y = 555;
_root.cat._x = 20;
_root.cat._y = 350;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 644 MovieClip in Symbol 677 MovieClip Frame 2
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.grd.elevator.act = true;
_root.lvl.grd.elevator.door1._x = -90;
_root.lvl.grd.bridge.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.elevator.door1._x = 90;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 677 MovieClip Frame 2
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.grd.elevator.door2._x = -90;
_root.lvl.grd.elevator.door1._x = -90;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.elevator.door2._x = 90;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr2_1" in Symbol 677 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Hit button A once the cat is in the lift, and hit button B when the lift is near the top.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 3
_root.pl1._x = 30;
_root.pl1._y = 285;
_root.cat._x = 15;
_root.cat._y = 225;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Symbol 677 MovieClip Frame 4
_root.cat._x = 35;
_root.cat._y = 245;
_root.pl1._x = 10;
_root.pl1._y = 490;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 677 MovieClip Frame 5
_root.pl1._x = 5;
_root.pl1._y = 215;
_root.cat._x = 35;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 461 MovieClip in Symbol 677 MovieClip Frame 5
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[7]) {
act = true;
} else if (!_root.hidden_objects[7]) {
if (_root.cat.hitTest(this)) {
act = true;
_root.hidden_objects[7] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[7])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr5_1" in Symbol 677 MovieClip Frame 5
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I think that the cat will find something interesting on the left eye.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 6
_root.pl1._x = 35;
_root.pl1._y = 215;
_root.cat._x = 5;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Symbol 677 MovieClip Frame 7
_root.cat._x = 15;
_root.cat._y = 265;
_root.pl1._x = 45;
_root.pl1._y = 265;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > (this._x - 10)) && (_root.cat._x < (this._x + 10))) || ((_root.pl1._x > (this._x - 10)) && (_root.pl1._x < (this._x + 10)))) {
act = true;
}
if (act) {
this._y = this._y + 20;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > (this._x - 10)) && (_root.cat._x < (this._x + 10))) || ((_root.pl1._x > (this._x - 10)) && (_root.pl1._x < (this._x + 10)))) {
act = true;
}
if (act) {
this._y = this._y + 20;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > (this._x - 10)) && (_root.cat._x < (this._x + 10))) || ((_root.pl1._x > (this._x - 10)) && (_root.pl1._x < (this._x + 10)))) {
act = true;
}
if (act) {
this._y = this._y + 20;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > (this._x - 10)) && (_root.cat._x < (this._x + 10))) || ((_root.pl1._x > (this._x - 10)) && (_root.pl1._x < (this._x + 10)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr7_1" in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Clear the path!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 8
_root.cat._x = 20;
_root.cat._y = 260;
_root.pl1._x = 20;
_root.pl1._y = 350;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 677 MovieClip Frame 9
_root.pl1._x = 45;
_root.pl1._y = 470;
_root.cat._x = 545;
_root.cat._y = 5;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 644 MovieClip in Symbol 677 MovieClip Frame 9
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.grd.bridge1._x = 150;
} else {
_root.lvl.grd.bridge1._x = 1337;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.bridge1._x = 1337;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr9_1" in Symbol 677 MovieClip Frame 9
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Run for the switch!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 10
_root.cat._x = 25;
_root.cat._y = 355;
_root.pl1._x = 275;
_root.pl1._y = 475;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 677 MovieClip Frame 11
_root.cat._x = 10;
_root.cat._y = 205;
_root.pl1._x = 25;
_root.pl1._y = 355;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 447 MovieClip "s7a" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7b" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7c" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7d" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7e" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7f" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7g" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7h" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7i" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7j" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s7k" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr7_1" in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I know, saving cats is dangerous and frustrating, but someone's got to do it.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 12
_root.cat._x = 60;
_root.cat._y = 255;
_root.pl1._x = 130;
_root.pl1._y = 380;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 664 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
dir = "right";
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
while (_root.pl1.hitTest(this._x, this._y - 3, true)) {
_root.pl1._y--;
}
_root.pl1.yspd = 0;
_root.pl1.jumping = 0;
_root.pl1.djumpok = false;
_root.pl1.vertical = "platform";
}
if (_root.pl1.vertical == "platform") {
_root.pl1._x = this._x;
}
if (dir == "left") {
this._x = this._x - 2;
}
if (dir == "right") {
this._x = this._x + 2;
}
if (_root.lvl.grd.hitTest(this._x - 15, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 15, this._y, true)) {
this._x++;
}
dir = "right";
}
if (_root.lvl.grd.hitTest(this._x + 15, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 15, this._y, true)) {
this._x--;
}
dir = "left";
}
}
Instance of Symbol 644 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
act = false;
stx = _root.lvl.grd.door7a._x;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.grd.door7a._x = 700;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.door7a._x = stx;
gotoAndStop (1);
}
}
Instance of Symbol 447 MovieClip "s8a" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s8c" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s8b" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s8d" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s8e" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s8f" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip "s8g" in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Symbol 677 MovieClip Frame 13
_root.pl1._x = 15;
_root.pl1._y = 90;
_root.cat._x = 45;
_root.cat._y = 90;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y + 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Symbol 677 MovieClip Frame 14
_root.pl1._x = 50;
_root.pl1._y = 255;
_root.cat._x = 300;
_root.cat._y = 300;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (((_root.cat._x > this._x) && (_root.cat._x < this._x210)) || ((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20)))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Symbol 677 MovieClip Frame 15
_root.pl1._x = 35;
_root.pl1._y = 215;
_root.cat._x = 5;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Symbol 677 MovieClip Frame 16
_root.pl1._x = 140;
_root.pl1._y = 215;
_root.cat._x = 5;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 447 MovieClip "spike15a" in Symbol 677 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.lvl.s15a._currentframe == 2) {
_y = 655;
} else {
_y = 555;
}
}
Instance of Symbol 447 MovieClip "spike15b" in Symbol 677 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.lvl.s15b._currentframe == 2) {
_y = 655;
} else {
_y = 555;
}
}
Instance of Symbol 447 MovieClip "spike15c" in Symbol 677 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.lvl.s15c._currentframe == 2) {
_y = 655;
} else {
_y = 555;
}
}
Instance of Symbol 447 MovieClip "spike15d" in Symbol 677 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.lvl.s15d._currentframe == 2) {
_y = 655;
} else {
_y = 555;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 644 MovieClip "s15a" in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
gotoAndStop (2);
_root.lvl.s15b.gotoAndStop(1);
_root.lvl.s15c.gotoAndStop(1);
_root.lvl.s15d.gotoAndStop(1);
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip "s15b" in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
gotoAndStop (2);
_root.lvl.s15d.gotoAndStop(1);
_root.lvl.s15c.gotoAndStop(1);
_root.lvl.s15a.gotoAndStop(1);
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip "s15c" in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
gotoAndStop (2);
_root.lvl.s15b.gotoAndStop(1);
_root.lvl.s15d.gotoAndStop(1);
_root.lvl.s15a.gotoAndStop(1);
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip "s15d" in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
gotoAndStop (2);
_root.lvl.s15b.gotoAndStop(1);
_root.lvl.s15c.gotoAndStop(1);
_root.lvl.s15a.gotoAndStop(1);
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr16_1" in Symbol 677 MovieClip Frame 16
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Looks like you need to hit those buttons in order from A-D as the cat passes each spike... Good luck!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 677 MovieClip Frame 17
_root.pl1._x = 5;
_root.pl1._y = 215;
_root.cat._x = 60;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 17
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Symbol 677 MovieClip Frame 18
_root.pl1._x = 5;
_root.pl1._y = 215;
_root.cat._x = 35;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Symbol 677 MovieClip Frame 19
_root.pl1._x = 5;
_root.pl1._y = 215;
_root.cat._x = 35;
_root.cat._y = 215;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Instance of Symbol 447 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((((_root.cat._x > this._x) && (_root.cat._x < this._x210)) && (_root.cat._y > 430)) || (((_root.pl1._x > this._x) && (_root.pl1._x < (this._x + 20))) && (_root.pl1._y > 430))) {
act = true;
}
if (act) {
this._y = this._y - 10;
}
if (_root.resetting) {
act = false;
this._y = sty;
}
}
Symbol 677 MovieClip Frame 20
_root.pl1._x = 5;
_root.pl1._y = 340;
_root.cat._x = 35;
_root.cat._y = 340;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
_root.cstx = _root.cat._x;
_root.csty = _root.cat._y;
Instance of Symbol 644 MovieClip "s18a" in Symbol 677 MovieClip Frame 20
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
gotoAndStop (2);
if (_root.lvl.grd.cs18d1._currentframe == 1) {
_root.lvl.grd.cs18d1.play();
}
_root.lvl.s18g1._x = 999;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.cs18d1.gotoAndStop(1);
_root.lvl.s18g1._x = 165;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip "s18b" in Symbol 677 MovieClip Frame 20
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
gotoAndStop (2);
if (_root.lvl.grd.cs18d2._currentframe == 1) {
_root.lvl.grd.cs18d2.play();
}
_root.lvl.s18g2._x = 999;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.cs18d2.gotoAndStop(1);
_root.lvl.s18g2._x = 165;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip "s18c" in Symbol 677 MovieClip Frame 20
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
} else {
act = false;
}
if (act) {
if (_root.lvl.grd.cs18d3._currentframe == 1) {
_root.lvl.grd.cs18d3.play();
}
}
if (_root.resetting) {
act = false;
_root.lvl.grd.cs18d3.gotoAndStop(1);
}
}
Instance of Symbol 464 MovieClip "msg" in Symbol 677 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.cat.hitTest(this)) {
_root.beatLevelPack();
_root.achievementUnlocked(0);
_root.achievementUnlocked(19);
_root.char_status[4] = 1;
if (_root.charid == 4) {
_root.achievementUnlocked(20);
}
gotoAndStop (2);
_root.ochc = "main_menu";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "cr20_1" in Symbol 677 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Last cat, you've done a great deed today!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 679 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 1
xspd = 5;
yspd = 0;
timr = 96;
txt = 3;
this.onEnterFrame = function () {
if ((!_root.pz) && (!_root.cdead)) {
timr--;
if (timr < 0) {
anms.gotoAndStop(2);
this._x = this._x + xspd;
txt = "";
} else {
txt = Math.round(timr / 32);
anms.gotoAndStop(1);
}
this._y = this._y + yspd;
if (yspd > 16) {
yspd = 16;
}
if (yspd <= -15) {
yspd = -15;
}
if (((this._x < 0) || (this._y >= 900)) || (this._y <= -90)) {
_root.death_cat();
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
if (timr < 0) {
yspd = -2;
}
xspdadd = 0;
} else {
yspd++;
}
if ((this._x > 600) && (_root.lvl._currentframe != 20)) {
_root.rescue++;
_root.lvl.dialog.disp = false;
if (_root.dead && (!_root.cdead)) {
_root.achievementUnlocked(5);
}
this._x = _root.cstx;
this._y = _root.csty;
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
timr = 96;
_root.score = _root.score + (1000 - (_root.cjcnt * 10));
_root.lvl.nextFrame();
_root.resetLevel();
}
if (_root.pl1.hitTest(this) && (_root.pl1._y > this._y)) {
while (_root.pl1.hitTest(this._x, this._y + 10, true)) {
this._y--;
}
yspd = -15;
_root.cjcnt++;
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true) && (_root.pl1._y < this._y)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
_root.pl1._y--;
}
xspdadd = 0;
_root.pl1.yspd = -15;
if (xspd != 0) {
xspd = 0;
} else {
if (this._xscale > 0) {
xspd = 5;
}
if (this._xscale < 0) {
xspd = -5;
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 10, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 10, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
xspd = -5;
this._xscale = -100;
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
xspd = 5;
this._xscale = 100;
}
if (_root.pl1.hitTest(this._x + 8, this._y, true)) {
while (_root.pl1.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
xspd = -5;
this._xscale = -100;
}
if (_root.pl1.hitTest(this._x - 8, this._y, true)) {
while (_root.pl1.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
xspd = 5;
this._xscale = 100;
}
}
};
Symbol 717 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Symbol 758 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Symbol 758 MovieClip Frame 2
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Symbol 766 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.beam.hitTest(_root.pl1.hit)) {
_root.death();
}
};
stop();
Instance of Symbol 769 MovieClip "door1a" in Symbol 770 MovieClip Frame 1
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= -59) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "block6a" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 60)) {
_x = (_x + 6);
}
if (_y > (sty - 60)) {
_y = (_y - 6);
}
}
if (_root.resetting) {
act = false;
_x = stx;
_y = sty;
}
}
Instance of Symbol 35 MovieClip "block6c" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x+1);
}
}
if (_root.resetting) {
act = false;
_x = stx;
}
}
Instance of Symbol 35 MovieClip "block6d" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x+1);
}
}
if (_root.resetting) {
act = false;
_x = stx;
}
}
Instance of Symbol 771 MovieClip "block6b" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_rotation <= 80) {
_rotation = (_rotation + 10);
}
}
if (_root.resetting) {
act = false;
_rotation = 0;
}
}
Instance of Symbol 48 MovieClip "block6e" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x + 3);
}
if (_y > (sty - 30)) {
_y = (_y - 3);
}
}
if (_root.resetting) {
act = false;
_x = stx;
_y = sty;
}
}
Symbol 776 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Symbol 778 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Instance of Symbol 48 MovieClip "b10a" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10b" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10c" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10d" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10e" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10f" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10g" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10h" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10i" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10j" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10k" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10l" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 600)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10m" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 300)) {
_y = (_y + 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10n" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y >= (sty - 600)) {
_y = (_y - 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 48 MovieClip "b10o" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y >= (sty - 600)) {
_y = (_y - 3);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 35 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.act5a) {
act = true;
}
if (act && (_y >= -480)) {
_y = (_y-1);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 35 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.act5a) {
act = true;
}
if (act && (_y >= -480)) {
_y = (_y-1);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 35 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.act5a) {
act = true;
}
if (act && (_y >= -480)) {
_y = (_y-1);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 35 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.act5a) {
act = true;
}
if (act && (_y >= -480)) {
_y = (_y-1);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 35 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.act5b) {
act = true;
}
if (act && (_x <= 345)) {
_x = (_x+1);
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 35 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (_root.lvl.act5b) {
act = true;
}
if (act && (_x <= 345)) {
_x = (_x+1);
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Symbol 794 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
};
Symbol 797 MovieClip Frame 1
stop();
Instance of Symbol 806 MovieClip in Symbol 809 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (100 - _root.lvl.llama.timr);
}
Instance of Symbol 808 MovieClip in Symbol 809 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.pl1.hitTest(this) && (_root.pl1.yspd >= 0)) && (_root.lvl.boss_stage != "intro")) && (_root.lvl.boss_stage != "intro2")) && (_root.lvl.boss_stage != "intro3")) {
while (_root.pl1.hitTest(this._x, this._y - 30, true)) {
_root.pl1._y--;
}
if (_root.lvl.boss_stage == 2) {
_root.lvl.llama.hits++;
}
_root.pl1.yspd = -5;
_root.pl1.jtimr = 8;
_root.pl1.jumping = 1;
_root.lvl.llama._y = _root.lvl.llama._y + 10;
_root.lvl.llama.timr = _root.lvl.llama.timr + 3;
}
}
Instance of Symbol 810 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.lvl.boss_stage == "end") {
if (_y >= (sty - 60)) {
_y = (_y - 6);
}
} else if (_root.resetting) {
_y = sty;
}
}
Symbol 812 MovieClip Frame 1
stop();
if (_root.boss_fight) {
gotoAndStop (21);
}
_root.pl1._x = 25;
_root.pl1._y = 535;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
cnt = 0;
timr = 10;
act = false;
this.onEnterFrame = function () {
if (act) {
timr--;
if (timr <= 0) {
cnt++;
timr = 10;
}
}
if (_root.resetting) {
timr = 10;
cnt = 0;
act = false;
}
};
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 1) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 1) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 2) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 2) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 3) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 3) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 4) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 4) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 5) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 5) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 6) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 6) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 7) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 7) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 8) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 8) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 9) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 9) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 10) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 10) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 11) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 11) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 12) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 12) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 13) {
act = true;
}
if (act) {
if (_x < (stx + 90)) {
timr--;
if (timr <= 0) {
_x = (_x + 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.lvl.cnt >= 13) {
act = true;
}
if (act) {
if (_x > (stx - 90)) {
timr--;
if (timr <= 0) {
_x = (_x - 2);
timr = 2;
}
}
}
if (_root.resetting) {
_x = stx;
timr = 2;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s1_1" in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "You entered Shanty Town, what were you thinking!?";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 2
_root.pl1._x = 5;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pl1._y > this._y) {
if ((_root.pl1._x > (this._x - 40)) && (_root.pl1._x < (this._x + 40))) {
this.play();
}
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s2_1" in Symbol 812 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Signs on walls, see how horrible this place is? And yes, you do need to jump OVER that floating block D:";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 3
_root.pl1._x = 85;
_root.pl1._y = 220;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 3
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.grd.door1a.act = true;
_root.lvl.door1b.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 768 MovieClip "door1b" in Symbol 812 MovieClip Frame 3
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= 434) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s3_1" in Symbol 812 MovieClip Frame 3
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "The switch up there seems to open this pathway up ahead, but it's well protected...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 4
_root.pl1._x = 20;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
timr = 6;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x < this._x) && (_root.pl1._x >= 60)) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
timr--;
if (timr < 0) {
this.play();
}
}
} else {
timr = 6;
}
}
Instance of Symbol 447 MovieClip "block6da" in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
act = false;
act2 = false;
stx = _x;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x+1);
} else if (act2) {
_y = (_y + 10);
}
}
if (_root.resetting) {
act = false;
act2 = false;
_x = stx;
_y = sty;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.block6a.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.block6a.act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.block6e.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.block6e.act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.block6da.act2 = true;
}
if (_root.resetting) {
act = false;
_root.lvl.block6da.act2 = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.block6b.act = true;
_root.lvl.grd.block6c.act = true;
_root.lvl.grd.block6d.act = true;
_root.lvl.block6da.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.grd.block6b.act = false;
_root.lvl.grd.block6c.act = false;
_root.lvl.grd.block6d.act = false;
_root.lvl.block6da.act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s4_1" in Symbol 812 MovieClip Frame 4
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I don't trust this place...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 5
_root.pl1._x = 60;
_root.pl1._y = 60;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 447 MovieClip "spike3aa" in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x+1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
timr = 6;
}
onClipEvent (enterFrame) {
if (_root.pl1._x > this._x) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
timr--;
if (timr < 0) {
this.play();
}
}
} else {
timr = 6;
}
}
Instance of Symbol 447 MovieClip "spike3ab" in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_x > (stx - 30)) {
_x = (_x-1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 447 MovieClip "spike3ac" in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x+1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike3ac.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike3ab.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike3aa.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike3ba.act = true;
_root.lvl.spike3bb.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 447 MovieClip "spike3bb" in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_x > (stx - 30)) {
_x = (_x-1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 447 MovieClip "spike3bb" in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_x < (stx + 30)) {
_x = (_x+1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 461 MovieClip in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[8]) {
act = true;
} else if (!_root.hidden_objects[8]) {
if (_root.pl1.hitTest(this) && (_root.character == "dumpling")) {
act = true;
_root.hidden_objects[8] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[8])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s5_1" in Symbol 812 MovieClip Frame 5
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "When I was a child, I loved to jump in to tight gaps. I heard that the Dumpling does too.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 6
_root.pl1._x = 5;
_root.pl1._y = 85;
_root.sty = _root.pl1._y;
_root.stx = _root.pl1._x;
Symbol 812 MovieClip Frame 7
_root.pl1._x = 5;
_root.pl1._y = 85;
_root.sty = _root.pl1._y;
_root.stx = _root.pl1._x;
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._x > this._x) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
timr--;
if (timr < 0) {
this.play();
}
}
} else {
timr = 2;
}
}
Instance of Symbol 447 MovieClip "spike10a" in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_x <= (stx + 30)) {
_x = (_x + 3);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10a.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10b.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10c.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10d.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10e.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10f.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10g.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10h.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10i.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10j.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10k.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10l.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10n.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10m.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.grd.b10o.act = true;
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike10a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s7_1" in Symbol 812 MovieClip Frame 7
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I hope you're checking the wall signs before approaching the levels...\rThose blocks will fall, and there's a touch-activate laser guarding the floor...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 8
_root.pl1._x = 10;
_root.pl1._y = 385;
act5a = false;
act5b = false;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y - 32;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 754 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if ((_root.pl1._x > 120) && (_root.pl1._x < 500)) {
act = true;
} else {
act = false;
}
if (act) {
if ((_root.pl1._y <= 345) && (_root.pl1._y >= 225)) {
this._y = _root.pl1._y + 16;
}
} else {
this._y = this._y - (Math.round(this._y - sty) / 4);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.act5a = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act5a = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.act5b = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act5b = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s8_1" in Symbol 812 MovieClip Frame 8
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Checkpoints appear to not save switches, so it looks like you need to hit both switches without dying...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 9
_root.pl1._x = 20;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 5;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 5;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 10;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 10;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 15;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 15;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 20;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 20;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 25;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 25;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 30;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 30;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 35;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 40;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 40;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 45;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 45;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 50;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 50;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 55;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y--;
} else {
this._y++;
}
if (timr2 <= 0) {
act = false;
timr = 55;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 165;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 35;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 30;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 25;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 20;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 15;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 10;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
timr = 5;
stimr = timr;
act = false;
timr2 = 120;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
act = true;
}
if (act) {
timr2--;
if (timr2 >= 60) {
this._y++;
} else {
this._y--;
}
if (timr2 <= 0) {
act = false;
timr = 35;
timr2 = 120;
}
}
if (_root.resetting) {
act = false;
timr = stimr;
timr2 = 120;
this._y = 225;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s9_1" in Symbol 812 MovieClip Frame 9
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "It's not too late to turn back, you know!\r\rWell I guess it kind of is...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 10
_root.pl1._x = 20;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "s10_1" in Symbol 812 MovieClip Frame 10
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Good lord... o_0";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 11
_root.pl1._x = 5;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 785 MovieClip "spike8a" in Symbol 812 MovieClip Frame 11
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.pl1._x < this._x) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
this.play();
}
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.pl1._y > this._y) {
if ((_root.pl1._x > (this._x - 30)) && (_root.pl1._x < (this._x + 30))) {
this.play();
}
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 11
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike8a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s11_1" in Symbol 812 MovieClip Frame 11
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Any idea which way is safest you?";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 12
act = false;
act2 = false;
_root.pl1._x = 50;
_root.pl1._y = 530;
_root.sty = _root.pl1._y;
_root.stx = _root.pl1._x;
this.onEnterFrame = function () {
if (_root.resetting) {
act = false;
}
};
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 375) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y >= 345) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 375) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 375) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 375) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y >= 345) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y >= 345) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 2);
cnt++;
timr = 2;
}
if (cnt == 28) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 195) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y >= 165) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 195) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 195) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y >= 165) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 195) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y >= 165) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_y <= 195) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._x < this._x) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 447 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
sty = _y;
act = false;
timr = 30;
}
onClipEvent (enterFrame) {
if (_root.lvl.act) {
act = true;
}
if (act) {
if (timr >= 1) {
_y = (_y+1);
timr--;
}
}
if (_root.resetting) {
_y = sty;
act = false;
timr = 30;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike2aa.act = true;
_root.lvl.spike2ab.act = true;
_root.lvl.spike2ac.act = true;
_root.lvl.act = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
timr = 45;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.spike2bc.act = true;
timr--;
if (timr < 0) {
_root.lvl.spike2ba.act = true;
_root.lvl.spike2bb.act = true;
}
}
if (_root.resetting) {
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.act2 = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act2 = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.act2 = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act2 = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s12_2" in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "How many of those 10 checkpoints do you have left?";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s12_3" in Symbol 812 MovieClip Frame 12
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "It's just... I don't think that there are any pickups...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 13
_root.pl1._x = 5;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 758 MovieClip "spike13a" in Symbol 812 MovieClip Frame 13
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y >= (sty - 30)) {
_y = (_y-1);
}
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 13
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike13a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s13_1" in Symbol 812 MovieClip Frame 13
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "The bottom half of this area appears to be safe...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 14
_root.pl1._x = 5;
_root.pl1._y = 375;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 812 MovieClip Frame 15
_root.pl1._x = 5;
_root.pl1._y = 205;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._x < this._x) {
if ((_root.pl1._y > (this._y - 30)) && (_root.pl1._y < (this._y + 30))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (((_root.pl1._x > (this._x - 30)) && (_root.pl1._x < (this._x + 30))) && (_root.pl1._y >= 300)) {
act = true;
}
if (act) {
_y = (_y - 2);
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (((_root.pl1._x > (this._x - 30)) && (_root.pl1._x < (this._x + 30))) && (_root.pl1._y >= 300)) {
act = true;
}
if (act) {
_y = (_y - 2);
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (((_root.pl1._x > (this._x - 30)) && (_root.pl1._x < (this._x + 30))) && (_root.pl1._y >= 300)) {
act = true;
}
if (act) {
_y = (_y - 2);
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 758 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (((_root.pl1._x > (this._x - 30)) && (_root.pl1._x < (this._x + 30))) && (_root.pl1._y >= 300)) {
act = true;
}
if (act) {
_y = (_y - 2);
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._x < this._x) {
if ((_root.pl1._y > (this._y - 5)) && (_root.pl1._y < (this._y + 5))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._x > this._x) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._x < this._x) {
if ((_root.pl1._y > (this._y - 15)) && (_root.pl1._y < (this._y + 15))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if ((_root.pl1._y < this._y) && (_root.pl1._y > 300)) {
if ((_root.pl1._x > (this._x - 15)) && (_root.pl1._x < (this._x + 15))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 766 MovieClip in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
timr = 2;
}
onClipEvent (enterFrame) {
if (_root.pl1._y > this._y) {
if ((_root.pl1._x > (this._x - 15)) && (_root.pl1._x < (this._x + 15))) {
timr--;
if (timr < 0) {
this.play();
}
} else {
timr = 2;
}
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s15_1" in Symbol 812 MovieClip Frame 15
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Watch out for lasers.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 16
_root.pl1._x = 5;
_root.pl1._y = 175;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 794 MovieClip "spike16b" in Symbol 812 MovieClip Frame 16
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 794 MovieClip "spike16a" in Symbol 812 MovieClip Frame 16
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 16
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike16b.act = true;
_root.lvl.sgrpa._x = -60;
}
if (_root.resetting) {
act = false;
_root.lvl.sgrpa._x = 90;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 16
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike16a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 461 MovieClip in Symbol 812 MovieClip Frame 16
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[9]) {
act = true;
} else if (!_root.hidden_objects[9]) {
if (_root.pl1.hitTest(this)) {
act = true;
_root.hidden_objects[9] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[9])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s16_1" in Symbol 812 MovieClip Frame 16
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "One of the switches is supposed to trigger some of these spikes, or something like that...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 17
_root.pl1._x = -15;
_root.pl1._y = 325;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 797 MovieClip "spike17a" in Symbol 812 MovieClip Frame 17
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y >= (sty - 29)) {
_y = (_y-1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 797 MovieClip "spike17b" in Symbol 812 MovieClip Frame 17
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 17
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike17a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 17
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike17b.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s17_1" in Symbol 812 MovieClip Frame 17
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Cherish this block of safety... Have a picnic on it if you will...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s17_2" in Symbol 812 MovieClip Frame 17
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Any checkpoints left?";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 18
_root.pl1._x = 5;
_root.pl1._y = 535;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 799 MovieClip "spike18e" in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (act) {
if (_x >= (stx - 29)) {
_x = (_x-1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 799 MovieClip "spike18a" in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (act) {
if (_x <= (stx + 29)) {
_x = (_x+1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 800 MovieClip "spike18b" in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y >= (sty - 29)) {
_y = (_y-1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 799 MovieClip "spike18c" in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (act) {
if (_x <= (stx + 29)) {
_x = (_x+1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 799 MovieClip "spike18d" in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (act) {
if (_x >= (stx - 29)) {
_x = (_x-1);
}
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike18a.act = true;
_root.lvl.spike18b.act = true;
_root.lvl.spike18e.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike18c.act = true;
_root.lvl.spike18d.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s18_1" in Symbol 812 MovieClip Frame 18
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "If you have any checkpoints left, I recommend saving them...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 19
_root.pl1._x = 5;
_root.pl1._y = 535;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 730;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 710;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 690;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 670;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 650;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 630;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 410;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 430;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 450;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 470;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 490;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 130;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 110;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 90;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 70;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 50;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 30;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 150;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 170;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 190;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 210;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 230;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 250;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 270;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 290;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 310;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 330;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 350;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 370;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 390;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 190;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 210;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 230;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 250;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 270;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 290;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 310;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 330;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 350;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 370;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 390;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 510;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 530;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 550;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 570;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 590;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 610;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 630;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 650;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 670;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 690;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 710;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 730;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 750;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 770;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 790;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 810;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 830;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 850;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) - 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1170;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1150;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1130;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1110;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1090;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1070;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1050;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1030;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1010;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 990;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 970;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 890;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 870;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 910;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 950;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 930;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 970;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1010;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 990;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1030;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1070;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1050;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1090;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1130;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1110;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1150;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1170;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) + 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1190;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1210;
stimr = timr;
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_x = (_x - (Math.round((_x - stx) - 90) / 20));
} else {
_x = (_x - (Math.round(_x - stx) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_x = stx;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1330;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1310;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1290;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1270;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1250;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 794 MovieClip in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
timr = 1230;
stimr = timr;
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
timr--;
if (timr < 0) {
_y = (_y - (Math.round((_y - sty) + 90) / 20));
} else {
_y = (_y - (Math.round(_y - sty) / 20));
}
if (timr <= -32) {
timr = 30;
}
if (_root.resetting) {
_y = sty;
timr = stimr;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s19_1" in Symbol 812 MovieClip Frame 19
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Call this a level, Jindo? This is so easy it's boring...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 20
_root.pl1._x = 5;
_root.pl1._y = 235;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
act2 = false;
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
_root.lvl.act2 = true;
}
if (_root.resetting) {
act = false;
_root.lvl.act2 = false;
gotoAndStop (1);
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike20b.act = true;
_root.lvl.spike20c.act = true;
_root.lvl.spike20d.act = true;
_root.lvl.spike20e.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 797 MovieClip "spike20a" in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 797 MovieClip "spike20b" in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 797 MovieClip "spike20c" in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 797 MovieClip "spike20d" in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 797 MovieClip "spike20e" in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
}
onClipEvent (enterFrame) {
if (act) {
if (_y <= (sty + 29)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 644 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.spike20a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
act = false;
sty = _y;
down = true;
cnt = 0;
timr = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.act2) {
act = true;
}
if (act) {
if (down) {
timr--;
if (timr < 0) {
_y = (_y + 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = false;
cnt = 0;
}
} else {
timr--;
if (timr < 0) {
_y = (_y - 4);
cnt++;
timr = 2;
}
if (cnt == 14) {
down = true;
cnt = 0;
}
}
}
if (_root.resetting) {
act = false;
_y = sty;
down = true;
cnt = 0;
timr = 0;
}
}
Instance of Symbol 464 MovieClip "msg" in Symbol 812 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.beatLevelPack();
_root.beatShanty = true;
_root.achievementUnlocked(0);
_root.achievementUnlocked(21);
gotoAndStop (2);
_root.ochc = "end_results";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "s20_1" in Symbol 812 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Ouch... That corridor leading to the exit looks frightfully dangerous.\r\rSee you on the other side!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 812 MovieClip Frame 21
boss_stage = "intro";
Instance of Symbol 809 MovieClip "llama" in Symbol 812 MovieClip Frame 21
onClipEvent (load) {
sty = _y;
stx = _x;
timr = 32;
hits = 0;
}
onClipEvent (enterFrame) {
if (_root.lvl.boss_stage == "intro") {
_x = stx;
if (_y > 407) {
_y = (_y - 3);
} else {
_root.lvl.boss_stage = "fight1";
}
}
if (_root.lvl.boss_stage == "intro2") {
_x = stx;
if (_y > 407) {
_y = (_y - 6);
} else {
_root.lvl.boss_stage = "fight2";
}
}
if (_root.lvl.boss_stage == "intro3") {
_x = stx;
if (_y > 407) {
_y = (_y - 12);
} else {
_root.lvl.boss_stage = "fight3";
}
}
if (_root.lvl.boss_stage == "fight1") {
timr--;
if (timr <= 0) {
_root.attachMovie("sl1", "s" + _root.pid, _root.pid);
_root["s" + _root.pid]._x = _x;
_root["s" + _root.pid]._y = _y - 200;
timr = 128;
_root.pid++;
}
if (_y >= 500) {
_root.lvl.boss_stage = "hurt1";
}
}
if (_root.lvl.boss_stage == "fight2") {
timr = timr - 1.3;
if (timr <= 0) {
_root.attachMovie("sl1", "s" + _root.pid, _root.pid);
_root["s" + _root.pid]._x = _x;
_root["s" + _root.pid]._y = _y - 200;
timr = 140;
_root.pid++;
}
if (_y >= 600) {
_root.lvl.boss_stage = "hurt2";
}
}
if (_root.lvl.boss_stage == "fight3") {
timr = timr - 1.6;
if (timr <= 0) {
_root.attachMovie("sl1", "s" + _root.pid, _root.pid);
_root["s" + _root.pid]._x = _x;
_root["s" + _root.pid]._y = _y - 200;
timr = 160;
_root.pid++;
}
if (_y >= 777) {
_root.lvl.boss_stage = "end";
}
}
if (_root.lvl.boss_stage == "hurt1") {
_x = (stx + (random(10) - 5));
_y = (_y + 10);
if (_y >= 999) {
_root.lvl.boss_stage = "intro2";
}
}
if (_root.lvl.boss_stage == "hurt2") {
this._x = stx + (random(10) - 5);
_y = (_y + 10);
if (_y >= 999) {
_root.lvl.boss_stage = "intro3";
}
}
if (_root.resetting) {
_y = sty;
timr = 128;
_root.lvl.boss_stage = "intro";
}
}
Instance of Symbol 472 MovieClip in Symbol 812 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.boss_status[4] = 3;
_root.achievementUnlocked(22);
_root.savefile.boss_status = _root.boss_status;
_root.ochc = "endings";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "sb_1" in Symbol 812 MovieClip Frame 21
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Stomp the Shanty Llama in to submission!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 820 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1._y > 600) {
height_display = _root.pl1._y - 600;
} else {
height_display = "";
}
};
Symbol 837 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (4);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (8);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (10);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (17);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (18);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (19);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (25);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (26);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (27);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (5);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (24);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (3);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (9);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (11);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (12);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (13);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (14);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (16);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (6);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (7);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (20);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (21);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (22);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Instance of Symbol 205 MovieClip in Symbol 837 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (23);
}
onClipEvent (enterFrame) {
if (!_root.achievement_status[_currentframe - 1]) {
_alpha = 25;
} else {
_alpha = 100;
}
}
on (release) {
_root.achid = _currentframe - 1;
}
Symbol 875 MovieClip Frame 1
act = false;
stx = this._x;
sty = this._y;
this._rotation = 90;
xspd = random(5) + 5;
yspd = 0;
ok = true;
this.onEnterFrame = function () {
if (((_root.lvl.pinc1.hitTest(this) || (_root.lvl.pinc2.hitTest(this))) || (_root.lvl.pinc3.hitTest(this))) || (_root.lvl.pinc4.hitTest(this))) {
act = true;
}
if ((_root.pl1.hitTest(this.hb2) || (_root.pl1.hitTest(this.hb3))) || (_root.pl1.hitTest(this.hb4))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb4))) {
_root.death_cat();
}
if (_root.resetting) {
act = false;
this._x = stx;
this._y = sty;
this._rotation = 90;
xspd = random(5) + 5;
yspd = 0;
ok = true;
}
if (_root.lvl.hurt) {
act = false;
this._x = stx;
this._y = sty;
this._rotation = 90;
yspd = 0;
ok = true;
}
if (act) {
if (ok) {
yspd = -random(7);
ok = false;
}
this._x = this._x + xspd;
this._y = this._y + yspd;
this._rotation = this._rotation + (xspd + (yspd / 2));
yspd++;
}
};
Symbol 888 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 1
stop();
timr = 180;
this.onEnterFrame = function () {
if (_root.lvl.hp == 1) {
timr--;
if (timr < 0) {
play();
}
}
};
Symbol 900 MovieClip Frame 8
_root.attachMovie("mblazar1", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x - 100;
_root["l" + _root.pid]._y = this._y;
_root.pid++;
Symbol 902 MovieClip Frame 1
active = false;
xspd = 0;
yspd = 0;
this._alpha = 0;
timer = 180 + random(90);
movement = 0;
timer2 = 90;
stx = this._x;
sty = this._y;
this.onEnterFrame = function () {
if (_root.lvl.hp != 0) {
if (!_root.pz) {
if (this.hitTest(_root.pl1._x, _root.pl1._y, true) && (_root.pl1._x < 460)) {
_root.death();
}
if (movement != 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
timer--;
if (timer <= 0) {
active = true;
}
if (this._alpha <= 90) {
this._alpha = this._alpha + 10;
}
if (!active) {
if (movement == 0) {
if (this._x > 550) {
xspd--;
}
if (this._x < 550) {
xspd++;
}
if (this._y > 400) {
yspd--;
}
if (this._y < 400) {
yspd++;
}
}
if (movement == 1) {
timer2--;
if (timer2 <= 0) {
movement = 0;
}
this._x = this._x - (Math.round(this._x - 550) / 20);
this._y = this._y - (Math.round(this._y - 400) / 20);
}
} else {
if (xspd >= -14) {
xspd--;
}
if (this._x <= 0) {
timer = 180;
timer2 = 90;
active = false;
movement = 1;
}
if (this._y < _root.pl1._y) {
yspd++;
} else {
yspd--;
}
}
if (_root.resetting) {
this._x = stx;
this._y = sty;
active = false;
xspd = 0;
yspd = 0;
this._alpha = 0;
timer = 180 + random(90);
movement = 0;
timer2 = 90;
}
}
} else {
active = false;
xspd = 0;
yspd = 0;
this._alpha = 0;
timer = 180 + random(90);
movement = 0;
timer2 = 90;
this._x = stx;
this._y = sty;
}
};
Symbol 904 MovieClip Frame 1
active = false;
xspd = 0;
yspd = 0;
this._alpha = 0;
timer = 180 + random(90);
movement = 0;
timer2 = 90;
stx = this._x;
sty = this._y;
this.onEnterFrame = function () {
if ((_root.lvl.hp <= 2) && (_root.lvl.hp != 0)) {
if (!_root.pz) {
if (this.hitTest(_root.pl1._x, _root.pl1._y, true) && (_root.pl1._x < 460)) {
_root.death();
}
if (movement != 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
timer--;
if (timer <= 0) {
active = true;
}
if (this._alpha <= 90) {
this._alpha = this._alpha + 10;
}
if (!active) {
if (movement == 0) {
if (this._x > 550) {
xspd--;
}
if (this._x < 550) {
xspd++;
}
if (this._y > 400) {
yspd--;
}
if (this._y < 400) {
yspd++;
}
}
if (movement == 1) {
timer2--;
if (timer2 <= 0) {
movement = 0;
}
this._x = this._x - (Math.round(this._x - 550) / 20);
this._y = this._y - (Math.round(this._y - 400) / 20);
}
} else {
if (xspd >= -14) {
xspd--;
}
if (this._x <= 0) {
timer = 180;
timer2 = 90;
active = false;
movement = 1;
}
if (this._y < _root.pl1._y) {
yspd++;
} else {
yspd--;
}
}
if (_root.resetting) {
this._x = stx;
this._y = sty;
active = false;
xspd = 0;
yspd = 0;
this._alpha = 0;
timer = 180 + random(90);
movement = 0;
timer2 = 90;
}
}
} else {
active = false;
xspd = 0;
yspd = 0;
this._alpha = 0;
timer = 180 + random(90);
movement = 0;
timer2 = 90;
this._x = stx;
this._y = sty;
}
};
Symbol 905 MovieClip Frame 1
stop();
if (_root.boss_fight) {
gotoAndStop (21);
}
if (!_root.continued) {
_root.pl1._x = 60;
_root.pl1._y = 360;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "m1_1" in Symbol 905 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I think there's something shiny back there for the Dumpling...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "m1_2" in Symbol 905 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "This way is safer -->";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 461 MovieClip in Symbol 905 MovieClip Frame 1
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[3]) {
act = true;
} else if (!_root.hidden_objects[3]) {
if (_root.pl1.hitTest(this) && (_root.character == "dumpling")) {
act = true;
_root.hidden_objects[3] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[3])) {
_alpha = 0;
act = false;
}
}
Symbol 905 MovieClip Frame 2
if (!_root.continued) {
_root.pl1._x = 30;
if (!_root.shortct) {
_root.pl1._y = 530;
} else {
_root.pl1._y = 170;
}
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "m2_1" in Symbol 905 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Also, welcome to Medium Shore!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 905 MovieClip Frame 3
if (!_root.continued) {
_root.pl1._x = 45;
if (!_root.shortct) {
_root.pl1._y = 330;
} else {
_root.pl1._y = 45;
}
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 4
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 300;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 5
if (!_root.continued) {
_root.pl1._x = 15;
_root.pl1._y = 530;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 6
if (!_root.continued) {
_root.pl1._x = 15;
_root.pl1._y = 530;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 7
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 25;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 8
if (!_root.continued) {
_root.pl1._y = 530;
_root.pl1._x = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 9
if (!_root.continued) {
_root.pl1._y = 530;
_root.pl1._x = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 10
stop();
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 11
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 12
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 530;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 13
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 14
if (!_root.continued) {
_root.pl1._x = 0;
_root.pl1._y = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 15
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 16
stop();
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 545;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 17
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 18
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 905 MovieClip Frame 19
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 45;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "m19_1" in Symbol 905 MovieClip Frame 19
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Remember, press Z to place a checkpoint!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 905 MovieClip Frame 20
if (!_root.continued) {
_root.pl1._x = 45;
_root.pl1._y = 30;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 464 MovieClip in Symbol 905 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.beatLevelPack();
if (!_root.used_cpoint) {
_root.achievementUnlocked(8);
}
if (_root.dthcnt <= 1) {
_root.achievementUnlocked(1);
}
gotoAndStop (2);
_root.ochc = "end_results";
_root.trans.play();
}
}
Instance of Symbol 461 MovieClip in Symbol 905 MovieClip Frame 20
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[4]) {
act = true;
} else if (!_root.hidden_objects[4]) {
if (_root.pl1.hitTest(this) && (!_root.used_cpoint)) {
act = true;
_root.hidden_objects[4] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[4])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "m20_1" in Symbol 905 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
if (_root.used_cpoint) {
_root.lvl.dialog.display_txt = "Oh good, you made it...\r\rNext time I dare you to save your checkpoints.";
} else {
_root.lvl.dialog.display_txt = "Wow, still got all your checkpoints? There's a reward behind me!";
}
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 905 MovieClip Frame 21
_root.pl1._x = 45;
_root.pl1._y = 455;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
hurt = false;
hp = 3;
reset_player = false;
this.onEnterFrame = function () {
if (_root.resetting) {
hp = 3;
}
if (hurt) {
hurt = false;
}
if (reset_player) {
_root.pl1._alpha = _root.pl1._alpha - 5;
if (_root.pl1._alpha <= 0) {
_root.pl1._x = _root.stx;
_root.pl1._y = _root.sty;
reset_player = false;
}
} else if (_root.pl1._alpha <= 90) {
_root.pl1._alpha = _root.pl1._alpha + 10;
}
};
Instance of Symbol 468 MovieClip "head" in Symbol 905 MovieClip Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.pl1._x, _root.pl1._y, true) && (!_root.lvl.hurt)) {
_root.pl1.yspd = -20;
_root.lvl.hp--;
_root.lvl.spikes.play();
_root.lvl.hurt = true;
if (_root.lvl.hp != 0) {
_root.lvl.reset_player = true;
} else {
_root.lvl.boss.act = true;
_root.lvl.spikes.act = true;
_root.lvl.pinc1._alpha = (_root.lvl.pinc2._alpha = 0);
_root.lvl.grd.exits._x = 900;
_x = 900;
}
}
}
Instance of Symbol 472 MovieClip in Symbol 905 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.achievementUnlocked(17);
_root.boss_status[2] = 3;
_root.savefile.boss_status = _root.boss_status;
_root.ochc = "endings";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "mb_1" in Symbol 905 MovieClip Frame 21
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
if (_root.used_cpoint) {
_root.lvl.dialog.display_txt = "Hmm.. I think you'll need to clear the spikes, those giant pincers sure look useful!";
}
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 888 MovieClip "spikes" in Symbol 905 MovieClip Frame 21
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_alpha = (_alpha - 10);
if (_alpha <= 0) {
_x = 900;
}
}
}
Instance of Symbol 900 MovieClip "boss" in Symbol 905 MovieClip Frame 21
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_alpha = (_alpha - 10);
if (_alpha <= 0) {
_x = 900;
}
}
}
Symbol 938 MovieClip Frame 1
stop();
Symbol 962 MovieClip Frame 1
this.blendMode = "overlay";
Symbol 964 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pl1.hitTest(this)) {
_root.cpoint_timr = 3;
}
if ((_root.pl1.hit.hitTest(this.hb2) || (_root.pl1.hit.hitTest(this.hb3))) || (_root.pl1.hit.hitTest(this.hb1))) {
_root.death();
}
if ((_root.cat.hitTest(this.hb2) || (_root.cat.hitTest(this.hb3))) || (_root.cat.hitTest(this.hb1))) {
_root.death_cat();
}
};
Instance of Symbol 48 MovieClip "fake" in Symbol 966 MovieClip Frame 1
onClipEvent (load) {
act = false;
stx = _x;
}
onClipEvent (enterFrame) {
if (_root.pl1._x > (this._x - 15)) {
act = true;
_root.lvl.room1_scenery.act = true;
_root.lvl.grd.blockg1.act = true;
}
if (act) {
this._x = -500;
}
if (_root.resetting) {
_x = stx;
act = false;
}
}
Instance of Symbol 965 MovieClip "blockg1" in Symbol 966 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_y >= (sty - 80)) {
_y = (_y - 10);
}
}
if (_root.resetting) {
act = false;
_y = sty;
}
}
Instance of Symbol 970 MovieClip in Symbol 971 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.character == "ninja") {
_x = 375;
} else {
_x = 750;
}
}
Symbol 973 MovieClip Frame 1
dir = "left";
stimr = 8;
rlease = false;
sok = true;
this.onEnterFrame = function () {
if (!_root.pz) {
if (_root.pl1.hitTest(this)) {
while (_root.pl1.hitTest(this._x, this._y + 3, true)) {
_root.pl1._y++;
}
_root.pl1.yspd = 0;
_root.pl1.jumping = 0;
_root.pl1.djumpok = false;
_root.pl1.vertical = "platform";
if (sok) {
rlease = false;
stimr = 8;
sok = false;
}
}
if (_root.pl1.vertical == "platform") {
_root.pl1._x = this._x;
if (!rlease) {
_root.pl1._y = this._y + 16;
}
}
stimr--;
if (Key.isDown(38) && (stimr <= 0)) {
rlease = true;
}
if (rlease) {
if (_root.pl1.hitTest(this)) {
_root.pl1._y = _root.pl1._y - 30;
rlease = false;
sok = true;
}
}
if (dir == "left") {
this._x = this._x - 2;
}
if (dir == "right") {
this._x = this._x + 2;
}
if (_root.lvl.grd.hitTest(this._x - 15, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 15, this._y, true)) {
this._x++;
}
dir = "right";
}
if (_root.lvl.grd.hitTest(this._x + 15, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 15, this._y, true)) {
this._x--;
}
dir = "left";
}
}
};
Symbol 978 MovieClip Frame 1
stop();
Symbol 979 MovieClip Frame 1
stop();
Instance of Symbol 981 MovieClip in Symbol 982 MovieClip Frame 1
onClipEvent (load) {
stx = _x;
}
onClipEvent (enterFrame) {
if (!_root.pz) {
if (_x <= 403) {
_x = (_x + 2);
_root.lvl.wall2.act = false;
} else {
_root.lvl.wall2.act = true;
}
if (_root.resetting) {
_x = stx;
}
}
}
Symbol 988 MovieClip Frame 1
function createFireBall() {
i = _root.pid;
while (i < (_root.pid + 5)) {
_root.attachMovie("glow1", "g" + i, i);
_root["g" + i]._x = this._x + Math.round(random(120) - 60);
_root["g" + i]._y = this._y + Math.round(random(120) - 60);
_root["g" + i].xGet = this._x;
_root["g" + i].yGet = this._y;
_root["g" + i]._alpha = 0;
i++;
}
_root.pid = _root.pid + 5;
_root.attachMovie("fireball", "f" + _root.pid, _root.pid);
_root["f" + _root.pid]._x = this._x;
_root["f" + _root.pid]._y = this._y;
if (this._name == "left") {
_root["f" + _root.pid].xspd = -7;
_root["f" + _root.pid].yspd = 0;
}
if (this._name == "right") {
_root["f" + _root.pid].xspd = 7;
_root["f" + _root.pid].yspd = 0;
}
if (this._name == "up") {
_root["f" + _root.pid].yspd = -7;
_root["f" + _root.pid].xspd = 0;
}
if (this._name == "down") {
_root["f" + _root.pid].yspd = 7;
_root["f" + _root.pid].xspd = 0;
}
_root.pid++;
timr = 64;
}
timr = 32;
this.onEnterFrame = function () {
timr--;
if (timr < 0) {
createFireBall();
}
};
Symbol 998 MovieClip Frame 1
function createFireBall() {
i = _root.pid;
while (i < (_root.pid + 5)) {
_root.attachMovie("glow1", "g" + i, i);
_root["g" + i]._x = this._x + Math.round(random(120) - 60);
_root["g" + i]._y = this._y + Math.round(random(120) - 60);
_root["g" + i].xGet = this._x;
_root["g" + i].yGet = this._y;
_root["g" + i]._alpha = 0;
i++;
}
_root.pid = _root.pid + 5;
_root.attachMovie("fireball", "f" + _root.pid, _root.pid);
_root["f" + _root.pid]._x = this._x;
_root["f" + _root.pid]._y = this._y;
if (this._name == "left") {
_root["f" + _root.pid].xspd = -9;
_root["f" + _root.pid].yspd = 0;
}
if (this._name == "right") {
_root["f" + _root.pid].xspd = 9;
_root["f" + _root.pid].yspd = 0;
}
if (this._name == "up") {
_root["f" + _root.pid].yspd = -9;
_root["f" + _root.pid].xspd = 0;
}
if (this._name == "down") {
_root["f" + _root.pid].yspd = 9;
_root["f" + _root.pid].xspd = 0;
}
_root.pid++;
timr = 96;
}
timr = 64;
this.onEnterFrame = function () {
timr--;
if (timr < 0) {
createFireBall();
}
};
Instance of Symbol 1000 MovieClip "door4a" in Symbol 1001 MovieClip Frame 1
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Symbol 1013 MovieClip Frame 1
sty = _y;
act = false;
onEnterFrame = function () {
if (act) {
if (_y <= (sty + 60)) {
_y = (_y+1);
}
}
if (_root.resetting) {
_y = sty;
act = false;
}
};
Instance of Symbol 465 MovieClip "boss_enddoor" in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
stx = _x;
act = false;
}
onClipEvent (enterFrame) {
if (_root.resetting) {
_x = stx;
act = false;
}
if (act) {
_y = (_y - 4);
}
}
Instance of Symbol 1011 MovieClip "trapd1" in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
stx = this._x;
act = false;
timr = 2;
}
onClipEvent (enterFrame) {
if (act) {
timr--;
if (timr < 0) {
this._x = this._x - 4;
timr = 2;
}
}
if (_root.resetting) {
timr = 2;
_x = stx;
act = false;
}
}
Instance of Symbol 1011 MovieClip "trapd2" in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
stx = this._x;
act = false;
timr = 2;
}
onClipEvent (enterFrame) {
if (act) {
timr--;
if (timr < 0) {
this._x = this._x + 4;
timr = 2;
}
}
if (_root.resetting) {
timr = 2;
_x = stx;
act = false;
}
}
Instance of Symbol 1012 MovieClip "door" in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
stx = _x;
}
onClipEvent (enterFrame) {
if (_root.resetting) {
_x = stx;
}
}
Symbol 1018 MovieClip Frame 1
stop();
if (_root.boss_fight) {
gotoAndStop (21);
}
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 30;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "h1_1" in Symbol 1018 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Feeling lazy? I believe you can skip this part with a checkpoint, but I don't recommend it; the rest of Castle Kid Ninja makes this area look easy.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 968 MovieClip "room1_scenery" in Symbol 1018 MovieClip Frame 1
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (act) {
if (_alpha >= 10) {
_alpha = (_alpha - 10);
}
}
if (_root.resetting) {
act = false;
_alpha = 100;
}
}
Symbol 1018 MovieClip Frame 2
if (!_root.continued) {
_root.pl1._x = 30;
_root.pl1._y = 315;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 461 MovieClip in Symbol 1018 MovieClip Frame 2
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[5]) {
act = true;
} else if (!_root.hidden_objects[5]) {
if (_root.pl1.hitTest(this) && (_root.character == "ninja")) {
act = true;
_root.hidden_objects[5] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[5])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h2_1" in Symbol 1018 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "You See!? D:";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h2_2" in Symbol 1018 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "See that narrow gap with the spikes covering it at the bottom? I saw something shiny there... You'd need to be a Ninja to get it.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 3
if (!_root.continued) {
_root.pl1._x = 0;
_root.pl1._y = 185;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "h3_1" in Symbol 1018 MovieClip Frame 3
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Remember, press Z to place a checkpoint!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h3_2" in Symbol 1018 MovieClip Frame 3
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "There is a difference between wall jumping and wall climbing!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 4
if (!_root.continued) {
_root.pl1._x = 15;
_root.pl1._y = 560;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 977 MovieClip "door2c" in Symbol 1018 MovieClip Frame 4
onClipEvent (load) {
stx = this._x;
act = false;
timr = 2;
cnt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pz) {
if (act) {
timr--;
if (timr < 0) {
if (cnt <= 640) {
if ((((cnt >= 50) && (cnt <= 100)) || ((cnt >= 140) && (cnt <= 200))) || (cnt >= 230)) {
this._x = this._x + 4;
}
if ((cnt >= 201) && (cnt <= 229)) {
this._x = this._x - 10;
}
if (cnt >= 555) {
_root.achievementUnlocked(9);
}
}
cnt++;
if (Key.isDown(32)) {
}
timr = 2;
}
}
if (_root.resetting) {
timr = 2;
_x = stx;
cnt = 0;
act = false;
}
}
}
Instance of Symbol 978 MovieClip "door2b" in Symbol 1018 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (2);
stx = this._x;
act = false;
timr = 2;
cnt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pz) {
if (act) {
timr--;
if (timr < 0) {
if (cnt <= 9) {
gotoAndStop (1);
this._x = this._x - 3;
}
if ((cnt >= 60) && (cnt <= 69)) {
this._x = this._x + 3;
}
if (cnt >= 70) {
gotoAndStop (2);
}
cnt++;
timr = 2;
}
}
if (_root.resetting) {
gotoAndStop (1);
timr = 2;
_x = stx;
cnt = 0;
act = false;
}
}
}
Instance of Symbol 979 MovieClip "door2a" in Symbol 1018 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (2);
stx = this._x;
act = false;
timr = 2;
cnt = 0;
}
onClipEvent (enterFrame) {
if (act) {
timr--;
if (timr < 0) {
if (cnt <= 9) {
gotoAndStop (1);
this._x = this._x + 3;
}
if (cnt >= 60) {
this._x = this._x - 3;
}
cnt++;
timr = 2;
}
}
if (_root.resetting) {
gotoAndStop (1);
timr = 2;
_x = stx;
cnt = 0;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 1018 MovieClip Frame 4
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.door2a.act = true;
_root.lvl.door2b.act = true;
_root.lvl.door2c.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h4_1" in Symbol 1018 MovieClip Frame 4
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I believe you need to hit that switch up there.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 5
if (!_root.continued) {
_root.pl1._x = 15;
_root.pl1._y = 215;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 983 MovieClip "wall2" in Symbol 1018 MovieClip Frame 5
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (!_root.pz) {
if ((_y <= 418) && (act)) {
_y = (_y + 2);
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
}
Symbol 1018 MovieClip Frame 6
if (!_root.continued) {
_root.pl1._x = 5;
_root.pl1._y = 275;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 964 MovieClip "door2a" in Symbol 1018 MovieClip Frame 6
onClipEvent (load) {
sty = this._y;
act = false;
timr = 2;
cnt = 0;
}
onClipEvent (enterFrame) {
if (act) {
timr--;
if ((timr < 0) && (cnt <= 14)) {
this._y = this._y - 4;
cnt++;
timr = 2;
}
}
if (_root.resetting) {
timr = 2;
_y = sty;
act = false;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.lvl.door2a.act = true;
}
}
Symbol 1018 MovieClip Frame 7
if (!_root.continued) {
_root.pl1._x = 15;
_root.pl1._y = 530;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 1018 MovieClip Frame 8
if (!_root.continued) {
_root.pl1._x = 15;
_root.pl1._y = 530;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 1018 MovieClip Frame 9
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 40;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 461 MovieClip in Symbol 1018 MovieClip Frame 9
onClipEvent (load) {
act = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hidden_objects[6]) {
act = true;
} else if (!_root.hidden_objects[6]) {
if (_root.pl1.hitTest(this) && (_root.character == "ninja")) {
act = true;
_root.hidden_objects[6] = true;
if (_root.hidden_objects == [true, true, true, true, true, true, true, true, true, true]) {
_root.achievementUnlocked(27);
}
}
}
if (act) {
this._alpha = this._alpha + 10;
} else if (this._alpha >= 10) {
this._alpha = this._alpha - 10;
}
if (_root.resetting && (!_root.hidden_objects[6])) {
_alpha = 0;
act = false;
}
}
Instance of Symbol 991 MovieClip in Symbol 1018 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.character == "ninja") {
_x = 510;
} else {
_x = 700;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h9_1" in Symbol 1018 MovieClip Frame 9
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
if (_root.character == "ninja") {
_root.lvl.dialog.display_txt = "Some spikes appear to be missing...?";
} else {
_root.lvl.dialog.display_txt = "Ohai :3";
}
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 10
if (!_root.continued) {
_root.pl1._x = -55;
_root.pl1._y = 190;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 644 MovieClip in Symbol 1018 MovieClip Frame 10
onClipEvent (load) {
act = false;
stx = _root.lvl.grd.door13a._x;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.grd.door13a._x = 700;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
_root.lvl.grd.door13a._x = stx;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h10_1" in Symbol 1018 MovieClip Frame 10
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I suppose hitting that switch will help you.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 11
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 400;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "h11_1" in Symbol 1018 MovieClip Frame 11
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Remember, running off an edge without jumping will allow you to jump twice in mid-air!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 12
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 40;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 995 MovieClip "door2a" in Symbol 1018 MovieClip Frame 12
onClipEvent (load) {
stx = this._x;
act = false;
timr = 2;
}
onClipEvent (enterFrame) {
if (act) {
timr--;
if (timr < 0) {
this._x = this._x + 4;
timr = 2;
}
}
if (_root.resetting) {
timr = 2;
_x = stx;
act = false;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.lvl.door2a.act = true;
}
}
Symbol 1018 MovieClip Frame 13
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 40;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 964 MovieClip "door3a" in Symbol 1018 MovieClip Frame 13
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 1018 MovieClip Frame 13
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.door3a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.lvl.door3a.sty = -500;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h13_1" in Symbol 1018 MovieClip Frame 13
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "If you didn't already know, checkpoints only save your position, not the status of buttons.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 14
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 40;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 1002 MovieClip "door4b" in Symbol 1018 MovieClip Frame 14
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 644 MovieClip "switch14a" in Symbol 1018 MovieClip Frame 14
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.door4b.act = true;
_root.lvl.grd.door4a.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.lvl4half = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this) && (_root.lvl4half)) {
_root.lvl.grd.door4a.sty = -500;
_root.lvl.door4b.sty = -500;
_root.lvl.switch14a.gotoAndStop(2);
}
}
Symbol 1018 MovieClip Frame 15
if (!_root.continued) {
_root.pl1._x = -20;
_root.pl1._y = 490;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 964 MovieClip "door2e" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 964 MovieClip "door2f" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 964 MovieClip "door2d" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 964 MovieClip "door2g" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 964 MovieClip "door2c" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 964 MovieClip "door2b" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 964 MovieClip "door2a" in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
sty = _y;
act = false;
}
onClipEvent (enterFrame) {
if (act) {
_y = -500;
}
if (_root.resetting) {
_y = sty;
act = false;
}
}
Instance of Symbol 644 MovieClip in Symbol 1018 MovieClip Frame 15
onClipEvent (load) {
act = false;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
act = true;
}
if (act) {
gotoAndStop (2);
_root.lvl.door2a.act = true;
_root.lvl.door2b.act = true;
_root.lvl.door2c.act = true;
_root.lvl.door2d.act = true;
_root.lvl.door2e.act = true;
_root.lvl.door2f.act = true;
_root.lvl.door2g.act = true;
}
if (_root.resetting) {
act = false;
gotoAndStop (1);
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.lvl.door2a.sty = -500;
_root.lvl.door2b.sty = -500;
}
}
Symbol 1018 MovieClip Frame 16
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 300;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 1018 MovieClip Frame 17
if (!_root.continued) {
_root.pl1._x = 10;
_root.pl1._y = 190;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 1018 MovieClip Frame 18
if (!_root.continued) {
_root.pl1._x = 5;
_root.pl1._y = 520;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Symbol 1018 MovieClip Frame 19
if (!_root.continued) {
_root.pl1._x = 5;
_root.pl1._y = 520;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 131 MovieClip [speechbubble] "h19_1" in Symbol 1018 MovieClip Frame 19
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Almost there...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 20
if (!_root.continued) {
_root.pl1._x = 5;
_root.pl1._y = 520;
}
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 464 MovieClip in Symbol 1018 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.beatLevelPack();
_root.achievementUnlocked(10);
if (_root.character == "ninja") {
_root.achievementUnlocked(12);
}
if (!_root.used_cpoint) {
_root.achievementUnlocked(11);
}
if (_root.dthcnt <= 1) {
_root.achievementUnlocked(1);
}
_root.kongregateStats.submit("Hard", _root.score);
_root.kongregateStats.submit("HTimed", _root.timrttl);
_root.kongregateStats.submit("HDeaths", _root.dthcnt);
gotoAndStop (2);
_root.ochc = "end_results";
_root.trans.play();
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h20_1" in Symbol 1018 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "I can smell the Ninja...";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "h20_2" in Symbol 1018 MovieClip Frame 20
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "WHOAH! There he is! -->";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1018 MovieClip Frame 21
_root.boss = true;
pid = 0;
if (_root.soundOn) {
_root.sounds.gotoAndStop(1);
_root.sounds.gotoAndStop(7);
}
_root.pl1._y = 485;
_root.pl1._x = -60;
_root.ninjai._x = _root.nstx;
_root.ninjai._y = _root.nsty;
_root.stx = _root.pl1._x;
_root.sty = _root.pl1._y;
Instance of Symbol 472 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.achievementUnlocked(18);
_root.boss_status[3] = 3;
_root.savefile.boss_status = _root.boss_status;
_root.ochc = "endings";
_root.trans.play();
}
}
Instance of Symbol 1010 MovieClip "doorboss" in Symbol 1018 MovieClip Frame 21
onClipEvent (load) {
sty = this._y;
act = false;
timr = 2;
cnt = 0;
}
onClipEvent (enterFrame) {
if (act) {
timr--;
if (timr < 0) {
if (cnt <= 15) {
this._y = this._y - 4;
}
cnt++;
timr = 2;
}
}
if (_root.resetting) {
timr = 2;
_y = sty;
cnt = 0;
act = false;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.lvl.doorboss.act = true;
_root.lvl.grd.door._x = 15;
_root.boss = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb1.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb2.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb3.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb4.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb5.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb6.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb7.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb8.act = true;
}
}
Instance of Symbol 985 MovieClip in Symbol 1018 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.ninjai.hitTest(this) && (_root.ninjai.hp == 1)) {
_root.lvl.grd.floorb9.act = true;
}
}
Symbol 1021 MovieClip Frame 1
function hurt() {
if ((pause_timr <= 0) && (!_root.dead)) {
_root.removeBeams = true;
_root.removetimer = 5;
this.anms.gotoAndStop(6);
this._alpha = 0;
a = _root.pid;
while (a <= (_root.pid + 20)) {
_root.attachMovie("blood", "b" + a, a);
_root["b" + a]._x = this._x;
_root["b" + a]._y = this._y;
a++;
}
_root.pid = _root.pid + 20;
b = _root.pid;
while (b <= (_root.pid + 10)) {
_root.attachMovie("glowboss", "g" + b, b);
_root["g" + b]._x = 300;
_root["g" + b]._y = 300;
b++;
}
_root.pid = 1;
cnt = 0;
hp--;
if (hp == 2) {
movearound = 128;
attack_timr = 32;
attack2_timr = 64;
xspd = 8;
}
if (hp == 1) {
movearound = 96;
attack_timr = 16;
attack2_timr = 45;
xspd = 10;
}
pause_timr = 96;
this._x = _root.nstx;
this._y = _root.nsty;
}
}
xspd = 6;
yspd = 0;
jumping = 0;
hp = 3;
j1timr = 96;
movearound = 128;
cnt = 0;
attack_timr = 16;
attack2_timr = 96;
pause_timr = 0;
ran = random(5);
this.onEnterFrame = function () {
if (!fade) {
if (yspd > 15) {
yspd = 15;
}
if (yspd <= -15) {
yspd = -15;
}
if (xspd > 15) {
xspd = 15;
}
if (xspd <= -15) {
xspd = -15;
}
if (_root.resetting) {
xspd = 10;
yspd = 0;
jumping = 0;
hp = 3;
j1timr = 96;
movearound = 128;
cnt = 0;
attack_timr = 16;
}
if (_root.bossoktimr <= 0) {
if (pause_timr <= 0) {
_root.ffield._x = 700;
if (hp == 3) {
if (_root.pl1.hitTest(head)) {
_root.pl1.yspd = -15;
hurt();
}
movearound--;
attack2_timr--;
if (attack2_timr <= 0) {
_root.attachMovie("hblazar2", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x;
_root["l" + _root.pid]._y = this._y;
_root.pid++;
attack2_timr = 96;
}
if (movearound > 0) {
this._x = this._x + xspd;
this._y = this._y + yspd;
j1timr--;
if (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
this._y--;
}
if (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (j1timr <= 0) {
yspd = (-random(10)) - 10;
} else {
yspd = 0;
}
} else {
if (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
this._x--;
}
yspd = (-random(5)) - 20;
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
this._x++;
}
yspd = (-random(5)) - 20;
xspd = -xspd;
}
yspd++;
}
} else {
attack_timr--;
if (attack_timr < 0) {
_root.attachMovie("hblazar", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x;
_root["l" + _root.pid]._y = this._y;
attack_timr = 2;
_root.pid++;
cnt++;
if (cnt >= 10) {
movearound = 128;
cnt = 0;
}
}
}
}
if (hp == 2) {
_root.lvl.grd.trapd1.act = true;
_root.lvl.grd.trapd2.act = true;
if (_root.pl1.hitTest(head)) {
_root.pl1.yspd = -15;
hurt();
}
movearound--;
attack2_timr--;
if (attack2_timr <= 0) {
_root.attachMovie("hblazar2", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x;
_root["l" + _root.pid]._y = this._y;
_root.pid++;
attack2_timr = 64;
}
if (movearound > 0) {
this._x = this._x + xspd;
this._y = this._y + yspd;
j1timr--;
if (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
this._y++;
}
yspd = -yspd;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
this._y--;
}
if (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (j1timr <= 0) {
yspd = (-random(20)) - 10;
} else {
yspd = 0;
}
} else {
if (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
this._x--;
}
yspd = (-random(20)) - 10;
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
this._x++;
}
yspd = (-random(20)) - 10;
xspd = -xspd;
}
yspd++;
}
} else {
attack_timr--;
if (attack_timr < 0) {
_root.attachMovie("hblazar", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x;
_root["l" + _root.pid]._y = this._y;
attack_timr = 2;
_root.pid++;
cnt++;
if (cnt >= 20) {
movearound = 96;
cnt = 0;
}
}
}
}
if (hp == 1) {
if (_root.pl1.hitTest(head)) {
_root.pl1.yspd = -15;
_root.winRar();
this.anms.gotoAndStop(7);
head._x = 6000;
}
movearound--;
attack2_timr--;
if (attack2_timr <= 0) {
_root.attachMovie("hblazar2", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x;
_root["l" + _root.pid]._y = this._y;
_root.pid++;
attack2_timr = 45;
}
if (movearound > 0) {
this._x = this._x + xspd;
this._y = this._y + yspd;
j1timr--;
if (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 20, true)) {
this._y++;
}
yspd = -yspd;
if (ran == 3) {
xspd = -xspd;
ran = random(5);
}
}
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
this._y--;
}
if (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
this._x++;
}
xspd = -xspd;
}
if (j1timr <= 0) {
yspd = (-random(15)) - 15;
} else {
yspd = 0;
}
} else {
if (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 12, this._y, true)) {
this._x--;
}
yspd = (-random(15)) - 15;
xspd = -xspd;
}
if (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 12, this._y, true)) {
this._x++;
}
yspd = (-random(15)) - 15;
xspd = -xspd;
}
yspd++;
}
} else {
attack_timr--;
if (attack_timr < 0) {
_root.attachMovie("hblazar", "l" + _root.pid, _root.pid);
_root["l" + _root.pid]._x = this._x;
_root["l" + _root.pid]._y = this._y;
attack_timr = 1;
_root.pid++;
cnt++;
if (cnt >= 40) {
movearound = 32;
cnt = 0;
}
ran = random(5);
}
}
}
} else {
pause_timr--;
if (pause_timr <= 64) {
_root.ffield._x = 300;
}
if (this._alpha <= 95) {
this._alpha = this._alpha + 5;
}
}
}
} else {
this._alpha--;
}
};
Symbol 1027 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.boss_status[3] != 3) && (_root.lvl._currentframe == 21)) {
this._rotation = this._rotation + 90;
if (_root.pl1.hitTest(this)) {
_root.death();
}
} else {
this._x = 700;
this._visible = false;
}
};
Symbol 1045 MovieClip Frame 263
stop();
_root.trans.play();
_root.ochc = "intros2";
Instance of Symbol 1045 MovieClip in Symbol 1046 MovieClip Frame 1
onClipEvent (load) {
var count = 0;
}
onClipEvent (enterFrame) {
if (this._currentframe < 130) {
this._rotation = this._rotation + 10;
} else if (this._currentframe == 130) {
this._rotation = 0;
}
}
Symbol 1054 Button
on (release) {
getURL ("http://kongregate.com/", "_blank");
}
Symbol 1080 MovieClip Frame 127
stop();
_root.trans.play();
_root.ochc = "main_menu";
Symbol 1099 MovieClip Frame 19
_root.ochc = "main_menu";
_root.trans.play();
Symbol 1102 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 10
_root.txts.nextFrame();
if (_root.txts._currentframe > _root.worldframes[_root.worldchoice][2]) {
stop();
_root.trans.play();
_root.ochc = "main_menu";
}
Symbol 1112 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1123 MovieClip Frame 1
stop();
Symbol 1169 MovieClip Frame 1
stop();
Instance of Symbol 1151 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "a";
}
Instance of Symbol 1154 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "b";
}
Instance of Symbol 1156 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "s";
}
Instance of Symbol 1156 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "m1";
}
Instance of Symbol 1156 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "m2";
}
Instance of Symbol 1161 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "st";
}
Instance of Symbol 76 MovieClip [spring_high] in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "sH";
}
Instance of Symbol 70 MovieClip [spring_low] in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "sL";
}
Instance of Symbol 73 MovieClip [spring_med] in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "sM";
}
Instance of Symbol 1162 MovieClip in Symbol 1169 MovieClip Frame 1
on (release) {
_root.block_choice = "cP";
}
Instance of Symbol 343 MovieClip in Symbol 1169 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
if (_root.slct.blcks._currentframe == 1) {
_root.slct.blcks.gotoAndStop(3);
} else {
_root.slct.blcks.prevFrame();
}
}
Instance of Symbol 343 MovieClip in Symbol 1169 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
if (_root.slct.blcks._currentframe == 3) {
_root.slct.blcks.gotoAndStop(1);
} else {
_root.slct.blcks.nextFrame();
}
}
Instance of Symbol 1165 MovieClip in Symbol 1169 MovieClip Frame 2
on (release) {
_root.block_choice = "o";
}
Instance of Symbol 88 MovieClip in Symbol 1169 MovieClip Frame 2
on (release) {
_root.block_choice = "wL";
}
Instance of Symbol 88 MovieClip in Symbol 1169 MovieClip Frame 2
on (release) {
_root.block_choice = "wR";
}
Instance of Symbol 88 MovieClip in Symbol 1169 MovieClip Frame 2
on (release) {
_root.block_choice = "wD";
}
Instance of Symbol 88 MovieClip in Symbol 1169 MovieClip Frame 2
on (release) {
_root.block_choice = "wU";
}
Instance of Symbol 1161 MovieClip in Symbol 1169 MovieClip Frame 2
on (release) {
_root.block_choice = "st";
}
Instance of Symbol 1167 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "b2";
}
Instance of Symbol 1167 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "b1";
}
Instance of Symbol 1167 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "bL";
}
Instance of Symbol 1167 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "bR";
}
Instance of Symbol 1167 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "bD";
}
Instance of Symbol 1167 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "bU";
}
Instance of Symbol 85 MovieClip in Symbol 1169 MovieClip Frame 3
on (release) {
_root.block_choice = "L";
}
Instance of Symbol 1130 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.refreshLevel();
_root.bgm.gotoAndStop(_root.bgt);
}
Instance of Symbol 1135 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.slct.lvlcode = _root.getCode();
}
Instance of Symbol 1138 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.createLevel(_root.slct.lvlcode);
}
Instance of Symbol 1141 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.createLevel(_root.baselevel);
}
Instance of Symbol 1144 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.bgt_chc_int++;
if (_root.bgt_chc_int >= _root.bgt_choices.length) {
_root.bgt_chc_int = 0;
}
_root.bgt = _root.bgt_choices[_root.bgt_chc_int];
_root.refreshLevel();
_root.bgm.gotoAndStop(_root.bgt);
}
Instance of Symbol 1147 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (press) {
_root.level_real = _root.getCode();
}
on (release) {
_root.ochc = "leveltest";
_root.trans.play();
}
Instance of Symbol 1150 MovieClip in Symbol 1170 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
_yscale = 100;
_xscale = 100;
}
on (rollOver) {
available = true;
}
on (rollOut) {
available = false;
}
onClipEvent (enterFrame) {
if (available) {
_alpha = (_alpha - ((_alpha - 150) / 5));
_yscale = (_alpha - ((_alpha - 150) / 5));
_xscale = (_alpha - ((_alpha - 150) / 5));
} else {
_alpha = (_alpha - ((_alpha - 100) / 5));
_yscale = (_alpha - ((_alpha - 100) / 5));
_xscale = (_alpha - ((_alpha - 100) / 5));
}
}
on (release) {
_root.character = _root.savefile.data.character;
_root.ochc = "main_menu";
_root.trans.play();
}
Symbol 1173 MovieClip Frame 1
xspd = 0;
yspd = 0;
moving = false;
lmt = 6;
kup = false;
jumping = 0;
kuptimr = 8;
jtimr = 8;
djumpok = false;
vertical = "landed";
movok = true;
jcnt = true;
mrs = true;
mls = true;
p_down = false;
uid = "boy";
this.onEnterFrame = function () {
if (_root.character == uid) {
if (Key.isDown(80) && (!p_down)) {
_root.pauseToggle();
p_down = true;
}
if (!Key.isDown(80)) {
p_down = false;
}
if (!_root.dead) {
if (djump && (jcnt)) {
_root.djcnt++;
jcnt = false;
}
if (Key.isDown(90)) {
if (_root.lvl.grd.hitTest(this._x, this._y + 20, true)) {
_root.setCheckPoint();
}
}
if (yspd > 15) {
yspd = 15;
}
if (vertical != "cling") {
this._x = this._x + xspd;
this._y = this._y + yspd;
}
if (vertical == "platform") {
if (!Key.isDown(38)) {
yspd = 0;
}
}
jtimr--;
if (xspd >= (lmt + 1)) {
xspd = lmt;
}
if (xspd <= (-(lmt + 1))) {
xspd = -lmt;
}
if (this._x > 600) {
_root.level = _root.level_real;
_root.prevFrame();
}
if (Key.isDown(39)) {
if (mrs) {
moving = false;
mrs = false;
}
this._xscale = 100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = 4;
moving = true;
} else {
xspd++;
}
} else {
mrs = true;
}
if (Key.isDown(37)) {
if (mls) {
moving = false;
mls = false;
}
this._xscale = -100;
if (!moving) {
if (movok) {
xspd = 0;
movok = false;
}
xspd = -4;
moving = true;
} else {
xspd--;
}
} else {
mls = true;
}
if (((!Key.isDown(37)) && (!Key.isDown(39))) && (vertical != "platform")) {
movok = true;
moving = false;
xspd = 0;
}
if (Key.isDown(38) && (!kup)) {
kuptimr = 8;
if (jumping == 0) {
if ((vertical == "landed") || (vertical == "platform")) {
vertical = "jump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
}
}
if (jumping == 1) {
djump = true;
if (yspd > 0) {
djumpok = true;
}
if (djumpok) {
vertical = "djump";
jcnt = true;
yspd = -6;
jtimr = 8;
jumping = 2;
kup = true;
}
}
}
if (!Key.isDown(38)) {
if ((jumping != 0) && (jtimr <= 6)) {
jtimr = 0;
}
kup = false;
}
if (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y + 8, true)) {
this._y--;
}
djump = false;
if (vertical != "cling") {
yspd = 0;
jumping = 0;
djumpok = false;
vertical = "landed";
}
} else {
if (jtimr <= 0) {
yspd++;
}
if (vertical != "cling") {
if (jumping == 2) {
vertical = "falling";
}
}
}
if (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
while (_root.lvl.grd.hitTest(this._x, this._y - 8, true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x + 8, this._y, true)) {
this._x--;
}
if (Key.isDown(38)) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
if (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
while (_root.lvl.grd.hitTest(this._x - 8, this._y, true)) {
this._x++;
}
if (Key.isDown(38)) {
xspd = -xspd;
vertical = "cjump";
this._y = this._y - 4;
yspd = -6;
jtimr = 8;
jumping = 1;
kup = true;
} else {
xspd = 0;
this.anms.gotoAndStop(1);
}
}
}
if (_root.pz || (_root.dead)) {
xspd = 0;
yspd = 0;
}
if (!_root.dead) {
if (_root.lvl.grd.hitTest(this._x, this._y + 12, true)) {
if (Key.isDown(39) || (Key.isDown(37))) {
this.anms.gotoAndStop(2);
} else {
this.anms.gotoAndStop(1);
}
} else if (vertical == "cjump") {
this.anms.gotoAndStop(4);
} else if (vertical == "jump") {
this.anms.gotoAndStop(3);
} else if ((vertical == "djump") || (jumping >= 2)) {
this.anms.gotoAndStop(5);
} else {
this.anms.gotoAndStop(1);
}
}
}
};
Symbol 1176 MovieClip Frame 1
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:3|a:1|s:4|a:3|b:7|a:2|b:1|st:1|b:1|a:1|s:1|b:2|s:1|a:3|b:8|a:1|b:3|a:1|s:1|b:2|s:1|a:3|b:8|a:1|s:1|b:1|s:1|a:1|s:1|b:2|s:1|a:3|c:3|b:1|bR:1|b:1|s:1|c:1|a:1|c:1|b:1|c:1|a:1|s:1|b:2|s:1|a:3|s:3|b:3|s:1|a:2|s:1|b:1|s:2|b:3|s:1|a:3|s:1|b:5|s:1|a:2|b:7|s:1|a:3|s:1|b:5|s:1|a:2|b:1|c:3|b:2|bL:1|s:1|a:3|s:1|b:5|s:1|a:2|b:7|s:1|a:3|s:1|b:3|sL:1|b:1|s:1|a:2|b:7|s:1|a:3|s:1|b:1|bL:1|b:1|c:3|a:2|b:5|sL:1|b:1|s:1|a:3|s:1|b:3|s:3|a:2|bR:1|b:2|c:3|b:1|s:1|a:3|s:1|b:5|s:1|a:2|b:7|s:1|a:1|b1:1|a:1|s:1|b:5|s:1|a:2|b:8|s:1|a:1|s:1|b:6|s:1|a:2|b:1|sM:1|b:11|sM:1|b:3|s:1|a:2|b:1|c:3|b:4|bR:1|b:4|c:3|b:1|s:1|a:2|L:18|a:2|L:18|a:2|c:18|a:2");
Symbol 1176 MovieClip Frame 2
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:8|bD:1|b:1|bD:1|b:1|bD:1|b:1|bD:1|b:1|bD:1|b:2|a:1|b:19|a:1|b:4|bU:1|b:1|bU:1|b:12|a:1|bL:1|b:1|bL:1|s:1|c:15|a:1|b:15|s:1|b:1|cP:1|a:2|b:18|a:2|b:17|s:1|a:2|sL:3|b:13|s:1|b:1|a:2|c:3|b:8|m2:1|b:4|c:1|s:1|a:2|b:6|m1:1|b:4|c:1|s:1|b:1|s:1|b:1|a:1|s:1|a:2|bL:1|bR:1|bL:1|bR:1|bL:1|bR:1|c:1|s:1|b:3|a:1|s:2|c:1|b:1|a:1|s:1|a:2|bR:1|bL:1|bR:1|bL:1|bR:1|bL:1|s:1|c:1|bR:3|a:1|s:1|b:1|bD:1|b:1|a:1|s:1|a:2|b:6|s:1|a:1|b:3|a:1|s:1|b:3|a:1|s:1|a:2|b:16|a:1|s:1|a:2|b:1|st:1|b:1|c:1|b:12|a:1|s:1|a:2|b:2|c:1|a:1|b:3|bU:1|b:8|s:1|b:1|a:2|b:1|c:1|a:2|L:5|c:1|L:4|c:1|L:3|a:2|c:1|a:3|L:5|a:1|L:4|a:1|L:3|a:6|c:5|a:1|c:4|a:1|c:3|a:2");
Symbol 1182 MovieClip Frame 1
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:7|wR:5|b:7|a:1|b:1|st:1|b:5|wR:4|b:8|a:1|b:4|c:1|b:1|wR:4|b:8|c:1|a:1|c:4|a:1|wR:6|b:4|c:2|b:1|a:2|b:7|wR:3|b:8|a:2|b:8|wR:3|b:7|a:2|b:1|c:2|b:4|wR:3|b:8|a:2|b:6|wR:5|b:7|a:2|b:7|wR:4|c:2|b:5|a:2|b:4|c:2|wR:5|b:7|a:2|b:7|wR:3|b:8|a:2|b:6|wR:5|b:7|a:2|b:1|c:2|b:4|wR:3|b:5|c:2|b:1|a:2|b:6|wR:6|b:6|a:2|b:18|a:2|b:18|a:2|b:4|c:2|b:5|c:2|b:5|a:2|wU:18|a:2|wU:18|a:2");
Instance of Symbol 131 MovieClip [speechbubble] "al1_1" in Symbol 1182 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Welcome to Mt. Himalayia. Watch out for strong winds!";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1182 MovieClip Frame 2
stop();
_root.removeLevel();
_root.createRealLevel("a:5|s:1|a:4|s:1|a:10|b:4|wU:1|s:4|wU:1|b:8|a:2|b:4|wU:4|b:10|a:2|b:4|wU:2|b:12|a:2|b:10|c:3|wU:3|b:2|a:2|b:8|wD:2|a:3|wU:2|b:3|a:2|b:1|c:3|wD:7|a:1|wU:2|b:3|wU:1|a:2|b:5|wD:6|a:1|wU:1|b:3|wU:2|a:2|b:6|wD:6|b:6|a:2|b:7|wD:5|b:6|a:2|b:1|c:4|b:3|wD:4|b:3|c:3|a:2|c:1|a:1|o:1|a:2|b:3|wD:4|b:4|a:4|b:3|m1:2|b:2|wD:5|b:5|a:3|st:1|b:5|wD:6|b:5|s:1|a:2|b:2|c:1|b:1|wD:9|b:6|a:1|c:2|a:1|wD:3|b:6|wD:2|b:5|a:3|b:11|wD:2|b:2|s:1|c:1|a:2|b:13|wD:2|b:1|s:1|a:2|b:15|wD:3|a:2|b:18|a:2");
Instance of Symbol 131 MovieClip [speechbubble] "al2_1" in Symbol 1182 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "Also, watch out for giant boulders.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Instance of Symbol 131 MovieClip [speechbubble] "al2_2" in Symbol 1182 MovieClip Frame 2
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog.disp = true;
_root.lvl.dialog.display_txt = "You should be good to go now.";
} else if (hitok) {
_root.lvl.dialog.disp = false;
hitok = false;
}
}
Symbol 1182 MovieClip Frame 3
stop();
_root.removeLevel();
_root.createRealLevel("a:21|wD:18|a:2|b:18|a:2|b:1|st:1|b:16|a:2|c:3|wU:9|c:3|b:3|a:4|wU:11|a:2|b:3|a:3|b:13|a:1|b:3|a:3|c:1|wD:11|c:1|a:1|b:3|a:4|c:1|wD:9|c:1|a:2|b:3|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:1|wU:2|c:3|wU:6|c:6|a:2|b:1|wU:2|a:2|b:6|s:1|a:8|b:1|wU:2|a:1|b:7|s:1|a:1|s:1|a:6|b:3|a:1|c:1|b:3|s:1|b:2|s:1|a:1|s:5|a:2|wU:2|b:1|a:2|c:1|b:1|s:1|c:1|s:1|b:2|s:1|b:6|a:1|wU:2|b:5|s:1|a:1|s:1|b:4|wU:2|b:3|a:1|wU:6|b:1|s:1|a:1|s:1|b:2|wU:2|b:2|wU:2|b:1|a:1|c:8|a:1|c:10|a:1");
Symbol 1182 MovieClip Frame 4
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:8|wD:3|b:8|a:1|b:8|wD:3|b:8|a:1|b:1|st:1|b:6|wD:3|s:1|c:1|b:2|wD:3|c:1|a:1|b:8|wD:3|s:1|a:1|b:3|wD:2|a:2|c:3|b:5|wD:3|s:1|a:1|b:4|wD:1|a:2|b:2|a:1|c:2|b:3|wD:3|b:1|s:1|b:4|wD:1|a:2|b:3|o:1|a:1|c:2|b:1|wD:3|s:1|c:1|b:3|wD:2|a:2|b:8|wD:2|s:1|c:1|s:1|b:1|c:1|wD:3|a:2|b:7|wD:3|s:2|b:2|wD:4|a:2|b:6|wD:3|s:1|c:1|o:1|b:3|wD:3|a:2|c:2|b:3|wD:4|s:1|a:1|b:5|wD:2|a:2|b:1|a:1|c:1|b:3|wD:3|s:1|a:1|b:6|wD:1|a:2|b:1|o:1|a:1|c:1|b:3|wD:3|s:1|b:7|a:2|b:3|wD:2|b:3|wD:1|s:1|c:1|wD:1|c:1|s:1|b:4|a:2|b:7|s:3|a:1|b:1|s:1|b:5|a:2|c:1|b:5|s:1|c:3|s:1|b:6|wD:1|a:3|c:1|b:3|wD:4|b:7|wD:2|a:2|b:15|wD:3|a:2|b:11|c:3|wD:4|a:2");
Symbol 1182 MovieClip Frame 5
stop();
_root.removeLevel();
_root.createRealLevel("a:21|o:1|s:3|a:11|o:1|s:3|a:1|b:4|s:2|a:8|s:1|b:4|a:1|b:6|s:2|a:5|s:1|b:4|c:1|a:1|b:1|c:4|b:3|s:1|a:2|s:1|m2:1|b:2|c:3|a:2|b:1|s:4|c:2|b:2|m2:2|b:2|c:2|s:2|o:1|a:2|b:5|s:2|c:2|b:2|c:2|s:2|b:3|a:2|c:4|b:3|s:2|c:2|s:2|b:5|a:2|o:1|s:3|c:2|b:3|s:2|b:3|c:3|b:1|a:2|b:4|s:2|c:2|b:4|c:2|s:3|b:1|a:2|b:6|s:2|c:4|s:2|b:4|a:2|b:2|c:2|b:4|s:4|b:3|c:3|a:2|b:2|s:2|c:2|b:7|c:2|s:2|o:1|a:2|b:4|s:2|c:7|s:2|b:3|a:2|b:6|s:7|b:5|a:2|c:4|b:10|c:3|b:1|a:2|b:3|o:1|c:10|s:3|b:1|a:2|b:1|st:1|b:2|s:10|b:4|a:2|b:18|a:2|c:18|a:2");
Symbol 1182 MovieClip Frame 6
stop();
_root.removeLevel();
_root.createRealLevel("a:7|wR:1|wL:1|wR:1|wL:1|wR:1|wD:1|a:8|b:5|a:1|wL:1|a:4|wD:1|b:7|a:1|b:5|a:1|wR:1|wL:1|wR:1|wL:1|wD:2|c:3|b:4|a:1|b:6|a:1|wL:1|wR:1|wL:1|wD:2|b:3|c:4|a:1|b:6|wD:1|a:1|wR:1|wL:1|wD:2|b:6|a:2|b:6|wD:2|c:2|wD:2|b:6|a:2|b:6|wD:1|b:1|s:2|b:1|wD:1|b:2|c:2|b:2|a:2|b:7|s:1|c:2|s:1|b:3|s:2|b:2|a:2|b:6|s:1|c:1|a:2|c:1|s:1|b:3|wU:1|b:2|a:2|b:3|wD:1|c:3|a:4|c:3|wU:2|b:2|a:2|st:1|b:1|wD:2|s:2|a:6|s:2|wU:2|b:2|a:2|c:2|wD:2|b:2|s:1|a:4|s:1|b:2|wU:2|c:2|a:2|b:2|wD:2|b:3|cP:1|a:2|cP:1|b:3|wU:2|b:2|a:2|b:2|wD:1|wU:1|b:1|s:1|c:2|a:2|c:2|s:1|b:1|wU:2|b:2|a:2|b:2|wU:1|wL:1|b:10|wU:2|b:2|a:2|b:2|wL:12|wU:2|b:2|a:2|b:2|wL:12|wU:2|b:2|a:2|b:2|wU:1|wL:11|wU:2|b:2|a:2|b:2|wU:14|b:2|a:2|b:3|wU:12|b:3|a:2");
Symbol 1182 MovieClip Frame 7
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:18|a:2|b:1|wD:1|b:4|wD:2|b:2|wU:2|b:7|a:1|b:1|wD:1|b:2|wU:2|b:6|wD:2|b:5|a:1|b:1|wD:1|b:2|s:4|b:2|s:4|wU:4|c:1|a:1|b:1|wD:1|c:16|a:2|b:1|wD:1|s:16|a:2|b:1|wD:5|b:2|wD:3|b:4|wU:1|wD:1|s:1|a:2|b:1|wD:5|b:2|wD:3|b:4|wU:1|wD:1|s:1|a:2|b:15|wU:1|wD:1|s:1|a:2|b:1|s:5|b:2|s:3|b:4|wU:1|wD:1|s:1|a:2|c:15|wU:1|wD:1|s:1|a:2|s:15|wU:1|wD:1|s:1|a:2|b:2|wU:1|b:4|wU:2|b:1|wU:2|b:1|wU:3|wD:1|s:1|a:2|b:2|wU:1|b:4|wU:2|b:1|wU:2|b:1|wU:3|wD:1|s:1|a:2|b:2|wU:1|b:2|c:1|b:1|wU:2|b:4|wU:3|wD:1|s:1|a:2|b:2|wU:1|b:1|c:1|a:1|b:1|wU:2|b:4|wU:3|wD:1|s:1|a:2|b:2|wU:1|b:1|wU:2|b:1|wU:2|b:2|c:1|b:1|wU:3|wD:1|s:1|a:2|st:1|b:1|wU:1|b:1|wU:2|b:1|wU:2|b:1|c:1|a:1|b:1|wU:3|s:2|a:2|c:2|wU:1|b:1|wU:2|b:1|wU:2|b:1|s:2|b:1|wU:3|c:2|a:2");
Symbol 1182 MovieClip Frame 8
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:7|o:1|a:3|s:7|a:2|b:4|wL:3|b:1|a:3|wU:7|wR:1|a:1|b:1|st:1|b:1|wL:4|b:1|a:2|wU:8|wR:1|a:1|c:2|wL:4|b:1|c:1|a:2|wU:8|a:2|s:1|o:1|wL:3|b:1|c:1|a:2|wU:3|a:2|wU:4|a:2|s:1|wL:3|b:1|c:1|a:3|wU:3|a:2|wU:4|a:2|s:1|wL:3|c:1|a:3|wU:4|s:2|wU:2|a:4|s:1|wL:3|a:4|wU:8|s:2|a:2|s:1|wL:3|a:3|wU:11|a:2|s:1|wL:1|b:1|wL:1|a:3|c:2|wU:6|a:2|wU:1|a:2|s:1|wL:1|b:1|wL:1|a:2|b:3|c:1|wU:5|a:2|wU:1|a:2|s:1|wL:1|b:1|wL:1|a:2|b:4|c:1|wU:4|s:1|a:1|c:1|a:2|s:1|b:1|wL:2|a:1|b:5|o:1|b:7|a:2|s:1|b:1|wL:2|a:1|b:13|a:2|s:1|b:1|wL:2|b:7|wD:3|c:2|wD:2|a:2|s:1|b:1|wL:2|b:3|c:2|wR:2|wD:3|a:2|wD:2|a:2|s:1|c:2|wL:1|b:3|a:2|wR:2|wD:7|a:2|s:1|b:6|wR:4|wD:7|a:2|c:4|b:1|wR:5|c:1|wD:7|a:2");
Symbol 1182 MovieClip Frame 9
stop();
_root.removeLevel();
_root.createRealLevel("a:21|cP:1|b:1|wD:2|b:9|wR:5|a:2|b:1|wD:1|b:3|s:5|b:1|wD:1|b:3|wR:3|a:2|wD:2|b:2|c:7|wD:1|wR:1|s:1|b:2|wR:2|a:2|wD:1|b:2|wD:10|c:1|b:3|wR:1|a:2|b:2|wD:11|wR:1|b:3|wR:1|a:2|b:2|wD:11|wR:1|b:1|wR:1|s:1|wR:1|a:2|b:1|c:2|wD:10|wR:1|b:1|wR:1|c:1|wD:1|a:2|b:3|wD:10|wR:1|b:1|wR:1|wD:2|a:2|b:4|wD:9|wR:1|b:1|wR:1|wD:2|a:2|b:4|wD:9|wR:1|s:1|b:1|wD:2|a:2|b:4|wD:10|c:1|b:1|wD:2|a:2|b:3|c:1|wD:10|wR:1|b:2|wD:1|a:2|b:2|c:1|a:1|wD:10|wR:2|b:1|wD:1|a:2|b:1|c:1|a:1|wD:12|wR:1|b:3|a:1|b:1|a:1|wD:13|wR:1|b:3|a:1|b:1|a:1|wD:13|wR:1|s:1|b:2|a:1|b:1|a:1|wD:12|wR:2|c:1|wR:1|c:1|st:1|b:1|a:1|wD:11|wR:5|a:1|c:2|a:1|wD:10|wR:6|a:2");
Symbol 1182 MovieClip Frame 10
stop();
_root.removeLevel();
_root.createRealLevel("a:1|o:3|a:17|s:1|b:2|a:8|b:8|a:1|s:1|st:1|b:1|a:8|b:8|a:1|s:1|b:2|a:8|b:2|wD:5|a:2|s:1|b:2|a:8|b:3|wD:4|a:2|s:1|b:2|a:3|o:3|a:2|b:7|a:2|s:1|b:2|wL:1|b:5|a:2|b:7|a:2|s:1|b:2|wL:1|b:5|a:2|wD:5|b:2|a:2|c:6|b:3|a:2|wD:4|b:3|a:2|o:2|b:7|a:2|b:7|a:2|s:1|b:8|a:2|b:7|a:2|s:1|b:2|s:4|b:1|s:1|a:2|b:2|wD:5|a:2|s:1|b:1|c:7|a:2|b:3|wD:4|a:2|s:1|b:1|a:9|b:7|a:2|s:1|b:2|a:8|b:7|a:2|s:1|b:3|a:7|wD:4|b:3|a:2|s:1|b:4|a:6|wD:5|b:2|a:2|b:5|s:2|b:2|s:2|b:7|a:2|b:7|cP:1|b:10|a:2|c:1|b:11|c:6|a:2");
Symbol 1182 MovieClip Frame 11
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:5|a:1|s:1|wR:4|a:1|s:1|wR:4|a:3|b:5|a:1|s:1|b:1|cP:1|b:2|a:1|s:1|b:4|a:3|b:5|a:1|s:1|b:1|c:1|s:1|b:1|a:1|s:1|b:1|c:1|s:1|b:1|a:3|b:2|c:1|s:1|b:4|a:1|s:1|b:4|a:1|s:1|b:1|a:3|b:2|a:1|s:1|b:1|wR:3|a:1|s:1|wR:4|a:1|s:1|b:1|a:3|wU:2|a:1|s:1|wR:2|c:2|a:1|c:3|s:2|a:1|s:1|b:2|wR:1|a:1|wU:2|a:1|s:1|c:1|a:2|b:4|a:1|c:2|a:1|s:1|wR:3|a:1|wU:2|a:1|c:1|a:1|b:8|a:2|c:3|a:2|wU:2|b:5|wD:3|b:8|a:2|wU:2|b:3|wD:7|b:6|a:2|c:5|wD:8|c:4|b:1|a:6|wD:10|a:3|b:1|a:5|b:1|wL:2|b:1|wR:1|wL:2|b:1|wR:1|b:3|a:2|b:1|a:4|b:3|wL:1|b:1|wR:1|cP:1|wL:1|b:1|wR:1|b:4|o:1|b:1|a:3|b:4|wL:1|b:1|wR:2|wL:1|b:1|wR:2|b:5|a:2|b:4|c:1|s:1|b:1|s:1|c:1|s:1|b:1|s:1|a:1|b:5|a:2|b:3|c:1|a:1|s:1|b:1|s:1|a:1|s:1|b:1|s:1|a:1|c:1|b:4|a:2|b:1|st:1|c:1|a:2|s:1|b:1|s:1|a:1|s:1|b:1|s:1|a:2|c:1|s:3|a:2|c:2|a:3|s:1|b:1|s:1|a:1|s:1|b:1|s:1|a:3|c:3|a:2");
Symbol 1182 MovieClip Frame 12
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:3|b:16|a:1|b:9|c:1|s:1|b:5|s:1|c:2|a:1|b:3|wD:4|b:2|s:1|b:2|wD:5|s:1|a:2|c:1|s:1|b:2|wD:5|b:1|wD:7|s:1|a:2|s:1|b:7|wD:3|b:4|cP:1|b:1|s:1|a:2|s:1|b:8|wD:1|b:7|s:1|a:2|s:1|b:4|s:1|c:1|s:1|b:3|s:1|c:1|s:1|b:3|s:1|a:2|s:1|b:5|s:1|b:5|s:1|b:4|s:1|a:2|s:1|b:13|wD:1|b:3|a:2|s:1|wD:5|b:7|wD:2|b:2|c:1|a:2|s:1|wD:7|b:2|wD:5|b:2|s:1|a:2|b:6|wD:8|b:3|s:1|a:2|b:1|st:1|b:5|wD:4|b:6|s:1|a:2|c:3|s:1|b:4|wD:2|b:7|s:1|a:4|s:1|b:10|c:1|s:1|b:2|s:1|a:3|s:1|b:11|s:1|b:2|wD:1|s:1|a:2|s:1|b:13|wD:3|s:1|a:2|s:1|cP:1|b:3|s:1|c:1|s:1|b:3|wD:5|b:1|s:1|a:2|s:1|b:5|s:1|b:3|wD:5|b:2|s:1|a:2");
Symbol 1182 MovieClip Frame 13
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:18|a:2|s:1|b:5|st:1|s:1|c:2|s:1|b:8|a:1|s:1|b:4|c:2|s:1|a:2|s:1|b:8|a:1|s:1|b:4|a:2|s:1|a:2|s:1|b:6|s:1|c:1|a:1|wU:2|b:5|s:1|a:2|s:1|b:6|s:1|a:2|wU:2|b:5|s:1|a:2|s:1|b:1|wU:2|b:3|s:1|a:2|s:1|b:6|s:1|a:2|s:1|b:1|wU:2|b:3|s:1|a:2|s:1|b:6|s:1|a:2|s:1|b:1|wU:2|b:3|s:1|a:2|s:1|b:6|s:1|a:2|s:1|b:1|wU:2|b:3|s:1|a:2|s:1|b:3|wU:2|b:1|s:1|a:2|s:1|b:5|wU:2|a:2|s:1|b:3|wU:2|b:1|s:1|a:2|s:1|b:5|wU:2|a:2|s:1|b:3|wU:2|b:1|s:1|a:2|s:1|b:5|wU:1|s:1|a:2|s:1|b:3|wU:2|b:1|s:1|a:1|s:1|b:6|wU:1|s:1|a:2|s:1|b:7|s:1|b:8|s:1|a:2|s:1|b:12|wU:2|b:2|s:1|a:2|wU:2|b:5|wU:2|b:4|wU:2|b:2|s:1|a:2|wU:2|b:2|cP:1|b:2|wU:2|b:4|wU:2|b:2|s:1|a:2|s:1|wU:1|b:5|wU:2|b:4|wU:2|b:2|s:1|a:2|s:1|wU:1|b:5|wU:2|b:8|s:1|a:2");
Symbol 1182 MovieClip Frame 14
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:14|a:1|b:4|a:1|b:14|a:1|b:1|wU:1|b:2|a:1|b:14|a:1|wU:2|s:1|c:1|a:1|b:3|s:1|b:10|a:1|wU:1|b:1|s:1|a:2|wU:1|b:1|s:1|c:1|s:1|wL:7|wD:1|wU:1|a:1|wU:1|b:1|s:1|a:2|wU:1|b:1|s:1|a:1|s:1|wU:6|wL:1|wD:1|wU:1|a:1|wU:1|b:1|s:1|a:2|wU:1|b:1|s:1|a:1|s:1|wU:6|wL:1|wD:1|wU:1|a:1|wU:3|a:2|wU:1|b:1|s:1|a:1|s:1|wU:1|wD:5|wL:1|wD:1|wU:1|a:1|s:1|b:1|wU:1|a:2|wU:1|b:1|s:1|a:1|s:1|wU:1|wD:1|wR:6|wU:1|a:1|s:1|b:1|wU:1|a:2|wU:1|b:2|a:1|wU:2|wD:1|wR:1|wU:6|a:1|s:1|b:1|wU:1|a:2|wU:3|a:1|wU:2|wD:1|wR:1|wD:5|wU:1|a:1|s:1|b:1|wU:1|a:2|b:2|wU:1|a:1|wU:2|wL:6|wD:1|wU:1|a:1|s:1|b:1|wU:1|a:2|s:1|b:1|wU:1|a:1|wU:1|wL:1|wU:6|wD:1|wU:1|a:1|s:1|wU:2|a:2|s:1|b:1|wU:1|a:1|wU:1|wL:1|wD:7|wU:1|a:1|wU:3|a:2|s:1|b:1|wU:1|a:1|wU:1|wL:1|wD:1|wR:6|wU:5|a:2|s:1|b:1|wU:1|a:1|wU:1|wL:1|wD:1|wU:11|a:2|b:2|wU:1|a:1|wU:1|wL:1|wD:1|wU:11|a:2|st:1|b:1|wU:1|a:1|wU:1|wL:11|wU:2|a:2|c:3|a:1|wU:14|a:2");
Symbol 1182 MovieClip Frame 15
stop();
_root.removeLevel();
_root.createRealLevel("a:24|b:10|o:2|a:1|o:2|a:5|b:12|a:1|o:2|a:5|o:2|c:2|wD:3|wR:1|c:2|b:2|a:1|b:2|a:5|o:2|a:2|wD:3|wR:1|a:2|b:5|a:5|b:7|wR:1|a:1|wR:2|b:1|cP:1|b:2|a:5|b:7|wR:1|a:1|wR:3|a:1|b:2|a:5|wD:2|c:2|s:1|wR:1|wU:1|wR:5|a:1|b:2|a:5|wD:2|a:2|s:1|wR:1|wU:1|wR:4|b:4|a:5|wD:2|a:1|s:1|wR:2|wU:1|wR:3|b:5|a:2|b:5|a:1|s:1|wR:2|wU:1|wR:3|b:2|s:1|c:2|a:2|b:9|wU:1|wR:3|b:2|s:1|a:4|st:1|b:8|wU:1|wR:3|b:3|s:1|a:3|c:3|b:5|c:2|s:1|wR:2|b:3|s:1|a:5|b:6|a:2|s:1|wR:2|b:5|a:4|b:7|a:1|s:1|wR:2|b:6|a:3|b:2|cP:1|b:4|a:1|s:1|wR:2|b:6|a:2|wD:17|c:1|a:2|wD:17|a:3|wD:17|a:2");
Symbol 1182 MovieClip Frame 16
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:18|a:2|s:1|b:3|c:3|b:10|s:1|a:2|s:1|b:4|a:1|b:11|s:1|a:2|c:1|s:1|b:12|s:1|b:2|s:1|a:3|b:13|c:1|b:2|s:1|a:3|b:13|a:1|b:2|s:1|a:2|s:1|b:13|a:1|b:2|s:1|a:2|s:1|b:4|s:10|b:2|s:1|a:2|s:1|b:4|c:10|s:1|b:1|s:1|a:2|s:1|b:4|s:9|a:1|s:1|b:1|s:1|a:2|s:3|b:10|s:1|a:1|s:1|b:2|a:2|s:1|c:3|s:1|b:8|s:1|a:1|s:1|b:2|a:1|b:5|wD:3|b:6|s:1|a:1|b:2|s:1|a:1|st:1|b:5|wD:3|b:5|s:1|a:1|b:2|s:1|a:1|c:1|s:4|b:2|wD:1|s:1|c:1|b:4|s:1|a:1|s:1|b:3|a:1|c:5|s:1|b:1|s:1|a:1|b:4|s:1|a:1|s:1|b:3|a:5|s:1|b:2|s:1|a:1|c:2|b:2|s:1|a:1|s:1|b:3|a:4|b:7|a:1|b:2|s:1|a:1|s:1|b:2|a:4|b:11|s:1|a:1|s:1|b:2|a:2");
Symbol 1182 MovieClip Frame 17
stop();
_root.removeLevel();
_root.createRealLevel("a:21|s:6|a:1|s:5|a:1|s:5|a:2|s:1|b:10|s:1|a:1|s:1|b:5|a:1|s:1|b:18|a:1|s:1|b:8|wD:1|b:5|wD:1|b:3|a:1|s:1|b:4|s:1|c:1|s:1|wD:3|b:3|wD:3|s:1|c:1|a:1|s:1|b:3|s:2|a:1|s:5|c:1|s:5|a:2|c:1|b:1|wU:1|b:1|c:2|a:1|c:5|a:1|c:5|a:2|s:1|b:1|wU:1|b:1|s:2|a:1|s:5|a:1|s:5|a:2|s:1|b:1|wU:1|b:3|s:1|b:5|s:1|b:4|s:1|a:2|s:1|b:1|wU:1|wD:1|b:5|wD:1|b:7|s:1|a:2|s:1|b:1|wU:1|wD:2|b:3|wD:3|b:6|s:1|a:2|s:6|c:1|s:5|c:1|s:1|b:3|s:1|a:2|c:6|a:1|c:5|a:1|c:1|b:1|wU:1|b:1|c:1|a:2|b:6|a:1|s:5|a:1|s:1|b:1|wU:1|b:1|s:1|a:2|b:6|s:1|b:5|s:1|b:2|wU:1|b:2|a:2|b:9|wD:1|b:5|wU:1|b:2|a:2|b:8|wD:3|b:4|wU:1|b:2|a:2|st:1|b:5|c:1|s:5|c:1|s:5|a:2|c:6|a:1|c:5|a:1|c:5|a:2");
Symbol 1188 MovieClip Frame 1
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:2|s:1|a:11|s:4|a:2|b:3|s:1|a:9|s:1|b:4|a:2|b:4|s:1|a:7|s:1|b:5|a:2|b:5|s:1|a:5|s:1|b:6|a:2|b:6|s:1|a:3|s:1|b:7|a:2|b:7|s:1|a:1|s:1|b:8|a:2|b:8|s:1|b:9|a:2|b:18|a:2|b:13|c:1|b:4|a:2|b:12|c:1|a:1|b:4|a:2|b:11|c:1|a:2|b:4|a:2|b:10|c:1|a:3|b:4|a:2|b:9|c:1|a:4|b:4|a:2|b:8|c:1|a:5|b:4|a:2|b:7|c:1|a:6|b:4|a:2|b:2|st:1|b:3|c:1|a:7|b:5|a:1|b:5|c:1|a:8|b:5|a:1|b:4|c:1|a:9|b:4|c:1|a:1|c:4|a:10|c:4|a:2");
Instance of Symbol 131 MovieClip [speechbubble] "e1_1" in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
hitok = true;
}
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
hitok = true;
_root.lvl.dialog2.disp = true;
_root.lvl.dialog2.display_txt = "Press Z to place a checkpoint!";
} else if (hitok) {
_root.lvl.dialog2.disp = false;
hitok = false;
}
}
Symbol 1188 MovieClip Frame 2
stop();
_root.removeLevel();
_root.createRealLevel("a:28|s:12|a:8|b:12|a:8|b:12|a:8|b:12|a:8|b:4|c:7|a:9|b:4|a:16|b:4|a:16|b:4|a:16|b:4|a:16|b:4|a:16|b:4|a:16|b:4|a:16|b:4|a:16|b:4|a:9|b:11|a:9|b:1|st:1|b:9|a:9|b:11|a:9|b:8|sH:2|b:1|a:9|c:11|a:9");
Symbol 1188 MovieClip Frame 3
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:12|a:3|b:3|a:2|b:1|st:1|b:10|a:3|b:3|a:2|b:12|a:3|b:3|a:2|c:8|b:4|a:3|b:3|a:2|b:12|a:3|b:3|a:2|b:12|a:3|b:3|a:2|b:12|a:3|b:3|a:2|b:3|c:9|a:3|b:4|a:1|b:3|a:1|b:10|a:1|b:4|a:1|b:3|a:1|b:10|a:1|b:4|a:1|b:3|a:1|b:10|a:1|b:3|c:1|a:1|b:3|a:1|b:4|s:2|b:4|a:1|b:3|a:2|b:3|a:1|b:4|c:2|b:4|a:1|b:3|a:2|b:3|a:1|b:4|a:2|b:4|a:1|b:3|a:2|b:3|a:1|b:4|a:2|b:4|a:1|b:3|a:2|b:8|a:2|b:8|a:2|b:8|a:2|b:8|a:2|b:4|sH:3|b:1|a:2|b:8|a:2|c:8|a:2|c:8|a:2");
Symbol 1188 MovieClip Frame 4
stop();
_root.removeLevel();
_root.createRealLevel("a:34|b:2|a:18|b:4|a:12|b:9|a:11|b:10|a:7|b:13|a:7|b:12|c:1|a:1|b:18|a:2|b:15|c:3|a:2|b:14|c:1|a:5|b:1|st:1|b:11|c:1|a:6|b:12|c:1|a:7|c:3|b:8|c:1|a:11|c:1|b:7|a:13|c:1|b:6|a:14|c:1|sL:1|b:4|a:15|c:1|b:4|a:16|b:4|a:16|s:4|a:16|c:4|a:9");
Symbol 1188 MovieClip Frame 5
stop();
_root.removeLevel();
_root.createRealLevel("a:28|b:8|a:12|b:1|cP:1|b:6|a:5|b:6|a:1|b:8|a:5|b:1|st:1|b:4|a:1|b:5|c:1|b:2|a:5|b:6|a:1|b:5|a:1|b:2|a:5|c:3|b:3|a:1|b:4|sL:1|a:1|b:2|a:8|b:3|a:1|b:4|c:1|a:1|b:2|a:8|b:3|a:1|b:4|a:2|b:2|a:5|b:6|a:1|b:4|a:2|b:2|a:5|b:6|a:1|b:4|a:2|b:2|a:5|b:5|s:1|a:1|b:4|a:2|b:2|a:5|b:3|c:3|a:1|b:3|sL:1|a:2|b:2|a:5|b:3|a:4|b:3|c:1|a:2|b:2|a:5|b:3|a:4|b:3|a:3|b:2|a:5|b:3|a:4|b:3|a:3|b:3|a:4|b:10|a:3|b:4|a:3|b:10|a:3|b:6|a:1|b:6|s:1|b:2|sL:1|a:3|b:6|a:1|c:10|a:3|c:6");
Symbol 1188 MovieClip Frame 6
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:18|a:2|b:18|a:2|b:18|a:2|b:8|s:2|b:8|a:2|sL:4|b:3|s:1|c:2|s:1|sL:3|b:4|a:2|c:4|b:3|s:1|a:2|c:4|b:4|a:2|b:7|s:1|a:2|s:1|b:7|a:2|b:7|s:1|a:2|s:1|b:7|a:2|b:7|s:1|a:2|s:1|b:7|a:2|b:4|sL:3|s:1|a:2|s:1|b:7|a:2|b:4|c:4|a:2|s:1|b:3|c:4|a:2|b:7|s:1|a:2|s:1|b:7|a:2|b:7|s:1|a:2|s:1|b:7|a:2|sL:4|b:3|s:1|a:2|s:1|b:7|a:2|c:4|b:3|s:1|a:2|c:4|b:4|a:2|b:7|s:1|a:2|s:1|b:8|a:1|b:1|st:1|b:5|s:1|a:2|s:1|b:8|a:1|b:4|sL:3|s:1|a:2|s:1|b:7|c:1|a:1|c:8|a:2|c:8|a:2");
Symbol 1188 MovieClip Frame 7
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:18|a:2|b:18|a:2|b:18|a:2|b:6|c:1|b:4|c:1|b:6|a:2|b:18|a:2|b:3|c:1|b:10|c:1|b:3|a:2|b:18|a:2|c:1|b:16|c:1|a:2|b:18|a:2|b:18|a:2|c:2|b:14|c:2|a:2|b:18|a:2|b:18|a:2|c:3|b:12|c:3|a:2|b:19|a:1|b:1|st:1|b:17|a:1|c:4|b:10|c:5|a:5|s:10|a:10|c:10|a:6");
Symbol 1188 MovieClip Frame 8
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:18|a:2|b:18|a:2|b:5|c:10|b:3|a:2|b:4|c:1|a:5|s:5|b:3|a:2|b:2|s:1|c:1|a:6|s:1|b:7|a:2|b:9|a:1|s:1|b:7|a:2|b:9|a:1|s:1|b:7|a:2|b:9|a:1|s:1|b:7|a:2|c:6|s:1|b:2|a:1|s:1|b:7|a:2|b:9|a:1|s:1|b:4|c:3|a:2|b:9|a:1|s:1|b:7|a:2|b:9|a:1|s:1|b:7|a:2|b:5|c:4|a:1|s:1|b:7|a:2|b:4|c:1|a:5|s:1|b:7|a:2|b:3|c:1|a:6|s:1|b:8|a:1|b:1|st:1|c:1|a:7|s:1|b:8|a:1|c:2|a:8|s:1|b:4|c:4|a:11|s:5|a:15|c:5|a:5");
Symbol 1188 MovieClip Frame 9
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:3|a:5|b:10|a:2|b:1|st:1|b:1|a:5|b:10|a:2|b:3|a:5|b:10|a:2|b:7|a:1|b:4|c:4|b:2|a:2|b:7|a:1|b:4|a:3|s:1|b:2|a:2|b:7|a:1|b:4|a:2|s:1|b:3|a:2|c:4|b:3|a:1|sM:1|b:3|a:1|s:1|b:4|a:2|b:7|a:1|c:1|b:3|a:1|s:1|b:4|a:2|b:7|a:1|b:4|a:1|s:1|b:4|a:2|b:4|s:3|a:1|b:4|a:1|s:1|b:4|a:2|b:3|c:4|a:1|b:4|a:1|s:1|b:4|a:2|b:3|a:5|b:4|a:1|b:5|a:2|b:3|a:5|b:4|a:1|b:5|a:2|b:3|a:5|b:3|sM:1|a:1|b:5|a:2|b:3|a:5|b:3|c:1|a:1|b:2|c:3|a:2|b:12|a:1|b:6|a:1|b:12|a:1|b:6|a:1|b:4|s:2|b:2|m1:3|b:1|a:1|s:2|b:4|a:1|c:12|a:1|c:6|a:1");
Symbol 1188 MovieClip Frame 10
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:8|cP:1|b:9|a:2|b:18|a:2|b:2|c:13|b:3|a:2|b:2|a:7|b:9|a:2|b:8|a:1|b:9|a:2|b:8|a:1|b:9|a:2|c:5|b:3|a:1|b:3|c:6|a:2|b:8|a:1|b:9|a:2|b:8|a:1|b:9|a:2|b:8|a:1|b:9|a:2|b:8|a:1|b:9|a:2|b:8|a:1|b:9|a:2|b:8|a:1|b:9|a:2|b:8|s:1|b:10|a:1|b:10|s:5|b:4|a:1|b:6|c:1|s:1|b:1|s:1|c:9|a:1|b:1|st:1|b:3|c:1|a:1|s:1|b:1|s:1|a:1|b:1|a:1|b:1|a:1|b:1|a:1|b:1|a:2|b:4|c:1|a:2|s:3|a:1|b:1|a:1|b:1|a:1|b:1|a:1|b:1|a:2|c:4|a:3|c:3|a:1|c:1|a:1|c:1|a:1|c:1|a:1|c:1|a:2");
Symbol 1188 MovieClip Frame 11
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:19|a:1|b:4|c:1|b:5|c:1|b:8|a:1|c:1|b:14|c:3|a:2|b:16|a:4|b:17|a:3|b:3|c:1|b:14|a:2|b:18|a:2|b:8|c:1|b:9|a:2|b:18|a:2|b:14|c:1|b:3|a:2|b:18|a:2|b:18|a:2|b:17|c:1|a:2|b:18|a:2|b:12|c:1|b:5|a:2|b:1|st:1|b:5|c:1|b:10|a:2|c:4|b:14|a:6|s:14|a:6|c:14|a:2");
Symbol 1188 MovieClip Frame 12
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:7|a:4|b:7|a:2|b:7|a:4|b:8|a:1|b:1|st:1|b:5|a:4|b:8|a:1|c:4|b:3|a:4|b:8|a:4|b:4|a:4|b:5|c:3|a:3|b:5|a:4|b:6|a:4|b:6|a:4|b:7|a:2|b:7|a:4|b:7|a:2|b:7|a:4|c:3|b:4|a:2|b:7|a:4|b:7|a:2|b:7|a:4|b:7|a:2|b:7|a:4|b:7|a:2|b:7|a:4|b:7|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:1|c:3|b:10|c:3|b:1|a:2|s:18|a:2|c:18|a:2");
Symbol 1188 MovieClip Frame 13
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:18|a:2|b:18|a:2|b:18|a:2|st:1|b:2|s:3|b:3|s:3|b:6|a:2|c:15|b:3|a:2|b:18|a:2|b:18|a:2|b:18|a:2|b:3|s:3|b:3|s:3|b:3|s:3|a:2|b:3|c:15|a:2|b:3|a:3|b:7|a:3|b:2|a:2|b:3|a:3|b:7|a:3|b:3|a:1|b:3|a:3|b:2|c:1|b:4|a:3|b:3|a:1|b:3|a:2|b:3|a:1|c:1|b:3|a:2|b:3|c:1|a:1|b:8|a:2|c:1|b:7|a:2|b:8|a:3|b:6|s:1|a:2|b:7|s:1|a:3|b:6|s:1|a:2|s:3|b:3|s:2|a:3|s:3|b:2|sL:1|s:1|a:2|c:8|a:3|c:7|a:2");
Symbol 1188 MovieClip Frame 14
stop();
_root.removeLevel();
_root.createRealLevel("a:23|b:17|a:3|b:17|a:1|b:14|c:5|a:1|b:14|a:1|s:3|a:2|c:2|b:12|a:1|b:2|s:1|a:4|b:9|s:1|b:2|a:1|b:2|s:1|a:2|b:11|c:1|b:2|s:1|b:2|s:1|a:2|b:11|a:1|b:5|s:1|a:2|c:2|b:9|a:1|b:5|s:1|a:4|b:6|s:1|b:2|a:1|b:5|s:1|a:2|b:8|c:1|b:8|s:1|a:2|b:8|a:1|b:8|s:1|a:2|c:2|b:6|a:1|b:8|s:1|a:4|b:3|s:1|b:2|a:1|b:8|s:1|a:2|b:5|c:1|b:11|s:1|a:2|st:1|b:4|a:1|b:11|s:1|a:2|c:5|a:1|b:11|s:1|a:8|s:12|a:8|c:12|a:2");
Symbol 1188 MovieClip Frame 15
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:4|a:6|b:9|a:1|st:1|b:3|a:6|b:9|a:1|c:2|b:2|a:6|b:4|s:2|b:3|a:1|b:4|s:5|a:1|b:2|c:7|a:1|b:8|s:1|a:1|b:8|a:2|b:4|m1:1|b:1|cP:1|b:1|s:1|a:1|b:8|a:2|b:2|c:3|b:3|s:1|a:1|b:2|s:2|b:4|a:2|b:6|s:1|b:1|s:1|a:1|c:6|b:2|a:2|b:5|s:1|c:1|b:6|a:1|b:4|a:2|b:13|a:1|b:4|a:2|b:8|s:1|c:1|b:3|a:1|b:2|c:2|a:2|b:8|s:1|a:1|b:3|a:1|b:4|a:2|c:3|m1:2|c:3|s:1|a:1|b:3|a:1|b:4|a:5|c:2|a:2|s:2|a:1|b:3|a:1|c:2|b:2|a:8|s:1|b:1|s:1|a:1|b:8|a:7|s:1|b:2|s:1|a:1|b:8|a:6|s:1|b:3|s:1|a:1|b:8|a:5|s:6|a:1|b:2|m2:6|a:5|c:6|a:1|c:8|a:2");
Symbol 1188 MovieClip Frame 16
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:5|a:1|b:5|a:1|b:6|a:2|st:1|b:4|a:1|b:5|a:1|b:6|a:2|c:3|b:2|a:1|b:12|a:2|s:3|b:2|a:1|b:12|a:2|b:5|a:1|b:4|s:1|c:1|b:6|a:2|b:5|a:1|b:4|s:1|a:1|s:3|b:2|s:1|a:2|b:5|a:1|b:4|s:1|a:1|c:3|b:2|c:1|a:2|b:2|s:3|a:1|b:5|a:1|b:6|a:2|b:2|c:3|a:1|b:5|a:1|b:6|a:2|b:5|a:1|s:1|b:4|a:1|b:6|a:2|b:5|a:1|s:1|b:4|a:1|b:6|a:2|b:5|a:1|s:1|b:4|a:1|b:6|a:2|b:11|a:1|b:2|s:4|a:2|b:11|a:1|b:2|c:4|a:2|b:5|c:6|a:1|b:7|a:1|b:5|a:7|b:7|a:1|b:5|a:7|b:7|a:1|s:5|a:7|s:6|c:1|a:1|c:5|a:7|c:6|a:2");
Symbol 1188 MovieClip Frame 17
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:6|a:2|b:6|a:2|b:2|a:2|b:6|a:2|b:6|a:2|b:2|a:2|b:6|a:2|b:6|a:2|b:2|a:2|b:6|a:2|b:6|a:2|b:2|a:2|b:6|a:2|b:6|a:2|b:2|a:2|b:6|a:2|b:10|a:2|b:6|a:2|b:10|a:2|b:6|s:2|b:5|s:1|c:2|b:1|s:1|a:2|b:12|s:1|c:1|a:2|b:1|s:1|a:2|b:6|c:2|b:3|s:1|c:1|a:1|s:1|b:3|a:2|b:6|a:2|b:2|s:1|c:1|a:1|s:1|b:4|a:2|c:3|s:1|b:2|a:2|b:1|s:1|c:1|a:1|s:1|b:5|a:2|s:3|b:3|a:2|s:1|c:1|a:1|s:1|b:6|a:2|b:6|a:2|c:1|a:1|s:1|b:2|c:5|a:2|b:6|a:2|s:2|b:8|a:2|st:1|b:5|a:2|s:1|b:10|a:1|c:3|b:3|a:2|s:1|b:10|a:1|s:6|a:2|s:8|c:3|a:1|c:6|a:2|c:8|a:4");
Symbol 1188 MovieClip Frame 18
stop();
_root.removeLevel();
_root.createRealLevel("a:21|b:18|a:2|b:19|a:1|b:3|m1:1|b:5|c:1|b:5|m2:1|b:3|a:1|b:3|c:1|b:11|c:1|b:1|c:2|a:1|b:3|s:15|a:2|b:3|c:15|a:2|b:18|a:2|b:18|a:2|b:1|m2:1|b:11|m1:1|b:4|a:2|c:2|b:5|c:1|b:5|c:1|b:4|a:2|s:15|b:3|a:2|c:15|b:3|a:2|b:18|a:2|b:18|a:2|b:18|a:2|st:1|b:12|m2:1|b:4|a:2|c:2|b:5|c:1|b:5|c:1|b:2|c:2|a:2|s:18|a:2|c:18|a:2");
Symbol 1188 MovieClip Frame 19
stop();
_root.removeLevel();
_root.createRealLevel("a:21|st:1|b:5|a:6|s:2|b:3|s:1|a:2|b:6|a:6|s:1|b:4|s:1|a:2|b:6|a:6|s:1|b:2|c:1|b:1|s:1|a:2|b:6|a:6|s:1|b:2|a:1|b:1|s:1|a:2|c:2|b:2|c:2|a:6|s:1|b:2|a:1|b:1|s:1|a:2|s:2|b:2|s:2|a:6|s:1|b:2|a:1|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:2|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:2|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:2|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:2|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:2|a:2|s:1|b:4|s:1|a:6|s:1|b:2|a:1|b:2|a:2|s:1|b:14|a:1|b:2|a:2|s:1|b:14|a:1|b:2|a:2|s:1|b:14|a:1|b:3|a:1|s:1|b:7|m1:2|m2:2|b:3|a:1|b:3|a:1|s:6|c:6|sH:3|a:1|s:1|c:2|a:1|c:6|a:6|c:2|a:2|c:1|a:3");
Symbol 1188 MovieClip Frame 20
stop();
_root.removeLevel();
_root.createRealLevel("a:21|st:1|b:5|a:6|s:2|b:3|s:1|a:2|b:6|a:6|s:1|b:4|s:1|a:2|b:6|a:6|s:1|b:2|c:1|b:1|s:1|a:2|b:6|a:6|s:1|b:2|a:1|b:1|s:1|a:2|c:2|b:2|c:2|a:6|s:1|b:2|a:1|b:1|s:1|a:2|s:2|b:2|s:2|a:6|s:1|b:2|a:1|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|c:1|a:1|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|a:2|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|a:2|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|a:2|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|a:2|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|a:2|b:1|s:1|a:2|s:1|b:4|s:1|a:6|s:1|b:1|a:2|b:1|s:1|a:2|s:1|b:13|a:2|b:3|a:1|s:1|b:13|a:2|b:3|a:1|s:1|b:1|cP:1|b:11|a:2|b:3|a:1|s:1|b:4|s:1|c:2|s:4|b:2|a:2|b:3|a:1|s:6|a:2|c:4|sL:2|a:2|s:2|c:1|a:1|c:6|a:6|c:2|a:2|c:2");
Instance of Symbol 464 MovieClip "msg" in Symbol 1188 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.pl1.hitTest(this)) {
_root.beatLevelPack();
_root.achievementUnlocked(0);
_root.achievementUnlocked(24);
if (_root.dthcnt == 0) {
_root.achievementUnlocked(25);
}
if (_root.dthcnt <= 1) {
_root.achievementUnlocked(1);
}
_root.ochc = "end_results";
_root.trans.play();
}
}