Frame 1
function doSomething() {
getURL ("http://www.myroidtypecomics.com/", _blank);
}
function doSomething2() {
getURL ("http://www.milliemegavolte.com/", _blank);
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Visit Myroid-Type Comics", doSomething);
Functioned2 = new ContextMenuItem("Visit Millie Megavolte Official Site", doSomething2);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned);
_root.menu = MENU;
Frame 3
percent_done = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loadbar._xscale = percent_done;
if (percent_done != 100) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Frame 9
stopAllSounds();
gotoAndPlay (41);
Frame 41
_quality = "MEDIUM";
Frame 201
_global.g_difficulty = 0;
_global.g_candive = 0;
_global.g_costume = 0;
_global.g_lcostume = 0;
_global.g_char = 0;
_global.g_cosunlock = Array(12);
_global.g_timetaken = 0;
_global.g_gameprogress = 0;
_global.g_savefile = 0;
_global.g_saveloc = 0;
_global.g_sound = 0;
_global.g_music = 0;
_global.g_left = 37;
_global.g_right = 39;
_global.g_up = 38;
_global.g_down = 40;
_global.g_action = 65;
_global.g_jump = 83;
_global.g_attack = 68;
_global.g_throw = 70;
_global.g_boomiebits = 0;
_global.g_wallkick = 0;
_global.g_lberserk = 0;
g_costume = 0;
g_lcostume = 0;
g_candive = 0;
g_difficulty = 0;
g_char = 0;
a = 0;
while (a < 12) {
g_cosunlock[a] = true;
a++;
}
g_timetaken = 0;
g_gameprogress = 0;
g_savefile = 0;
g_saveloc = 0;
g_sound = 0;
g_music = 0;
g_left = 37;
g_right = 39;
g_up = 38;
g_down = 40;
g_action = 65;
g_jump = 83;
g_attack = 68;
g_throw = 70;
g_boomiebits = 0;
g_wallkick = 0;
g_lberserk = 0;
socean = new Sound();
socean.attachSound("ocean");
socean.start(0, 999);
_quality = "MEDIUM";
loadgame = false;
Frame 350
Key.removeListener(keyListener);
f1char.text = "";
f1loc.text = "New Game";
f1time.text = "";
f1diff.text = "";
f2char.text = "";
f2loc.text = "New Game";
f2time.text = "";
f2diff.text = "";
f3char.text = "";
f3loc.text = "New Game";
f3time.text = "";
f3diff.text = "";
local_data = SharedObject.getLocal("millie6saves");
if ((local_data.data.init == undefined) || (local_data.data.k_up == undefined)) {
local_data.clear();
local_data.data.init = true;
local_data.data.k_up = 38;
local_data.data.k_down = 40;
local_data.data.k_left = 37;
local_data.data.k_right = 39;
local_data.data.k_action = 65;
local_data.data.k_jump = 83;
local_data.data.k_attack = 68;
local_data.data.k_throw = 70;
local_data.data.save1_started = false;
local_data.data.save1_loc = 0;
local_data.data.save1_char = 0;
local_data.data.save1_gprog = 0;
local_data.data.save1_diff = 0;
local_data.data.save1_timetaken = 0;
local_data.data.save1_costume = 0;
local_data.data.save2_started = false;
local_data.data.save2_loc = 0;
local_data.data.save2_char = 0;
local_data.data.save2_gprog = 0;
local_data.data.save2_diff = 0;
local_data.data.save2_timetaken = 0;
local_data.data.save2_costume = 0;
local_data.data.save3_started = false;
local_data.data.save3_loc = 0;
local_data.data.save3_char = 0;
local_data.data.save3_gprog = 0;
local_data.data.save3_diff = 0;
local_data.data.save3_timetaken = 0;
local_data.data.save3_costume = 0;
local_data.data.cosunlock_0 = false;
local_data.data.cosunlock_1 = false;
local_data.data.cosunlock_2 = false;
local_data.data.cosunlock_3 = false;
local_data.data.cosunlock_4 = false;
local_data.data.cosunlock_5 = false;
local_data.data.cosunlock_6 = false;
local_data.data.cosunlock_7 = false;
local_data.data.cosunlock_8 = false;
local_data.data.cosunlock_9 = false;
local_data.data.cosunlock_10 = false;
local_data.data.cosunlock_11 = false;
local_data.data.cosunlock_12 = false;
local_data.flush();
}
g_cosunlock[0] = local_data.data.cosunlock_0;
g_cosunlock[1] = local_data.data.cosunlock_1;
g_cosunlock[2] = local_data.data.cosunlock_2;
g_cosunlock[3] = local_data.data.cosunlock_3;
g_cosunlock[4] = local_data.data.cosunlock_4;
g_cosunlock[5] = local_data.data.cosunlock_5;
g_cosunlock[6] = local_data.data.cosunlock_6;
g_cosunlock[7] = local_data.data.cosunlock_7;
g_cosunlock[8] = local_data.data.cosunlock_8;
g_cosunlock[9] = local_data.data.cosunlock_9;
g_cosunlock[10] = local_data.data.cosunlock_10;
g_cosunlock[11] = local_data.data.cosunlock_11;
g_cosunlock[12] = local_data.data.cosunlock_12;
g_left = local_data.data.k_left;
g_right = local_data.data.k_right;
g_up = local_data.data.k_up;
g_down = local_data.data.k_down;
g_action = local_data.data.k_action;
g_jump = local_data.data.k_jump;
g_attack = local_data.data.k_attack;
g_throw = local_data.data.k_throw;
if (local_data.data.save1_started == true) {
if (local_data.data.save1_char == 0) {
f1char.text = "Millie";
} else {
f1char.text = "Lance";
}
switch (local_data.data.save1_loc) {
case 1 :
f1loc.text = "Millie's House";
break;
case 2 :
f1loc.text = "Lower Sparkleshine Caves";
break;
case 3 :
f1loc.text = "Central Sparkleshine Caves";
break;
case 4 :
f1loc.text = "Upper Sparkleshine Caves";
break;
default :
f1loc.text = "???";
}
gametime = Math.ceil(local_data.data.save1_timetaken / 30);
t_minutes = Math.floor(gametime / 60);
t_seconds = gametime % 60;
f1time.text = (t_minutes + ":") + ((t_seconds < 10) ? ("0" + t_seconds) : (t_seconds));
switch (local_data.data.save1_diff) {
case 0 :
f1diff.text = "Normal";
break;
case 1 :
f1diff.text = "Easy";
break;
case 2 :
f1diff.text = "Hard";
break;
case 3 :
f1diff.text = "Very Hard";
}
} else {
del1._x = -900;
}
if (local_data.data.save2_started == true) {
if (local_data.data.save2_char == 0) {
f2char.text = "Millie";
} else {
f2char.text = "Lance";
}
switch (local_data.data.save2_loc) {
case 1 :
f2loc.text = "Millie's House";
break;
case 2 :
f2loc.text = "Lower Sparkleshine Caves";
break;
case 3 :
f2loc.text = "Central Sparkleshine Caves";
break;
case 4 :
f2loc.text = "Upper Sparkleshine Caves";
break;
default :
f2loc.text = "???";
}
gametime = Math.ceil(local_data.data.save2_timetaken / 30);
t_minutes = Math.floor(gametime / 60);
t_seconds = gametime % 60;
f2time.text = (t_minutes + ":") + ((t_seconds < 10) ? ("0" + t_seconds) : (t_seconds));
switch (local_data.data.save2_diff) {
case 0 :
f2diff.text = "Normal";
break;
case 1 :
f2diff.text = "Easy";
break;
case 2 :
f2diff.text = "Hard";
break;
case 3 :
f2diff.text = "Very Hard";
}
} else {
del2._x = -900;
}
if (local_data.data.save3_started == true) {
if (local_data.data.save3_char == 0) {
f3char.text = "Millie";
} else {
f3char.text = "Lance";
}
switch (local_data.data.save3_loc) {
case 1 :
f3loc.text = "Millie's House";
break;
case 2 :
f3loc.text = "Lower Sparkleshine Caves";
break;
case 3 :
f3loc.text = "Central Sparkleshine Caves";
break;
case 4 :
f31loc.text = "Upper Sparkleshine Caves";
break;
default :
f3loc.text = "???";
}
gametime = Math.ceil(local_data.data.save3_timetaken / 30);
t_minutes = Math.floor(gametime / 60);
t_seconds = gametime % 60;
f3time.text = (t_minutes + ":") + ((t_seconds < 10) ? ("0" + t_seconds) : (t_seconds));
switch (local_data.data.save3_diff) {
case 0 :
f3diff.text = "Normal";
break;
case 1 :
f3diff.text = "Easy";
break;
case 2 :
f3diff.text = "Hard";
break;
case 3 :
f3diff.text = "Very Hard";
}
} else {
del3._x = -900;
}
if (g_sound == 0) {
optSFX._x = 88;
} else {
optSFX._x = 120;
}
if (g_music == 0) {
optMusic._x = 88;
} else {
optMusic._x = 120;
}
if (_quality == "LOW") {
optQuality._x = 88;
} else {
qualmark._x = 120;
}
stop();
Frame 352
txtBout.text = "Up";
keycount = 0;
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (keycount == 0) {
g_up = Key.getCode();
keycount = 1;
txtBout.text = "Down";
} else if (keycount == 1) {
g_down = Key.getCode();
keycount = keycount + 1;
txtBout.text = "Left";
} else if (keycount == 2) {
g_left = Key.getCode();
keycount = keycount + 1;
txtBout.text = "Right";
} else if (keycount == 3) {
g_right = Key.getCode();
keycount = keycount + 1;
txtBout.text = "Action";
} else if (keycount == 4) {
g_action = Key.getCode();
keycount = keycount + 1;
txtBout.text = "Jump";
} else if (keycount == 5) {
g_jump = Key.getCode();
keycount = keycount + 1;
txtBout.text = "Attack";
} else if (keycount == 6) {
g_attack = Key.getCode();
keycount = keycount + 1;
txtBout.text = "Boomie Bits";
} else if (keycount == 7) {
g_throw = Key.getCode();
keycount = 0;
local_data = SharedObject.getLocal("millie6saves");
local_data.data.k_up = g_up;
local_data.data.k_down = g_down;
local_data.data.k_left = g_left;
local_data.data.k_right = g_right;
local_data.data.k_action = g_action;
local_data.data.k_jump = g_jump;
local_data.data.k_attack = g_attack;
local_data.data.k_throw = g_throw;
local_data.flush();
gotoAndStop (350);
}
};
Key.addListener(keyListener);
stop();
Frame 353
gotoAndPlay (352);
Frame 371
socean.stop();
if (loadgame == false) {
gotoAndPlay (379);
} else {
if (g_gameprogress > 7) {
g_boomiebits = 1;
}
gotoAndPlay (922);
}
Frame 372
qualityholder = _quality;
_quality = "HIGH";
Frame 379
if (g_music == 0) {
sneedle = new Sound();
sneedle.attachSound("needle");
sbgm = new Sound();
sbgm.attachSound("bf_part2");
sbgm.start(0, 2);
}
if (g_sound == 0) {
sGrassyStep3 = new Sound();
sGrassyStep3.attachSound("GrassyStep3");
sGrassyStep4 = new Sound();
sGrassyStep4.attachSound("GrassyStep4");
sswordcut = new Sound();
sswordcut.attachSound("swordcut");
sswingknife = new Sound();
sswingknife.attachSound("swingknife");
sskidshort = new Sound();
sskidshort.attachSound("skidshort");
sSwipe = new Sound();
sSwipe.attachSound("Swipe");
sSwipe2 = new Sound();
sSwipe2.attachSound("Swipe2");
}
Frame 390
sGrassyStep3.start();
Frame 397
sGrassyStep4.start();
Frame 404
sGrassyStep3.start();
Frame 411
sGrassyStep3.start();
Frame 417
sGrassyStep3.start();
Frame 424
sGrassyStep4.start();
Frame 431
sGrassyStep4.start();
Frame 438
sGrassyStep3.start();
Frame 445
sGrassyStep4.start();
Frame 452
sGrassyStep4.start();
Frame 462
sGrassyStep3.start();
Frame 469
sGrassyStep4.start();
Frame 474
sGrassyStep4.start();
Frame 481
sGrassyStep3.start();
Frame 488
sGrassyStep3.start();
Frame 495
sGrassyStep4.start();
Frame 500
sGrassyStep3.start();
Frame 507
sGrassyStep3.start();
Frame 511
sGrassyStep3.start();
Frame 514
sGrassyStep4.start();
Frame 518
sGrassyStep4.start();
Frame 521
sGrassyStep3.start();
Frame 525
sGrassyStep3.start();
Frame 528
sswordcut.start();
Frame 533
sGrassyStep3.start();
Frame 539
sGrassyStep4.start();
Frame 543
sskidshort.start();
Frame 547
sGrassyStep3.start();
Frame 552
sGrassyStep3.start();
Frame 554
sswingknife.start();
Frame 556
sGrassyStep3.start();
Frame 561
sGrassyStep3.start();
Frame 565
sswordcut.start();
Frame 567
sGrassyStep4.start();
Frame 571
sGrassyStep4.start();
Frame 573
sskidshort.start();
Frame 579
sSwipe.start();
Frame 584
sGrassyStep3.start();
Frame 591
sGrassyStep4.start();
Frame 598
sGrassyStep3.start();
Frame 605
sGrassyStep3.start();
Frame 611
sGrassyStep3.start();
Frame 624
sswingknife.start();
Frame 627
if (g_sound == 0) {
stick = new Sound();
stick.attachSound("tick");
}
keyready = 0;
msgstring = "Miss Megavolte! Miss Megavolte! The village is under attack!";
msgpos = 0;
msgtimer = 0;
sswordcut.start();
Frame 628
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 629
if (msgtimer < 90) {
msgtimer = msgtimer + 1;
msgpos = msgpos + 2;
gotoAndPlay (628);
} else {
txtBox.text = "";
msgstring = "Beat it, kid! I'm busy!";
msgpos = 0;
msgtimer = 0;
}
Frame 630
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 631
if (msgtimer < 60) {
msgtimer = msgtimer + 1;
msgpos = msgpos + 2;
gotoAndPlay (630);
} else {
txtBox.text = "";
msgstring = "";
msgpos = 0;
msgtimer = 0;
}
Frame 633
sGrassyStep4.start();
Frame 641
sGrassyStep3.start();
Frame 643
sSwipe2.start();
Frame 656
sswingknife.start();
Frame 658
sswordcut.start();
Frame 661
sswordcut.start();
Frame 664
sswordcut.start();
Frame 667
sswordcut.start();
Frame 670
sswordcut.start();
Frame 673
sswordcut.start();
Frame 676
sswordcut.start();
Frame 679
sswordcut.start();
Frame 683
sswordcut.start();
Frame 689
sGrassyStep3.start();
Frame 696
sGrassyStep4.start();
Frame 702
sGrassyStep3.start();
Frame 708
sGrassyStep3.start();
Frame 713
sbgm.stop();
Frame 714
sneedle.start();
Frame 843
sGrassyStep3.start();
Frame 847
sGrassyStep4.start();
Frame 850
sGrassyStep4.start();
Frame 854
sGrassyStep3.start();
Frame 859
sGrassyStep3.start();
Frame 863
sGrassyStep3.start();
Frame 867
sGrassyStep4.start();
Frame 870
sGrassyStep4.start();
Frame 874
sGrassyStep3.start();
Frame 879
sGrassyStep3.start();
Frame 884
sGrassyStep3.start();
Frame 889
sGrassyStep3.start();
Frame 893
sGrassyStep3.start();
Frame 897
sGrassyStep3.start();
Frame 901
sGrassyStep4.start();
Frame 904
sGrassyStep4.start();
Frame 908
cango = false;
stop();
Frame 909
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 910
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (909);
}
Frame 922
M_STAND = 1;
M_RUN = 3;
M_SKID = 5;
M_JUMP = 7;
M_FALL = 9;
M_STAB = 11;
M_RSTAB = 13;
M_BLOCK = 15;
M_KICK = 17;
M_SKYDIVE = 19;
M_EXECUTE = 21;
M_UPPERCUT = 23;
M_DIE = 25;
M_BALANCE = 27;
M_TREAD = 29;
M_SWIM = 31;
M_DANCE = 33;
M_PUSH = 35;
M_HANG = 37;
M_CLIMB = 39;
M_HURT = 41;
B_WIDTH = 480;
B_HEIGHT = 360;
Floor._visible = false;
if (g_sound == 0) {
sSwipe = new Sound();
sSwipe.attachSound("Swipe");
sSwipe2 = new Sound();
sSwipe2.attachSound("Swipe2");
ssteprun2 = new Sound();
ssteprun2.attachSound("steprun2");
sskidshort = new Sound();
sskidshort.attachSound("skidshort");
spunchhit = new Sound();
spunchhit.attachSound("punchhit");
spunchhit2 = new Sound();
spunchhit2.attachSound("punchhit2");
ssplash = new Sound();
ssplash.attachSound("splash");
sBubbles = new Sound();
sBubbles.attachSound("Bubbles");
simpale = new Sound();
simpale.attachSound("impale");
sbthirst = new Sound();
sbthirst.attachSound("bthirst");
scrit = new Sound();
scrit.attachSound("crit");
sGrassyStep3 = new Sound();
sGrassyStep3.attachSound("GrassyStep3");
sGrassyStep4 = new Sound();
sGrassyStep4.attachSound("GrassyStep4");
sswingknife = new Sound();
sswingknife.attachSound("swingknife");
sbones = new Sound();
sbones.attachSound("bones");
sSwordhit = new Sound();
sSwordhit.attachSound("Swordhit");
sswordcut = new Sound();
sswordcut.attachSound("swordcut");
sbang1 = new Sound();
sbang1.attachSound("bang1");
sboingreduced = new Sound();
sboingreduced.attachSound("boingreduced");
sSlowWhoosh = new Sound();
sSlowWhoosh.attachSound("SlowWhoosh");
ssplash_1 = new Sound();
ssplash_1.attachSound("splash_1");
sflowing = new Sound(mcflowing);
sflowing.attachSound("flowing");
stomb = new Sound();
stomb.attachSound("tomb");
sclang = new Sound();
sclang.attachSound("clang");
stick = new Sound();
stick.attachSound("tick");
sthud = new Sound();
sthud.attachSound("thud");
ssquish = new Sound();
ssquish.attachSound("squish");
slock = new Sound();
slock.attachSound("lock");
sgemroar = new Sound();
sgemroar.attachSound("gemroar");
slaser1 = new Sound();
slaser1.attachSound("laser1");
}
if (g_music == 0) {
sbgm = new Sound();
}
ENEINDEX = 0;
Frame 923
if ((g_music == 0) && (g_saveloc == 0)) {
switch (g_gameprogress) {
case 0 :
sbgm.attachSound("mm6_Trouble");
break;
case 1 :
sbgm.attachSound("mm6_Trouble");
break;
case 2 :
sbgm.attachSound("mm6_Trouble");
break;
case 3 :
sbgm.attachSound("mm6_TernaVillage");
break;
case 4 :
sbgm.attachSound("mm6_Sparkleshine");
break;
case 8 :
sbgm.attachSound("mm6_SparkleBoss");
break;
case 9 :
sbgm.attachSound("mm6_Sparkleshine");
break;
}
sbgm.start(0, 9999);
}
soundtimer = 0;
deathtimer = 0;
fadetoblack = 0;
skidtimer = 0;
dancetimer = 0;
stonesound = 0;
wallkick = 0;
nextscene = "";
nospawn = 0;
cutcontrol = false;
WaterFore._y = 600;
WaterFore._yscale = 100;
WaterFore_y = 3000;
WaterFore_level = 3000;
WaterFore._visible = false;
watersound = 0;
msgstring = "";
msgpos = 0;
var conversation = Array(50);
conv_holder = 0;
cango = false;
keyready = false;
a = 0;
while (a <= 49) {
conversation[a * 2] = "";
conversation[(a * 2) + 1] = 1;
a++;
}
pContainer.removeMovieClip();
if (g_char == 0) {
if (((((g_costume != 2) && (g_costume != 4)) && (g_costume != 7)) && (g_costume != 8)) && (g_costume != 9)) {
pContainer.attachMovie("MillieContainer", "pChild", 0);
} else {
pContainer.attachMovie("MillieDressContainer", "pChild", 0);
}
} else if (g_char == 1) {
pContainer.attachMovie("LanceContainer", "pChild", 0);
}
if (g_char == 0) {
nPlate.gotoAndStop(1);
} else {
nPlate.gotoAndStop(4);
}
pContainer.health = pContainer.pChild.maxhealth;
pContainer.alive = true;
pContainer.rage = 0;
pContainer.berserk = false;
pContainer.runspeed = 0;
pContainer.velocity = 0;
pContainer.ready = 0;
rock0.myx = -940;
rock0.myy = -256;
a = 0;
while (a < 5) {
_root["hang" + a].myx = -100;
_root["hang" + a].myy = -100;
_root["hang" + a].gotoAndStop(1);
_root["bounce" + a].myx = -100;
_root["bounce" + a].myy = -100;
_root["uCatcher" + a].myx = -100;
_root["uCatcher" + a].myy = -100;
_root["uCatcher" + a]._xscale = 100;
_root["uCatcher" + a]._visible = false;
_root["npc" + a].myx = -100;
_root["npc" + a].myy = -100;
_root["npc" + a].dir = false;
_root["npc" + a].baseNPC = 1;
_root["npc" + a].gotoAndStop(1);
if (a < 3) {
_root["switch" + a].myx = -100;
_root["switch" + a].myy = -100;
_root["switch" + a].mystate = false;
}
a++;
}
a = 0;
while (a < 10) {
_root["Ene" + a].removeMovieClip();
_root["Ene" + a]._x = -1000;
_root["Ene" + a].myx = -1000;
_root["Ene" + a]._y = -1000;
_root["Ene" + a].myy = -1000;
_root["Ene" + a].health = 10;
_root["Ene" + a].alive = true;
_root["Ene" + a].active = false;
_root["Ene" + a].flicker = 0;
a++;
}
if (g_saveloc == 0) {
if (g_gameprogress == 0) {
Millie_x = 260;
Millie_y = 480;
Floor.gotoAndStop(7);
Fore.gotoAndStop(7);
bFore.gotoAndStop(7);
para0.gotoAndStop(3);
para1.gotoAndStop(2);
uCatcher0.myx = 830;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
ENEINDEX = 1;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 926;
Ene0.myy = 480;
Ene0.dir = true;
} else if (g_gameprogress == 1) {
Millie_x = 800;
Millie_y = 480;
Floor.gotoAndStop(7);
Fore.gotoAndStop(7);
bFore.gotoAndStop(7);
para0.gotoAndStop(2);
para1.gotoAndStop(2);
uCatcher0.myx = 830;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
ENEINDEX = 1;
g_costume = 1;
if (g_char == 0) {
Ene0.attachMovie("Boss_LanceCont", "EneChild", 0);
pContainer.berserk = true;
pContainer.rage = 30;
} else {
Ene0.attachMovie("Boss_MillieCont", "EneChild", 0);
}
Ene0.myx = 926;
Ene0.myy = 480;
Ene0.dir = true;
} else if (g_gameprogress == 2) {
Millie_x = 800;
Millie_y = 480;
Floor.gotoAndStop(7);
Fore.gotoAndStop(7);
bFore.gotoAndStop(7);
para0.gotoAndStop(2);
para1.gotoAndStop(2);
uCatcher0.myx = 830;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
ENEINDEX = 1;
if (g_char == 0) {
Ene0.attachMovie("Boss_LanceCont", "EneChild", 0);
} else {
g_costume = 2;
Ene0.attachMovie("Boss_MillieDressCont", "EneChild", 0);
}
Ene0.myx = 926;
Ene0.myy = 480;
Ene0.dir = true;
} else if (g_gameprogress == 3) {
Millie_x = 260;
Millie_y = 480;
Floor.gotoAndStop(7);
Fore.gotoAndStop(7);
bFore.gotoAndStop(7);
para0.gotoAndStop(2);
para1.gotoAndStop(2);
uCatcher0.myx = 830;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
ENEINDEX = 2;
Ene0.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene0.myx = 926;
Ene0.myy = 480;
Ene1.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene1.myx = 500;
Ene1.myy = 480;
} else if (g_gameprogress == 4) {
Millie_x = 368;
Millie_y = 8;
Floor.gotoAndStop(15);
Fore.gotoAndStop(15);
bFore.gotoAndStop(15);
para0.gotoAndStop(4);
para1.gotoAndStop(4);
uCatcher0.myx = 256;
uCatcher0.myy = 608;
uCatcher0._xscale = 200;
uCatcher1.myx = 384;
uCatcher1.myy = 608;
uCatcher1._xscale = 200;
ENEINDEX = 0;
} else if (g_gameprogress == 8) {
Millie_x = 576;
Millie_y = 928;
Floor.gotoAndStop(30);
Fore.gotoAndStop(30);
bFore.gotoAndStop(30);
para0.gotoAndStop(4);
para1.gotoAndStop(4);
ENEINDEX = 7;
Ene0.attachMovie("objSpikes", "EneChild", 0);
Ene0.myx = 448;
Ene0.myy = 1216;
Ene1.attachMovie("objSpikes", "EneChild", 0);
Ene1.myx = 512;
Ene1.myy = 1216;
Ene2.attachMovie("Boss_GemHeadCont", "EneChild", 0);
Ene2.myx = 352;
Ene2.myy = 928;
Ene3.attachMovie("Ene_BounceRockCont", "EneChild", 0);
Ene4.attachMovie("Ene_BounceRockCont", "EneChild", 0);
Ene5.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene6.attachMovie("Ene_GemGelCont", "EneChild", 0);
} else if (g_gameprogress == 9) {
Millie_x = 576;
Millie_y = 928;
Floor.gotoAndStop(30);
Fore.gotoAndStop(30);
bFore.gotoAndStop(30);
para0.gotoAndStop(4);
para1.gotoAndStop(4);
ENEINDEX = 2;
Ene0.attachMovie("objSpikes", "EneChild", 0);
Ene0.myx = 448;
Ene0.myy = 1216;
Ene1.attachMovie("objSpikes", "EneChild", 0);
Ene1.myx = 512;
Ene1.myy = 1216;
}
} else if (g_saveloc == 1) {
sbgm.attachSound("mm6_TernaVillage");
sbgm.start(0, 9999);
g_saveloc = 0;
Millie_x = 420;
Millie_y = 352;
Floor.gotoAndStop(4);
Fore.gotoAndStop(4);
bFore.gotoAndStop(4);
para0.gotoAndStop(1);
para1.gotoAndStop(1);
ENEINDEX = 0;
uCatcher0.myx = 73;
uCatcher0.myy = 352;
uCatcher0._xscale = 200;
uCatcher1.myx = 170;
uCatcher1.myy = 352;
uCatcher1._xscale = 100;
uCatcher2.myx = 265;
uCatcher2.myy = 352;
uCatcher2._xscale = 200;
uCatcher3.myx = 379;
uCatcher3.myy = 352;
uCatcher3._xscale = 500;
} else if (g_saveloc == 2) {
sbgm.attachSound("mm6_Sparkleshine");
sbgm.start(0, 9999);
g_saveloc = 0;
Millie_x = 416;
Millie_y = 608;
Floor.gotoAndStop(15);
Fore.gotoAndStop(15);
bFore.gotoAndStop(15);
para0.gotoAndStop(4);
para1.gotoAndStop(4);
ENEINDEX = 0;
uCatcher0.myx = 256;
uCatcher0.myy = 608;
uCatcher0._xscale = 200;
uCatcher1.myx = 384;
uCatcher1.myy = 608;
uCatcher1._xscale = 200;
} else if (g_saveloc == 3) {
sbgm.attachSound("mm6_Sparkleshine");
sbgm.start(0, 9999);
g_saveloc = 0;
Millie_x = 832;
Millie_y = 448;
Floor.gotoAndStop(25);
Fore.gotoAndStop(25);
bFore.gotoAndStop(25);
para0.gotoAndStop(4);
para1.gotoAndStop(4);
uCatcher0.myx = 608;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
uCatcher1.myx = 352;
uCatcher1.myy = 416;
uCatcher1._xscale = 300;
uCatcher2.myx = 800;
uCatcher2.myy = 448;
uCatcher2._xscale = 200;
ENEINDEX = 1;
Ene0.attachMovie("objBlockRock", "EneChild", 0);
Ene0.myx = 1536;
Ene0.myy = 480;
} else if (g_saveloc == 4) {
sbgm.attachSound("mm6_Sparkleshine");
sbgm.start(0, 9999);
g_saveloc = 0;
Millie_x = 1728;
Millie_y = 320;
Floor.gotoAndStop(29);
Fore.gotoAndStop(29);
bFore.gotoAndStop(29);
para0.gotoAndStop(4);
para1.gotoAndStop(4);
uCatcher0.myx = 1696;
uCatcher0.myy = 320;
uCatcher0._xscale = 200;
ENEINDEX = 3;
Ene0.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene0.myx = 748;
Ene0.myy = 512;
Ene1.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene1.myx = 1058;
Ene1.myy = 416;
Ene2.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene2.myx = 1388;
Ene2.myy = 352;
}
switch (Floor._currentframe) {
case 1 :
pContainer._xscale = 120;
pContainer._yscale = 120;
break;
case 2 :
pContainer._xscale = 120;
pContainer._yscale = 120;
break;
case 3 :
pContainer._xscale = 150;
pContainer._yscale = 150;
break;
case 4 :
pContainer._xscale = 150;
pContainer._yscale = 150;
break;
case 5 :
pContainer._xscale = 150;
pContainer._yscale = 150;
break;
default :
pContainer._xscale = 100;
pContainer._yscale = 100;
}
es = 0;
while (es < ENEINDEX) {
_root["Ene" + es].health = _root["Ene" + es].EneChild.health;
_root["Ene" + es].alive = true;
_root["Ene" + es].active = true;
_root["Ene" + es].walkspeed = _root["Ene" + es].EneChild.walkspeed;
es++;
}
Frame 924
function pContainerEvents() {
if (Key.isDown(16)) {
trace((Ene4.myx + " ") + Ene5.myx);
}
if (((Key.isDown(g_up) && (Key.isDown(g_down) == false)) && (GrassCollide(0))) && (pContainer.hanging == 0)) {
pContainer.atktype = 0;
pContainer.velocity = 0;
pContainer.ready = 0;
pContainer.hanging = 1;
if ((Math.random() * 2) > 1) {
sGrassyStep3.start();
} else {
sGrassyStep4.start();
}
}
if (((pContainer.swimming != 0) && (Key.isDown(g_down))) && (g_candive == 1)) {
pContainer.swimming = 0;
}
if (((pContainer.hanging == 1) && (Key.isDown(g_down))) && (Key.isDown(g_up) == false)) {
pContainer.hanging = 0;
}
if (Key.isDown(g_jump) && (pContainer.swimming != 2)) {
if (((pContainer.velocity == 0) && (pContainer.ready == 0)) && (pContainer.hanging == 0)) {
if (Key.isDown(g_down) == false) {
pContainer.atktype = 0;
pContainer.atimer = 0;
pContainer.velocity = -pContainer.pChild.jumpinit;
sSlowWhoosh.start();
} else if ((Key.isDown(g_down) && (pContainer.rage == 30)) && (pContainer.berserk == false)) {
if ((g_char == 0) || ((g_char == 1) && (g_lberserk == 1))) {
scrit.start();
pContainer.berserk = true;
if (g_char == 0) {
if (g_costume == 0) {
g_costume = 1;
}
if (g_costume == 2) {
g_costume = 3;
}
nPlate.gotoAndStop(2);
} else {
nPlate.gotoAndStop(5);
}
}
}
} else if ((g_wallkick == 1) && (Millie_y > 0)) {
if ((((pContainer.dir && (CollisionDetect(dLeft_x, dLeft_y))) && (CollisionDetect(dLeft_x, dDown_y))) && (Key.isDown(g_left))) && (wallkick != 1)) {
sthud.start();
pContainer.runspeed = 15;
pContainer.velocity = -pContainer.pChild.jumpinit;
wallkick = 1;
pContainer.atktype = 0;
pContainer.diveready = 0;
} else if (((((pContainer.dir == false) && (CollisionDetect(dRight_x, dRight_y))) && (CollisionDetect(dRight_x, dDown_y))) && (Key.isDown(g_right))) && (wallkick != 2)) {
sthud.start();
pContainer.runspeed = -15;
pContainer.velocity = -pContainer.pChild.jumpinit;
wallkick = 2;
pContainer.atktype = 0;
pContainer.diveready = 0;
}
}
}
if ((((((g_boomiebits == 1) && (Key.isDown(g_throw))) && (pContainer.rage >= 15)) && (objBits.inuse == false)) && (pContainer.hanging == 0)) && (pContainer.swimming == 0)) {
sSwipe.start();
pContainer.rage = pContainer.rage - 15;
objBits.myx = Millie_x;
objBits.myy = Millie_y - 50;
objBits.inuse = true;
objBits.gotoAndStop(2);
objBits.xvel = 0;
objBits.yvel = 0;
if (pContainer.dir == false) {
objBits.xvel = 20;
} else {
objBits.xvel = -20;
}
objBits.yvel = -5;
if (Key.isDown(g_up) && (Key.isDown(g_down) == false)) {
objBits.xvel = 0;
objBits.yvel = -20;
}
if ((Key.isDown(g_up) == false) && (Key.isDown(g_down))) {
objBits.xvel = 0;
objBits.yvel = 20;
}
}
if ((Key.isDown(g_attack) && (pContainer.swimming == 0)) && (pContainer.hanging == 0)) {
if ((pContainer.ready == 0) && (pContainer.velocity == 0)) {
if (((Math.abs(pContainer.runspeed) >= pContainer.pChild.maxrun) && (pContainer.pChild._currentframe != M_SKID)) && (pContainer.pChild._currentframe != (M_SKID + 1))) {
if (pContainer.atktype != 2) {
pContainer.atktype = 2;
pContainer.atimer = 1;
sswingknife.start();
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_RSTAB + 1);
} else {
pContainer.pChild.gotoAndStop(M_RSTAB);
}
} else if (((pContainer.runspeed == 0) && (Key.isDown(g_up) == false)) && ((Key.isDown(g_down) == false) || (Key.isDown(g_down) && (pContainer.rage < 10)))) {
if (pContainer.atktype != 1) {
pContainer.atktype = 1;
pContainer.atimer = 1;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_STAB + 1);
} else {
pContainer.pChild.gotoAndStop(M_STAB);
}
} else if ((Key.isDown(g_up) && (Key.isDown(g_down) == false)) && (pContainer.runspeed == 0)) {
if (pContainer.atktype != 3) {
pContainer.atktype = 3;
pContainer.atimer = 1;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_BLOCK + 1);
} else {
pContainer.pChild.gotoAndStop(M_BLOCK);
}
} else if ((Key.isDown(g_down) && (Key.isDown(g_up) == false)) && (pContainer.runspeed == 0)) {
if (pContainer.rage < 10) {
pContainer.atktype = 0;
} else {
if (pContainer.atktype != 4) {
pContainer.atktype = 4;
pContainer.atimer = 1;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_KICK + 1);
} else {
pContainer.pChild.gotoAndStop(M_KICK);
}
}
}
} else if (pContainer.ready == 1) {
if ((((Key.isDown(g_down) && (pContainer.rage > 9)) == false) && ((Key.isDown(g_up) && (pContainer.rage > 1)) == false)) && (pContainer.diveready == 0)) {
if (pContainer.atktype != 5) {
pContainer.atktype = 5;
pContainer.atimer = 1;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_SKYDIVE + 1);
} else {
pContainer.pChild.gotoAndStop(M_SKYDIVE);
}
} else if (((Key.isDown(g_down) && (Key.isDown(g_up) == false)) && (pContainer.rage > 9)) && (pContainer.velocity > -2)) {
if ((pContainer.atktype != 6) && (pContainer.diveready == 0)) {
sSwipe.start();
pContainer.atktype = 6;
pContainer.atimer = 1;
pContainer.velocity = -8;
pContainer.diveready = 1;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_EXECUTE + 1);
} else {
pContainer.pChild.gotoAndStop(M_EXECUTE);
}
} else if (Key.isDown(g_up) && (pContainer.rage > 1)) {
if (pContainer.atktype != 7) {
sSwipe.start();
pContainer.atktype = 7;
pContainer.atimer = 1;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_UPPERCUT + 1);
} else {
pContainer.pChild.gotoAndStop(M_UPPERCUT);
}
}
}
}
if ((Key.isDown(g_left) && (Key.isDown(g_right) == false)) && (Millie_x > 8)) {
if (pContainer.runspeed > 0) {
pContainer.runspeed = pContainer.runspeed - (pContainer.rconst * 2);
if (pContainer.ready == 0) {
pContainer.atktype = 0;
if ((pContainer.watermult == 1) && (pContainer.hanging == 0)) {
pContainer.pChild.gotoAndStop(M_SKID);
if (skidtimer == 0) {
sskidshort.start();
skidtimer = 1;
}
}
}
} else if (pContainer.runspeed > (-pContainer.pChild.maxrun)) {
skidtimer = 0;
pContainer.runspeed = pContainer.runspeed - pContainer.rconst;
} else if ((pContainer.runspeed > ((-pContainer.pChild.maxrun) - 4)) && (pContainer.atktype == 2)) {
skidtimer = 0;
pContainer.runspeed = pContainer.runspeed - pContainer.rconst;
}
pContainer.dir = true;
if ((pContainer.ready == 0) && (pContainer.atktype == 0)) {
if ((pContainer.swimming == 0) && (pContainer.hanging == 0)) {
if (((pContainer.pChild._currentframe != (M_RUN + 1)) && (pContainer.pChild._currentframe != (M_PUSH + 1))) && (pContainer.runspeed < 0)) {
pContainer.pChild.gotoAndStop(M_RUN + 1);
}
} else if (pContainer.swimming > 0) {
if ((pContainer.pChild._currentframe != (M_SWIM + 1)) && (pContainer.runspeed < 0)) {
pContainer.pChild.gotoAndStop(M_SWIM + 1);
}
} else if (pContainer.hanging == 1) {
if ((pContainer.pChild._currentframe != (M_CLIMB + 1)) && (pContainer.runspeed < 0)) {
pContainer.pChild.gotoAndStop(M_CLIMB + 1);
}
}
}
} else if ((Key.isDown(g_right) && (Key.isDown(g_left) == false)) && (Millie_x < (Floor._width - 8))) {
if (pContainer.runspeed < 0) {
pContainer.runspeed = pContainer.runspeed + (pContainer.rconst * 2);
if (pContainer.ready == 0) {
pContainer.atktype = 0;
if ((pContainer.watermult == 1) && (pContainer.hanging == 0)) {
pContainer.pChild.gotoAndStop(M_SKID + 1);
if (skidtimer == 0) {
skidtimer = 1;
sskidshort.start();
}
}
}
} else if (pContainer.runspeed < pContainer.pChild.maxrun) {
skidtimer = 0;
pContainer.runspeed = pContainer.runspeed + pContainer.rconst;
} else if ((pContainer.runspeed < (pContainer.pChild.maxrun + 4)) && (pContainer.atktype == 2)) {
skidtimer = 0;
pContainer.runspeed = pContainer.runspeed + pContainer.rconst;
}
pContainer.dir = false;
if ((pContainer.ready == 0) && (pContainer.atktype == 0)) {
if ((pContainer.swimming == 0) && (pContainer.hanging == 0)) {
if (((pContainer.pChild._currentframe != M_RUN) && (pContainer.pChild._currentframe != M_PUSH)) && (pContainer.runspeed > 0)) {
pContainer.pChild.gotoAndStop(M_RUN);
}
} else if (pContainer.swimming > 0) {
if ((pContainer.pChild._currentframe != M_SWIM) && (pContainer.runspeed > 0)) {
pContainer.pChild.gotoAndStop(M_SWIM);
}
} else if (pContainer.hanging == 1) {
if ((pContainer.pChild._currentframe != M_CLIMB) && (pContainer.runspeed > 0)) {
pContainer.pChild.gotoAndStop(M_CLIMB);
}
}
}
}
}
function pContainerHandler() {
if (pContainer.ready == 0) {
stopper = 0;
while ((CollisionDetect(Millie_x, Millie_y) && (CollisionDetect(dUp_x, dUp_y) == false)) && (stopper < 32)) {
stopper = stopper + 1;
Millie_y = Millie_y - 1;
pContainer.ready = 0;
wallkick = 0;
pContainer.diveready = 0;
}
stopper = 0;
while (((CollisionDetect(Millie_x, Millie_y + 1, true) == false) && (CollisionDetect(dDown_x, dDown_y) == true)) && (stopper < 32)) {
stopper = stopper + 1;
Millie_y = Millie_y + 1;
pContainer.ready = 0;
wallkick = 0;
pContainer.diveready = 0;
}
}
if ((pContainer.velocity != 0) && (pContainer.ready == 0)) {
pContainer.ready = 1;
}
if ((Millie_y < WaterFore_y) && (pContainer.watermult == 0.5)) {
pContainer.swimming = 0;
pContainer.watermult = 1;
}
if ((Millie_y >= WaterFore_y) && (pContainer.watermult == 1)) {
pContainer.watermult = 0.5;
Millie_y = Millie_y + 2;
if (pContainer.velocity > 2) {
pContainer.velocity = 2;
}
ssplash.start();
}
if ((((((Millie_y > (WaterFore_y + 40)) && (Millie_y < (WaterFore_y + 50))) && (pContainer.velocity > -1)) && (pContainer.swimming != 1)) && ((g_candive == 0) || (pContainer.atktype != 6))) && ((g_candive == 0) || (Key.isDown(g_down) == false))) {
pContainer.atktype = 0;
pContainer.swimming = 1;
}
if ((((Millie_y > (WaterFore_y + 50)) && (pContainer.swimming == 0)) && (g_candive == 0)) && (pContainer.velocity > 0)) {
pContainer.atktype = 0;
pContainer.swimming = 2;
}
if ((Millie_y < (WaterFore_y + 40)) && (pContainer.swimming != 0)) {
pContainer.swimming = 0;
}
if (pContainer.hanging == 0) {
if ((pContainer.swimming != 2) && (pContainer.ready == 0)) {
if ((CollisionDetect(Millie_x, Millie_y + 2) == false) && (pContainer.velocity == 0)) {
pContainer.velocity = 2;
}
} else if (pContainer.swimming == 2) {
if ((CollisionDetect(dUp_x, dUp_y - 2) == false) && (pContainer.velocity == 0)) {
pContainer.velocity = -2;
}
}
}
if (pContainer.runspeed != 0) {
a = 0;
while (a < ENEINDEX) {
if (((_root["Ene" + a].hitTest(pContainer._x - 16, pContainer._y - 40) || (_root["Ene" + a].hitTest(pContainer._x + 16, pContainer._y - 40))) && (Math.abs(_root["Ene" + a].myx - Millie_x) < 128)) && (_root["Ene" + a].alive)) {
if ((pContainer.runspeed < 0) && (_root["Ene" + a].myx < Millie_x)) {
pContainer.runspeed = 0;
}
if ((pContainer.runspeed > 0) && (_root["Ene" + a].myx > Millie_x)) {
pContainer.runspeed = 0;
}
}
a++;
}
waterref = pContainer.runspeed * pContainer.watermult;
if (((CollisionDetectSpecial(dLeft_x, dLeft_y) && (rock0.myx > 16)) && (CollisionDetect(rock0.myx - 33, rock0.myy - 16) == false)) && (pContainer.runspeed < 0)) {
pContainer.runspeed = -1;
rock0.myx = rock0.myx - 1;
if (pContainer.velocity == 0) {
pContainer.pChild.gotoAndStop(M_PUSH + 1);
}
if (stonesound == 0) {
stomb.start();
stonesound = 1;
}
} else if (((CollisionDetectSpecial(dRight_x, dRight_y) && (rock0.myx < (Floor._width - 16))) && (CollisionDetect(rock0.myx + 33, rock0.myy - 16) == false)) && (pContainer.runspeed > 0)) {
pContainer.runspeed = 1;
rock0.myx = rock0.myx + 1;
if (pContainer.velocity == 0) {
pContainer.pChild.gotoAndStop(M_PUSH);
}
if (stonesound == 0) {
stomb.start();
stonesound = 1;
}
} else if (((CollisionDetect(dLeft_x, dLeft_y) || (CollisionDetect(dLeft_x, dUp_y))) && (pContainer.runspeed < 0)) || ((CollisionDetect(dRight_x, dRight_y) || (CollisionDetect(dRight_x, dUp_y))) && (pContainer.runspeed > 0))) {
pContainer.runspeed = 0;
}
if ((Millie_x + pContainer.runspeed) < 8) {
Millie_x = 8;
pContainer.runspeed = 0;
}
if ((Millie_x + pContainer.runspeed) > (Floor._width - 8)) {
Millie_x = Floor._width - 8;
pContainer.runspeed = 0;
}
if ((pContainer.hanging == 1) && (pContainer.runspeed != 0)) {
if (pContainer.dir && (Key.isDown(g_left))) {
pContainer.runspeed = -3;
} else if ((pContainer.dir == false) && (Key.isDown(g_right))) {
pContainer.runspeed = 3;
}
if (GrassCollide(pContainer.runspeed) == false) {
pContainer.runspeed = 0;
}
}
if ((pContainer.atktype == 3) || (pContainer.atktype == 4)) {
pContainer.runspeed = 0;
}
Millie_x = Millie_x + (pContainer.runspeed * pContainer.watermult);
if (((Key.isDown(g_left) == false) && (Key.isDown(g_right) == false)) || (pContainer.alive == false)) {
if (pContainer.runspeed > 0) {
pContainer.runspeed = pContainer.runspeed - 1;
} else if (pContainer.runspeed < 0) {
pContainer.runspeed = pContainer.runspeed + 1;
}
if ((Math.abs(pContainer.runspeed) > 0) && (Math.abs(pContainer.runspeed) < 1)) {
pContainer.runspeed = 0;
}
}
if (((Math.abs(pContainer.runspeed) > pContainer.pChild.maxrun) && (pContainer.velocity == 0)) && (pContainer.atktype != 2)) {
if (pContainer.runspeed > 0) {
pContainer.runspeed = pContainer.runspeed - 1;
} else {
pContainer.runspeed = pContainer.runspeed + 1;
}
}
}
if (((pContainer.velocity < -8) && (Key.isDown(g_jump) == false)) && (pContainer.swimming != 2)) {
pContainer.velocity = -8;
}
if ((pContainer.ready == 1) && (pContainer.velocity < 1)) {
Millie_y = Millie_y + pContainer.velocity;
if (pContainer.atktype == 0) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_JUMP + 1);
} else {
pContainer.pChild.gotoAndStop(M_JUMP);
}
}
}
if (CollisionDetect(dUp_x, dUp_y + pContainer.velocity) && (pContainer.hanging == 0)) {
groundsetter = 0;
while ((CollisionDetect(dUp_x, dUp_y + groundsetter) == false) && (groundsetter > pContainer.velocity)) {
groundsetter = groundsetter - 1;
}
Millie_y = Millie_y + (groundsetter + 1);
if (pContainer.velocity < 0) {
pContainer.velocity = 2;
}
if (pContainer.swimming != 0) {
Millie_y = Millie_y + 1;
pContainer.swimming = 2;
}
}
if (CollisionDetect(Millie_x, Millie_y + pContainer.velocity) && (pContainer.ready == 1)) {
pContainer.velocity = 0;
pContainer.ready = 0;
wallkick = 0;
pContainer.diveready = 0;
groundsetter = 0;
while (CollisionDetect(Millie_x, Millie_y + groundsetter) == false) {
groundsetter = groundsetter + 1;
}
Millie_y = Millie_y + groundsetter;
if (pContainer.dir == false) {
pContainer.pChild.gotoAndStop(M_STAND);
} else {
pContainer.pChild.gotoAndStop(M_STAND + 1);
}
if (pContainer.swimming == 0) {
if ((Math.random() * 2) > 1) {
sGrassyStep3.start();
} else {
sGrassyStep4.start();
}
}
}
if (pContainer.velocity > 0) {
Millie_y = Millie_y + (pContainer.velocity * pContainer.watermult);
if (pContainer.atktype == 0) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_FALL + 1);
} else {
pContainer.pChild.gotoAndStop(M_FALL);
}
}
}
if (((pContainer.ready == 0) && (pContainer.runspeed == 0)) && (pContainer.atktype == 0)) {
dancetimer = dancetimer + 1;
if (pContainer.alive) {
if ((pContainer.swimming == 0) && (pContainer.hanging == 0)) {
if ((CollisionDetect(Millie_x + 16, Millie_y + 8) == false) && (pContainer.dir == false)) {
pContainer.pChild.gotoAndStop(M_BALANCE);
} else if ((CollisionDetect(Millie_x - 16, Millie_y + 8) == false) && (pContainer.dir)) {
pContainer.pChild.gotoAndStop(M_BALANCE + 1);
} else if (((pContainer.health / pContainer.pChild.maxhealth) * 100) <= 10) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_HURT + 1);
} else {
pContainer.pChild.gotoAndStop(M_HURT);
}
} else if (dancetimer > 899) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_DANCE + 1);
} else {
pContainer.pChild.gotoAndStop(M_DANCE);
}
} else if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_STAND + 1);
} else {
pContainer.pChild.gotoAndStop(M_STAND);
}
} else if (pContainer.swimming > 0) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_TREAD + 1);
} else {
pContainer.pChild.gotoAndStop(M_TREAD);
}
} else if (pContainer.hanging == 1) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_HANG + 1);
} else {
pContainer.pChild.gotoAndStop(M_HANG);
}
}
} else if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_DIE + 1);
} else {
pContainer.pChild.gotoAndStop(M_DIE);
}
} else {
dancetimer = 0;
}
if (pContainer.flicker > 0) {
pContainer.flicker = pContainer.flicker - 1;
if (pContainer._visible) {
pContainer._visible = false;
} else {
pContainer._visible = true;
}
}
if ((pContainer.flicker == 0) && (pContainer._visible == false)) {
pContainer._visible = true;
}
if ((pContainer.swimming != 2) && (pContainer.ready == 1)) {
if (pContainer.velocity < 30) {
pContainer.velocity = pContainer.velocity + 1;
}
if (pContainer.velocity == 0) {
pContainer.velocity = 2;
}
} else if (pContainer.swimming == 2) {
if ((pContainer.velocity > -10) && (pContainer.velocity != 0)) {
pContainer.velocity = pContainer.velocity - 1;
}
}
if ((pContainer.atimer > 0) && (pContainer.atktype != 0)) {
pContainer.atimer = pContainer.atimer + 1;
}
if ((pContainer.atimer > 18) && (pContainer.atktype == 1)) {
pContainer.atimer = 0;
pContainer.atktype = 0;
}
if ((pContainer.atimer > 11) && (pContainer.atktype == 4)) {
pContainer.atimer = 0;
pContainer.atktype = 0;
}
if ((pContainer.atimer == 8) && (pContainer.atktype == 6)) {
pContainer.velocity = 20;
}
if ((pContainer.atktype == 1) && ((pContainer.atimer == 2) || (pContainer.atimer == 9))) {
sswingknife.start();
}
if ((pContainer.atktype == 4) && (pContainer.atimer == 4)) {
sSwipe.start();
}
if (Key.isDown(g_attack) == false) {
if ((pContainer.atktype == 1) || (pContainer.atktype == 4)) {
if (pContainer.atimer > 18) {
pContainer.atimer = 0;
pContainer.atktype = 0;
}
} else {
pContainer.atimer = 0;
pContainer.atktype = 0;
}
}
if ((((((pContainer.pChild._currentframe == M_RUN) || (pContainer.pChild._currentframe == (M_RUN + 1))) || (pContainer.pChild._currentframe == M_RSTAB)) || (pContainer.pChild._currentframe == (M_RSTAB + 1))) || (pContainer.pChild._currentframe == M_CLIMB)) || (pContainer.pChild._currentframe == (M_CLIMB + 1))) {
pContainer.rsound = pContainer.rsound + 1;
if (pContainer.hanging == 0) {
if ((pContainer.rsound == 5) || (pContainer.rsound == 15)) {
if ((Math.random() * 2) > 1) {
sGrassyStep3.start();
} else {
sGrassyStep4.start();
}
}
if (pContainer.rsound > 19) {
pContainer.rsound = 0;
}
} else {
if ((pContainer.rsound == 1) || (pContainer.rsound == 11)) {
if ((Math.random() * 2) > 1) {
sGrassyStep3.start();
} else {
sGrassyStep4.start();
}
}
if (pContainer.rsound > 21) {
pContainer.rsound = 0;
}
}
} else {
pContainer.rsound = 0;
}
if ((pContainer.pChild._currentframe == M_SWIM) || (pContainer.pChild._currentframe == (M_SWIM + 1))) {
pContainer.ssound = pContainer.ssound + 1;
if (pContainer.ssound == 1) {
ssplash_1.start();
}
if (pContainer.ssound > 25) {
pContainer.ssound = 0;
}
} else {
pContainer.ssound = 0;
}
if (pContainer.ragecounter > 0) {
pContainer.ragecounter = pContainer.ragecounter - 1;
}
if (((pContainer.rage > 0) && (pContainer.ragecounter == 0)) && (pContainer.berserk == true)) {
pContainer.rage = pContainer.rage - 1;
pContainer.ragecounter = 5;
}
if (pContainer.rage < 0) {
pContainer.rage = 0;
}
if (pContainer.berserk && (pContainer.rage <= 0)) {
sbang1.start();
pContainer.berserk = false;
if (g_costume == 1) {
g_costume = 0;
}
if (g_costume == 3) {
g_costume = 2;
}
if (g_char == 0) {
nPlate.gotoAndStop(1);
} else {
nPlate.gotoAndStop(4);
}
}
if ((pContainer.health <= 0) && (pContainer.alive == true)) {
simpale.start();
pContainer.atktype = 0;
pContainer.health = 0;
pContainer.rage = 0;
pContainer.flicker = 0;
pContainer._visible = true;
pContainer.hanging = 0;
pContainer.swimming = 0;
pContainer.alive = false;
if (g_char == 0) {
nPlate.gotoAndStop(3);
} else {
nPlate.gotoAndStop(6);
}
}
}
function BoomieHandler() {
if (objBits.xtimer > 0) {
objBits.xtimer = objBits.xtimer + 1;
if (objBits.xtimer == 2) {
sbang1.start();
if (pContainer.hitTest(objBits)) {
pContainer.flicker = 10;
pContainer.health = pContainer.health - 20;
}
a = 0;
while (a < ENEINDEX) {
if ((_root["Ene" + a].hitTest(objBits) && (_root["Ene" + a].bombimmune == false)) && (_root["Ene" + a].alive)) {
multiplier = 1;
if (pContainer.berserk) {
multiplier = 2;
}
switch (g_difficulty) {
case 1 :
multiplier = multiplier * 1.5;
break;
case 2 :
multiplier = multiplier * 0.8;
break;
case 3 :
multiplier = multiplier * 0.5;
break;
default :
multiplier = multiplier * 1;
}
_root["Ene" + a].health = _root["Ene" + a].health - Math.floor(30 * multiplier);
_root["Ene" + a].flicker = 10;
}
a++;
}
}
if (objBits.xtimer == 13) {
objBits.xtimer = 0;
objBits.xvel = 0;
objBits.yvel = 0;
objBits.myx = -100;
objBits.myy = -100;
objBits.inuse = false;
objBits.gotoAndStop(1);
}
} else {
objBits.myx = objBits.myx + objBits.xvel;
objBits.myy = objBits.myy + objBits.yvel;
if (objBits.yvel < 30) {
objBits.yvel = objBits.yvel + 1;
}
if ((CollisionDetect(objBits.myx, objBits.myy) || (objBits.myx < 0)) || (objBits.myx > Floor._width)) {
objBits.xtimer = 1;
objBits.gotoAndStop(3);
objBits.xvel = 0;
objBits.yvel = 0;
}
a = 0;
while (a < ENEINDEX) {
if (_root["Ene" + a].hitTest(objBits._x, objBits._y) && (_root["Ene" + a].alive)) {
objBits.xtimer = 1;
objBits.gotoAndStop(3);
objBits.xvel = 0;
objBits.yvel = 0;
}
a++;
}
}
}
function EnemyEvents(EneObj) {
if (EneObj.hitTest(pContainer) && (pContainer.alive)) {
if ((EneObj.EneChild.physimmune == false) && (((EneObj._x < pContainer._x) && (pContainer.dir)) || ((EneObj._x > pContainer._x) && (pContainer.dir == false)))) {
ragemult = 1;
if (pContainer.berserk) {
ragemult = 0;
}
multiplier = 1;
if (pContainer.berserk) {
multiplier = 2;
}
switch (g_difficulty) {
case 1 :
multiplier = multiplier * 1.5;
break;
case 2 :
multiplier = multiplier * 0.8;
break;
case 3 :
multiplier = multiplier * 0.5;
break;
default :
multiplier = multiplier * 1;
}
if ((pContainer.atktype == 1) && ((pContainer.atimer == 6) || (pContainer.atimer == 12))) {
EneObj.health = EneObj.health - Math.round((pContainer.pChild.atk / 2) * multiplier);
EneObj.flicker = 10;
pContainer.rage = pContainer.rage + (2 * ragemult);
pContainer.health = pContainer.health + (4 * (1 - ragemult));
sSwordhit.start();
}
if ((pContainer.atktype == 2) && (EneObj.flicker == 0)) {
EneObj.health = EneObj.health - Math.round(pContainer.pChild.atk * multiplier);
EneObj.flicker = 10;
pContainer.rage = pContainer.rage + (3 * ragemult);
pContainer.health = pContainer.health + (10 * (1 - ragemult));
pContainer.runspeed = 0;
sSwordhit.start();
} else if ((pContainer.atktype == 4) && (pContainer.atimer == 6)) {
EneObj.health = EneObj.health - Math.round(pContainer.pChild.atk * multiplier);
EneObj.flicker = 10;
pContainer.rage = pContainer.rage - (10 * ragemult);
if (EneObj.EneChild.cankick) {
if (Millie_x < EneObj.myx) {
EneObj.dir = false;
} else {
EneObj.dir = true;
}
}
if (EneObj.EneChild.atimer > 0) {
if (EneObj.dir) {
EneObj.EneChild.gotoAndStop(4);
} else {
EneObj.EneChild.gotoAndStop(3);
}
}
if ((Math.random() * 2) > 1) {
spunchhit.start();
} else {
spunchhit2.start();
}
} else if ((((pContainer.atktype == 5) && (EneObj.flicker == 0)) && (pContainer.velocity > 0)) && (Millie_y < (EneObj.myy + 40))) {
EneObj.health = EneObj.health - Math.round(pContainer.velocity * multiplier);
EneObj.flicker = 10;
pContainer.rage = pContainer.rage + (Math.round(pContainer.velocity / 2) * ragemult);
if (pContainer.berserk) {
pContainer.health = pContainer.health + Math.round(pContainer.velocity / 2);
}
sSwordhit.start();
} else if ((((pContainer.atktype == 6) && (EneObj.flicker == 0)) && (pContainer.velocity > 0)) && (Millie_y < (EneObj.myy + 40))) {
if (pContainer.berserk) {
EneObj.health = EneObj.health - Math.round(pContainer.pChild.atk * 6);
pContainer.rage = 0;
simpale.start();
} else {
EneObj.health = EneObj.health - Math.round(pContainer.pChild.atk * 2);
pContainer.rage = pContainer.rage - 10;
sbthirst.start();
}
EneObj.flicker = 10;
}
}
if (((pContainer.atktype == 7) && (EneObj.flicker == 0)) && (EneObj.EneChild.physimmune == false)) {
ragemult = 1;
if (pContainer.berserk) {
ragemult = 0;
}
multiplier = 1;
switch (g_difficulty) {
case 1 :
multiplier = multiplier * 1.5;
break;
case 2 :
multiplier = multiplier * 0.8;
break;
case 3 :
multiplier = multiplier * 0.5;
break;
default :
multiplier = multiplier * 1;
}
if (pContainer.berserk) {
EneObj.health = EneObj.health - Math.round((pContainer.pChild.atk / 1.5) * multiplier);
} else {
EneObj.health = EneObj.health - Math.ceil((pContainer.pChild.atk / 3) * multiplier);
}
EneObj.flicker = 4;
pContainer.rage = pContainer.rage - (2 * ragemult);
if (pContainer.berserk) {
pContainer.health = pContainer.health + 2;
}
sSwordhit.start();
}
if (((EneObj.EneChild.canattack && (pContainer.flicker == 0)) && (EneObj.EneChild.atimer == EneObj.EneChild.astrike)) && (((pContainer._x < EneObj._x) && (EneObj.dir)) || ((pContainer._x > EneObj._x) && (EneObj.dir == false)))) {
if (pContainer.hanging == 1) {
pContainer.hanging = 0;
Millie_y = Millie_y + 10;
}
if (((pContainer.atktype == 3) && (EneObj.EneChild.crusher == false)) && (((pContainer._x < EneObj._x) && (pContainer.dir == false)) || ((pContainer._x > EneObj._x) && (pContainer.dir)))) {
pContainer.flicker = 4;
sswordcut.start();
} else {
pContainer.flicker = 10;
sSwordhit.start();
diffmult = 1;
switch (g_difficulty) {
case 1 :
diffmult = 0.667;
break;
case 2 :
diffmult = 1.5;
break;
case 3 :
diffmult = 2;
break;
default :
diffmult = 1;
}
pContainer.health = pContainer.health - Math.ceil(EneObj.EneChild.atk * diffmult);
pContainer.rage = pContainer.rage + 5;
}
}
}
EnemyAct(EneObj.EneChild);
if (EneObj.EneChild.atimer > 0) {
EneObj.EneChild.atimer = EneObj.EneChild.atimer + 1;
}
if (EneObj.EneChild.atimer > EneObj.EneChild.amax) {
if (EneObj.dir) {
EneObj.EneChild.gotoAndStop(2);
} else {
EneObj.EneChild.gotoAndStop(1);
}
EneObj.EneChild.atimer = 0;
}
if (EneObj.flicker > 0) {
EneObj.flicker = EneObj.flicker - 1;
if (EneObj._visible) {
EneObj._visible = false;
} else {
EneObj._visible = true;
}
}
if ((EneObj.flicker == 0) && (EneObj._visible == false)) {
EneObj._visible = true;
}
if ((EneObj.health <= 0) && (EneObj.alive == true)) {
if (EneObj.dir) {
EneObj.EneChild.gotoAndStop(6);
} else {
EneObj.EneChild.gotoAndStop(5);
}
EneObj.alive = false;
EneObj.flicker = 0;
EneObj._visible = true;
EneObj.health = 0;
_root["s" + EneObj.EneChild.deathnoise].start();
if ((Math.random() * 2) > 1) {
pContainer.health = pContainer.health + 5;
}
}
}
function EnemyAct(Enemy) {
EnePar = Enemy._parent;
if ((Enemy.classname == "ground_walk") && (Enemy.atimer == 0)) {
if (((Enemy.atimer == 0) && (EnePar.hitTest(pContainer))) && (pContainer.alive)) {
if (Enemy.canturn) {
if ((EnePar._x < pContainer._x) && (EnePar.dir)) {
EnePar.dir = false;
} else if ((EnePar._x > pContainer._x) && (EnePar.dir == false)) {
EnePar.dir = true;
}
}
if (EnePar.dir) {
Enemy.gotoAndStop(4);
} else {
Enemy.gotoAndStop(3);
}
Enemy.atimer = 1;
} else {
if ((((pContainer.alive && (Millie_y > (EnePar.myy - EnePar._height))) && (Millie_y < (EnePar.myy + 10))) && (Millie_x > (EnePar.myx - 240))) && (Millie_x < (EnePar.myx + 240))) {
if (Millie_x < EnePar.myx) {
EnePar.dir = true;
} else {
EnePar.dir = false;
}
} else {
if (EnePar.dir && (((CollisionDetect(EnePar.myx - 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx - 10, EnePar.myy - 16, true))) || ((EnePar.myx - 10) < 16))) {
EnePar.dir = false;
}
if ((EnePar.dir == false) && (((CollisionDetect(EnePar.myx + 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx + 10, EnePar.myy - 16, true))) || ((EnePar.myx + 10) > (Floor._width - 16)))) {
EnePar.dir = true;
}
}
if (((EnePar.dir && ((CollisionDetect(EnePar.myx - 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx - 10, EnePar.myy - 16, true)))) == false) && (((EnePar.dir == false) && ((CollisionDetect(EnePar.myx + 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx + 10, EnePar.myy - 16, true)))) == false)) {
if (EnePar.dir) {
Enemy.gotoAndStop(2);
EnePar.myx = EnePar.myx - Enemy.walkspeed;
} else {
Enemy.gotoAndStop(1);
EnePar.myx = EnePar.myx + Enemy.walkspeed;
}
}
}
} else if ((Enemy.classname == "ground_facer") && (Enemy.atimer == 0)) {
if (((Enemy.atimer == 0) && (Math.abs(EnePar.myx - Millie_x) < EnePar._width)) && (pContainer.alive)) {
if (Enemy.canturn) {
if ((EnePar._x <= pContainer._x) && (EnePar.dir)) {
EnePar.dir = false;
} else if ((EnePar._x > pContainer._x) && (EnePar.dir == false)) {
EnePar.dir = true;
}
}
if (EnePar.dir) {
Enemy.gotoAndStop(4);
} else {
Enemy.gotoAndStop(3);
}
Enemy.atimer = 1;
} else {
if (pContainer.alive) {
if (Millie_x <= EnePar.myx) {
EnePar.dir = true;
}
if (Millie_x > EnePar.myx) {
EnePar.dir = false;
}
}
if (EnePar.dir && (((CollisionDetect(EnePar.myx - 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx - 10, EnePar.myy - 16, true))) || ((EnePar.myx - 10) < 16))) {
EnePar.dir = false;
}
if ((EnePar.dir == false) && (((CollisionDetect(EnePar.myx + 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx + 10, EnePar.myy - 16, true))) || ((EnePar.myx + 10) > (Floor._width - 16)))) {
EnePar.dir = true;
}
if (((EnePar.dir && ((CollisionDetect(EnePar.myx - 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx - 10, EnePar.myy - 16, true)))) == false) && (((EnePar.dir == false) && ((CollisionDetect(EnePar.myx + 10, EnePar.myy + 16) == false) || (CollisionDetect(EnePar.myx + 10, EnePar.myy - 16, true)))) == false)) {
if (EnePar.dir) {
Enemy.gotoAndStop(2);
EnePar.myx = EnePar.myx - Enemy.walkspeed;
} else {
Enemy.gotoAndStop(1);
EnePar.myx = EnePar.myx + Enemy.walkspeed;
}
}
}
} else if (Enemy.classname == "ground_spikes") {
if (Enemy.atimer == 0) {
if ((((Enemy.atimer == 0) && (Math.abs(EnePar.myx - Millie_x) <= ((EnePar._width / 2) + 2))) && (EnePar.hitTest(pContainer))) && (pContainer.alive)) {
if (((Millie_y < (EnePar.myy + 10)) && (pContainer.velocity >= 0)) || ((Millie_y > (EnePar.myy + 50)) && (pContainer.velocity <= 0))) {
Enemy.atimer = 1;
}
}
} else if (Millie_x < EnePar.myx) {
EnePar.dir = true;
} else {
EnePar.dir = false;
}
} else if (Enemy.classname == "popspike") {
if (Enemy.atimer == 0) {
Enemy.gotoAndStop(3);
Enemy.atimer = 1;
} else if (Millie_x < EnePar.myx) {
EnePar.dir = true;
} else {
EnePar.dir = false;
}
} else if (Enemy.classname == "blockrock") {
} else if (Enemy.classname == "bouncerock") {
EnePar.myx = EnePar.myx + EnePar.xvel;
EnePar.myy = EnePar.myy + EnePar.yvel;
if (EnePar.alive) {
Enemy.gotoAndStop(1);
}
EnePar.yvel = EnePar.yvel + 1;
if ((EnePar.myx > 0) && (CollisionDetect(EnePar.myx, EnePar.myy))) {
sthud.start();
EnePar.yvel = -EnePar.yvel;
}
if (((EnePar.myx > 0) && (EnePar.alive == true)) && (CollisionDetect(EnePar.myx, EnePar.myy - 64))) {
sthud.start();
EnePar.health = 0;
EnePar.alive = false;
Enemy.gotoAndStop(5);
}
if ((Enemy.atimer == 0) && (EnePar.hitTest(pContainer))) {
Enemy.atimer = 1;
}
} else if (Enemy.classname == "gemhead") {
if ((g_difficulty == 3) && (Enemy.bosstimer < 2)) {
Enemy.bombimmune = true;
}
if ((((Enemy.atimer == 0) && (Enemy.bosstimer < 240)) && (Math.abs(EnePar.myx - Millie_x) < 176)) && (Millie_y < (EnePar.myy + 32))) {
Enemy.atimer = 1;
sSwipe.start();
Enemy.gotoAndStop(3);
}
if ((Enemy.atimer == 3) && (EnePar.hitTest(pContainer))) {
spunchhit.start();
pContainer.velocity = 30;
}
if (Enemy.bosstimer < 404) {
if ((Enemy.bosstimer == 81) || (Enemy.bosstimer == 231)) {
Enemy.gotoAndStop(7);
} else if ((Enemy.bosstimer == 90) || (Enemy.bosstimer == 240)) {
sSwipe.start();
Ene3.myx = 448;
Ene3.myy = 832;
Ene3.xvel = 6;
Ene3.yvel = -4;
Ene3.health = 999;
Ene3.alive = true;
Ene3.active = true;
MoveEverything();
} else if ((Enemy.bosstimer == 98) || (Enemy.bosstimer == 248)) {
Enemy.gotoAndStop(1);
} else if ((Enemy.bosstimer == 111) || (Enemy.bosstimer == 261)) {
Enemy.gotoAndStop(7);
} else if ((Enemy.bosstimer == 120) || (Enemy.bosstimer == 270)) {
sSwipe.start();
Ene4.myx = 448;
Ene4.myy = 832;
Ene4.xvel = 6;
Ene4.yvel = -4;
Ene4.health = 999;
Ene4.alive = true;
Ene4.active = true;
MoveEverything();
} else if ((Enemy.bosstimer == 128) || (Enemy.bosstimer == 278)) {
Enemy.gotoAndStop(1);
} else if (Enemy.bosstimer == 383) {
Enemy.gotoAndStop(8);
} else if (Enemy.bosstimer == 390) {
sgemroar.start();
fAutoIn.gotoAndPlay(1);
Ene5.myx = 576;
Ene5.myy = 928;
Ene5.EneChild.gotoAndStop(1);
Ene5.health = 50;
Ene5.alive = true;
Ene5.active = true;
Ene6.myx = 672;
Ene6.myy = 928;
Ene6.EneChild.gotoAndStop(1);
Ene6.health = 50;
Ene6.alive = true;
Ene6.active = true;
MoveEverything();
} else if (Enemy.bosstimer == 403) {
Enemy.gotoAndStop(1);
}
Enemy.bosstimer = Enemy.bosstimer + 1;
} else if (Enemy.bosstimer == 404) {
if ((Ene5.alive == false) && (Ene6.alive == false)) {
if (g_difficulty == 1) {
Enemy.bosstimer = 0;
} else {
Enemy.bosstimer = Enemy.bosstimer + 1;
}
}
} else if (Enemy.bosstimer > 404) {
if (Enemy.bosstimer == 405) {
slaser1.start();
Enemy.gotoAndStop(9);
if (g_difficulty == 3) {
Enemy.bombimmune = false;
}
} else if (Enemy.bosstimer == 410) {
Ene3.myx = 960;
Ene3.myy = 896;
Ene3.xvel = -10;
Ene3.yvel = 0;
Ene3.health = 999;
Ene3.alive = true;
Ene3.active = true;
MoveEverything();
} else if (Enemy.bosstimer == 450) {
Ene4.myx = 960;
Ene4.myy = 896;
Ene4.xvel = -10;
Ene4.yvel = 0;
Ene4.health = 999;
Ene4.alive = true;
Ene4.active = true;
MoveEverything();
}
pContainer.runspeed = pContainer.runspeed - 1;
Enemy.bosstimer = Enemy.bosstimer + 1;
if (Enemy.bosstimer == 555) {
Enemy.gotoAndStop(1);
Enemy.bosstimer = 0;
}
}
}
}
function MoveEverything() {
ref_x = Millie_x - pContainer._x;
ref_y = Millie_y - pContainer._y;
i = 0;
while (i < ENEINDEX) {
if (_root["Ene" + i].active) {
_root["Ene" + i]._x = _root["Ene" + i].myx - ref_x;
_root["Ene" + i]._y = _root["Ene" + i].myy - ref_y;
}
i++;
}
if (WaterFore_y < WaterFore_level) {
WaterFore_y = WaterFore_y + 2;
} else if (WaterFore_y > WaterFore_level) {
WaterFore_y = WaterFore_y - 4;
}
if ((WaterFore_y == WaterFore_level) && (watersound == 1)) {
watersound = 0;
sflowing.stop();
}
WaterFore._y = WaterFore_y - ref_y;
if (WaterFore._y < -420) {
WaterBottom._y = 0;
} else {
WaterBottom._y = WaterFore._y + 420;
}
rock0._x = rock0.myx - ref_x;
rock0._y = rock0.myy - ref_y;
objBits._x = objBits.myx - ref_x;
objBits._y = objBits.myy - ref_y;
a = 0;
while (a < 5) {
_root["hang" + a]._x = _root["hang" + a].myx - ref_x;
_root["hang" + a]._y = _root["hang" + a].myy - ref_y;
_root["bounce" + a]._x = _root["bounce" + a].myx - ref_x;
_root["bounce" + a]._y = _root["bounce" + a].myy - ref_y;
_root["uCatcher" + a]._x = _root["uCatcher" + a].myx - ref_x;
_root["uCatcher" + a]._y = _root["uCatcher" + a].myy - ref_y;
_root["npc" + a]._x = _root["npc" + a].myx - ref_x;
_root["npc" + a]._y = _root["npc" + a].myy - ref_y;
if (a < 3) {
_root["switch" + a]._x = _root["switch" + a].myx - ref_x;
_root["switch" + a]._y = _root["switch" + a].myy - ref_y;
}
a++;
}
}
function DetEvents() {
dDown_x = Millie_x;
dDown_y = Millie_y + 8;
dUp_x = Millie_x;
dUp_y = Millie_y - 75;
dLeft_x = Millie_x - 16;
dLeft_y = Millie_y - 40;
dRight_x = Millie_x + 16;
dRight_y = Millie_y - 40;
}
function CollisionDetect(raw_x, raw_y) {
if (raw_x < 0) {
raw_x = 4;
}
if (raw_x > Floor._width) {
raw_x = Floor._width - 4;
}
if (raw_y < 0) {
raw_y = 4;
}
if (raw_y > Floor._height) {
raw_y = Floor._height - 4;
}
if (Floor.hitTest(raw_x, raw_y, true)) {
return(true);
}
if ((raw_y > (WaterFore_y + 50)) && (pContainer.swimming == 1)) {
return(true);
}
if ((((raw_x > (rock0.myx - 33)) && (raw_x < (rock0.myx + 33))) && (raw_y < (rock0.myy + 1))) && (raw_y > (rock0.myy - 64))) {
return(true);
}
return(false);
}
function CollisionDetectSpecial(raw_x, raw_y) {
if ((((raw_x > (rock0.myx - 33)) && (raw_x < (rock0.myx + 33))) && (raw_y < (rock0.myy + 1))) && (raw_y > (rock0.myy - 64))) {
return(true);
}
return(false);
}
function GrassCollide(modx) {
b = 0;
while (b < 5) {
if (((((Millie_x + modx) > (_root["hang" + b].myx - 2)) && ((Millie_x + modx) < (_root["hang" + b].myx + _root["hang" + b]._width))) && ((Millie_y - 60) > _root["hang" + b].myy)) && ((Millie_y - 60) < (_root["hang" + b].myy + 24))) {
Millie_y = _root["hang" + b].myy + 80;
return(true);
}
b++;
}
return(false);
}
function ForeDisplay() {
if (Millie_x < 240) {
pContainer._x = Millie_x;
} else if ((Millie_x >= 240) && (Millie_x < (Floor._width - 240))) {
pContainer._x = 240;
} else if (Millie_x >= (Floor._width - 240)) {
pContainer._x = 480 - (Floor._width - Millie_x);
}
if (Millie_y < 216) {
pContainer._y = Millie_y;
} else if ((Millie_y >= 216) && (Millie_y < (Floor._height - 144))) {
pContainer._y = 216;
} else if (Millie_y >= (Floor._height - 144)) {
pContainer._y = 360 - (Floor._height - Millie_y);
}
Fore._x = -(Millie_x - pContainer._x);
Fore._y = -(Millie_y - pContainer._y);
bFore._x = Fore._x;
bFore._y = Fore._y;
}
function Parallax() {
if (Millie_x < 240) {
para1._x = (-(0 / (Floor._width - 480))) * (para1._width - 500);
} else if (Millie_x < (Floor._width - 240)) {
para1._x = (-((Millie_x - 240) / (Floor._width - 480))) * (para1._width - 500);
} else {
para1._x = (-(((Floor._width - 240) - 240) / (Floor._width - 480))) * (para1._width - 500);
}
if (Millie_y < 216) {
para1._y = (-(0 / (Floor._height - 360))) * (para1._height - 380);
} else if (Millie_y < (Floor._height - 144)) {
para1._y = (-((Millie_y - 216) / (Floor._height - 360))) * (para1._height - 380);
} else {
para1._y = (-(((Floor._height - 144) - 216) / (Floor._height - 360))) * (para1._height - 380);
}
}
function BounceCheck() {
bnum = 0;
supervel = 20;
bnum = 0;
while (bnum < 5) {
if (_root["bounce" + bnum].hitTest(pContainer._x, pContainer._y + pContainer.velocity) && (pContainer.velocity > 0)) {
if (Floor._currentframe == 10) {
supervel = 22;
} else if (Floor._currentframe == 17) {
if (bnum == 2) {
supervel = 28;
} else {
supervel = 23;
}
} else if (Floor._currentframe == 19) {
supervel = 25;
} else if (Floor._currentframe == 26) {
supervel = 22;
} else if (Floor._currentframe == 28) {
supervel = 30;
} else if (Floor._currentframe == 35) {
supervel = 30;
}
if (pContainer.atktype == 6) {
pContainer.velocity = (-supervel) - 5;
} else {
pContainer.velocity = -supervel;
}
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_JUMP + 1);
} else {
pContainer.pChild.gotoAndStop(M_JUMP);
}
pContainer.atktype = 0;
_root["bounce" + bnum].play();
sboingreduced.start();
pContainer.ready = 0;
wallkick = 0;
pContainer.diveready = 0;
}
bnum++;
}
}
function RockHandler() {
if (rock0.myx < 0) {
return(undefined);
}
if ((Floor.hitTest(rock0.myx - 31, rock0.myy + 2, true) == false) && (Floor.hitTest(rock0.myx + 31, rock0.myy + 2, true) == false)) {
rock0.myy = rock0.myy + 8;
while (Floor.hitTest(rock0.myx - 31, rock0.myy - 1, true) || (Floor.hitTest(rock0.myx + 31, rock0.myy - 1, true))) {
rock0.myy = rock0.myy - 1;
}
}
}
function CheckStageChange() {
willchange = Floor._currentframe;
haschanged = false;
if (((g_gameprogress == 0) && (Floor._currentframe == 11)) && (nextscene == "")) {
allkilled = true;
a = 0;
while (a < ENEINDEX) {
if (_root["Ene" + a].alive) {
allkilled = false;
}
a++;
}
if (allkilled == true) {
g_gameprogress = 1;
conversation[0] = "Oh no!!!";
conversation[1] = 8;
nextscene = "M1 Destroyed";
}
} else if (((g_gameprogress == 1) && (Ene0.alive == false)) && (nextscene == "")) {
nextscene = "M2 Demon Millie";
} else if (((g_gameprogress == 2) && (Ene0.alive == false)) && (nextscene == "")) {
nextscene = "M3 Amends";
} else if (((g_gameprogress == 8) && (Ene2.alive == false)) && (nextscene == "")) {
sbgm.stop();
Ene3.health = 0;
Ene4.health = 0;
Ene5.health = 0;
Ene6.health = 0;
nextscene = "M6 Leave";
}
if (Key.isDown(g_action)) {
if (keyready == false) {
if (Floor._currentframe == 2) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y, true)) {
Floor.gotoAndStop(3);
Fore.gotoAndStop(3);
bFore.gotoAndStop(3);
Millie_x = Floor._width - 128;
if (pContainer.runspeed > 0) {
pContainer.runspeed = -pContainer.runspeed;
}
Millie_y = 368;
haschanged = true;
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y, true)) {
conversation[0] = "It's the mailbox.";
conversation[1] = 1;
conversation[2] = "There's nothing inside.";
conversation[3] = 1;
} else if (uCatcher2.hitTest(pContainer._x, pContainer._y, true)) {
if (Millie_x < npc0.myx) {
npc0.gotoAndStop(npc0.baseNPC + 1);
} else {
npc0.gotoAndStop(npc0.baseNPC);
}
if (g_char == 0) {
conversation[0] = "Thanks for earlier, Tenebrae. Maybe you're not completely useless after all?";
conversation[1] = 16;
conversation[2] = "Please, you're making me blush. Only not.";
conversation[3] = 17;
conversation[4] = "If you want me to posess you again, go to your room and look in your closet.";
conversation[5] = 17;
} else {
conversation[0] = "Your presence here confuses me, wraith.";
conversation[1] = 9;
conversation[2] = "Huh. So you know what I am, you're smart!";
conversation[3] = 17;
conversation[4] = "You won't have to worry about me. I'm friends with the Megavolte family.";
conversation[5] = 17;
conversation[6] = "So you say. Perhaps you could grant me your power as you did with Millie?";
conversation[7] = 5;
conversation[8] = "No can do, chief. I suck at posession and can only inhabit gems like Millie's ruby necklace.";
conversation[9] = 17;
conversation[10] = "Come back when you get one and I'll totally hook you up, alright?";
conversation[11] = 17;
}
}
} else if (Floor._currentframe == 3) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(5);
Fore.gotoAndStop(5);
bFore.gotoAndStop(5);
Millie_x = Floor._width - 128;
if (pContainer.runspeed > 0) {
pContainer.runspeed = -pContainer.runspeed;
}
Millie_y = 352;
haschanged = true;
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(4);
Fore.gotoAndStop(4);
bFore.gotoAndStop(4);
Millie_x = Floor._width - 128;
if (pContainer.runspeed > 0) {
pContainer.runspeed = -pContainer.runspeed;
}
Millie_y = 352;
haschanged = true;
} else if (uCatcher2.hitTest(pContainer._x, pContainer._y)) {
if (g_char == 1) {
conversation[0] = "A rain coat. How quaint.";
conversation[1] = 3;
} else if (g_cosunlock[4] == false) {
g_cosunlock[4] = true;
conversation[0] = "Can't go outside on rainy days without these!";
conversation[1] = 16;
conversation[2] = "You got: Rain Apparel!";
conversation[3] = 1;
} else {
conversation[0] = "Good thing it's not raining today. It gets really muddy around here.";
conversation[1] = 16;
}
} else if (uCatcher3.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "It's the fridge!";
conversation[1] = 1;
conversation[2] = "It's empty.";
conversation[3] = 1;
} else if (uCatcher4.hitTest(pContainer._x, pContainer._y)) {
if (Millie_x < npc0.myx) {
npc0.gotoAndStop(npc0.baseNPC + 1);
} else {
npc0.gotoAndStop(npc0.baseNPC);
}
if (g_char == 0) {
conversation[0] = "Quite a humble home you have, Miss Megavolte.";
conversation[1] = 5;
} else {
conversation[0] = "If you're tired, use my bed. Just promise me you won't do anything stupid to it, okay?";
conversation[1] = 2;
}
}
} else if (Floor._currentframe == 4) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
if (g_char == 0) {
conversation[0] = "Dear Diary, I have more important things to do than write in you right now.";
conversation[1] = 2;
} else {
conversation[0] = "A diary... perhaps a quick look could not hurt?";
conversation[1] = 3;
conversation[2] = "\"Lance is a total fag and should mind his own damn business.\" Hmm, well...";
conversation[3] = 14;
}
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "You open the closet.";
conversation[1] = 1;
nextscene = "costume";
} else if (uCatcher2.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "The radio is playing softly. The current song is an upbeat tune by the Myroid-Type Comics Band.";
conversation[1] = 1;
if (g_char == 0) {
conversation[2] = "I love this song! These guys rock.";
conversation[3] = 16;
}
} else if (uCatcher3.hitTest(pContainer._x, pContainer._y)) {
if (g_char == 0) {
conversation[0] = "A quick nap couldn't hurt...";
conversation[1] = 16;
conversation[2] = "Game saved!";
conversation[3] = 1;
} else {
conversation[0] = "Perhaps I shall rest for a bit.";
conversation[1] = 5;
conversation[2] = "Game saved!";
conversation[3] = 1;
}
AutoSave(1);
cutcontrol = true;
pContainer.runspeed = 0;
nextscene = "Rest";
}
} else if (Floor._currentframe == 5) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "\"Pyrophilia\", \"Dragon Slayers\", \"Humanoid Robotics\", by Anne Abelle";
conversation[1] = 1;
conversation[2] = "\"The Boring History of Terna Island\", \"Myths and Legends Involving Boobies\"";
conversation[3] = 1;
conversation[4] = "\"Being the Hero\", by L. LeTourre";
conversation[5] = 1;
if (g_char == 0) {
conversation[6] = "This is my favorite book, but... no, it can't be him.";
conversation[7] = 16;
} else {
conversation[6] = "How odd. Where did Miss Abelle acquire my book?";
conversation[7] = 5;
}
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y)) {
if (g_char == 1) {
conversation[0] = "I should not be looking through Miss Abelle's things.";
conversation[1] = 5;
} else {
conversation[0] = "There's nothing interesting in here.";
conversation[1] = 16;
if (g_cosunlock[3] == false) {
g_cosunlock[3] = true;
conversation[2] = "That jacket of hers is pretty cute, though...";
conversation[3] = 16;
conversation[4] = "You borrowed: Anne's Clothes!";
conversation[5] = 1;
}
}
} else if (uCatcher2.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "There's a bunch of jibberish on the screen. Better not mess with it.";
conversation[1] = 1;
} else if (uCatcher3.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "Anne's bed feels very soft and comfortable.";
conversation[1] = 1;
}
} else if (Floor._currentframe == 7) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
if (g_char == 0) {
conversation[0] = "Yeah... he's pretty dead.";
conversation[1] = 2;
} else {
conversation[0] = "Such an unfortunate fate for a child.";
conversation[1] = 14;
}
}
} else if (Floor._currentframe == 8) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "<-- Millie's house\n--> Terna Village\n>>> Sparkleshine Caves";
conversation[1] = 1;
}
} else if ((g_gameprogress == 0) && (Floor._currentframe == 9)) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
if (Millie_x < npc0.myx) {
npc0.gotoAndStop(npc0.baseNPC + 1);
} else {
npc0.gotoAndStop(npc0.baseNPC);
}
if (g_char == 0) {
conversation[0] = "*Yawn* Oh, you finally got here?";
conversation[1] = 3;
conversation[2] = "Well? Forgotten which side of your swords hurts things? I'm waiting.";
conversation[3] = 9;
} else {
conversation[0] = "It's about time you showed up, prettyboy.";
conversation[1] = 2;
conversation[2] = "Hmmmph. I should've just taken care of this myself.";
conversation[3] = 2;
}
}
} else if (Floor._currentframe == 11) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
if (g_gameprogress == 0) {
conversation[0] = "It's locked.";
conversation[1] = 1;
} else {
conversation[0] = "There's a note...";
conversation[1] = 1;
conversation[2] = "\"The proprietor is procuring goods inside Sparkleshine Caves. Please return later.\"";
conversation[3] = 1;
}
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y)) {
if (g_gameprogress == 0) {
conversation[0] = "It won't budge.";
conversation[1] = 1;
} else {
conversation[0] = "You knock on the door but nobody answers.";
conversation[1] = 1;
}
}
} else if (Floor._currentframe == 12) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
sbgm.stop();
if (g_music == 0) {
sbgm.attachSound("mm6_Sparkleshine");
sbgm.start(0, 9999);
}
Floor.gotoAndStop(13);
Fore.gotoAndStop(13);
bFore.gotoAndStop(13);
Millie_x = 64;
if (pContainer.runspeed < 0) {
pContainer.runspeed = -pContainer.runspeed;
}
Millie_y = 352;
haschanged = true;
}
} else if (Floor._currentframe == 15) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(16);
Fore.gotoAndStop(16);
bFore.gotoAndStop(16);
Millie_x = 64;
if (pContainer.runspeed < 0) {
pContainer.runspeed = -pContainer.runspeed;
}
Millie_y = 352;
haschanged = true;
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "The Whisper Stone soothes your spirits and saves your game.";
conversation[1] = 1;
AutoSave(2);
cutcontrol = true;
pContainer.runspeed = 0;
nextscene = "Rest";
}
} else if (Floor._currentframe == 19) {
if (switch0.hitTest(pContainer._x, pContainer._y) && (switch0.mystate == false)) {
g_gameprogress = 5;
switch0.mystate = true;
switch0.gotoAndStop(5);
slock.start();
stomb.start(0, 5);
if (g_char == 0) {
conversation[0] = "Sounds like something's happening in that big room from earlier...";
conversation[1] = 16;
} else {
conversation[0] = "I think something is grinding back in that large chamber...";
conversation[1] = 5;
}
}
} else if (Floor._currentframe == 20) {
if (switch0.hitTest(pContainer._x, pContainer._y)) {
slock.start();
if (watersound == 1) {
sflowing.stop();
}
watersound = 1;
sflowing.start(0, 99);
if (switch0.mystate == false) {
switch0.mystate = true;
switch0.gotoAndStop(5);
WaterFore_level = 1072;
} else {
switch0.mystate = false;
switch0.gotoAndStop(1);
WaterFore_level = 208;
}
}
} else if (Floor._currentframe == 21) {
if (switch0.hitTest(pContainer._x, pContainer._y) && (switch0.mystate == false)) {
g_gameprogress = 6;
switch0.mystate = true;
switch0.gotoAndStop(5);
slock.start();
WaterFore_level = 304;
watersound = 1;
sflowing.start(0, 99);
stomb.start(0, 5);
}
} else if (Floor._currentframe == 22) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
if (g_gameprogress > 6) {
Floor.gotoAndStop(25);
Fore.gotoAndStop(25);
bFore.gotoAndStop(25);
Millie_x = 640;
pContainer.runspeed = 0;
Millie_y = 480;
haschanged = true;
} else if (g_char == 0) {
conversation[0] = "Worthless piece of crap! It won't budge.";
conversation[1] = 2;
} else {
conversation[0] = "Nothing... it is almost as if the gears are locked somewhere.";
conversation[1] = 5;
}
}
} else if (Floor._currentframe == 24) {
if (switch0.hitTest(pContainer._x, pContainer._y) && (switch0.mystate == false)) {
g_gameprogress = 7;
switch0.mystate = true;
switch0.gotoAndStop(5);
slock.start();
}
} else if (Floor._currentframe == 25) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(22);
Fore.gotoAndStop(22);
bFore.gotoAndStop(22);
Millie_x = 736;
Millie_y = 352;
pContainer.runspeed = 0;
haschanged = true;
} else if (uCatcher1.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(26);
Fore.gotoAndStop(26);
bFore.gotoAndStop(26);
Millie_x = 64;
Millie_y = 736;
if (pContainer.runspeed < 0) {
pContainer.runspeed = -pContainer.runspeed;
}
haschanged = true;
} else if (uCatcher2.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "The Whisper Stone soothes your spirits and saves your game.";
conversation[1] = 1;
AutoSave(3);
cutcontrol = true;
pContainer.runspeed = 0;
nextscene = "Rest";
}
} else if (Floor._currentframe == 27) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(29);
Fore.gotoAndStop(29);
bFore.gotoAndStop(29);
Millie_x = 64;
Millie_y = 512;
if (pContainer.runspeed < 0) {
pContainer.runspeed = -pContainer.runspeed;
}
haschanged = true;
}
if (switch0.hitTest(pContainer._x, pContainer._y) || switch1.hitTest(pContainer._x, pContainer._y)) {
slock.start();
if (watersound == 1) {
sflowing.stop();
}
watersound = 1;
sflowing.start(0, 99);
if (switch0.mystate == false) {
switch0.mystate = true;
switch0.gotoAndStop(5);
switch1.mystate = true;
switch1.gotoAndStop(5);
WaterFore_level = 944;
} else {
switch0.mystate = false;
switch0.gotoAndStop(1);
switch1.mystate = false;
switch1.gotoAndStop(1);
WaterFore_level = 1616;
}
}
} else if (Floor._currentframe == 29) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
conversation[0] = "The Whisper Stone soothes your spirits and saves your game.";
conversation[1] = 1;
AutoSave(4);
cutcontrol = true;
pContainer.runspeed = 0;
nextscene = "Rest";
}
} else if (Floor._currentframe == 31) {
if (uCatcher0.hitTest(pContainer._x, pContainer._y)) {
Floor.gotoAndStop(30);
Fore.gotoAndStop(30);
bFore.gotoAndStop(30);
Millie_x = 64;
Millie_y = 928;
if (pContainer.runspeed < 0) {
pContainer.runspeed = -pContainer.runspeed;
}
haschanged = true;
}
} else if (Floor._currentframe == 33) {
if (switch0.hitTest(pContainer._x, pContainer._y) && (switch0.mystate == false)) {
slock.start();
if (watersound == 1) {
sflowing.stop();
}
watersound = 1;
sflowing.start(0, 99);
switch0.mystate = true;
switch0.gotoAndStop(5);
switch1.mystate = false;
switch1.gotoAndStop(1);
switch2.mystate = false;
switch2.gotoAndStop(1);
WaterFore_level = 1360;
} else if (switch1.hitTest(pContainer._x, pContainer._y) && (switch1.mystate == false)) {
slock.start();
if (watersound == 1) {
sflowing.stop();
}
watersound = 1;
sflowing.start(0, 99);
switch0.mystate = false;
switch0.gotoAndStop(1);
switch1.mystate = true;
switch1.gotoAndStop(5);
switch2.mystate = false;
switch2.gotoAndStop(1);
WaterFore_level = 272;
} else if (switch2.hitTest(pContainer._x, pContainer._y) && (switch2.mystate == false)) {
slock.start();
if (watersound == 1) {
sflowing.stop();
}
watersound = 1;
sflowing.start(0, 99);
switch0.mystate = false;
switch0.gotoAndStop(1);
switch1.mystate = false;
switch1.gotoAndStop(1);
switch2.mystate = true;
switch2.gotoAndStop(5);
WaterFore_level = 912;
}
}
}
keyready = true;
} else {
keyready = false;
}
if (Millie_y > (Floor._height + 40)) {
if (Floor._currentframe == 29) {
if (g_gameprogress == 7) {
cutcontrol = true;
nextscene = "M5 Anne";
pContainer.hanging = 1;
} else {
Floor.gotoAndStop(30);
Fore.gotoAndStop(30);
bFore.gotoAndStop(30);
Millie_x = 848;
Millie_y = 5;
haschanged = true;
}
} else if (Floor._currentframe == 31) {
Floor.gotoAndStop(25);
Fore.gotoAndStop(25);
bFore.gotoAndStop(25);
Millie_x = 800;
Millie_y = 5;
haschanged = true;
}
}
if (((Millie_x > 12) && (Millie_x < (Floor._width - 12))) && (haschanged == false)) {
return(undefined);
}
if (Millie_x >= (Floor._width - 12)) {
if (Floor._currentframe == 1) {
Floor.gotoAndStop(2);
Fore.gotoAndStop(2);
bFore.gotoAndStop(2);
Millie_x = 16;
Millie_y = 368;
haschanged = true;
} else if (Floor._currentframe == 2) {
Floor.gotoAndStop(6);
Fore.gotoAndStop(6);
bFore.gotoAndStop(6);
Millie_x = 16;
Millie_y = 416;
haschanged = true;
} else if (Floor._currentframe == 3) {
Floor.gotoAndStop(2);
Fore.gotoAndStop(2);
bFore.gotoAndStop(2);
Millie_x = 160;
Millie_y = 368;
haschanged = true;
} else if (Floor._currentframe == 4) {
Floor.gotoAndStop(3);
Fore.gotoAndStop(3);
bFore.gotoAndStop(3);
Millie_x = 312;
Millie_y = 352;
haschanged = true;
} else if (Floor._currentframe == 5) {
Floor.gotoAndStop(3);
Fore.gotoAndStop(3);
bFore.gotoAndStop(3);
Millie_x = 100;
Millie_y = 352;
haschanged = true;
} else if (Floor._currentframe == 6) {
Floor.gotoAndStop(7);
Fore.gotoAndStop(7);
bFore.gotoAndStop(7);
Millie_x = 16;
Millie_y = 480;
haschanged = true;
} else if (Floor._currentframe == 7) {
if ((g_gameprogress == 1) || (g_gameprogress == 2)) {
pContainer.runspeed = 0;
Millie_x = Floor._width - 16;
if (g_char == 0) {
conversation[0] = "Running away? Coward!";
conversation[1] = 4;
conversation[2] = "You'd like that, wouldn't you?";
conversation[3] = 6;
} else {
conversation[0] = "What's wrong? Chickening out?";
conversation[1] = 6;
conversation[2] = "Never!";
conversation[3] = 4;
}
} else {
Floor.gotoAndStop(8);
Fore.gotoAndStop(8);
bFore.gotoAndStop(8);
Millie_x = 16;
Millie_y = 544;
haschanged = true;
}
} else if (Floor._currentframe == 8) {
Floor.gotoAndStop(9);
Fore.gotoAndStop(9);
bFore.gotoAndStop(9);
Millie_x = 16;
Millie_y = 384;
haschanged = true;
} else if (Floor._currentframe == 9) {
Floor.gotoAndStop(10);
Fore.gotoAndStop(10);
bFore.gotoAndStop(10);
Millie_x = 16;
Millie_y = 672;
haschanged = true;
} else if (Floor._currentframe == 10) {
Floor.gotoAndStop(11);
Fore.gotoAndStop(11);
bFore.gotoAndStop(11);
Millie_x = 16;
Millie_y = 512;
haschanged = true;
if (g_gameprogress == 0) {
if (g_char == 0) {
conversation[0] = "Sir! Sir!! The girl is here! We found her!";
conversation[1] = 8;
conversation[2] = "Excellent, men! Skeletons--CHARGE!";
conversation[3] = 7;
conversation[4] = "Come and get me!";
conversation[5] = 6;
} else {
conversation[0] = "Sir! An orange-haired girl just entered the village! Is it her?";
conversation[1] = 8;
conversation[2] = "That's not our target, men. Eliminate her anyway!";
conversation[3] = 7;
conversation[4] = "Hmm, well...";
conversation[5] = 9;
}
}
} else if (Floor._currentframe == 11) {
if (g_gameprogress == 0) {
pContainer.runspeed = 0;
Millie_x = Floor._width - 16;
if (g_char == 0) {
conversation[0] = "These guys don't scare me! Come on!";
conversation[1] = 6;
} else {
conversation[0] = "A swordsman runs from no challenge, no matter how easy it may be.";
conversation[1] = 4;
}
} else {
Floor.gotoAndStop(12);
Fore.gotoAndStop(12);
bFore.gotoAndStop(12);
Millie_x = 16;
Millie_y = 704;
haschanged = true;
}
} else if (Floor._currentframe == 13) {
if (g_gameprogress == 3) {
cutcontrol = true;
nextscene = "M4 Fall";
} else {
Floor.gotoAndStop(14);
Fore.gotoAndStop(14);
bFore.gotoAndStop(14);
Millie_x = 16;
Millie_y = 512;
haschanged = true;
}
} else if (Floor._currentframe == 14) {
Floor.gotoAndStop(25);
Fore.gotoAndStop(25);
bFore.gotoAndStop(25);
Millie_x = 16;
Millie_y = 384;
haschanged = true;
} else if (Floor._currentframe == 16) {
Floor.gotoAndStop(17);
Fore.gotoAndStop(17);
bFore.gotoAndStop(17);
Millie_x = 16;
Millie_y = 1024;
haschanged = true;
} else if (Floor._currentframe == 17) {
if (Millie_y > 800) {
Floor.gotoAndStop(20);
Fore.gotoAndStop(20);
bFore.gotoAndStop(20);
Millie_x = 16;
Millie_y = 160;
} else {
Floor.gotoAndStop(22);
Fore.gotoAndStop(22);
bFore.gotoAndStop(22);
Millie_x = 16;
Millie_y = 416;
}
haschanged = true;
} else if (Floor._currentframe == 18) {
Floor.gotoAndStop(17);
Fore.gotoAndStop(17);
bFore.gotoAndStop(17);
Millie_x = 16;
Millie_y = 192;
haschanged = true;
} else if (Floor._currentframe == 19) {
Floor.gotoAndStop(18);
Fore.gotoAndStop(18);
bFore.gotoAndStop(18);
Millie_x = 16;
Millie_y = 192;
haschanged = true;
} else if (Floor._currentframe == 21) {
Floor.gotoAndStop(20);
Fore.gotoAndStop(20);
bFore.gotoAndStop(20);
Millie_x = 16;
Millie_y = 1024;
haschanged = true;
} else if (Floor._currentframe == 22) {
Floor.gotoAndStop(23);
Fore.gotoAndStop(23);
bFore.gotoAndStop(23);
Millie_x = 16;
Millie_y = 512;
haschanged = true;
} else if (Floor._currentframe == 23) {
Floor.gotoAndStop(24);
Fore.gotoAndStop(24);
bFore.gotoAndStop(24);
Millie_x = 16;
Millie_y = 512;
haschanged = true;
} else if (Floor._currentframe == 25) {
Floor.gotoAndStop(32);
Fore.gotoAndStop(32);
bFore.gotoAndStop(32);
Millie_x = 16;
Millie_y = 384;
haschanged = true;
} else if (Floor._currentframe == 26) {
Floor.gotoAndStop(27);
Fore.gotoAndStop(27);
bFore.gotoAndStop(27);
Millie_x = 16;
Millie_y = 1600;
haschanged = true;
} else if (Floor._currentframe == 27) {
Floor.gotoAndStop(28);
Fore.gotoAndStop(28);
bFore.gotoAndStop(28);
Millie_x = 16;
haschanged = true;
if (Millie_y < 800) {
Millie_y = 224;
} else {
Millie_y = 1760;
}
} else if (Floor._currentframe == 32) {
Floor.gotoAndStop(33);
Fore.gotoAndStop(33);
bFore.gotoAndStop(33);
Millie_x = 16;
Millie_y = 896;
haschanged = true;
} else if (Floor._currentframe == 33) {
Floor.gotoAndStop(34);
Fore.gotoAndStop(34);
bFore.gotoAndStop(34);
Millie_x = 16;
Millie_y = 448;
haschanged = true;
} else if (Floor._currentframe == 34) {
Floor.gotoAndStop(35);
Fore.gotoAndStop(35);
bFore.gotoAndStop(35);
Millie_x = 16;
Millie_y = 768;
haschanged = true;
} else if (Floor._currentframe == 35) {
cutcontrol = true;
nextscene = "M7 Continued";
}
} else if (Millie_x <= 12) {
if (Floor._currentframe == 2) {
Floor.gotoAndStop(1);
Fore.gotoAndStop(1);
bFore.gotoAndStop(1);
Millie_x = Floor._width - 16;
Millie_y = 352;
haschanged = true;
} else if (Floor._currentframe == 6) {
if (Millie_y < 450) {
Floor.gotoAndStop(2);
Fore.gotoAndStop(2);
bFore.gotoAndStop(2);
Millie_x = Floor._width - 16;
Millie_y = 368;
haschanged = true;
}
} else if (Floor._currentframe == 7) {
if (g_gameprogress == 0) {
pContainer.runspeed = 0;
Millie_x = 16;
if (g_char == 0) {
conversation[0] = "This isn't the right way.";
conversation[1] = 2;
} else {
conversation[0] = "I think the village is the other way.";
conversation[1] = 5;
}
} else if ((g_gameprogress == 1) || (g_gameprogress == 2)) {
pContainer.runspeed = 0;
Millie_x = 16;
if (g_char == 0) {
conversation[0] = "Running away? Coward!";
conversation[1] = 4;
conversation[2] = "You'd like that, wouldn't you?";
conversation[3] = 6;
} else {
conversation[0] = "What's wrong? Chickening out?";
conversation[1] = 6;
conversation[2] = "Never!";
conversation[3] = 4;
}
} else {
Floor.gotoAndStop(6);
Fore.gotoAndStop(6);
bFore.gotoAndStop(6);
Millie_x = Floor._width - 16;
Millie_y = 768;
haschanged = true;
}
} else if (Floor._currentframe == 8) {
Floor.gotoAndStop(7);
Fore.gotoAndStop(7);
bFore.gotoAndStop(7);
Millie_x = Floor._width - 16;
Millie_y = 480;
haschanged = true;
} else if (Floor._currentframe == 9) {
Floor.gotoAndStop(8);
Fore.gotoAndStop(8);
bFore.gotoAndStop(8);
Millie_x = Floor._width - 16;
Millie_y = 480;
haschanged = true;
} else if (Floor._currentframe == 10) {
Floor.gotoAndStop(9);
Fore.gotoAndStop(9);
bFore.gotoAndStop(9);
Millie_x = Floor._width - 16;
Millie_y = 416;
haschanged = true;
} else if (Floor._currentframe == 11) {
if (g_gameprogress == 0) {
pContainer.runspeed = 0;
Millie_x = 16;
if (g_char == 0) {
conversation[0] = "These guys don't scare me! Come on!";
conversation[1] = 6;
} else {
conversation[0] = "A swordsman runs from no challenge, no matter how easy it may be.";
conversation[1] = 4;
}
} else {
Floor.gotoAndStop(10);
Fore.gotoAndStop(10);
bFore.gotoAndStop(10);
Millie_x = Floor._width - 16;
Millie_y = 288;
haschanged = true;
}
} else if (Floor._currentframe == 12) {
Floor.gotoAndStop(11);
Fore.gotoAndStop(11);
bFore.gotoAndStop(11);
Millie_x = Floor._width - 16;
Millie_y = 512;
haschanged = true;
} else if (Floor._currentframe == 13) {
sbgm.stop();
if (g_music == 0) {
sbgm.attachSound("mm6_TernaVillage");
sbgm.start(0, 9999);
}
Floor.gotoAndStop(12);
Fore.gotoAndStop(12);
bFore.gotoAndStop(12);
Millie_x = 1696;
Millie_y = 512;
haschanged = true;
} else if (Floor._currentframe == 14) {
Floor.gotoAndStop(13);
Fore.gotoAndStop(13);
bFore.gotoAndStop(13);
Millie_x = Floor._width - 16;
Millie_y = 352;
haschanged = true;
} else if (Floor._currentframe == 16) {
Floor.gotoAndStop(15);
Fore.gotoAndStop(15);
bFore.gotoAndStop(15);
Millie_x = 300;
Millie_y = 608;
haschanged = true;
} else if (Floor._currentframe == 17) {
if (Millie_y > 700) {
Floor.gotoAndStop(16);
Fore.gotoAndStop(16);
bFore.gotoAndStop(16);
Millie_x = Floor._width - 16;
Millie_y = 192;
haschanged = true;
} else {
Floor.gotoAndStop(18);
Fore.gotoAndStop(18);
bFore.gotoAndStop(18);
Millie_x = Floor._width - 16;
Millie_y = 896;
haschanged = true;
}
} else if (Floor._currentframe == 18) {
Floor.gotoAndStop(19);
Fore.gotoAndStop(19);
bFore.gotoAndStop(19);
Millie_x = Floor._width - 16;
Millie_y = 800;
haschanged = true;
} else if (Floor._currentframe == 20) {
if (Millie_y > 500) {
Floor.gotoAndStop(21);
Fore.gotoAndStop(21);
bFore.gotoAndStop(21);
Millie_x = Floor._width - 16;
Millie_y = 256;
haschanged = true;
} else {
Floor.gotoAndStop(17);
Fore.gotoAndStop(17);
bFore.gotoAndStop(17);
Millie_x = Floor._width - 16;
Millie_y = 1408;
haschanged = true;
}
} else if (Floor._currentframe == 22) {
Floor.gotoAndStop(17);
Fore.gotoAndStop(17);
bFore.gotoAndStop(17);
Millie_x = Floor._width - 16;
Millie_y = 160;
haschanged = true;
} else if (Floor._currentframe == 23) {
Floor.gotoAndStop(22);
Fore.gotoAndStop(22);
bFore.gotoAndStop(22);
Millie_x = Floor._width - 16;
Millie_y = 352;
haschanged = true;
} else if (Floor._currentframe == 24) {
Floor.gotoAndStop(23);
Fore.gotoAndStop(23);
bFore.gotoAndStop(23);
Millie_x = Floor._width - 16;
Millie_y = 864;
haschanged = true;
} else if (Floor._currentframe == 25) {
Floor.gotoAndStop(14);
Fore.gotoAndStop(14);
bFore.gotoAndStop(14);
Millie_x = Floor._width - 16;
Millie_y = 512;
haschanged = true;
} else if (Floor._currentframe == 26) {
Floor.gotoAndStop(25);
Fore.gotoAndStop(25);
bFore.gotoAndStop(25);
Millie_x = 386;
Millie_y = 416;
haschanged = true;
} else if (Floor._currentframe == 27) {
Floor.gotoAndStop(26);
Fore.gotoAndStop(26);
bFore.gotoAndStop(26);
Millie_x = Floor._width - 16;
Millie_y = 192;
haschanged = true;
} else if (Floor._currentframe == 28) {
Floor.gotoAndStop(27);
Fore.gotoAndStop(27);
bFore.gotoAndStop(27);
Millie_x = Floor._width - 16;
haschanged = true;
if (Millie_y < 800) {
Millie_y = 320;
} else {
Millie_y = 1600;
}
} else if (Floor._currentframe == 29) {
Floor.gotoAndStop(27);
Fore.gotoAndStop(27);
bFore.gotoAndStop(27);
Millie_x = 96;
Millie_y = 224;
haschanged = true;
} else if (Floor._currentframe == 30) {
Floor.gotoAndStop(31);
Fore.gotoAndStop(31);
bFore.gotoAndStop(31);
Millie_x = 192;
Millie_y = 224;
haschanged = true;
} else if (Floor._currentframe == 32) {
Floor.gotoAndStop(25);
Fore.gotoAndStop(25);
bFore.gotoAndStop(25);
Millie_x = Floor._width - 16;
Millie_y = 512;
haschanged = true;
} else if (Floor._currentframe == 33) {
Floor.gotoAndStop(32);
Fore.gotoAndStop(32);
bFore.gotoAndStop(32);
Millie_x = Floor._width - 16;
Millie_y = 320;
haschanged = true;
} else if (Floor._currentframe == 34) {
Floor.gotoAndStop(33);
Fore.gotoAndStop(33);
bFore.gotoAndStop(33);
Millie_x = Floor._width - 16;
Millie_y = 256;
haschanged = true;
} else if (Floor._currentframe == 35) {
Floor.gotoAndStop(34);
Fore.gotoAndStop(34);
bFore.gotoAndStop(34);
Millie_x = Floor._width - 16;
Millie_y = 320;
haschanged = true;
}
}
if (haschanged == false) {
return(undefined);
}
dontspawn = false;
if (Floor._currentframe == nospawn) {
dontspawn = true;
}
makenospawn = true;
a = 0;
while (a < ENEINDEX) {
if (_root["Ene" + a].alive) {
makenospawn = false;
}
a++;
}
if (makenospawn == true) {
nospawn = willchange;
} else {
nospawn = 0;
}
fAutoIn.gotoAndPlay(1);
pContainer.velocity = 0;
pContainer.ready = 0;
pContainer.diveready = 0;
pContainer.atktype = 0;
ec = 0;
while (ec < 10) {
_root["Ene" + ec]._x = -1000;
_root["Ene" + ec].myx = -1000;
_root["Ene" + ec]._y = -1000;
_root["Ene" + ec].myy = -1000;
_root["Ene" + ec].health = 10;
_root["Ene" + ec].alive = true;
_root["Ene" + ec].active = false;
_root["Ene" + ec].flicker = 0;
_root["Ene" + ec].removeMovieClip();
ec++;
}
WaterFore_y = 3000;
WaterFore_level = 3000;
WaterFore._visible = false;
a = 0;
while (a < 5) {
_root["bounce" + a].myx = -100;
_root["bounce" + a].myy = -100;
_root["uCatcher" + a].myx = -100;
_root["uCatcher" + a].myy = -100;
_root["uCatcher" + a]._xscale = 100;
_root["hang" + a].myx = -100;
_root["hang" + a].myy = -100;
_root["hang" + a].gotoAndStop(1);
_root["npc" + a].myx = -100;
_root["npc" + a].myy = -100;
_root["npc" + a].dir = false;
_root["npc" + a].baseNPC = 1;
_root["npc" + a].gotoAndStop(1);
if (a < 3) {
_root["switch" + a].myx = -100;
_root["switch" + a].myy = -100;
_root["switch" + a].mystate = false;
_root["switch" + a].gotoAndStop(1);
}
a++;
}
rock0.myx = -100;
rock0.myy = -100;
switch (Floor._currentframe) {
case 1 :
pContainer._xscale = 120;
pContainer._yscale = 120;
break;
case 2 :
pContainer._xscale = 120;
pContainer._yscale = 120;
break;
case 3 :
pContainer._xscale = 150;
pContainer._yscale = 150;
break;
case 4 :
pContainer._xscale = 150;
pContainer._yscale = 150;
break;
case 5 :
pContainer._xscale = 150;
pContainer._yscale = 150;
break;
default :
pContainer._xscale = 100;
pContainer._yscale = 100;
}
if (Floor._currentframe < 6) {
para0.gotoAndStop(1);
para1.gotoAndStop(1);
} else if (Floor._currentframe > 12) {
para0.gotoAndStop(4);
para1.gotoAndStop(4);
} else if (g_gameprogress == 0) {
para0.gotoAndStop(3);
para1.gotoAndStop(2);
} else {
para0.gotoAndStop(2);
para1.gotoAndStop(2);
}
if (Floor._currentframe == 2) {
if ((g_costume != 2) && (g_costume != 3)) {
npc0.myx = 452;
npc0.myy = 360;
npc0._xscale = 150;
npc0._yscale = 150;
npc0.baseNPC = 6;
npc0.gotoAndStop(6);
uCatcher2.myx = 404;
uCatcher2.myy = 368;
uCatcher2._xscale = 300;
}
ENEINDEX = 0;
uCatcher0.myx = 128;
uCatcher0.myy = 368;
uCatcher0._xscale = 200;
uCatcher1.myx = 256;
uCatcher1.myy = 368;
uCatcher1._xscale = 100;
} else if (Floor._currentframe == 3) {
npc0.myx = 508;
npc0.myy = 348;
npc0._xscale = 150;
npc0._yscale = 150;
if (g_char == 0) {
npc0.baseNPC = 4;
npc0.gotoAndStop(4);
} else {
npc0.baseNPC = 2;
npc0.gotoAndStop(2);
}
ENEINDEX = 0;
uCatcher0.myx = 95;
uCatcher0.myy = 352;
uCatcher0._xscale = 200;
uCatcher1.myx = 309;
uCatcher1.myy = 352;
uCatcher1._xscale = 200;
uCatcher2.myx = 953;
uCatcher2.myy = 352;
uCatcher2._xscale = 200;
uCatcher3.myx = 870;
uCatcher3.myy = 352;
uCatcher3._xscale = 100;
uCatcher4.myx = 460;
uCatcher4.myy = 352;
uCatcher4._xscale = 300;
} else if ((Floor._currentframe == 4) || (Floor._currentframe == 5)) {
ENEINDEX = 0;
uCatcher0.myx = 73;
uCatcher0.myy = 352;
uCatcher0._xscale = 200;
uCatcher1.myx = 170;
uCatcher1.myy = 352;
uCatcher1._xscale = 100;
uCatcher2.myx = 265;
uCatcher2.myy = 352;
uCatcher2._xscale = 200;
uCatcher3.myx = 379;
uCatcher3.myy = 352;
uCatcher3._xscale = 500;
} else if (Floor._currentframe == 6) {
WaterFore_y = 916;
WaterFore_level = 916;
WaterFore._visible = true;
ENEINDEX = 2;
Ene0.attachMovie("objBlockRock", "EneChild", 0);
Ene0.myx = 1280;
Ene0.myy = 800;
Ene1.attachMovie("objSpikes", "EneChild", 0);
Ene1.myx = 1344;
Ene1.myy = 800;
} else if (Floor._currentframe == 7) {
uCatcher0.myx = 830;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
if (g_gameprogress == 0) {
ENEINDEX = 1;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 926;
Ene0.myy = 480;
} else {
ENEINDEX = 2;
Ene0.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene0.myx = 926;
Ene0.myy = 480;
Ene1.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene1.myx = 500;
Ene1.myy = 480;
}
} else if (Floor._currentframe == 8) {
uCatcher0.myx = 380;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
ENEINDEX = 4;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 610;
Ene0.myy = 480;
Ene1.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene1.myx = 1614;
Ene1.myy = 480;
Ene2.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene2.myx = 1366;
Ene2.myy = 544;
Ene3.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene3.myx = 1080;
Ene3.myy = 608;
} else if (Floor._currentframe == 9) {
hang0.myx = 832;
hang0.myy = 416;
hang0.gotoAndStop(5);
hang1.myx = 1152;
hang1.myy = 416;
hang1.gotoAndStop(5);
hang2.myx = 1472;
hang2.myy = 416;
hang2.gotoAndStop(1);
rock0.myx = 1760;
rock0.myy = 544;
if (g_gameprogress == 0) {
uCatcher0.myx = 138;
uCatcher0.myy = 384;
uCatcher0._xscale = 200;
npc0.myx = 170;
npc0.myy = 384;
if (g_char == 0) {
npc0.baseNPC = 4;
npc0.gotoAndStop(4);
} else {
npc0.baseNPC = 2;
npc0.gotoAndStop(2);
}
}
ENEINDEX = 8;
Ene0.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene0.myx = 1036;
Ene0.myy = 864;
Ene1.attachMovie("objSpikes", "EneChild", 0);
Ene1.myx = 1120;
Ene1.myy = 864;
Ene2.attachMovie("objSpikes", "EneChild", 0);
Ene2.myx = 1344;
Ene2.myy = 864;
Ene3.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene3.myx = 1438;
Ene3.myy = 864;
Ene4.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene4.myx = 728;
Ene4.myy = 608;
Ene5.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene5.myx = 324;
Ene5.myy = 480;
Ene6.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene6.myx = 1736;
Ene6.myy = 352;
Ene7.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene7.myx = 1950;
Ene7.myy = 544;
} else if (Floor._currentframe == 10) {
bounce0.myx = 1024;
bounce0.myy = 672;
WaterFore_y = 688;
WaterFore_level = 688;
WaterFore._visible = true;
ENEINDEX = 4;
Ene0.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene0.myx = 1240;
Ene0.myy = 416;
Ene1.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene1.myx = 1376;
Ene1.myy = 416;
Ene2.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene2.myx = 1440;
Ene2.myy = 416;
Ene3.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene3.myx = 1692;
Ene3.myy = 288;
} else if (Floor._currentframe == 11) {
if (g_gameprogress == 0) {
ENEINDEX = 8;
Ene0.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene0.myx = 1738;
Ene0.myy = 512;
Ene1.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene1.myx = 1886;
Ene1.myy = 512;
Ene2.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene2.myx = 2078;
Ene2.myy = 512;
Ene3.attachMovie("Ene_JuggernautCont", "EneChild", 0);
Ene3.myx = 2356;
Ene3.myy = 512;
Ene4.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene4.myx = 366;
Ene4.myy = 512;
Ene5.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene5.myx = 674;
Ene5.myy = 512;
Ene6.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene6.myx = 908;
Ene6.myy = 512;
Ene7.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene7.myx = 1306;
Ene7.myy = 512;
} else {
ENEINDEX = 0;
}
uCatcher0.myx = 736;
uCatcher0.myy = 512;
uCatcher0._xscale = 300;
uCatcher1.myx = 2144;
uCatcher1.myy = 512;
uCatcher1._xscale = 300;
} else if (Floor._currentframe == 12) {
ENEINDEX = 3;
Ene0.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene0.myx = 1018;
Ene0.myy = 608;
Ene1.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene1.myx = 200;
Ene1.myy = 704;
Ene2.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene2.myx = 730;
Ene2.myy = 704;
uCatcher0.myx = 1664;
uCatcher0.myy = 512;
uCatcher0._xscale = 300;
} else if (Floor._currentframe == 15) {
ENEINDEX = 0;
uCatcher0.myx = 256;
uCatcher0.myy = 608;
uCatcher0._xscale = 200;
uCatcher1.myx = 384;
uCatcher1.myy = 608;
uCatcher1._xscale = 200;
} else if (Floor._currentframe == 16) {
ENEINDEX = 6;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 305;
Ene0.myy = 448;
Ene1.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene1.myx = 616;
Ene1.myy = 480;
Ene2.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene2.myx = 868;
Ene2.myy = 608;
Ene3.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene3.myx = 1046;
Ene3.myy = 544;
Ene4.attachMovie("objSpikes", "EneChild", 0);
Ene4.myx = 424;
Ene4.myy = 576;
Ene5.attachMovie("objSpikes", "EneChild", 0);
Ene5.myx = 504;
Ene5.myy = 576;
} else if (Floor._currentframe == 17) {
bounce0.myx = 554;
bounce0.myy = 1376;
bounce1.myx = 1408;
bounce1.myy = 928;
bounce2.myx = 524;
bounce2.myy = 672;
WaterFore_y = 1424;
WaterFore_level = 1424;
WaterFore._visible = true;
ENEINDEX = 10;
Ene0.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene0.myx = 312;
Ene0.myy = 1024;
Ene1.attachMovie("Ene_SpiderContainer", "EneChild", 0);
Ene1.myx = 752;
Ene1.myy = 1088;
Ene2.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene2.myx = 1092;
Ene2.myy = 1024;
Ene3.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene3.myx = 1388;
Ene3.myy = 928;
if (g_gameprogress < 5) {
Ene4.attachMovie("objBlockRock", "EneChild", 0);
Ene4.myx = 742;
Ene4.myy = 1376;
} else {
Ene4.attachMovie("", "EneChild", 0);
Ene4.myx = -1000;
Ene4.myy = -1000;
}
Ene5.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene5.myx = 1026;
Ene5.myy = 640;
Ene6.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene6.myx = 616;
Ene6.myy = 672;
Ene7.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene7.myx = 812;
Ene7.myy = 256;
if (g_gameprogress < 6) {
Ene8.attachMovie("objBlockRock", "EneChild", 0);
Ene8.myx = 1856;
Ene8.myy = 160;
} else {
Ene8.attachMovie("", "EneChild", 0);
Ene8.myx = -1000;
Ene8.myy = -1000;
}
Ene9.attachMovie("Ene_StalacspikeCont", "EneChild", 0);
Ene9.myx = 1568;
Ene9.myy = 1376;
} else if (Floor._currentframe == 18) {
ENEINDEX = 6;
Ene0.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene0.myx = 854;
Ene0.myy = 832;
Ene1.attachMovie("objSpikes", "EneChild", 0);
Ene1.myx = 486;
Ene1.myy = 896;
Ene2.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene2.myx = 640;
Ene2.myy = 576;
Ene3.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene3.myx = 934;
Ene3.myy = 352;
Ene4.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene4.myx = 480;
Ene4.myy = 224;
Ene5.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene5.myx = 1148;
Ene5.myy = 480;
} else if (Floor._currentframe == 19) {
bounce0.myx = 1626;
bounce0.myy = 448;
hang0.myx = 320;
hang0.myy = 160;
hang0.gotoAndStop(10);
hang1.myx = 640;
hang1.myy = 160;
hang1.gotoAndStop(10);
hang2.myx = 960;
hang2.myy = 160;
hang2.gotoAndStop(8);
hang3.myx = 1088;
hang3.myy = 32;
hang3.gotoAndStop(10);
hang4.myx = 1408;
hang4.myy = 32;
hang4.gotoAndStop(10);
switch0.myx = 85;
switch0.myy = 320;
if (g_gameprogress == 4) {
switch0.mystate = false;
switch0.gotoAndStop(1);
} else {
switch0.mystate = true;
switch0.gotoAndStop(5);
}
ENEINDEX = 8;
Ene0.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene0.myx = 1362;
Ene0.myy = 800;
Ene1.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene1.myx = 948;
Ene1.myy = 800;
Ene2.attachMovie("Ene_JuggernautCont", "EneChild", 0);
Ene2.myx = 998;
Ene2.myy = 576;
Ene3.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene3.myx = 1608;
Ene3.myy = 448;
Ene4.attachMovie("Ene_StalacspikeCont", "EneChild", 0);
Ene4.myx = 1224;
Ene4.myy = 32;
Ene5.attachMovie("Ene_StalacspikeCont", "EneChild", 0);
Ene5.myx = 480;
Ene5.myy = 160;
Ene6.attachMovie("Ene_StalacspikeCont", "EneChild", 0);
Ene6.myx = 704;
Ene6.myy = 160;
Ene7.attachMovie("Ene_StalacspikeCont", "EneChild", 0);
Ene7.myx = 928;
Ene7.myy = 160;
} else if (Floor._currentframe == 20) {
if (Millie_y < 400) {
switch0.mystate = false;
switch0.gotoAndStop(1);
WaterFore_y = 208;
WaterFore_level = 208;
} else {
switch0.mystate = true;
switch0.gotoAndStop(5);
WaterFore_y = 1072;
WaterFore_level = 1072;
}
WaterFore._visible = true;
switch0.myx = 1432;
switch0.myy = 192;
ENEINDEX = 4;
Ene0.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene0.myx = 594;
Ene0.myy = 480;
Ene1.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene1.myx = 482;
Ene1.myy = 672;
Ene2.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene2.myx = 1122;
Ene2.myy = 768;
Ene3.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene3.myx = 570;
Ene3.myy = 960;
} else if (Floor._currentframe == 21) {
switch0.myx = 442;
switch0.myy = 1920;
WaterFore._visible = true;
if (g_gameprogress == 5) {
WaterFore_y = 1936;
WaterFore_level = 1936;
switch0.mystate = false;
switch0.gotoAndStop(1);
} else {
WaterFore_y = 304;
WaterFore_level = 304;
switch0.mystate = true;
switch0.gotoAndStop(5);
}
ENEINDEX = 10;
Ene0.attachMovie("objSpikesDown", "EneChild", 0);
Ene0.myx = 256;
Ene0.myy = 1568;
Ene1.attachMovie("objSpikesDown", "EneChild", 0);
Ene1.myx = 128;
Ene1.myy = 1344;
Ene2.attachMovie("objSpikesDown", "EneChild", 0);
Ene2.myx = 384;
Ene2.myy = 1344;
Ene3.attachMovie("objSpikesDown", "EneChild", 0);
Ene3.myx = 256;
Ene3.myy = 1120;
Ene4.attachMovie("objSpikesDown", "EneChild", 0);
Ene4.myx = 640;
Ene4.myy = 1120;
Ene5.attachMovie("objSpikesDown", "EneChild", 0);
Ene5.myx = 128;
Ene5.myy = 832;
Ene6.attachMovie("objSpikesDown", "EneChild", 0);
Ene6.myx = 448;
Ene6.myy = 832;
Ene7.attachMovie("objSpikesDown", "EneChild", 0);
Ene7.myx = 768;
Ene7.myy = 832;
Ene8.attachMovie("objSpikesDown", "EneChild", 0);
Ene8.myx = 256;
Ene8.myy = 576;
Ene9.attachMovie("objSpikesDown", "EneChild", 0);
Ene9.myx = 608;
Ene9.myy = 576;
} else if (Floor._currentframe == 22) {
uCatcher0.myx = 704;
uCatcher0.myy = 352;
uCatcher0._xscale = 200;
ENEINDEX = 2;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 390;
Ene0.myy = 384;
Ene1.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene1.myx = 1254;
Ene1.myy = 384;
} else if (Floor._currentframe == 23) {
ENEINDEX = 4;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 870;
Ene0.myy = 768;
Ene1.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene1.myx = 1412;
Ene1.myy = 832;
Ene2.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene2.myx = 1824;
Ene2.myy = 352;
Ene3.attachMovie("objBlockRock", "EneChild", 0);
Ene3.myx = 1124;
Ene3.myy = 320;
} else if (Floor._currentframe == 24) {
switch0.myx = 1920;
switch0.myy = 384;
if (g_gameprogress == 6) {
switch0.mystate = false;
switch0.gotoAndStop(1);
} else {
switch0.mystate = true;
switch0.gotoAndStop(5);
}
ENEINDEX = 3;
Ene0.attachMovie("Ene_JuggernautCont", "EneChild", 0);
Ene0.myx = 1406;
Ene0.myy = 512;
Ene1.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene1.myx = 1212;
Ene1.myy = 512;
Ene2.attachMovie("Ene_JuggernautCont", "EneChild", 0);
Ene2.myx = 804;
Ene2.myy = 512;
} else if (Floor._currentframe == 25) {
uCatcher0.myx = 608;
uCatcher0.myy = 480;
uCatcher0._xscale = 200;
uCatcher1.myx = 352;
uCatcher1.myy = 416;
uCatcher1._xscale = 300;
uCatcher2.myx = 800;
uCatcher2.myy = 448;
uCatcher2._xscale = 200;
ENEINDEX = 1;
Ene0.attachMovie("objBlockRock", "EneChild", 0);
Ene0.myx = 1536;
Ene0.myy = 480;
} else if (Floor._currentframe == 26) {
bounce0.myx = 160;
bounce0.myy = 384;
hang0.myx = 128;
hang0.myy = 64;
hang0.gotoAndStop(10);
hang1.myx = 448;
hang1.myy = 64;
hang1.gotoAndStop(10);
WaterFore._visible = true;
WaterFore_y = 752;
WaterFore_level = 752;
ENEINDEX = 2;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 680;
Ene0.myy = 576;
Ene1.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene1.myx = 212;
Ene1.myy = 384;
} else if (Floor._currentframe == 27) {
uCatcher0.myx = 64;
uCatcher0.myy = 224;
uCatcher0._xscale = 200;
switch0.myx = 520;
switch0.myy = 1184;
switch1.myx = 1975;
switch1.myy = 928;
WaterFore._visible = true;
WaterFore_y = 1616;
WaterFore_level = 1616;
ENEINDEX = 10;
Ene0.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene0.myx = 564;
Ene0.myy = 1408;
Ene1.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene1.myx = 384;
Ene1.myy = 1184;
Ene2.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene2.myx = 900;
Ene2.myy = 928;
Ene3.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene3.myx = 1964;
Ene3.myy = 928;
Ene4.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene4.myx = 1354;
Ene4.myy = 1184;
Ene5.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene5.myx = 1752;
Ene5.myy = 1216;
Ene6.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene6.myx = 196;
Ene6.myy = 224;
Ene7.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene7.myx = 598;
Ene7.myy = 288;
Ene8.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene8.myx = 1174;
Ene8.myy = 288;
Ene9.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene9.myx = 1430;
Ene9.myy = 320;
} else if (Floor._currentframe == 28) {
hang0.myx = 128;
hang0.myy = 32;
hang0.gotoAndStop(10);
hang1.myx = 448;
hang1.myy = 32;
hang1.gotoAndStop(10);
hang2.myx = 768;
hang2.myy = 32;
hang2.gotoAndStop(8);
bounce0.myx = 742;
bounce0.myy = 1760;
bounce1.myx = 544;
bounce1.myy = 1440;
bounce2.myx = 256;
bounce2.myy = 1216;
bounce3.myx = 704;
bounce3.myy = 864;
bounce4.myx = 928;
bounce4.myy = 512;
WaterFore._visible = true;
WaterFore_y = 1776;
WaterFore_level = 1776;
ENEINDEX = 1;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 614;
Ene0.myy = 864;
} else if (Floor._currentframe == 29) {
uCatcher0.myx = 1696;
uCatcher0.myy = 320;
uCatcher0._xscale = 200;
ENEINDEX = 3;
Ene0.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene0.myx = 748;
Ene0.myy = 512;
Ene1.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene1.myx = 1058;
Ene1.myy = 416;
Ene2.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene2.myx = 1388;
Ene2.myy = 352;
} else if (Floor._currentframe == 30) {
ENEINDEX = 2;
Ene0.attachMovie("objSpikes", "EneChild", 0);
Ene0.myx = 448;
Ene0.myy = 1216;
Ene1.attachMovie("objSpikes", "EneChild", 0);
Ene1.myx = 512;
Ene1.myy = 1216;
} else if (Floor._currentframe == 31) {
uCatcher0.myx = 160;
uCatcher0.myy = 224;
uCatcher0._xscale = 200;
ENEINDEX = 7;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 660;
Ene0.myy = 288;
Ene1.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene1.myx = 952;
Ene1.myy = 352;
Ene2.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene2.myx = 1158;
Ene2.myy = 576;
Ene3.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene3.myx = 812;
Ene3.myy = 640;
Ene4.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene4.myx = 370;
Ene4.myy = 768;
Ene5.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene5.myx = 388;
Ene5.myy = 992;
Ene6.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene6.myx = 766;
Ene6.myy = 1056;
} else if (Floor._currentframe == 32) {
WaterFore._visible = true;
WaterFore_y = 464;
WaterFore_level = 464;
ENEINDEX = 5;
Ene0.attachMovie("Ene_SkelMaceCont", "EneChild", 0);
Ene0.myx = 394;
Ene0.myy = 512;
Ene1.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene1.myx = 674;
Ene1.myy = 512;
Ene2.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene2.myx = 962;
Ene2.myy = 480;
Ene3.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene3.myx = 1518;
Ene3.myy = 416;
Ene4.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene4.myx = 1952;
Ene4.myy = 416;
} else if (Floor._currentframe == 33) {
WaterFore._visible = true;
switch0.myx = 128;
switch0.myy = 576;
switch1.myx = 864;
switch1.myy = 1280;
switch2.myx = 736;
switch2.myy = 256;
if (Millie_x < 100) {
WaterFore_y = 912;
WaterFore_level = 912;
switch2.mystate = true;
switch2.gotoAndStop(5);
} else {
WaterFore_y = 272;
WaterFore_level = 272;
switch1.mystate = true;
switch1.gotoAndStop(5);
}
ENEINDEX = 6;
Ene0.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene0.myx = 360;
Ene0.myy = 1248;
Ene1.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene1.myx = 842;
Ene1.myy = 1280;
Ene2.attachMovie("Ene_JuggernautCont", "EneChild", 0);
Ene2.myx = 712;
Ene2.myy = 896;
Ene3.attachMovie("Ene_SkelStalkerCont", "EneChild", 0);
Ene3.myx = 564;
Ene3.myy = 640;
Ene4.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene4.myx = 224;
Ene4.myy = 576;
Ene5.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene5.myx = 882;
Ene5.myy = 256;
} else if (Floor._currentframe == 34) {
ENEINDEX = 7;
Ene0.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene0.myx = 218;
Ene0.myy = 544;
Ene1.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene1.myx = 426;
Ene1.myy = 544;
Ene2.attachMovie("objBlockRock", "EneChild", 0);
Ene2.myx = 640;
Ene2.myy = 512;
Ene3.attachMovie("Ene_MudGelCont", "EneChild", 0);
Ene3.myx = 960;
Ene3.myy = 416;
Ene4.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene4.myx = 1200;
Ene4.myy = 416;
Ene5.attachMovie("objBlockRock", "EneChild", 0);
Ene5.myx = 1376;
Ene5.myy = 384;
Ene6.attachMovie("Ene_GemGelCont", "EneChild", 0);
Ene6.myx = 1638;
Ene6.myy = 416;
} else if (Floor._currentframe == 35) {
bounce0.myx = 524;
bounce0.myy = 768;
ENEINDEX = 1;
Ene0.attachMovie("Ene_SkelGuardCont", "EneChild", 0);
Ene0.myx = 830;
Ene0.myy = 768;
}
if (dontspawn == false) {
qs = 0;
while (qs < ENEINDEX) {
_root["Ene" + qs].health = _root["Ene" + qs].EneChild.health;
_root["Ene" + qs].alive = true;
_root["Ene" + qs].active = true;
_root["Ene" + qs].walkspeed = _root["Ene" + qs].EneChild.walkspeed;
qs++;
}
} else {
qs = 0;
while (qs < ENEINDEX) {
_root["Ene" + qs].health = 0;
_root["Ene" + qs].alive = false;
_root["Ene" + qs].active = true;
_root["Ene" + qs].walkspeed = 0;
if (_root["Ene" + qs].dir) {
_root["Ene" + qs].EneChild.gotoAndStop(6);
} else {
_root["Ene" + qs].EneChild.gotoAndStop(5);
}
qs++;
}
}
ForeDisplay();
MoveEverything();
Parallax();
}
function AutoSave(newsaveloc) {
local_data = SharedObject.getLocal("millie6saves");
if (g_savefile == 1) {
local_data.data.save1_started = true;
local_data.data.save1_loc = newsaveloc;
local_data.data.save1_char = g_char;
local_data.data.save1_gprog = g_gameprogress;
local_data.data.save1_diff = g_difficulty;
local_data.data.save1_timetaken = g_timetaken;
if (g_char == 0) {
local_data.data.save1_costume = g_costume;
} else {
local_data.data.save1_costume = g_lcostume;
}
} else if (g_savefile == 2) {
local_data.data.save2_started = true;
local_data.data.save2_loc = newsaveloc;
local_data.data.save2_char = g_char;
local_data.data.save2_gprog = g_gameprogress;
local_data.data.save2_diff = g_difficulty;
local_data.data.save2_timetaken = g_timetaken;
if (g_char == 0) {
local_data.data.save2_costume = g_costume;
} else {
local_data.data.save2_costume = g_lcostume;
}
} else if (g_savefile == 3) {
local_data.data.save3_started = true;
local_data.data.save3_loc = newsaveloc;
local_data.data.save3_char = g_char;
local_data.data.save3_gprog = g_gameprogress;
local_data.data.save3_diff = g_difficulty;
local_data.data.save3_timetaken = g_timetaken;
if (g_char == 0) {
local_data.data.save3_costume = g_costume;
} else {
local_data.data.save3_costume = g_lcostume;
}
}
local_data.data.cosunlock_0 = g_cosunlock[0];
local_data.data.cosunlock_1 = g_cosunlock[1];
local_data.data.cosunlock_2 = g_cosunlock[2];
local_data.data.cosunlock_3 = g_cosunlock[3];
local_data.data.cosunlock_4 = g_cosunlock[4];
local_data.data.cosunlock_5 = g_cosunlock[5];
local_data.data.cosunlock_6 = g_cosunlock[6];
local_data.data.cosunlock_7 = g_cosunlock[7];
local_data.data.cosunlock_8 = g_cosunlock[8];
local_data.data.cosunlock_9 = g_cosunlock[9];
local_data.data.cosunlock_10 = g_cosunlock[10];
local_data.data.cosunlock_11 = g_cosunlock[11];
local_data.data.cosunlock_12 = g_cosunlock[12];
local_data.data.k_up = g_up;
local_data.data.k_down = g_down;
local_data.data.k_left = g_left;
local_data.data.k_right = g_right;
local_data.data.k_action = g_action;
local_data.data.k_jump = g_jump;
local_data.data.k_attack = g_attack;
local_data.data.k_throw = g_throw;
local_data.flush();
}
ForeDisplay();
MoveEverything();
Parallax();
if (pContainer.alive && (cutcontrol == false)) {
pContainerEvents();
}
pContainerHandler();
if (objBits.inuse == true) {
BoomieHandler();
}
i = 0;
while (i < ENEINDEX) {
if (_root["Ene" + i].alive) {
EnemyEvents(_root["Ene" + i]);
}
i++;
}
DetEvents();
BounceCheck();
RockHandler();
if (fadetoblack == 0) {
CheckStageChange();
}
Frame 925
g_timetaken = g_timetaken + 1;
if (soundtimer > 0) {
soundtimer = soundtimer - 1;
}
if (stonesound > 0) {
stonesound = stonesound + 1;
}
if (stonesound > 21) {
stonesound = 0;
}
if (pContainer.rage > 30) {
pContainer.rage = 30;
}
if (pContainer.health > 100) {
pContainer.health = 100;
}
bHP._xscale = Math.round((pContainer.health / pContainer.pChild.maxhealth) * 100);
if (((pContainer.health / pContainer.pChild.maxhealth) * 100) > 30) {
bHP.gotoAndStop(3);
} else if (((pContainer.health / pContainer.pChild.maxhealth) * 100) > 10) {
bHP.gotoAndStop(2);
} else {
bHP.gotoAndStop(1);
}
bPP._xscale = Math.round((pContainer.rage / 30) * 100);
if (pContainer.rage > 20) {
bPP.gotoAndStop(3);
} else if (pContainer.rage > 10) {
bPP.gotoAndStop(2);
} else {
bPP.gotoAndStop(1);
}
bcap0.gotoAndStop(nPlate._currentframe);
bcap1.gotoAndStop(nPlate._currentframe);
if (pContainer.alive == false) {
deathtimer = deathtimer + 1;
if (pContainer.watermult == 0.5) {
pContainer._y = pContainer._y + 2;
}
}
if ((pContainer.alive == false) && (deathtimer > 60)) {
if (fadetoblack < 30) {
fadetoblack = fadetoblack + 1;
fAutoIn.gotoAndStop(fadetoblack + 8);
gotoAndPlay (924);
} else {
nextscene = "Died";
gotoAndPlay (930);
}
} else if (conversation[0] != "") {
if (pContainer.ready == 0) {
if (pContainer.dir) {
pContainer.pChild.gotoAndStop(M_STAND + 1);
} else {
pContainer.pChild.gotoAndStop(M_STAND);
}
}
msgstring = conversation[0];
msgpos = 0;
conv_holder = 0;
gotoAndPlay (926);
} else if (nextscene == "costume") {
gotoAndStop (928);
} else if (nextscene != "") {
if (fadetoblack < 30) {
fadetoblack = fadetoblack + 1;
fAutoIn.gotoAndStop(fadetoblack + 8);
gotoAndPlay (924);
} else {
gotoAndPlay (930);
}
} else {
gotoAndPlay (924);
}
Frame 926
charBox.gotoAndStop(conversation[(conv_holder * 2) + 1]);
if (charBox._currentframe == 1) {
sBox.gotoAndStop(3);
} else {
sBox.gotoAndStop(2);
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 927
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (msgpos.isNaN()) {
msgpos = 0;
}
if (Key.isDown(g_action)) {
if (keyready == false) {
keyready = true;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = false;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
conv_holder = conv_holder + 1;
if (conversation[conv_holder * 2] != "") {
msgstring = conversation[conv_holder * 2];
gotoAndPlay (926);
} else {
a = 0;
while (a <= conv_holder) {
conversation[a * 2] = "";
conversation[(a * 2) + 1] = 1;
a++;
}
gotoAndPlay (924);
}
} else {
gotoAndPlay (926);
}
Frame 928
if (g_char == 0) {
cost0.text = "Millie's Clothes";
if (g_cosunlock[0] == true) {
cost1.text = "Demonic Form";
} else {
cost1.text = "???";
}
if (g_cosunlock[1] == true) {
cost2.text = "Casual Clothes";
} else {
cost2.text = "???";
}
if (g_cosunlock[2] == true) {
cost3.text = "Quester's Outfit";
} else {
cost3.text = "???";
}
if (g_cosunlock[3] == true) {
cost4.text = "Anne's Clothes";
} else {
cost4.text = "???";
}
if (g_cosunlock[4] == true) {
cost5.text = "Rain Apparel";
} else {
cost5.text = "???";
}
if (g_cosunlock[5] == true) {
cost6.text = "Angel's Dress";
} else {
cost6.text = "???";
}
if (g_cosunlock[6] == true) {
cost7.text = "Magician's Dress";
} else {
cost7.text = "???";
}
} else if (g_char == 1) {
cost0.text = "Lance's Clothes";
if (g_cosunlock[7] == true) {
cost1.text = "Demonic Form";
} else {
cost1.text = "???";
}
if (g_cosunlock[8] == true) {
cost2.text = "Mask of Undeath";
} else {
cost2.text = "???";
}
if (g_cosunlock[9] == true) {
cost3.text = "Ahiwai Armor";
} else {
cost3.text = "???";
}
if (g_cosunlock[10] == true) {
cost4.text = "Dragon Pants";
} else {
cost4.text = "???";
}
cost5.text = "";
cost6.text = "";
cost7.text = "";
box1._y = -1000;
box2._y = -1000;
box3._y = -1000;
}
pContainer.runspeed = 0;
pContainer.dir = false;
pContainer.pChild.gotoAndStop(1);
stop();
Instance of Symbol 1341 MovieClip in Frame 928
on (rollOver) {
this.gotoAndStop(2);
_root.g_costume = 0;
_root.g_lcostume = 0;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if (_root.g_char == 0) {
_root.g_costume = 0;
} else {
_root.g_lcostume = 0;
}
this.gotoAndStop(3);
this._parent.play();
}
Instance of Symbol 1341 MovieClip in Frame 928
on (rollOver) {
this.gotoAndStop(2);
if ((_root.g_char == 0) && (g_cosunlock[0] == true)) {
_root.g_costume = 2;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
} else if ((_root.g_char == 1) && (g_cosunlock[7] == true)) {
_root.g_lcostume = 1;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if (((_root.g_char == 0) && (g_cosunlock[0] == true)) || ((_root.g_char == 1) && (g_cosunlock[7] == true))) {
this.gotoAndStop(3);
this._parent.play();
}
}
Instance of Symbol 1341 MovieClip in Frame 928
on (rollOver) {
this.gotoAndStop(2);
if ((_root.g_char == 0) && (g_cosunlock[1] == true)) {
_root.g_costume = 4;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
} else if ((_root.g_char == 1) && (g_cosunlock[8] == true)) {
_root.g_lcostume = 2;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if (((_root.g_char == 0) && (g_cosunlock[1] == true)) || ((_root.g_char == 1) && (g_cosunlock[8] == true))) {
this.gotoAndStop(3);
this._parent.play();
}
}
Instance of Symbol 1341 MovieClip in Frame 928
on (rollOver) {
this.gotoAndStop(2);
if ((_root.g_char == 0) && (g_cosunlock[2] == true)) {
_root.g_costume = 5;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
} else if ((_root.g_char == 1) && (g_cosunlock[9] == true)) {
_root.g_lcostume = 3;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if (((_root.g_char == 0) && (g_cosunlock[2] == true)) || ((_root.g_char == 1) && (g_cosunlock[9] == true))) {
this.gotoAndStop(3);
this._parent.play();
}
}
Instance of Symbol 1341 MovieClip in Frame 928
on (rollOver) {
this.gotoAndStop(2);
if ((_root.g_char == 0) && (g_cosunlock[3] == true)) {
_root.g_costume = 6;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
} else if ((_root.g_char == 1) && (g_cosunlock[10] == true)) {
_root.g_lcostume = 4;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if (((_root.g_char == 0) && (g_cosunlock[3] == true)) || ((_root.g_char == 1) && (g_cosunlock[10] == true))) {
this.gotoAndStop(3);
this._parent.play();
}
}
Instance of Symbol 1341 MovieClip "box1" in Frame 928
on (rollOver) {
if (_root.g_char == 0) {
this.gotoAndStop(2);
if (g_cosunlock[4] == true) {
_root.g_costume = 7;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if ((_root.g_char == 0) && (g_cosunlock[4] == true)) {
this.gotoAndStop(3);
this._parent.play();
}
}
Instance of Symbol 1341 MovieClip "box2" in Frame 928
on (rollOver) {
if (_root.g_char == 0) {
this.gotoAndStop(2);
if (g_cosunlock[5] == true) {
_root.g_costume = 8;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if ((_root.g_char == 0) && (g_cosunlock[5] == true)) {
this.gotoAndStop(3);
this._parent.play();
}
}
Instance of Symbol 1341 MovieClip "box3" in Frame 928
on (rollOver) {
if (_root.g_char == 0) {
this.gotoAndStop(2);
if (g_cosunlock[6] == true) {
_root.g_costume = 9;
this._parent.pContainer.pChild.gotoAndStop(3);
this._parent.pContainer.pChild.gotoAndStop(1);
}
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
on (release) {
if ((_root.g_char == 0) && (g_cosunlock[6] == true)) {
this.gotoAndStop(3);
this._parent.play();
}
}
Frame 929
pContainer.removeMovieClip();
if (g_char == 0) {
if (((((g_costume != 2) && (g_costume != 4)) && (g_costume != 7)) && (g_costume != 8)) && (g_costume != 9)) {
pContainer.attachMovie("MillieContainer", "pChild", 0);
} else {
pContainer.attachMovie("MillieDressContainer", "pChild", 0);
}
}
nextscene = "";
gotoAndPlay (924);
Frame 930
if (g_costume == 1) {
g_costume = 0;
} else if (g_costume == 3) {
g_costume = 2;
}
switch (nextscene) {
case "Rest" :
pContainer.health = 100;
pContainer.rage = 0;
nextscene = "";
fadetoblack = 0;
cutcontrol = false;
gotoAndPlay (924);
break;
case "Died" :
sbgm.stop();
gotoAndPlay (201);
break;
case "M1 Destroyed" :
gotoAndPlay (931);
break;
case "M2 Demon Millie" :
gotoAndPlay (1133);
break;
case "M3 Amends" :
gotoAndPlay (1359);
break;
case "M4 Fall" :
gotoAndPlay (1601);
break;
case "M5 Anne" :
gotoAndPlay (1725);
break;
case "M6 Leave" :
gotoAndPlay (1934);
break;
case "M7 Continued" :
gotoAndPlay (1978);
break;
default :
fadetoblack = 0;
gotoAndPlay (924);
}
Frame 955
msgstring = "Oh, crackers!! We got DESTROYED!";
Frame 956
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 957
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (956);
}
Frame 961
msgstring = "Wahhh! I'm scared!";
Frame 962
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 963
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Retreat!!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (962);
}
Frame 964
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 965
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "This isn't over, girlie! Just you wait!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (964);
}
Frame 1001
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1002
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Get out of my way, prettyboy!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1001);
}
Frame 1003
sbgm.stop();
Frame 1056
sGrassyStep4.start();
Frame 1064
sGrassyStep4.start();
Frame 1067
sGrassyStep3.start();
Frame 1072
sGrassyStep3.start();
Frame 1074
sGrassyStep3.start();
Frame 1080
sskidshort.start();
Frame 1090
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1091
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "This hovel is secured. Let us continue our duel.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1090);
}
Frame 1092
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1093
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Are you crazy? They're getting away!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1092);
}
Frame 1094
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1095
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "I don't have time for this.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1094);
}
Frame 1096
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1097
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "You dare flee from me, wench?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1096);
}
Frame 1104
sGrassyStep4.start();
Frame 1118
sGrassyStep4.start();
Frame 1120
sSwipe.start();
sbgm.start();
Frame 1121
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1122
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "This shit isn't funny, Lance.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1121);
}
Frame 1123
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1124
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Neither is cowardice.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1123);
}
Frame 1125
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1126
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "You're really starting to piss me off, asshole. Stop it.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1125);
}
Frame 1127
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1128
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Not until I have gotten what I have came here for.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1127);
}
Frame 1129
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1130
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
if (g_costume == 0) {
g_costume = 1;
}
msgstring = "Leave me the fuck ALONE!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1129);
}
Frame 1131
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1132
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
sbgm.stop();
cango = false;
g_timetaken = g_timetaken + 180;
if (g_costume == 1) {
g_costume = 0;
}
gotoAndPlay (922);
} else {
gotoAndPlay (1131);
}
Frame 1182
g_costume = 0;
Frame 1187
sSwipe.start();
Frame 1212
simpale.start();
Frame 1219
sGrassyStep3.start();
Frame 1225
sGrassyStep4.start();
Frame 1236
msgstring = "Hmmph. The tales were all lies. You're no swordsman.";
Frame 1237
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1238
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "But, no matter... I shall take my spoils!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1237);
}
Frame 1239
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1240
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "...?!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1239);
}
Frame 1241
scrit.start();
Frame 1257
if (g_sound == 0) {
sexplode1 = new Sound();
sexplode1.attachSound("explode1");
sexplode1.start();
}
Frame 1354
g_costume = 2;
Frame 1355
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1356
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Scared? You should be!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1355);
}
Frame 1357
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1358
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
sbgm.stop();
g_timetaken = g_timetaken + 220;
if (g_char == 0) {
g_cosunlock[0] = true;
}
g_gameprogress = 2;
gotoAndPlay (922);
} else {
gotoAndPlay (1357);
}
Frame 1389
sGrassyStep3.start();
Frame 1402
sGrassyStep4.start();
Frame 1414
sGrassyStep3.start();
Frame 1427
sGrassyStep3.start();
Frame 1441
sswingknife.start();
Frame 1446
sSwordhit.start();
Frame 1457
sswingknife.start();
Frame 1463
sbgm.stop();
simpale.start();
Frame 1483
sGrassyStep3.start();
Frame 1507
msgstring = "Give me one good reason why I shouldn't fucking slit your throat.";
Frame 1508
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1509
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "You've got quite the mouth, harlot!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1508);
}
Frame 1510
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1511
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "...";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1510);
}
Frame 1512
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1513
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "It doesn't matter any more. Nothing does. My life is forfeit.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1512);
}
Frame 1514
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1515
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Ugh, you're not going to get all emo on me, are you?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1514);
}
Frame 1516
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1517
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "My fate rested on the outcome of that battle. Now that you stand victorious, I truly am the inferior swordsman.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1516);
}
Frame 1518
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1519
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Yeah, you're getting all emo.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1518);
}
Frame 1520
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1521
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "King Ohnmouthe has heard of your exploits, Miss Megavolte. He is very impressed.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1520);
}
Frame 1543
g_costume = 0;
Frame 1545
sbgm.attachSound("mm6_TernaVillage");
sbgm.start();
Frame 1573
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1574
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Impressed enough... to replace his loyal hero to the throne.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1573);
}
Frame 1575
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1576
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "...Okay.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1575);
}
Frame 1577
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1578
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Are you dense? You are my sucessor!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1577);
}
Frame 1579
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1580
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "I was sent here to bring you back to Ohnmouthe City to be initiated as the new hero.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1579);
}
Frame 1581
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1582
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Oh. Well.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1581);
}
Frame 1583
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1584
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "That's okay. It's a fine offer but I don't want to leave this place as lame as it is. I like it here.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1583);
}
Frame 1585
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1586
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "You do not understand, Miss Megavolte. You must come with me. My word alone is not sufficient.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1585);
}
Frame 1587
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1588
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Ugh, fine. I'll go to your fruity little city when I'm done killing those demons.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1587);
}
Frame 1589
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1590
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "I shall assist you. Perhaps we shall start with that one right there!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1589);
}
Frame 1591
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1592
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Who, Tenebrae? He's my demon buddy.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1591);
}
Frame 1593
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1594
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Charmed.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1593);
}
Frame 1595
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1596
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "He's how I got to go all \"scary bitch demon\" on you. Wasn't that cool?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1595);
}
Frame 1597
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1598
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Anyway, let's get going. They couldn't have gotten far.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1597);
}
Frame 1599
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1600
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
sbgm.stop();
cango = false;
g_timetaken = g_timetaken + 200;
g_gameprogress = 3;
gotoAndPlay (922);
} else {
gotoAndPlay (1599);
}
Frame 1607
sGrassyStep3.start();
Frame 1613
sGrassyStep4.start();
Frame 1619
sGrassyStep3.start();
Frame 1625
sGrassyStep3.start();
Frame 1631
sGrassyStep3.start();
Frame 1637
sGrassyStep4.start();
Frame 1643
sGrassyStep4.start();
Frame 1649
sGrassyStep3.start();
Frame 1655
sGrassyStep3.start();
Frame 1661
sGrassyStep4.start();
Frame 1667
sGrassyStep3.start();
Frame 1673
sGrassyStep3.start();
Frame 1675
sbang1.start();
Frame 1720
msgstring = "Ugh... I know where this is going.";
Frame 1721
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1722
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "We're not letting you live, lady! Quick, push 'em!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1721);
}
Frame 1723
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1724
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
g_timetaken = g_timetaken + 120;
g_gameprogress = 4;
sbgm.stop();
spunchhit.start();
gotoAndPlay (922);
} else {
gotoAndPlay (1723);
}
Frame 1759
sGrassyStep3.start();
Frame 1769
sGrassyStep3.start();
Frame 1772
msgstring = "Millie! Am I ever glad to see you! Bash got us lost in here.";
Frame 1773
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1774
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Stuff it, mistress.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1773);
}
Frame 1775
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1776
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Have you seen any demons in here, Anne? This guy and I are looking for some.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1775);
}
Frame 1777
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1778
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Hmmm... no, no demons. Look what I did find, though!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1777);
}
Frame 1779
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1780
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Aw, it's adorable!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1779);
}
Frame 1799
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1800
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Careful, my lady! You do not know the secret of that gelatinous mess!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1799);
}
Frame 1801
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1802
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Back off, weirdo. I know exactly what this thing does.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1801);
}
Frame 1803
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1804
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Millie... this is the Blast Gel I've been telling you about. Its goo is like liquid explosvies!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1803);
}
Frame 1805
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1806
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Now I never have to deal with powders or casings ever again. I'm going to blow up SO much stuff!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1805);
}
Frame 1807
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1808
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "I'm getting wet just thinking about it.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1807);
}
Frame 1809
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1810
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Ew, gross.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1809);
}
Frame 1811
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1812
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Hey tiny, over here!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1811);
}
Frame 1823
sbgm.stop();
Frame 1824
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1825
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "How am I tiny? I'm as tall as you are.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1824);
}
Frame 1826
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1827
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "By the way, I'm going to kill you now. Sound good?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1826);
}
Frame 1828
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1829
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "You'll have to get through Gem Head first! Nyah nyah!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1828);
}
Frame 1830
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1831
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Gem Head the Rock Fiend? You're bluffing. No mere demon could summon such a thing.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1830);
}
Frame 1832
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1833
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Well, I stand corrected.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1832);
}
Frame 1834
if (g_sound == 0) {
sexplode1 = new Sound();
sexplode1.attachSound("explode1");
sexplode1.start();
}
Frame 1847
if (g_music == 0) {
sbgm.attachSound("mm6_SparkleBoss");
sbgm.start(0, 9999);
}
Frame 1867
sgemroar.start();
Frame 1924
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1925
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Hey Anne, can we borrow that jelly bomb thing or whatever?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1924);
}
Frame 1926
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1927
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Take it! I don't want to die!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1926);
}
Frame 1928
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1929
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "You can now throw Boomie Bits at enemies. To throw, press F.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1928);
}
Frame 1930
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1931
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Boomie Bits can hurt things normal attacks can't. Throwing bits uses half a pulse bar.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1930);
}
Frame 1932
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1933
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
g_timetaken = g_timetaken + 140;
g_gameprogress = 8;
g_boomiebits = 1;
sbgm.stop();
gotoAndPlay (922);
} else {
gotoAndPlay (1932);
}
Frame 1934
if (g_music == 0) {
sbgm.attachSound("mm6_Sparkleshine");
sbgm.start(0, 999);
}
Frame 1957
msgstring = "Adorable AND useful! You're such a cute little guy! Awww.";
Frame 1958
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1959
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Can I have it back now? I want to get out of here.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1958);
}
Frame 1960
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1961
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "No way, he's mine now! I'll name him... Boomie!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1960);
}
Frame 1962
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1963
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Isn't that right, Boomie? You'd rather go with me than with weirdo Anne who gets off on explosions wouldn't you?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1962);
}
Frame 1964
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1965
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "He says yes!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1964);
}
Frame 1966
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1967
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "It can't even talk! Damn it Millie, I need that thing!";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1966);
}
Frame 1968
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1969
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Okay, tell you what. How about I take him for now and you can exploit him all you want when I come back?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1968);
}
Frame 1970
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1971
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Ugh... fine. Just take good care of it and don't blow yourself up.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1970);
}
Frame 1972
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1973
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Let's go, Bash. I think I remember the way out now.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1972);
}
Frame 1974
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1975
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "Shall we continue on, Miss Megavolte?";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (1974);
}
Frame 1976
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 1977
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "";
msgpos = 0;
cango = false;
g_timetaken = g_timetaken + 24;
g_gameprogress = 9;
sbgm.stop();
gotoAndPlay (922);
} else {
gotoAndPlay (1976);
}
Frame 1978
sbgm.stop();
Frame 2006
msgstring = "Agggghh! Where the hell could those little shits BE?";
Frame 2007
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 2008
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "We will find them. Nothing escapes the grasp of Lance LeTourre.";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (2007);
}
Frame 2009
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 2010
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "To be continued...";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (2009);
}
Frame 2011
if (charBox._currentframe == 1) {
if (g_char == 0) {
charBox.gotoAndStop(2);
} else {
charBox.gotoAndStop(3);
}
}
if (msgpos < msgstring.length) {
stick.start();
txtBox.text = txtBox.text + (msgstring.charAt(msgpos) + msgstring.charAt(msgpos + 1));
}
Frame 2012
g_timetaken = g_timetaken + 1;
if (msgpos < msgstring.length) {
msgpos = msgpos + 2;
}
if (Key.isDown(g_action)) {
if (keyready == 0) {
keyready = 1;
if (msgpos >= (msgstring.length - 1)) {
cango = true;
}
}
} else {
keyready = 0;
}
if (cango) {
txtBox.text = "";
msgstring = "To be continued...";
msgpos = 0;
cango = false;
play();
} else {
gotoAndPlay (2011);
}
Frame 2057
gotoAndPlay (41);
Symbol 12 Button
on (release) {
getURL ("http://www.milliemegavolte.com/", _blank);
}
Symbol 15 Button
on (release) {
getURL ("http://www.myroidtypecomics.com/", _blank);
}
Symbol 1588 MovieClip [__Packages.Warrior] Frame 0
class Warrior extends MovieClip
{
function Warrior () {
super();
}
var health = 100;
var maxhealth = 100;
var rage = 0;
var ability = 100;
var alive = true;
var myx = 0;
var myy = 0;
var atk = 10;
var flicker = 0;
var velocity = 0;
var jumpinit = 5;
var gconst = 1;
var watermult = 1;
var swimming = 0;
var hanging = 0;
var runspeed = 0;
var rconst = 1;
var maxrun = 4;
var rsound = 0;
var dir = false;
var ready = 0;
var atimer = 0;
var atktype = 0;
var berserk = false;
var ragecounter = 0;
var healthcounter = 0;
}
Symbol 1589 MovieClip [__Packages.cMillie] Frame 0
class cMillie extends Warrior
{
function cMillie () {
super();
}
var maxhealth = 100;
var atk = 10;
var gconst = 1;
var jumpinit = 15;
var rconst = 1;
var maxrun = 8;
}
Symbol 1590 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends MovieClip
{
function Enemy () {
super();
}
var health = 10;
var alive = true;
var active = true;
var classname = "";
var myx = 0;
var myy = 0;
var canattack = true;
var canturn = true;
var cankick = true;
var deathnoise = "";
var dir = false;
var walkspeed = 0;
var flicker = 0;
var atk = 10;
var atimer = 0;
var amax = 10;
var astrike = 0;
var xvel = 0;
var yvel = 0;
var physimmune = false;
var crusher = false;
var bombimmune = false;
}
Symbol 1591 MovieClip [__Packages.SkelHanger] Frame 0
class SkelHanger extends Enemy
{
function SkelHanger () {
super();
}
var health = 8;
var walkspeed = 0;
var atk = 10;
var atimer = 0;
var amax = 15;
var astrike = 7;
var deathnoise = "SlowWhoosh";
var canturn = false;
var cankick = false;
}
Symbol 1592 MovieClip [__Packages.Dueler] Frame 0
class Dueler extends Enemy
{
function Dueler () {
super();
}
var health = 100;
var walkspeed = 8;
var classname = "ground_facer";
var atk = 10;
var atimer = 0;
var amax = 18;
var astrike = 12;
var deathnoise = "bthirst";
}
Symbol 1593 MovieClip [__Packages.Raven] Frame 0
class Raven extends Enemy
{
function Raven () {
super();
}
var health = 10;
var walkspeed = 6;
var atk = 5;
var atimer = 0;
var amax = 20;
var astrike = 10;
var deathnoise = "bthirst";
}
Symbol 1594 MovieClip [__Packages.SkelMace] Frame 0
class SkelMace extends Enemy
{
function SkelMace () {
super();
}
var health = 30;
var walkspeed = 3;
var classname = "ground_walk";
var atk = 10;
var atimer = 0;
var amax = 32;
var astrike = 26;
var deathnoise = "bones";
var crusher = true;
}
Symbol 1595 MovieClip [__Packages.Juggernaut] Frame 0
class Juggernaut extends Enemy
{
function Juggernaut () {
super();
}
var health = 80;
var walkspeed = 4;
var classname = "ground_walk";
var atk = 10;
var atimer = 0;
var amax = 35;
var astrike = 28;
var deathnoise = "bones";
var cankick = false;
}
Symbol 1596 MovieClip [__Packages.SkelStalker] Frame 0
class SkelStalker extends Enemy
{
function SkelStalker () {
super();
}
var health = 40;
var walkspeed = 7;
var classname = "ground_walk";
var atk = 8;
var atimer = 0;
var amax = 29;
var astrike = 20;
var deathnoise = "bones";
}
Symbol 1597 MovieClip [__Packages.MudGel] Frame 0
class MudGel extends Enemy
{
function MudGel () {
super();
}
var health = 40;
var walkspeed = 6;
var classname = "ground_walk";
var atk = 10;
var atimer = 0;
var amax = 30;
var astrike = 23;
var deathnoise = "squish";
var cankick = false;
}
Symbol 1598 MovieClip [__Packages.GemGel] Frame 0
class GemGel extends Enemy
{
function GemGel () {
super();
}
var health = 50;
var walkspeed = 4;
var classname = "ground_walk";
var atk = 10;
var atimer = 0;
var amax = 31;
var astrike = 24;
var deathnoise = "squish";
var crusher = true;
}
Symbol 1599 MovieClip [__Packages.SkelGuard] Frame 0
class SkelGuard extends Enemy
{
function SkelGuard () {
super();
}
var health = 30;
var walkspeed = 3;
var classname = "ground_walk";
var atk = 10;
var atimer = 0;
var amax = 35;
var astrike = 28;
var deathnoise = "bones";
}
Symbol 1600 MovieClip [__Packages.BounceRock] Frame 0
class BounceRock extends Enemy
{
function BounceRock () {
super();
}
var health = 999;
var walkspeed = 0;
var classname = "bouncerock";
var atk = 10;
var atimer = 0;
var amax = 10;
var astrike = 2;
var deathnoise = "";
var crusher = true;
var physimmune = true;
var bombimmune = true;
}
Symbol 1601 MovieClip [__Packages.GemHead] Frame 0
class GemHead extends Enemy
{
function GemHead () {
super();
}
var health = 300;
var walkspeed = 0;
var classname = "gemhead";
var atk = 200;
var atimer = 0;
var amax = 12;
var astrike = 3;
var deathnoise = "";
var bosstimer = 0;
var crusher = true;
var physimmune = true;
}
Symbol 1602 MovieClip [__Packages.Spider] Frame 0
class Spider extends Enemy
{
function Spider () {
super();
}
var health = 20;
var walkspeed = 4;
var classname = "ground_walk";
var atk = 5;
var atimer = 0;
var amax = 30;
var astrike = 26;
var deathnoise = "bthirst";
}
Symbol 1603 MovieClip [__Packages.NPC] Frame 0
class NPC extends MovieClip
{
function NPC () {
super();
}
var myx = 0;
var myy = 0;
var baseNPC = 1;
}
Symbol 1604 MovieClip [__Packages.Spikes] Frame 0
class Spikes extends Enemy
{
function Spikes () {
super();
}
var health = 10;
var walkspeed = 0;
var classname = "ground_spikes";
var atk = 50;
var atimer = 0;
var amax = 2;
var astrike = 2;
var deathnoise = "";
var physimmune = true;
var crusher = true;
}
Symbol 1605 MovieClip [__Packages.BlockRock] Frame 0
class BlockRock extends Enemy
{
function BlockRock () {
super();
}
var health = 10;
var walkspeed = 0;
var classname = "blockrock";
var atk = 0;
var atimer = 0;
var amax = 90;
var astrike = 90;
var deathnoise = "";
var physimmune = true;
}
Symbol 1606 MovieClip [__Packages.MiscObj] Frame 0
class MiscObj extends MovieClip
{
function MiscObj () {
super();
}
var myx = 0;
var myy = 0;
}
Symbol 1607 MovieClip [__Packages.PopSpike] Frame 0
class PopSpike extends Enemy
{
function PopSpike () {
super();
}
var health = 10;
var walkspeed = 0;
var classname = "popspike";
var atk = 20;
var atimer = 0;
var amax = 60;
var astrike = 46;
var deathnoise = "";
var physimmune = true;
var crusher = true;
}
Symbol 1608 MovieClip [__Packages.Switch] Frame 0
class Switch extends MovieClip
{
function Switch () {
super();
}
var myx = 0;
var myy = 0;
var mystate = false;
}
Symbol 1609 MovieClip [__Packages.BoomieBits] Frame 0
class BoomieBits extends MovieClip
{
function BoomieBits () {
super();
}
var myx = 0;
var myy = 0;
var xvel = 0;
var yvel = 0;
var xtimer = 0;
var inuse = false;
}
Symbol 21 Button
on (release) {
play();
}
Symbol 33 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 33 MovieClip Frame 2
gotoAndPlay (1);
Symbol 33 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 33 MovieClip Frame 4
gotoAndPlay (3);
Symbol 33 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 33 MovieClip Frame 6
gotoAndPlay (5);
Symbol 33 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 33 MovieClip Frame 8
gotoAndPlay (7);
Symbol 44 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 44 MovieClip Frame 2
gotoAndPlay (1);
Symbol 44 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 44 MovieClip Frame 4
gotoAndPlay (3);
Symbol 44 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 44 MovieClip Frame 6
gotoAndPlay (5);
Symbol 44 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 44 MovieClip Frame 8
gotoAndPlay (7);
Symbol 55 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 55 MovieClip Frame 2
gotoAndPlay (1);
Symbol 55 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 55 MovieClip Frame 4
gotoAndPlay (3);
Symbol 55 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 55 MovieClip Frame 6
gotoAndPlay (5);
Symbol 55 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 55 MovieClip Frame 8
gotoAndPlay (7);
Symbol 66 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 66 MovieClip Frame 2
gotoAndPlay (1);
Symbol 66 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 66 MovieClip Frame 4
gotoAndPlay (3);
Symbol 66 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 66 MovieClip Frame 6
gotoAndPlay (5);
Symbol 66 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 66 MovieClip Frame 8
gotoAndPlay (7);
Symbol 76 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 76 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 76 MovieClip Frame 4
gotoAndPlay (3);
Symbol 76 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 76 MovieClip Frame 6
gotoAndPlay (5);
Symbol 76 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 76 MovieClip Frame 8
gotoAndPlay (7);
Symbol 87 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 87 MovieClip Frame 2
gotoAndPlay (1);
Symbol 87 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 87 MovieClip Frame 4
gotoAndPlay (3);
Symbol 87 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 87 MovieClip Frame 6
gotoAndPlay (5);
Symbol 87 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 87 MovieClip Frame 8
gotoAndPlay (7);
Symbol 98 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 98 MovieClip Frame 2
gotoAndPlay (1);
Symbol 98 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 4
gotoAndPlay (3);
Symbol 98 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 98 MovieClip Frame 6
gotoAndPlay (5);
Symbol 98 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 98 MovieClip Frame 8
gotoAndPlay (7);
Symbol 102 MovieClip Frame 8
stop();
Symbol 103 MovieClip Frame 8
stop();
Symbol 116 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 116 MovieClip Frame 2
gotoAndPlay (1);
Symbol 116 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 116 MovieClip Frame 4
gotoAndPlay (3);
Symbol 116 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 116 MovieClip Frame 6
gotoAndPlay (5);
Symbol 116 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 116 MovieClip Frame 8
gotoAndPlay (7);
Symbol 117 MovieClip Frame 5
stop();
Symbol 124 MovieClip Frame 5
stop();
Symbol 135 MovieClip Frame 12
stop();
Symbol 153 MovieClip Frame 22
stop();
Symbol 163 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 163 MovieClip Frame 2
gotoAndPlay (1);
Symbol 163 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 163 MovieClip Frame 4
gotoAndPlay (3);
Symbol 163 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 163 MovieClip Frame 6
gotoAndPlay (5);
Symbol 163 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 163 MovieClip Frame 8
gotoAndPlay (7);
Symbol 174 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 174 MovieClip Frame 2
gotoAndPlay (1);
Symbol 174 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 174 MovieClip Frame 4
gotoAndPlay (3);
Symbol 174 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 174 MovieClip Frame 6
gotoAndPlay (5);
Symbol 174 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 174 MovieClip Frame 8
gotoAndPlay (7);
Symbol 187 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 187 MovieClip Frame 2
gotoAndPlay (1);
Symbol 187 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 187 MovieClip Frame 4
gotoAndPlay (3);
Symbol 187 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 187 MovieClip Frame 6
gotoAndPlay (5);
Symbol 187 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 187 MovieClip Frame 8
gotoAndPlay (7);
Symbol 198 MovieClip Frame 1
switch (_root.g_costume) {
case 0 :
break;
case 1 :
gotoAndPlay (3);
break;
case 2 :
gotoAndPlay (5);
break;
case 3 :
gotoAndPlay (7);
break;
case 4 :
gotoAndStop (9);
break;
case 5 :
gotoAndStop (10);
break;
case 6 :
gotoAndStop (11);
break;
case 7 :
gotoAndStop (12);
break;
case 8 :
gotoAndStop (13);
break;
case 9 :
gotoAndStop (14);
}
Symbol 198 MovieClip Frame 2
gotoAndPlay (1);
Symbol 198 MovieClip Frame 3
if (_root.g_costume == 0) {
gotoAndPlay (1);
}
Symbol 198 MovieClip Frame 4
gotoAndPlay (3);
Symbol 198 MovieClip Frame 5
if (_root.g_costume == 3) {
gotoAndPlay (7);
}
Symbol 198 MovieClip Frame 6
gotoAndPlay (5);
Symbol 198 MovieClip Frame 7
if (_root.g_costume == 2) {
gotoAndPlay (5);
}
Symbol 198 MovieClip Frame 8
gotoAndPlay (7);
Symbol 199 MovieClip Frame 20
gotoAndPlay (10);
Symbol 203 MovieClip Frame 40
gotoAndPlay (16);
Symbol 204 MovieClip [MillieContainer] Frame 1
#initclip 23
Object.registerClass("MillieContainer", cMillie);
#endinitclip
stop();
Symbol 218 MovieClip Frame 8
stop();
Symbol 219 MovieClip Frame 8
stop();
Symbol 222 MovieClip Frame 5
stop();
Symbol 224 MovieClip Frame 5
stop();
Symbol 228 MovieClip Frame 12
stop();
Symbol 246 MovieClip Frame 22
stop();
Symbol 250 MovieClip Frame 20
gotoAndPlay (10);
Symbol 254 MovieClip Frame 40
gotoAndPlay (16);
Symbol 255 MovieClip [MillieDressContainer] Frame 1
#initclip 24
Object.registerClass("MillieDressContainer", cMillie);
#endinitclip
stop();
Symbol 261 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 267 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 273 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 279 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 285 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 291 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 297 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 303 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 309 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 315 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 319 MovieClip Frame 8
stop();
Symbol 320 MovieClip Frame 8
stop();
Symbol 328 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 329 MovieClip Frame 5
stop();
Symbol 335 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 337 MovieClip Frame 7
stop();
Symbol 342 MovieClip Frame 12
stop();
Symbol 352 MovieClip Frame 24
stop();
Symbol 359 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 365 MovieClip Frame 1
switch (_root.g_lcostume) {
case 0 :
stop();
break;
case 1 :
gotoAndStop (2);
break;
case 2 :
gotoAndStop (3);
break;
case 3 :
gotoAndStop (4);
break;
case 4 :
gotoAndStop (5);
}
Symbol 372 MovieClip Frame 50
gotoAndPlay (16);
Symbol 373 MovieClip [LanceContainer] Frame 1
#initclip 25
Object.registerClass("LanceContainer", cMillie);
#endinitclip
stop();
Symbol 411 MovieClip Frame 23
gotoAndPlay (13);
Symbol 412 MovieClip [Ene_SkelHangerCont] Frame 1
#initclip 26
Object.registerClass("Ene_SkelHangerCont", SkelHanger);
#endinitclip
stop();
Symbol 414 MovieClip [Boss_LanceCont] Frame 1
#initclip 29
Object.registerClass("Boss_LanceCont", Dueler);
#endinitclip
stop();
Symbol 415 MovieClip [Boss_MillieCont] Frame 1
#initclip 27
Object.registerClass("Boss_MillieCont", Dueler);
#endinitclip
stop();
Symbol 416 MovieClip [Boss_MillieDressCont] Frame 1
#initclip 28
Object.registerClass("Boss_MillieDressCont", Dueler);
#endinitclip
stop();
Symbol 434 MovieClip Frame 19
stop();
Symbol 435 MovieClip [Ene_RavenCont] Frame 1
#initclip 30
Object.registerClass("Ene_RavenCont", Raven);
#endinitclip
stop();
Symbol 466 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 6;
gotoAndPlay (6);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 11;
gotoAndPlay (11);
break;
case 3 :
this._parent.atimer = 16;
gotoAndPlay (16);
}
Symbol 473 MovieClip Frame 11
stop();
Symbol 474 MovieClip [Ene_SkelGuardCont] Frame 1
#initclip 36
Object.registerClass("Ene_SkelGuardCont", SkelGuard);
#endinitclip
stop();
Symbol 498 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 6;
gotoAndPlay (6);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 11;
gotoAndPlay (11);
break;
case 3 :
this._parent.atimer = 16;
gotoAndPlay (16);
}
Symbol 505 MovieClip Frame 11
stop();
Symbol 506 MovieClip [Ene_SkelMaceCont] Frame 1
#initclip 31
Object.registerClass("Ene_SkelMaceCont", SkelMace);
#endinitclip
stop();
Symbol 529 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 6;
gotoAndPlay (6);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 11;
gotoAndPlay (11);
break;
case 3 :
this._parent.atimer = 16;
gotoAndPlay (16);
}
Symbol 537 MovieClip Frame 13
stop();
Symbol 538 MovieClip [Ene_JuggernautCont] Frame 1
#initclip 32
Object.registerClass("Ene_JuggernautCont", Juggernaut);
#endinitclip
stop();
Symbol 556 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 6;
gotoAndPlay (6);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 11;
gotoAndPlay (11);
break;
case 3 :
this._parent.atimer = 16;
gotoAndPlay (16);
}
Symbol 563 MovieClip Frame 11
stop();
Symbol 564 MovieClip [Ene_SkelStalkerCont] Frame 1
#initclip 33
Object.registerClass("Ene_SkelStalkerCont", SkelStalker);
#endinitclip
stop();
Symbol 585 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 6;
gotoAndPlay (6);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 11;
gotoAndPlay (11);
break;
case 3 :
this._parent.atimer = 16;
gotoAndPlay (16);
}
Symbol 596 MovieClip Frame 19
stop();
Symbol 597 MovieClip [Ene_MudGelCont] Frame 1
#initclip 34
Object.registerClass("Ene_MudGelCont", MudGel);
#endinitclip
stop();
Symbol 618 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 6;
gotoAndPlay (6);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 11;
gotoAndPlay (11);
break;
case 3 :
this._parent.atimer = 16;
gotoAndPlay (16);
}
Symbol 634 MovieClip Frame 29
stop();
Symbol 635 MovieClip [Ene_GemGelCont] Frame 1
#initclip 35
Object.registerClass("Ene_GemGelCont", GemGel);
#endinitclip
stop();
Symbol 664 MovieClip Frame 11
_root.sgemroar.start();
Symbol 664 MovieClip Frame 12
stop();
Symbol 674 MovieClip Frame 17
stop();
Symbol 682 MovieClip Frame 20
stop();
Symbol 694 MovieClip Frame 14
gotoAndPlay (7);
Symbol 695 MovieClip [Boss_GemHeadCont] Frame 1
#initclip 38
Object.registerClass("Boss_GemHeadCont", GemHead);
#endinitclip
stop();
Symbol 710 MovieClip Frame 11
stop();
Symbol 711 MovieClip [Ene_BounceRockCont] Frame 1
#initclip 37
Object.registerClass("Ene_BounceRockCont", BounceRock);
#endinitclip
stop();
Symbol 728 MovieClip Frame 2
switch (_root.g_difficulty) {
case 0 :
this._parent.atimer = 5;
gotoAndPlay (5);
break;
case 1 :
break;
case 2 :
this._parent.atimer = 9;
gotoAndPlay (9);
break;
case 3 :
this._parent.atimer = 13;
gotoAndPlay (13);
}
Symbol 733 MovieClip Frame 7
stop();
Symbol 734 MovieClip [Ene_SpiderContainer] Frame 1
#initclip 39
Object.registerClass("Ene_SpiderContainer", Spider);
#endinitclip
stop();
Symbol 748 MovieClip [miscNPC] Frame 1
#initclip 40
Object.registerClass("miscNPC", NPC);
#endinitclip
stop();
Symbol 751 MovieClip [objRock] Frame 1
#initclip 44
Object.registerClass("objRock", MiscObj);
#endinitclip
Symbol 753 MovieClip [objSpikes] Frame 1
#initclip 41
Object.registerClass("objSpikes", Spikes);
#endinitclip
stop();
Symbol 756 MovieClip [objBlockRock] Frame 1
#initclip 42
Object.registerClass("objBlockRock", BlockRock);
#endinitclip
stop();
Symbol 758 MovieClip [objSpikesDown] Frame 1
#initclip 43
Object.registerClass("objSpikesDown", Spikes);
#endinitclip
stop();
Symbol 770 MovieClip [objHang] Frame 1
#initclip 46
Object.registerClass("objHang", MiscObj);
#endinitclip
stop();
Symbol 782 MovieClip [Ene_StalacspikeCont] Frame 1
#initclip 45
Object.registerClass("Ene_StalacspikeCont", PopSpike);
#endinitclip
stop();
Symbol 869 Button
on (release) {
if (local_data.data.save1_started == false) {
loadgame = false;
g_savefile = 1;
gotoAndStop (351);
} else {
g_char = local_data.data.save1_char;
g_saveloc = local_data.data.save1_loc;
g_gameprogress = local_data.data.save1_gprog;
g_difficulty = local_data.data.save1_diff;
g_timetaken = local_data.data.save1_timetaken;
if (g_char == 0) {
g_costume = local_data.data.save1_costume;
} else {
g_lcostume = local_data.data.save1_costume;
}
g_savefile = 1;
loadgame = true;
gotoAndPlay (354);
}
}
Symbol 874 Button
on (release) {
if (local_data.data.save2_started == false) {
loadgame = false;
g_savefile = 2;
gotoAndStop (351);
} else {
g_char = local_data.data.save2_char;
g_saveloc = local_data.data.save2_loc;
g_gameprogress = local_data.data.save2_gprog;
g_difficulty = local_data.data.save2_diff;
g_timetaken = local_data.data.save2_timetaken;
if (g_char == 0) {
g_costume = local_data.data.save2_costume;
} else {
g_lcostume = local_data.data.save2_costume;
}
g_savefile = 2;
loadgame = true;
gotoAndPlay (354);
}
}
Symbol 879 Button
on (release) {
if (local_data.data.save3_started == false) {
loadgame = false;
g_savefile = 3;
gotoAndStop (351);
} else {
g_char = local_data.data.save3_char;
g_saveloc = local_data.data.save3_loc;
g_gameprogress = local_data.data.save3_gprog;
g_difficulty = local_data.data.save3_diff;
g_timetaken = local_data.data.save3_timetaken;
if (g_char == 0) {
g_costume = local_data.data.save3_costume;
} else {
g_lcostume = local_data.data.save3_costume;
}
g_savefile = 3;
loadgame = true;
gotoAndPlay (354);
}
}
Symbol 888 Button
on (release) {
socean.stop();
gotoAndStop (372);
}
Symbol 893 Button
on (release) {
del1._x = -900;
f1char.text = "";
f1loc.text = "New Game";
f1time.text = "";
f1diff.text = "";
local_data.data.save1_started = false;
local_data.data.save1_loc = 0;
local_data.data.save1_char = 0;
local_data.data.save1_gprog = 0;
local_data.data.save1_diff = 0;
local_data.data.save1_timetaken = 0;
local_data.data.save1_costume = 0;
local_data.flush();
}
Symbol 894 Button
on (release) {
del2._x = -900;
f2char.text = "";
f2loc.text = "New Game";
f2time.text = "";
f2diff.text = "";
local_data.data.save2_started = false;
local_data.data.save2_loc = 0;
local_data.data.save2_char = 0;
local_data.data.save2_gprog = 0;
local_data.data.save2_diff = 0;
local_data.data.save2_timetaken = 0;
local_data.data.save2_costume = 0;
local_data.flush();
}
Symbol 895 Button
on (release) {
del3._x = -900;
f3char.text = "";
f3loc.text = "New Game";
f3time.text = "";
f3diff.text = "";
local_data.data.save3_started = false;
local_data.data.save3_loc = 0;
local_data.data.save3_char = 0;
local_data.data.save3_gprog = 0;
local_data.data.save3_diff = 0;
local_data.data.save3_timetaken = 0;
local_data.data.save3_costume = 0;
local_data.flush();
}
Symbol 903 Button
on (release) {
socean.stop();
socean.start(0, 999);
optMusic._x = 88;
g_music = 0;
}
Symbol 908 Button
on (release) {
socean.stop();
optMusic._x = 120;
g_music = 1;
}
Symbol 913 Button
on (release) {
optQuality._x = 88;
_quality = "LOW";
}
Symbol 917 Button
on (release) {
optQuality._x = 120;
_quality = "MEDIUM";
}
Symbol 918 Button
on (release) {
optSFX._x = 88;
g_sound = 0;
}
Symbol 919 Button
on (release) {
optSFX._x = 120;
g_sound = 1;
}
Symbol 925 Button
on (release) {
gotoAndPlay (352);
}
Symbol 932 Button
on (release) {
g_difficulty = 1;
gotoAndPlay (354);
}
Symbol 937 Button
on (release) {
g_difficulty = 0;
gotoAndPlay (354);
}
Symbol 942 Button
on (release) {
g_difficulty = 2;
gotoAndPlay (354);
}
Symbol 947 Button
on (release) {
g_difficulty = 3;
gotoAndPlay (354);
}
Symbol 957 Button
on (release) {
socean = new Sound();
socean.attachSound("ocean");
if (g_music == 0) {
socean.start(0, 999);
}
_quality = qualityholder;
gotoAndStop (350);
}
Symbol 962 Button
on (release) {
gotoAndStop (377);
}
Symbol 967 Button
on (release) {
gotoAndStop (376);
}
Symbol 972 Button
on (release) {
gotoAndStop (375);
}
Symbol 977 Button
on (release) {
gotoAndStop (374);
}
Symbol 982 Button
on (release) {
gotoAndStop (373);
}
Symbol 988 Button
on (release) {
gotoAndStop (378);
}
Symbol 1056 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1088 Button
on (release) {
g_char = 0;
msgstring = "Ugh. Let's pick this up later, okay?";
play();
}
Symbol 1093 Button
on (release) {
g_char = 1;
msgstring = "Stand back and let a real swordsman handle this.";
play();
}
Symbol 1118 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1135 MovieClip Frame 1
stop();
Symbol 1168 MovieClip Frame 1
stop();
Symbol 1169 MovieClip [OmniContainer] Frame 1
#initclip 51
Object.registerClass("OmniContainer", Warrior);
#endinitclip
stop();
Symbol 1170 MovieClip [OmniEneContainer] Frame 1
#initclip 47
Object.registerClass("OmniEneContainer", Enemy);
#endinitclip
Symbol 1181 MovieClip Frame 1
stop();
Symbol 1181 MovieClip Frame 10
gotoAndStop (1);
Symbol 1183 MovieClip [miscUpCatcher] Frame 1
#initclip 48
Object.registerClass("miscUpCatcher", MiscObj);
#endinitclip
Symbol 1186 MovieClip [objSwitch] Frame 1
#initclip 49
Object.registerClass("objSwitch", Switch);
#endinitclip
stop();
Symbol 1210 MovieClip Frame 12
stop();
Symbol 1211 MovieClip [objBoomie] Frame 1
#initclip 50
Object.registerClass("objBoomie", BoomieBits);
#endinitclip
stop();
Symbol 1246 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1312 MovieClip Frame 1
stop();
Symbol 1315 MovieClip Frame 1
stop();
Symbol 1322 MovieClip Frame 1
stop();
Symbol 1329 MovieClip Frame 1
stop();
Symbol 1331 MovieClip Frame 7
stop();
Symbol 1334 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 1
stop();