Frame 1
stop();
Instance of Symbol 17 MovieClip in Frame 1
onClipEvent (load) {
_parent.loadingIt = "Loading... | 0% Finished";
bar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
}
onClipEvent (enterFrame) {
percent = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
bar._xscale = percent;
_parent.loadingIt = ("Loading... | " + percent) + " % Finished";
if (percent >= 100) {
_root.gotoAndStop("mainMen");
}
}
Frame 2
function displayTime(time) {
seconds = Math.ceil(time / 1000);
minutes = 0;
hours = 0;
if (seconds >= 60) {
minutes = Math.floor(seconds / 60);
seconds = seconds - (minutes * 60);
}
if (minutes >= 60) {
hours = Math.floor(minutes / 60);
minutes = minutes - (hours * 60);
}
return((((hours + " : ") + minutes) + " : ") + seconds);
}
function deleteEnemys() {
_root.enemyHps = new Array();
_root.enemyTypes = new Array();
_root.enemyTimes = new Array();
}
function updateSupesLooks() {
temp = 1;
while (temp < 16) {
if (_root["stick" + temp].right == 1) {
_root["stick" + temp].gotoAndStop(3);
_root["stick" + temp].gotoAndStop(1);
} else if (_root["stick" + temp].down == 1) {
_root["stick" + temp].gotoAndStop(6);
_root["stick" + temp].gotoAndStop(5);
} else if (_root["stick" + temp].up == 1) {
_root["stick" + temp].gotoAndStop(8);
_root["stick" + temp].gotoAndStop(7);
} else {
_root["stick" + temp].gotoAndStop(4);
_root["stick" + temp].gotoAndStop(2);
}
temp++;
}
}
function pickEnemyType() {
switch (random(13) + 1) {
case 1 :
return("enemy1");
case 2 :
return("enemy2");
case 3 :
return("enemy3");
case 4 :
return("enemy4");
case 5 :
return("enemy4");
case 6 :
return("enemy5");
case 7 :
return("enemy6");
case 8 :
return("enemy7");
case 9 :
return("enemy8");
case 10 :
return("enemy9");
case 11 :
return("enemy10");
case 12 :
return("enemy11");
case 13 :
return("enemy12");
}
}
function enemyToSwitch() {
_root.enemyHps[_root.currentIndex] = _root.enemyHp;
temp = 0;
while (_root.enemyHps.length) {
if (_root.enemyHps[temp] > _root.enemyHp) {
return(true);
}
if (temp == (_root.enemyHps.length - 1)) {
return(false);
}
temp++;
}
return(false);
}
function getRandomEquipmentName() {
switch (random(34) + 1) {
case 1 :
equipName = "Tyson";
break;
case 2 :
equipName = "the Greatness";
break;
case 3 :
equipName = "Enlightenment";
break;
case 4 :
equipName = "the Spam";
break;
case 5 :
equipName = "the Greg";
break;
case 6 :
equipName = "the Rock";
break;
case 7 :
equipName = "the Swede";
break;
case 8 :
equipName = "the Charming";
break;
case 9 :
equipName = "Shinody";
break;
case 10 :
equipName = "the Rhino";
break;
case 11 :
equipName = "the Mex";
break;
case 12 :
equipName = "the Dude";
break;
case 13 :
equipName = "the Cheetah";
break;
case 14 :
equipName = "the Enchanted";
break;
case 15 :
equipName = "the 21million Gigawatt Adventure";
break;
case 16 :
equipName = "the Plato";
break;
case 17 :
equipName = "the Yellow Hat";
break;
case 18 :
equipName = "Phong";
break;
case 19 :
equipName = "the King";
break;
case 20 :
equipName = "the Jester";
break;
case 21 :
equipName = "the Manager";
break;
case 22 :
equipName = "the President";
break;
case 23 :
equipName = "the Moof";
break;
case 24 :
equipName = "the Butterfly";
break;
case 25 :
equipName = "Brightside";
break;
case 26 :
equipName = "Jackson";
break;
case 27 :
equipName = "the Jester";
break;
case 28 :
equipName = "the Wesle";
break;
case 29 :
equipName = "the Tough";
break;
case 30 :
equipName = "the Lion";
break;
case 31 :
eqipName = "SpamTheMan";
break;
case 32 :
equipName = "the Smokey";
break;
case 33 :
equipName = "LuckMan";
break;
case 34 :
equipName = "the EagleFox";
}
return(equipName);
}
function getEquipMentType() {
switch (random(4) + 1) {
case 1 :
return("Armor");
case 2 :
return("Fists");
case 3 :
return("Sunglasses");
case 4 :
return("Sword");
case 5 :
return("Gun");
}
}
function getEquipMentLook(type) {
if (type == "Sword") {
rand = random(9) + 1;
return("sword" + rand);
}
if (type == "Armor") {
rand = random(8) + 1;
return("armor" + rand);
}
if (type == "Fists") {
rand = random(6) + 1;
return("weapon" + rand);
}
if (type == "Gun") {
return("gun1");
}
return("glasses1");
}
function getStat() {
switch (random(7) + 1) {
case 1 :
return("Strength");
case 2 :
return("HP");
case 3 :
return("Skills");
case 4 :
return("Defense");
case 5 :
return("HP Leech");
case 6 :
return("AP Leech");
case 7 :
return("Agility");
}
}
function createSkill() {
statsAr = new Array();
numy = _root.level;
if (numy < _root.level2) {
numy = _root.level2;
}
if (numy < _root.level3) {
numy = _root.level3;
}
statsAr[0] = (random(numy + 2) + 2) + numy;
rare = random(30) + 1;
if (rare == 7) {
statsAr[0] = statsAr[0] + ((random(50) + random(50)) + random(50));
}
statsAr[1] = _root.getStat();
return(statsAr);
}
function createEquipment() {
_root.createEquipment(null);
}
function createEquipment(type) {
equipItemStats = new Array();
equipItemStats[0] = type;
if (type == null) {
equipItemStats[0] = _root.getEquipMentType();
}
equipItemStats[1] = _root.getEquipMentLook(equipItemStats[0]);
equipItemStats[2] = (equipItemStats[0] + " of ") + _root.getRandomEquipmentName();
if (equipItemStats[0] == "Sunglasses") {
numOfSkills = random(2) + 1;
} else {
numOfSkills = random(4) + 1;
}
equipItemStats.numSkills = numOfSkills;
temp = 3;
while (temp < (numOfSkills + 3)) {
equipItemStats["skill" + (temp - 2)] = _root.createSkill();
temp++;
}
indexOfEmptyEquipSlot = _root.equipSpots.length;
temp = 0;
while (temp < _root.equipSpots.length) {
if (_root.equipSpots[temp] == null) {
indexOfEmptyEquipSlot = temp;
break;
}
temp++;
}
_root.equipSpots[indexOfEmptyEquipSlot] = equipItemStats;
}
function generateEnemys(numOfEnemys, powerLevel) {
temp = 0;
while (temp < numOfEnemys) {
_root.enemyHps[temp] = Math.ceil((random(100 + (powerLevel * 5)) + 60) + (powerLevel * 5));
_root.enemyTypes[temp] = _root.pickEnemyType();
_root.enemyTimes[temp] = ((random(20) + 3) + (powerLevel * 0.2)) * 0.07;
if (_root.enemyTypes[temp] == "enemy4") {
_root.enemyExtra[temp] = random(4) + 1;
if (_root.enemyExtra.length == 1) {
_root.enemyHair = _root.enemyExtra[temp];
}
}
temp++;
}
}
function generateEnemys2(numOfEnemys, powerLevel, enemyType) {
temp = 0;
while (temp < numOfEnemys) {
if (enemyType == "boss1") {
_root.enemyHps[temp] = 750 + (powerLevel * 10);
} else if (enemyType == "boss2") {
_root.enemyHps[temp] = 2500 + (powerLevel * 10);
} else {
_root.enemyHps[temp] = Math.ceil((random(100 + (powerLevel * 5)) + 60) + (powerLevel * 5));
}
_root.enemyTypes[temp] = enemyType;
_root.enemyTimes[temp] = ((random(20) + 3) + (powerLevel * 0.2)) * 0.07;
if (_root.enemyTypes[temp] == "enemy4") {
_root.enemyExtra[temp] = random(4) + 1;
if (_root.enemyExtra.length == 1) {
_root.enemyHair = _root.enemyExtra[temp];
}
}
temp++;
}
}
function addToCorrectStat(statArray, numOfGuy) {
number = statArray[0];
string = statArray[1];
if (string == "Speed") {
if (numOfGuy == null) {
_root.speed = _root.speed + number;
} else {
_root["speed" + numOfGuy] = _root["speed" + numOfGuy] + number;
}
} else if (string == "Knowledge") {
if (numOfGuy == null) {
_root.knowledge = _root.knowledge + number;
} else {
_root["knowledge" + numOfGuy] = _root["knowledge" + numOfGuy] + number;
}
} else if (string == "HP") {
if (numOfGuy == null) {
_root.maxhp = _root.maxhp + number;
_root.char1 = _root.char1 + number;
} else {
_root["maxhp" + numOfGuy] = _root["maxhp" + numOfGuy] + number;
_root["char" + numOfGuy] = _root["char" + numOfGuy] + number;
}
} else if (string == "Strength") {
if (numOfGuy == null) {
_root.strength = _root.strength + number;
} else {
_root["strength" + numOfGuy] = _root["strength" + numOfGuy] + number;
}
} else if (string == "Skills") {
if (numOfGuy == null) {
_root.skills = _root.skills + number;
} else {
_root["skills" + numOfGuy] = _root["skills" + numOfGuy] + number;
}
} else if (string == "Defense") {
if (numOfGuy == null) {
_root.defense = _root.defense + number;
} else {
_root["defense" + numOfGuy] = _root["defense" + numOfGuy] + number;
}
} else if (string == "HP Leech") {
if (numOfGuy == null) {
_root.hpLeech = _root.hpLeech + number;
} else {
_root["hpLeech" + numOfGuy] = _root["hpLeech" + numOfGuy] + number;
}
} else if (string == "AP Leech") {
if (numOfGuy == null) {
_root.apLeech = _root.apLeech + number;
} else {
_root["apLeech" + numOfGuy] = _root["apLeech" + numOfGuy] + number;
}
} else if (string == "Agility") {
if (numOfGuy == null) {
_root.agility = _root.agility + number;
} else {
_root["agility" + numOfGuy] = _root["agility" + numOfGuy] + number;
}
}
}
function subtractToCorrectStat(statArray, numOfGuy) {
number = statArray[0];
string = statArray[1];
if (string == "Speed") {
if (numOfGuy == null) {
_root.speed = _root.speed - number;
} else {
_root["speed" + numOfGuy] = _root["speed" + numOfGuy] - number;
}
} else if (string == "Knowledge") {
if (numOfGuy == null) {
_root.knowledge = _root.knowledge - number;
} else {
_root["knowledge" + numOfGuy] = _root["knowledge" + numOfGuy] - number;
}
} else if (string == "HP") {
if (numOfGuy == null) {
_root.maxhp = _root.maxhp - number;
_root.char1 = _root.char1 - number;
} else {
_root["maxhp" + numOfGuy] = _root["maxhp" + numOfGuy] - number;
_root["char" + numOfGuy] = _root["char" + numOfGuy] - number;
}
} else if (string == "Strength") {
if (numOfGuy == null) {
_root.strength = _root.strength - number;
} else {
_root["strength" + numOfGuy] = _root["strength" + numOfGuy] - number;
}
} else if (string == "Skills") {
if (numOfGuy == null) {
_root.skills = _root.skills - number;
} else {
_root["skills" + numOfGuy] = _root["skills" + numOfGuy] - number;
}
} else if (string == "Defense") {
if (numOfGuy == null) {
_root.defense = _root.defense - number;
} else {
_root["defense" + numOfGuy] = _root["defense" + numOfGuy] - number;
}
} else if (string == "HP Leech") {
if (numOfGuy == null) {
_root.hpLeech = _root.hpLeech - number;
} else {
_root["hpLeech" + numOfGuy] = _root["hpLeech" + numOfGuy] - number;
}
} else if (string == "AP Leech") {
if (numOfGuy == null) {
_root.apLeech = _root.apLeech - number;
} else {
_root["apLeech" + numOfGuy] = _root["apLeech" + numOfGuy] - number;
}
} else if (string == "Agility") {
if (numOfGuy == null) {
_root.agility = _root.agility - number;
} else {
_root["agility" + numOfGuy] = _root["agility" + numOfGuy] - number;
}
}
}
function calculateSellValue(thisStats) {
if (thisStats.length == 0) {
return(0);
}
if (thisStats[1] == "Speed") {
return(thisStats[0] * 6);
}
if (thisStats[1] == "Knowledge") {
return(thisStats[0] * 2);
}
if (thisStats[1] == "HP") {
return(Math.ceil(thisStats[0] * 2));
}
if (thisStats[1] == "Strength") {
return(thisStats[0] * 5);
}
if (thisStats[1] == "Skills") {
return(Math.ceil(thisStats[0] * 4.25));
}
if (thisStats[1] == "AP Leech") {
return(Math.ceil(thisStats[0] * 20));
}
if (thisStats[1] == "HP Leech") {
return(Math.ceil(thisStats[0] * 15));
}
if (thisStats[1] == "Agility") {
return(Math.ceil(thisStats[0] * 7));
}
return(0);
}
function shiftArray(myArray) {
newShiftedArray = new Array();
index = 0;
while (index < myArray.length) {
if (myArray[index] == null) {
} else {
newShiftedArray[newShiftedArray.length] = myArray[index];
}
index++;
}
return(newShiftedArray);
}
function createItemArray(itemName, quantity) {
newArray = new Array();
newArray[0] = itemName;
newArray[1] = quantity;
return(newArray);
}
function pickItemToGet() {
numOfItems = random(2) + 1;
switch (random(8) + 1) {
case 1 :
updateItemQuantity(numOfItems, "potion");
return(("Found " + numOfItems) + " Potions");
case 2 :
updateItemQuantity(numOfItems, "xpotion");
return(("Found " + numOfItems) + " Xpotions");
case 3 :
updateItemQuantity(numOfItems, "elixir");
return(("Found " + numOfItems) + " Elixirs");
case 4 :
updateItemQuantity(numOfItems, "ether");
return(("Found " + numOfItems) + " Ethers");
case 5 :
updateItemQuantity(numOfItems, "hipotion");
return(("Found " + numOfItems) + " Hipotion");
case 6 :
return(_root.findRune(numOfItems));
case 7 :
updateItemQuantity(numOfItems, "revive");
return(("Found " + numOfItems) + " Revive");
case 8 :
updateItemQuantity(numOfItems, "fullrevive");
return(("Found " + numOfItems) + " FullRevive");
}
}
function steal() {
numOfItems = 1;
switch (random(15) + 1) {
case 1 :
updateItemQuantity(numOfItems, "potion");
return("Stole a potion");
case 2 :
updateItemQuantity(numOfItems, "xpotion");
return("Stole a xpotion");
case 3 :
updateItemQuantity(numOfItems, "elixir");
return("Stole a elixir");
case 6 :
updateItemQuantity(numOfItems, "ether");
return("Stole a ether");
case 9 :
updateItemQuantity(numOfItems, "hipotion");
return("Stole a hipotion");
case 13 :
return(_root.findRune(1));
}
return("Stole nothing!");
}
function itemList() {
switch (random(5) + 1) {
case 1 :
return("potion");
case 2 :
return("xpotion");
case 3 :
return("elixir");
case 4 :
return("ether");
case 5 :
return("hipotion");
}
}
function updateItemQuantity(numOfItems, itemName) {
temp = 0;
while (temp < itemArray.length) {
tempArray = itemArray[temp];
if (tempArray[0] == itemName) {
tempArray[1] = tempArray[1] + numOfItems;
itemArray[temp] = tempArray;
break;
}
if (temp == (itemArray.length - 1)) {
didnotFind = true;
}
temp++;
}
if (didnotFind == true) {
didnotFind = false;
itemArray[itemArray.length] = createItemArray(itemName, numOfItems);
}
}
function updateItemQuantity2(numOfItems, itemName) {
temp = 0;
while (temp < itemArray.length) {
tempArray = itemArray[temp];
if (tempArray[0] == itemName) {
tempArray[1] = tempArray[1] - numOfItems;
itemArray[temp] = tempArray;
break;
}
temp++;
}
}
function getItemQuantity(itemName) {
temp = 0;
while (temp < itemArray.length) {
tempArray = itemArray[temp];
if (tempArray[0] == itemName) {
return(tempArray[1]);
}
temp++;
}
return(0);
}
function armorSort(equipo) {
returnArray = new Array();
returnArray2 = new Array();
tempArray = equipo;
temp = 0;
while (temp < tempArray.length) {
tempyArray2 = tempArray[temp];
if (tempyArray2[0].substring(0, 1).toUpperCase() == "A") {
returnArray[returnArray.length] = tempyArray2;
} else {
returnArray2[returnArray2.length] = tempyArray2;
}
temp++;
}
temp2 = 0;
while (temp2 < returnArray2.length) {
returnArray[returnArray.length] = returnArray2[temp2];
temp2++;
}
return(sortByEquiped(returnArray));
}
function sortBy(equipo, sortLetter) {
returnArray = new Array();
returnArray2 = new Array();
tempArray = equipo;
temp = 0;
while (temp < tempArray.length) {
tempyArray2 = tempArray[temp];
if (tempyArray2[0].substring(0, 1).toUpperCase() == sortLetter) {
returnArray[returnArray.length] = tempyArray2;
} else {
returnArray2[returnArray2.length] = tempyArray2;
}
temp++;
}
temp2 = 0;
while (temp2 < returnArray2.length) {
returnArray[returnArray.length] = returnArray2[temp2];
temp2++;
}
return(sortByEquiped(returnArray));
}
function intializeItems() {
_root.potion = getItemQuantity("potion");
_root.ether = getItemQuantity("ether");
_root.elixir = getItemQuantity("elixir");
_root.antidote = getItemQuantity("antidote");
_root.hipotion = getItemQuantity("hipotion");
_root.xpotion = getItemQuantity("xpotion");
_root.revive = getItemQuantity("revive");
_root.fullrevive = getItemQuantity("fullrevive");
}
function findRune(numOfItems) {
switch (random(5) + 1) {
case 1 :
_root.updateItemQuantity(numOfItems, "life rune");
return(("Found " + numOfItems) + " life runes!");
case 2 :
_root.updateItemQuantity(numOfItems, "str rune");
return(("Found " + numOfItems) + " str runes!");
case 3 :
_root.updateItemQuantity(numOfItems, "leech rune");
return(("Found " + numOfItems) + " leech runes!");
case 4 :
_root.updateItemQuantity(numOfItems, "defense rune");
return(("Found " + numOfItems) + " defense runes!");
case 5 :
_root.updateItemQuantity(numOfItems, "skills rune");
return(("Found " + numOfItems) + " skills runes!");
}
}
function sortByEquiped(eqipmento) {
equipment = eqipmento;
newSortedArray = new Array();
newSortedArray2 = new Array();
temp = 0;
while (temp < equipment.length) {
tempEquip = equipment[temp];
if (tempEquip["Equiped?"] == true) {
newSortedArray[newSortedArray.length] = tempEquip;
} else {
newSortedArray2[newSortedArray2.length] = tempEquip;
}
temp++;
}
temp2 = 0;
while (temp2 < newSortedArray2.length) {
newSortedArray[newSortedArray.length] = newSortedArray2[temp2];
temp2++;
}
return(newSortedArray);
}
function hardLev(hardnessAdded) {
if (_root.amountOfEnemysFaced >= 10) {
_root.pLevel = _root.pLevel + 1;
_root.defaultPLevel = _root.defaultPLevel + 1;
_root.amountOfEnemysFaced = 0;
}
_root.totalBattles = _root.totalBattles + 1;
_root.amountOfEnemysFaced = _root.amountOfEnemysFaced + 1;
return(_root.pLevel + hardnessAdded);
}
function saveIt(num) {
saveArray = new Array();
saveArray["Saved?"] = true;
saveArray.Place = _root.place;
saveArray.PutBack = _root.savePlace;
saveArray[0] = _root.supesGlassesEquiped;
saveArray[1] = _root.supesGlassesLook;
saveArray[2] = _root.supeExpHas;
saveArray[3] = _root.supeExpNeeded;
saveArray[4] = _root.char1;
saveArray[5] = _root.maxhp;
saveArray[6] = _root.ap;
saveArray[7] = _root.strength;
saveArray[8] = _root.knowledge;
saveArray[9] = _root.speed;
saveArray[10] = _root.equipSpots;
saveArray[11] = _root.skills;
saveArray[12] = _root.vitality;
saveArray[13] = _root.level;
saveArray[14] = _root.money;
saveArray[15] = _root.supesArmorLook;
saveArray[16] = _root.supesWeaponLook;
saveArray[17] = _root.supesArmorEquiped;
saveArray[18] = _root.supesWeaponEquiped;
saveArray[19] = _root.itemArray;
saveArray[20] = _root.chests;
saveArray[21] = _root.maxhp2;
saveArray[22] = _root.strength2;
saveArray[23] = _root.skills2;
saveArray[24] = _root.vitality2;
saveArray[25] = _root.speed2;
saveArray[26] = _root.knowledge2;
saveArray[27] = _root.char2;
saveArray[28] = _root.level2;
saveArray[29] = _root.ap2;
saveArray[30] = _root.stickArmorEquiped;
saveArray[31] = _root.stickWeaponEquiped;
saveArray[32] = _root.stickGlassesEquiped;
saveArray[33] = _root.defense;
saveArray[34] = _root.defense2;
saveArray[35] = _root.speed;
saveArray[36] = _root.enemyCurrent;
saveArray[37] = _root.stickExpHas;
saveArray[38] = _root.stickExpNeeded;
saveArray[39] = _root.pLevel;
saveArray[40] = _root.amountOfEnemysFaced;
saveArray[41] = getTimer() + _root.timeVar;
saveArray[42] = _root.timeo;
saveArray[43] = _root.savePlace;
saveArray[44] = _root.defaultPLevel;
saveArray[45] = _root.totalBattles;
saveArray[46] = _root.char3;
saveArray[47] = _root.destGlassesEquiped;
saveArray[48] = _root.destGlassesLook;
saveArray[49] = _root.destExpHas;
saveArray[50] = _root.destExpNeeded;
saveArray[51] = _root.maxhp3;
saveArray[52] = _root.ap3;
saveArray[53] = _root.strength3;
saveArray[54] = _root.knowledge3;
saveArray[55] = _root.speed3;
saveArray[56] = _root.skills3;
saveArray[57] = _root.vitality3;
saveArray[58] = _root.level3;
saveArray[59] = _root.destArmorLook;
saveArray[60] = _root.destWeaponLook;
saveArray[61] = _root.destArmorEquiped;
saveArray[62] = _root.destWeaponEquiped;
saveArray[63] = _root.hpLeech;
saveArray[64] = _root.hpLeech2;
saveArray[65] = _root.hpLeech3;
saveArray[66] = _root.apLeech;
saveArray[67] = _root.apLeech2;
saveArray[68] = _root.apLeech3;
saveArray[69] = _root.visionPlus;
saveArray[70] = _root.speedPlus;
saveArray[71] = _root.superHitPlus;
saveArray[72] = _root.breathPlus;
saveArray[73] = _root.strengthPlus;
saveArray[74] = _root.couragePlus;
saveArray[75] = _root.throwPlus;
saveArray[76] = _root.slashPlus;
saveArray[77] = _root.leechPlus;
saveArray[78] = _root.shotPlus;
saveArray[79] = _root.healPlus;
saveArray[80] = _root.woods;
saveArray[81] = _root.cutscene;
saveArray[82] = _root.char4;
saveArray[83] = _root.maxhp4;
saveArray[84] = _root.ap4;
saveArray[85] = _root.defense4;
saveArray[86] = _root.strength4;
saveArray[87] = _root.vitality4;
saveArray[88] = _root.skills4;
saveArray[89] = _root.evilExpHas;
saveArray[90] = _root.evilExpNeeded;
saveArray[91] = _root.level4;
saveArray[92] = _root.enemyStoryBattles;
saveArray[93] = _root.genStats;
saveArray[94] = _root.agility;
saveArray[95] = _root.agility2;
saveArray[96] = _root.agility3;
saveArray[97] = _root.agility4;
saveArray[98] = _root.luck;
saveArray[99] = _root.luck2;
saveArray[100] = _root.luck3;
saveArray[101] = _root.luck4;
saveArray[102] = _root.fromLeft;
saveArray[103] = _root.stickArmorLook;
saveArray[104] = _root.stickWeaponLook;
saveArray[105] = _root.sideQuests;
saveArray[106] = _root.inGameInstr;
saveArray[107] = _root.stickGlassesLook;
saveArray[108] = _root.keys;
saveArray[109] = _root.battleFirst;
setCookie("database" + num, "item", saveArray);
}
function loadIt(num) {
saveArray = getCookie("database" + num, "item");
_root.supesGlassesEquiped = saveArray[0];
_root.supesGlassesLook = saveArray[1];
_root.supeExpHas = saveArray[2];
_root.supeExpNeeded = saveArray[3];
_root.char1 = saveArray[4];
_root.maxhp = saveArray[5];
_root.ap = saveArray[6];
_root.strength = saveArray[7];
_root.knowledge = saveArray[8];
_root.speed = saveArray[9];
_root.equipSpots = saveArray[10];
_root.skills = saveArray[11];
_root.vitality = saveArray[12];
_root.level = saveArray[13];
_root.money = saveArray[14];
_root.supesArmorLook = saveArray[15];
_root.supesWeaponLook = saveArray[16];
_root.supesArmorEquiped = saveArray[17];
_root.supesWeaponEquiped = saveArray[18];
_root.itemArray = saveArray[19];
_root.chests = saveArray[20];
_root.maxhp2 = saveArray[21];
_root.strength2 = saveArray[22];
_root.skills2 = saveArray[23];
_root.vitality2 = saveArray[24];
_root.speed2 = saveArray[25];
_root.knowledge2 = saveArray[26];
_root.char2 = saveArray[27];
_root.level2 = saveArray[28];
_root.ap2 = saveArray[29];
_root.stickArmorEquiped = saveArray[30];
_root.stickWeaponEquiped = saveArray[31];
_root.stickGlassesEquiped = saveArray[32];
_root.defense = saveArray[33];
_root.defense2 = saveArray[34];
_root.speed = saveArray[35];
_root.enemyCurrent = saveArray[36];
_root.stickExpHas = saveArray[37];
_root.stickExpNeeded = saveArray[38];
_root.pLevel = saveArray[39];
_root.amountOfEnemysFaced = saveArray[40];
_root.extraTime = saveArray[41];
_root.timeo = saveArray[42];
_root.savePlace = saveArray[43];
_root.defaultPLevel = saveArray[44];
_root.totalBattles = saveArray[45];
_root.char3 = saveArray[46];
_root.destGlassesEquiped = saveArray[47];
_root.destGlassesLook = saveArray[48];
_root.destExpHas = saveArray[49];
_root.destExpNeeded = saveArray[50];
_root.maxhp3 = saveArray[51];
_root.ap3 = saveArray[52];
_root.strength3 = saveArray[53];
_root.knowledge3 = saveArray[54];
_root.speed3 = saveArray[55];
_root.skills3 = saveArray[56];
_root.vitality3 = saveArray[57];
_root.level3 = saveArray[58];
_root.destArmorLook = saveArray[59];
_root.destWeaponLook = saveArray[60];
_root.destArmorEquiped = saveArray[61];
_root.destWeaponEquiped = saveArray[62];
_root.hpLeech = saveArray[63];
_root.hpLeech2 = saveArray[64];
_root.hpLeech3 = saveArray[65];
_root.apLeech = saveArray[66];
_root.apLeech2 = saveArray[67];
_root.apLeech3 = saveArray[68];
_root.visionPlus = saveArray[69];
_root.speedPlus = saveArray[70];
_root.superHitPlus = saveArray[71];
_root.breathPlus = saveArray[72];
_root.strengthPlus = saveArray[73];
_root.couragePlus = saveArray[74];
_root.throwPlus = saveArray[75];
_root.slashPlus = saveArray[76];
_root.leechPlus = saveArray[77];
_root.shotPlus = saveArray[78];
_root.healPlus = saveArray[79];
_root.woods = saveArray[80];
_root.cutscene = saveArray[81];
_root.char4 = saveArray[82];
_root.maxhp4 = saveArray[83];
_root.ap4 = saveArray[84];
_root.defense4 = saveArray[85];
_root.strength4 = saveArray[86];
_root.vitality4 = saveArray[87];
_root.skills4 = saveArray[88];
_root.evilExpHas = saveArray[89];
_root.evilExpNeeded = saveArray[90];
_root.level4 = saveArray[91];
_root.enemyStoryBattles = saveArray[92];
_root.genStats = saveArray[93];
_root.agility = saveArray[94];
_root.agility2 = saveArray[95];
_root.agility3 = saveArray[96];
_root.agility4 = saveArray[97];
_root.luck = saveArray[98];
_root.luck2 = saveArray[99];
_root.luck3 = saveArray[100];
_root.luck4 = saveArray[101];
_root.fromLeft = saveArray[102];
_root.stickArmorLook = saveArray[103];
_root.stickWeaponLook = saveArray[104];
_root.sideQuests = saveArray[105];
_root.inGameInstr = saveArray[106];
_root.stickGlassesLook = saveArray[107];
_root.keys = saveArray[108];
_root.battleFirst = saveArray[109];
}
function clearMenu() {
_root.menah.gotoAndStop(1);
_root.menah._alpha = 0;
_root.menah.active = false;
_root.menah.sellSkills = false;
_root.menah.sellItems = false;
_root.menah.sellEquipment = false;
_root.menah.displayingText = false;
_root.alreadyTalkin = false;
}
Stage.showMenu = false;
_root.computerName = "Enter Name";
_root.timeVar = 0;
char1Stats = new Array();
enemyHps = new Array();
_root.enemyHp = 0;
enemyTypes = new Array();
enemyTimes = new Array();
enemyHps = new Array();
enemyExtra = new Array();
_root.enemyHp = random(100) + 20;
potion = 2;
hipotion = 1;
elixir = 1;
ether = 1;
antidote = 2;
xpotion = 1;
_root.speedGained = 0;
_root.supesGlassesEquiped = "No Sunglasses Equiped";
_root.supesGlassesLook = null;
supeExpHas = 0;
supeExpNeeded = 10;
char2 = 170;
maxhp2 = 170;
strength2 = 1;
skills2 = 0;
vitality2 = 0;
speed2 = 0;
knowledge2 = 0;
level2 = 1;
ap2 = 20;
_root.stickArmorEquiped = "No Armor Equiped";
_root.stickWeaponEquiped = "No Weapon Equiped";
_root.stickGlassesEquiped = "No Sunglasses Equiped";
_root.defense = 0;
_root.defense2 = 0;
_root.defense3 = 0;
_root.speed = 0;
_root.enemyCurrent = 0;
_root.stickExpHas = 0;
_root.stickExpNeeded = 30;
equipSpots = new Array();
char1 = 150;
maxhp = 150;
ap = 20;
strength = 3;
knowledge = 0;
speed = 0;
skills = 0;
vitality = 0;
level = 1;
money = 100;
char3 = 175;
maxhp3 = 175;
ap3 = 20;
strength3 = 2;
knowledge3 = 0;
speed3 = 2;
skills3 = 1;
vitality3 = 2;
level3 = 2;
_root.destArmorLook = null;
_root.destWeaponLook = null;
_root.destGlassesLook = null;
_root.destArmorEquiped = "No Armor Equiped";
_root.destWeaponEquiped = "No Weapon Equiped";
_root.destGlassesEquiped = "No Sunglasses Equiped";
_root.destExpHas = 0;
_root.destExpNeeded = 30;
_root.supesArmorLook = null;
_root.supesWeaponLook = null;
_root.supesArmorEquiped = "No Armor Equiped";
_root.supesWeaponEquiped = "No Weapon Equiped";
itemArray = new Array();
itemArray[itemArray.length] = createItemArray("potion", 2);
itemArray[itemArray.length] = createItemArray("hipotion", 1);
itemArray[itemArray.length] = createItemArray("elixir", 1);
itemArray[itemArray.length] = createItemArray("ether", 1);
itemArray[itemArray.length] = createItemArray("antidote", 2);
itemArray[itemArray.length] = createItemArray("xpotion", 1);
chests = new Array();
temp = 0;
while (temp < 20) {
chests[temp] = false;
temp++;
}
keys = new Array();
temp = 0;
while (temp < 4) {
keys[temp] = false;
temp++;
}
Object.prototype.setCookie = function (c, n, v) {
var _local1 = SharedObject.getLocal(c);
_local1.data[n] = v;
_local1.flush();
};
Object.prototype.getCookie = function (c, n) {
var _local1 = SharedObject.getLocal(c);
return(_local1.data[n]);
};
_root.pLevel = -2;
_root.currentTime = "";
_root.amountOfEnemysFaced = 0;
_root.totalBattles = 0;
_root.defaultPLevel = -2;
_root.place = "";
_root.savePlace = "";
_root.extraTime = 0;
_root.hpLeech = 0;
_root.hpLeech2 = 0;
_root.hpLeech3 = 0;
_root.apLeech = 0;
_root.apLeech2 = 0;
_root.apLeech3 = 0;
_root.visionPlus = 0;
_root.speedPlus = 0;
_root.superHitPlus = 0;
_root.breathPlus = 0;
_root.strengthPlus = 0;
_root.healPlus = 0;
_root.invincPlus = 0;
_root.couragePlus = 0;
_root.throwPlus = 0;
_root.slashPlus = 0;
_root.multiPlus = 0;
_root.leechPlus = 0;
_root.shotPlus = 0;
_root.crossPlus = 0;
_root.fastWalk = 0;
_root.updateItemQuantity(2, "revive");
_root.updateItemQuantity(1, "fullrevive");
_root.cutscene = 1;
_root.woods = new Array();
_root.char4 = 240;
_root.maxhp4 = 240;
_root.ap4 = 30;
_root.defense4 = 10;
_root.strength4 = 10;
_root.vitality4 = 10;
_root.skills4 = 10;
_root.powerUp = 0;
_root.evilExpHas = 0;
_root.evilExpNeeded = 60;
_root.level4 = 9;
_root.counter = 0;
_root.counterPlus = 0;
_root.sBullets = 0;
_root.powerUpB = 0;
_root.fadeToGo = "";
_root.enemyStoryBattles = 0;
_root.genStats = new Array();
_root.genStats[0] = 0;
_root.genStats[1] = 0;
_root.agility = 4;
_root.agility2 = 0;
_root.agility3 = 2;
_root.agility4 = 0;
_root.luck = 0;
_root.luck2 = 0;
_root.luck3 = 0;
_root.luck4 = 0;
_root.fromLeft = false;
_root.sideQuests = new Array();
_root.inGameInstr = new Array();
_root.inGameInstr[0] = true;
_root.inGameInstr[1] = true;
_root.inGameInstr[2] = true;
_root.sideQuests[1] = 2;
_root.musicOff = false;
_root.diff = "Normal";
_root.qual = "High";
_root.battleFirst = 1;
stop();
Frame 3
stop();
Instance of Symbol 528 MovieClip "muse" in Frame 3
onClipEvent (load) {
music = 4;
}
Frame 4
_root.genStats[1] = _root.genStats[1] + 1;
stop();
Frame 6
_root.menah._alpha = 0;
_root.win1._visible = false;
_root.place = "SuperStick's House";
_root.savePlace = "area1";
_root.clearMenu();
Instance of Symbol 568 MovieClip "computer" in Frame 6
onClipEvent (load) {
inStanceMask = "_root.mask";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceMask)) {
_root.seeIt._visible = true;
if (_root.seeIt._height < 30) {
_root.seeIt._height = _root.seeIt._height + 2.5;
} else {
_root.seeIt.hasMessage = true;
_root.seeIt.defaultMesso = "Object: Computer...Action: Turn on (Press a)";
alreadyDone = true;
}
}
}
Instance of Symbol 574 MovieClip "chest0" in Frame 6
onClipEvent (load) {
chestNum = 0;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick1)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 6
onClipEvent (load) {
inStanceSupe = "_root.stick1";
goTo = "area2";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick1" in Frame 6
onClipEvent (load) {
if (_root.backo == true) {
this.gotoAndStop(2);
this._y = _root.saveY;
this._x = 430;
_root.backo = false;
} else if (_root.computerBack == true) {
_root.computerBack = false;
this.gotoAndStop(7);
this._x = 375.1;
this._y = 118.9;
}
speed = 7.2;
boundUpY = 130.4;
boundDownY = 247;
boundLeftX = 30;
interact1 = "chest0";
interact2 = "computer";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 739 MovieClip "menah" in Frame 6
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if ((this.active == true) && (displayingText != true)) {
this._alpha = this._alpha + 4;
if (this._alpha > 100) {
this._alpha = 100;
displayingText = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 528 MovieClip in Frame 6
onClipEvent (load) {
music = 8;
}
Frame 7
_root.menah._alpha = 0;
_root.place = "SuperStick's House";
_root.savePlace = "area2";
_root.clearMenu();
Instance of Symbol 1153 MovieClip "lamp" in Frame 7
onClipEvent (load) {
inStanceMask = "_root.mask2";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceMask)) {
_root.seeIt._visible = true;
if (_root.seeIt._height < 30) {
_root.seeIt._height = _root.seeIt._height + 2.5;
} else {
_root.seeIt.hasMessage = true;
_root.seeIt.defaultMesso = "Object: Lamp...Action: Turn on (Press a)";
alreadyDone = true;
}
}
}
Instance of Symbol 1176 MovieClip "tube" in Frame 7
onClipEvent (load) {
inStanceMask = "_root.mask1";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceMask)) {
_root.seeIt._visible = true;
if (_root.seeIt._height < 30) {
_root.seeIt._height = _root.seeIt._height + 2.5;
} else {
_root.seeIt.hasMessage = true;
_root.seeIt.defaultMesso = "Object: TV...Action: Turn on (Press a)";
alreadyDone = true;
}
} else if ((!_root.mask1.hitTest(_root.door)) && (!_root.mask1.hitTest(_root.chest2))) {
_root.seeIt.counter = 0;
_root.seeIt.defaultMesso = " ";
_root.seeIt.hasMessage = false;
_root.messo = " ";
alreadyDone = false;
if (_root.seeIt._height > 4) {
_root.seeIt._height = _root.seeIt._height - 2.5;
} else {
_root.seeIt._visible = false;
}
}
}
Instance of Symbol 1182 MovieClip "dooro" in Frame 7
onClipEvent (enterFrame) {
if (doorOpen == true) {
_root.gotoAndStop("area3");
}
}
Instance of Symbol 629 MovieClip "stick2" in Frame 7
onClipEvent (load) {
if (_root.backo == true) {
this.gotoAndStop(2);
this._y = 150;
this._x = 400;
_root.backo = false;
} else {
this._y = _root.saveY;
}
speed = 7.2;
boundUpY = 130.4;
boundDownY = 205;
boundRightX = 443.2;
interact1 = "dooro";
interact2 = "lamp";
interact3 = "tube";
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 7
onClipEvent (load) {
inStanceSupe = "_root.stick2";
goTo = "area1";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo = true;
_root.alreadyOn2 = 0;
_root.alreadyOn = 0;
_root.gotoAndStop(goTo);
}
}
Frame 8
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area3";
_root.clearMenu();
Instance of Symbol 1191 MovieClip "door2" in Frame 8
onClipEvent (enterFrame) {
if (doorOpen == true) {
_root.backo = true;
_root.gotoAndStop("area2");
}
}
Instance of Symbol 1203 MovieClip "guy1" in Frame 8
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick3)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick3" in Frame 8
onClipEvent (load) {
if (_root.backDown == true) {
_root.backDown = false;
this._x = 258.4;
this._y = 258.8;
this.gotoAndStop(7);
} else if (_root.backo == true) {
this.gotoAndStop(2);
this._y = _root.saveY;
this._x = 430;
_root.backo = false;
}
speed = 7.2;
boundUpY = 130.4;
boundDownY = 300.6;
boundRightX = 483.2;
boundLeftX = 100.3;
interact1 = "guy1";
interact2 = "door2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 8
onClipEvent (load) {
inStanceSupe = "_root.stick3";
goTo = "area4";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 8
onClipEvent (load) {
inStanceSupe = "_root.stick3";
goTo = "area8";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromUp = true;
_root.gotoAndStop(goTo);
}
}
Frame 9
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area4";
_root.clearMenu();
Instance of Symbol 1254 MovieClip "door3" in Frame 9
onClipEvent (enterFrame) {
if (this.doorOpen == true) {
_root.gotoAndStop("itemStore");
}
}
Instance of Symbol 1255 MovieClip "guy2" in Frame 9
onClipEvent (load) {
this.heady.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick4)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick4" in Frame 9
onClipEvent (load) {
if (_root.backDown == true) {
_root.backDown = false;
this._x = 222.8;
this._y = 255.9;
this.gotoAndStop(7);
} else if (_root.backo2 == true) {
this._x = 428;
this._y = _root.saveY;
_root.backo2 = false;
this.gotoAndStop(2);
} else if (_root.backo != true) {
this._y = _root.saveY;
} else {
this._x = 319.1;
this._y = 111.1;
_root.backo = false;
this.gotoAndStop(5);
}
speed = 7.2;
boundUpY = 94.4;
boundDownY = 300.6;
boundRightX = 483.2;
interact1 = "guy2";
interact2 = "door3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 9
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area3";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 9
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area5";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 9
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area7";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backUp = true;
_root.gotoAndStop(goTo);
}
}
Frame 10
_root.menah._alpha = 0;
_root.place = "Item Store";
_root.savePlace = "itemStore";
_root.clearMenu();
Instance of Symbol 574 MovieClip "chest2" in Frame 10
onClipEvent (load) {
chestNum = 2;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick5)) && (_root.alreadyTalkin != true)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 574 MovieClip "chest1" in Frame 10
onClipEvent (load) {
chestNum = 1;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick5)) && (_root.alreadyTalkin != true)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1266 MovieClip "buyItems" in Frame 10
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick5)) && (_root.alreadyTalkin != true)) {
_root.menah.gotoAndStop(1);
if (_root.storeClerk._currentframe == 35) {
_root.storeClerk.gotoAndPlay(1);
}
_root.alreadyTalkin = false;
_root.stick5.giveMoney = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.storeClerk.talky = false;
_root.menah.sellItems = false;
}
}
Instance of Symbol 1267 MovieClip "storeClerk" in Frame 10
onClipEvent (load) {
this.heady.gotoAndStop(3);
}
Instance of Symbol 629 MovieClip "stick5" in Frame 10
onClipEvent (load) {
this.gotoAndStop(7);
speed = 5;
boundUpY = 121;
boundLeftX = 10;
boundRightX = 476;
interact1 = "buyItems";
interact2 = "chest1";
interact3 = "chest2";
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) && (giveMoney != true)) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 10
onClipEvent (load) {
inStanceSupe = "_root.stick5";
goTo = "area4";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo = true;
_root.gotoAndStop(goTo);
}
}
Frame 11
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area5";
_root.clearMenu();
Instance of Symbol 1254 MovieClip "door5" in Frame 11
onClipEvent (enterFrame) {
if (this.doorOpen == true) {
_root.gotoAndStop("pub");
}
}
Instance of Symbol 1278 MovieClip "guy4" in Frame 11
onClipEvent (load) {
this.heady.gotoAndStop(4);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick6)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick6" in Frame 11
onClipEvent (load) {
if (_root.backo3 == true) {
_root.backo3 = false;
this._x = 216.5;
this._y = 265.4;
this.gotoAndStop(7);
} else if (_root.backo != true) {
this._y = _root.saveY;
} else {
this._x = 205.8;
this._y = 105.9;
_root.backo = false;
this.gotoAndStop(5);
}
speed = 7.2;
boundUpY = 94.4;
boundDownY = 300.6;
boundRightX = 483.2;
interact1 = "guy4";
interact2 = "sign";
interact3 = "door5";
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 11
onClipEvent (load) {
inStanceSupe = "_root.stick6";
goTo = "area4";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo2 = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 11
onClipEvent (load) {
inStanceSupe = "_root.stick6";
goTo = "area6";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1136 MovieClip in Frame 11
onClipEvent (load) {
if (_root.inGameInstr[1] != true) {
this._visible = false;
} else {
this.gotoAndStop(2);
this._alpha = 0;
thisY = this._y;
this._y = this._y - 40;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (this._y != thisY)) {
this._y = this._y + 1;
this._alpha = this._alpha + 2;
}
}
on (press) {
_root.inGameInstr[1] = false;
this._visible = false;
}
Frame 12
_root.menah._alpha = 0;
_root.place = "Bar";
_root.savePlace = "pub";
_root.clearMenu();
Instance of Symbol 1299 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1299 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1302 MovieClip in Frame 12
onClipEvent (enterFrame) {
if ((_root.stick7._y < 9) && (alreadySwapped != true)) {
this.swapDepths(_root.stick7);
alreadySwapped = true;
} else if ((_root.stick7._y > 9) && (alreadySwapped == true)) {
this.swapDepths(_root.stick7);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 576 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1266 MovieClip "buyThing" in Frame 12
onClipEvent (enterFrame) {
if (((!this.hitTest(_root.stick7)) && (_root.guyBar.talky != true)) && (_root.guyBarKeep.doIt != true)) {
_root.menah.gotoAndStop(1);
if (_root.guyBarKeep._currentframe == 35) {
_root.guyBarKeep.gotoAndPlay(1);
}
_root.alreadyTalkin = false;
_root.stick7.giveMoney = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.guyBarKeep.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick7" in Frame 12
onClipEvent (load) {
this.gotoAndStop(7);
this.giveMoney = false;
speed = 5;
boundUpY = -20;
boundRightX = 483.2;
boundLeftX = 3;
interact1 = "guyBar";
interact2 = "vend1";
interact3 = "vend2";
interact4 = "guyBarKeep";
interact5 = "buyThing";
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) || (this.hitTest(_root[interact4]))) || (this.hitTest(_root[interact5]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) && (this.giveMoney != true)) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 12
onClipEvent (load) {
inStanceSupe = "_root.stick7";
goTo = "area5";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1334 MovieClip "guyBar" in Frame 12
onClipEvent (load) {
this.heady.gotoAndStop(5);
}
onClipEvent (enterFrame) {
if ((this._x < (_root.stick7._x - 40)) && (_root.guyBarKeep.talky != true)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1336 MovieClip "guyBarKeep" in Frame 12
onClipEvent (load) {
this.heady.gotoAndStop(6);
}
onClipEvent (enterFrame) {
if ((this._x < (_root.stick7._x - 40)) && (_root.guyBar.talky != true)) {
_root.menah.gotoAndStop(1);
this.doIt = false;
_root.menah.needAnswer2 = false;
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Frame 13
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area6";
_root.clearMenu();
Instance of Symbol 576 MovieClip in Frame 13
onClipEvent (load) {
inStanceSupe = "_root.stick8";
goTo = "area5";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo3 = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip "rightSide" in Frame 13
onClipEvent (enterFrame) {
if ((_root.stick8._y > 15) && (alreadySwapped != true)) {
_root.guy6.swapDepths(_root.stick8);
alreadySwapped = true;
} else if ((_root.stick8._y < 15) && (alreadySwapped == true)) {
_root.guy6.swapDepths(_root.stick8);
alreadySwapped = false;
}
}
Instance of Symbol 629 MovieClip "stick8" in Frame 13
onClipEvent (load) {
if (_root.fromArea == true) {
_root.fromArea = false;
this.gotoAndStop(7);
this._x = _root.saveX;
this._y = 263.1;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = -13;
this._y = 162.9;
} else if (_root.backo == true) {
_root.backo = false;
this.gotoAndStop(2);
this._x = 301;
this._y = 156.7;
} else {
this.gotoAndStop(5);
}
speed = 7.2;
boundDownY = 300.6;
boundRightX = 483.2;
interact1 = "hoto.door";
interact2 = "guy6";
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hoto.door) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 1345 MovieClip "guy6" in Frame 13
onClipEvent (load) {
this.heady.gotoAndStop(7);
}
onClipEvent (enterFrame) {
if (this._x < (_root.stick8._x - 50)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 13
onClipEvent (load) {
inStanceSupe = "_root.stick8";
goTo = "area7";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 13
onClipEvent (load) {
inStanceSupe = "_root.stick8";
goTo = "area11";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromUp = true;
_root.saveX = _root.stick8._x;
_root.gotoAndStop(goTo);
}
}
Frame 14
_root.menah._alpha = 0;
_root.place = "Hotel";
_root.savePlace = "hotel";
_root.clearMenu();
Instance of Symbol 574 MovieClip "chest3" in Frame 14
onClipEvent (load) {
chestNum = 3;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (((((!this.hitTest(_root.stick9)) && (_root.alreadyTalkin != true)) && (_root.girl.talky != true)) && (_root.spendo.doneIt != true)) && (!_root.chest4.hitTest(_root.stick9))) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 574 MovieClip "chest4" in Frame 14
onClipEvent (load) {
chestNum = 4;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (((((!this.hitTest(_root.stick9)) && (_root.alreadyTalkin != true)) && (_root.girl.talky != true)) && (_root.spendo.doneIt != true)) && (!_root.chest3.hitTest(_root.stick9))) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1348 MovieClip "hatel" in Frame 14
onClipEvent (load) {
this.heady.gotoAndStop(8);
}
onClipEvent (enterFrame) {
if (((((this._x > (_root.stick9._x + 40)) && (_root.girl.talky != true)) && (_root.spendo.doneIt != true)) && (!_root.chest3.hitTest(_root.stick9))) && (!_root.chest4.hitTest(_root.stick9))) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
this.doIt = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1266 MovieClip "spendo" in Frame 14
onClipEvent (enterFrame) {
if (((((!this.hitTest(_root.stick9)) && (_root.girl.talky != true)) && (_root.hatel.doIt != true)) && (!_root.chest3.hitTest(_root.stick9))) && (!_root.chest4.hitTest(_root.stick9))) {
_root.menah.gotoAndStop(1);
_root.menah.hotelAsk = false;
this.doneIt = false;
_root.alreadyTalkin = false;
_root.stick9.giveMoney = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.hatel.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick9.rightSide)) {
_root.stick9._x = _root.stick9._x - 5;
} else if (this.hitTest(_root.stick9.leftSide)) {
_root.stick9._x = _root.stick9._x + 5;
} else if (this.hitTest(_root.stick9.upSide)) {
_root.stick9._y = _root.stick9._y + 5;
} else if (this.hitTest(_root.stick9.downSide)) {
_root.stick9._y = _root.stick9._y - 5;
}
if ((_root.stick9._y > 310) && (alreadySwapped != true)) {
_root.girl.swapDepths(_root.stick9);
_root.tableSet.swapDepths(_root.girl);
alreadySwapped = true;
} else if ((_root.stick9._y < 310) && (alreadySwapped == true)) {
_root.tableSet.swapDepths(_root.girl);
_root.girl.swapDepths(_root.stick9);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick9.rightSide)) {
_root.stick9._x = _root.stick9._x - 5;
} else if (this.hitTest(_root.stick9.leftSide)) {
_root.stick9._x = _root.stick9._x + 5;
} else if (this.hitTest(_root.stick9.upSide)) {
_root.stick9._y = _root.stick9._y + 5;
} else if (this.hitTest(_root.stick9.downSide)) {
_root.stick9._y = _root.stick9._y - 5;
}
}
Instance of Symbol 576 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick9.rightSide)) {
_root.stick9._x = _root.stick9._x - 5;
} else if (this.hitTest(_root.stick9.leftSide)) {
_root.stick9._x = _root.stick9._x + 5;
} else if (this.hitTest(_root.stick9.upSide)) {
_root.stick9._y = _root.stick9._y + 5;
} else if (this.hitTest(_root.stick9.downSide)) {
_root.stick9._y = _root.stick9._y - 5;
}
}
Instance of Symbol 576 MovieClip in Frame 14
onClipEvent (load) {
inStanceSupe = "_root.stick9";
goTo = "area6";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backo = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick9" in Frame 14
onClipEvent (load) {
speed = 5;
boundDownY = 336.6;
boundRightX = 483.2;
boundUpY = 2;
interact1 = "girl";
interact2 = "hatel";
interact3 = "spendo";
interact4 = "chest3";
interact5 = "chest4";
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) || (this.hitTest(_root[interact4]))) || (this.hitTest(_root[interact5]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 1352 MovieClip "girl" in Frame 14
onClipEvent (load) {
this.heady.gotoAndStop(9);
}
onClipEvent (enterFrame) {
if (((((this._y > (_root.stick9._y + 30)) && (_root.hatel.talky != true)) && (_root.spendo.doneIt != true)) && (!_root.chest3.hitTest(_root.stick9))) && (!_root.chest4.hitTest(_root.stick9))) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Frame 15
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area7";
_root.clearMenu();
Instance of Symbol 576 MovieClip in Frame 15
onClipEvent (load) {
inStanceSupe = "_root.stick10";
goTo = "area6";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1363 MovieClip "thing" in Frame 15
onClipEvent (enterFrame) {
if ((_root.stick10._y < 92) && (alreadySwapped != true)) {
this.swapDepths(_root.stick10);
alreadySwapped = true;
} else if ((_root.stick10._y > 92) && (alreadySwapped == true)) {
this.swapDepths(_root.stick10);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 15
onClipEvent (load) {
inStanceSupe = "_root.stick10";
goTo = "area4";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 15
onClipEvent (load) {
inStanceSupe = "_root.stick10";
goTo = "area8";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 15
onClipEvent (load) {
inStanceSupe = "_root.stick10";
goTo = "area10";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromUp = true;
_root.saveX = _root.stick10._x;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick10" in Frame 15
onClipEvent (load) {
if (_root.fromDowno == true) {
_root.fromDowno = false;
this._y = 275.5;
this._x = _root.saveX;
this.gotoAndStop(7);
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = -7.5;
this._y = 168.2;
} else if (_root.backUp == true) {
_root.thing.swapDepths(this);
_root.thing.alreadySwapped = true;
_root.backUp = false;
this.gotoAndStop(5);
this._x = 227.8;
this._y = -15.1;
} else {
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
interact1 = "thing.guy10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick10.rightSide)) {
_root.stick10._x = _root.stick10._x - 7.2;
} else if (this.hitTest(_root.stick10.leftSide)) {
_root.stick10._x = _root.stick10._x + 7.2;
} else if (this.hitTest(_root.stick10.upSide)) {
_root.stick10._y = _root.stick10._y + 7.2;
} else if (this.hitTest(_root.stick10.downSide)) {
_root.stick10._y = _root.stick10._y - 7.2;
}
}
Frame 16
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area8";
_root.clearMenu();
Instance of Symbol 1370 MovieClip "gamer" in Frame 16
onClipEvent (load) {
this.heady.gotoAndStop(11);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick11)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip "swapo" in Frame 16
onClipEvent (enterFrame) {
if ((_root.stick11._y < 85.9) && (alreadySwapped != true)) {
_root.gamer.swapDepths(_root.stick11);
alreadySwapped = true;
} else if ((_root.stick11._y > 85.9) && (alreadySwapped == true)) {
_root.gamer.swapDepths(_root.stick11);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip "rightSide" in Frame 16
onClipEvent (enterFrame) {
if ((_root.stick11._y < 8.4) && (alreadySwapped != true)) {
_root.wello.swapDepths(_root.stick11);
alreadySwapped = true;
} else if ((_root.stick11._y > 8.4) && (alreadySwapped == true)) {
_root.wello.swapDepths(_root.stick11);
alreadySwapped = false;
}
}
Instance of Symbol 629 MovieClip "stick11" in Frame 16
onClipEvent (load) {
if (_root.fromDown == true) {
_root.fromDown = false;
this.gotoAndStop(7);
this._x = 249.5;
this._y = 258.1;
} else if (_root.fromUp == true) {
_root.fromUp = false;
this.swapDepths(_root.gamer);
_root.swapo.alreadySwapped = true;
this.gotoAndStop(5);
this._x = 153.8;
this._y = -28.4;
} else {
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -16.4;
interact1 = "gamer";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick11.rightSide)) {
_root.stick11._x = _root.stick11._x - 7.2;
} else if (this.hitTest(_root.stick11.leftSide)) {
_root.stick11._x = _root.stick11._x + 7.2;
} else if (this.hitTest(_root.stick11.upSide)) {
_root.stick11._y = _root.stick11._y + 7.2;
} else if (this.hitTest(_root.stick11.downSide)) {
_root.stick11._y = _root.stick11._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 16
onClipEvent (load) {
inStanceSupe = "_root.stick11";
goTo = "area7";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 16
onClipEvent (load) {
inStanceSupe = "_root.stick11";
goTo = "area3";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 16
onClipEvent (load) {
inStanceSupe = "_root.stick11";
goTo = "area9";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 17
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area9";
_root.clearMenu();
Instance of Symbol 1375 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((_root.stick12._y < 49.9) && (alreadySwapped != true)) {
this.swapDepths(_root.stick12);
alreadySwapped = true;
} else if ((_root.stick12._y > 49.9) && (alreadySwapped == true)) {
this.swapDepths(_root.stick12);
alreadySwapped = false;
}
}
Instance of Symbol 1381 MovieClip "treeScene" in Frame 17
onClipEvent (enterFrame) {
if ((_root.stick12._y < 104.4) && (alreadySwapped != true)) {
this.swapDepths(_root.stick12);
alreadySwapped = true;
} else if ((_root.stick12._y > 104.4) && (alreadySwapped == true)) {
this.swapDepths(_root.stick12);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 17
onClipEvent (load) {
inStanceSupe = "_root.stick12";
goTo = "worldmap";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = false;
_root.backFromFight = false;
_root.loadedIt = false;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick12" in Frame 17
onClipEvent (load) {
if (_root.fromMap == true) {
_root.fromMap = false;
this._x = -9.9;
this._y = 192.6;
} else if (_root.fromLefto == true) {
_root.fromLefto = false;
this.gotoAndStop(2);
this._x = 445.9;
this._y = 171.3;
} else {
this.gotoAndStop(5);
this.swapDepths(_root.treeScene);
_root.treeScene.alreadySwapped = true;
}
speed = 7.2;
boundDownY = 300.6;
interact1 = "treeScene.guy";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.treeScene.guy)) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 17
onClipEvent (load) {
stickVar = 12;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root["stick" + stickVar].rightSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x - 7.2;
} else if (this.hitTest(_root["stick" + stickVar].leftSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].upSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].downSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 17
onClipEvent (load) {
stickVar = 12;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root["stick" + stickVar].rightSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x - 7.2;
} else if (this.hitTest(_root["stick" + stickVar].leftSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].upSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].downSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 17
onClipEvent (load) {
stickVar = 12;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root["stick" + stickVar].rightSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x - 7.2;
} else if (this.hitTest(_root["stick" + stickVar].leftSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].upSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].downSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 17
onClipEvent (load) {
inStanceSupe = "_root.stick12";
goTo = "area8";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 17
onClipEvent (load) {
inStanceSupe = "_root.stick12";
goTo = "area10";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 18
_root.menah._alpha = 0;
_root.place = "Town 1";
_root.savePlace = "area10";
_root.clearMenu();
Instance of Symbol 1388 MovieClip "weaponShop" in Frame 18
onClipEvent (enterFrame) {
if ((_root.stick13._y < 110) && (alreadySwapped != true)) {
this.swapDepths(_root.stick13);
alreadySwapped = true;
} else if ((_root.stick13._y > 110) && (alreadySwapped == true)) {
this.swapDepths(_root.stick13);
alreadySwapped = false;
}
}
onClipEvent (enterFrame) {
if (door.doorOpen == true) {
_root.gotoAndStop("weaponStore");
}
}
Instance of Symbol 1391 MovieClip "guyo1" in Frame 18
onClipEvent (load) {
this.heady.gotoAndStop(13);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick13)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick13" in Frame 18
onClipEvent (load) {
if (_root.fromArea == true) {
_root.fromArea = false;
this.gotoAndStop(2);
this._x = 447.4;
this._y = 180.3;
} else if (_root.fromUp == true) {
_root.fromUp = false;
this.gotoAndStop(5);
this._y = -30.1;
this._x = _root.saveX;
this.swapDepths(_root.weaponShop);
_root.weaponShop.alreadySwapped = true;
} else if (_root.backFromShop == true) {
_root.backFromShop = false;
this.gotoAndStop(5);
this._x = 143.8;
this._y = 150.7;
}
speed = 7.2;
boundDownY = 300.6;
interact1 = "weaponShop.door";
interact2 = "guyo1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.weaponShop.door) || (this.hitTest(_root[interact2]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 18
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "area9";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromLefto = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 18
onClipEvent (load) {
stickVar = 13;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root["stick" + stickVar].rightSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x - 7.2;
} else if (this.hitTest(_root["stick" + stickVar].leftSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].upSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].downSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 18
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "area7";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.saveX = _root.stick13._x;
_root.fromDowno = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 18
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "area11";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 19
_root.place = "Town 1";
_root.savePlace = "area11";
_root.clearMenu();
Instance of Symbol 1400 MovieClip "trapDoor" in Frame 19
onClipEvent (enterFrame) {
if (trapOpen == true) {
trapOpen = false;
_root.backLeft = true;
_root.gotoAndStop("area33");
}
}
Instance of Symbol 1409 MovieClip "treeGuyo" in Frame 19
onClipEvent (enterFrame) {
if ((_root.stick14._y < 89.3) && (alreadySwapped != true)) {
this.swapDepths(_root.stick14);
alreadySwapped = true;
} else if ((_root.stick14._y > 89.3) && (alreadySwapped == true)) {
this.swapDepths(_root.stick14);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 19
onClipEvent (load) {
stickVar = 14;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root["stick" + stickVar].rightSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x - 7.2;
} else if (this.hitTest(_root["stick" + stickVar].leftSide)) {
_root["stick" + stickVar]._x = _root["stick" + stickVar]._x + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].upSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y + 7.2;
} else if (this.hitTest(_root["stick" + stickVar].downSide)) {
_root["stick" + stickVar]._y = _root["stick" + stickVar]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 19
onClipEvent (load) {
inStanceSupe = "_root.stick14";
goTo = "area10";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromArea = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 19
onClipEvent (load) {
inStanceSupe = "_root.stick14";
goTo = "area6";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromArea = true;
_root.saveX = _root.stick14._x;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick14" in Frame 19
onClipEvent (load) {
if (_root.fromUp == true) {
_root.fromUp = false;
this._x = _root.saveX;
this._y = -41;
_root.treeGuyo.swapDepths(this);
_root.treeGuyo.alreadySwapped = true;
this.gotoAndStop(5);
} else if (_root.backTrap == true) {
_root.backTrap = false;
this.gotoAndStop(2);
this._x = 373.8;
this._y = 209.1;
}
speed = 7.2;
boundDownY = 300.6;
boundRightX = 461.4;
interact1 = "treeGuyo.guy";
interact2 = "trapDoor";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.treeGuyo.guy) || (this.hitTest(_root[interact2]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Frame 20
_root.place = "Town 1";
_root.savePlace = "cave";
if (_root.cutscene < 5) {
_root.backTrap = true;
_root.gotoAndPlay("caveCutscene1");
} else if ((_root.cutscene == 5) || (_root.cutscene == 5.5)) {
_root.backTrap = true;
_root.gotoAndPlay("caveCutscene3");
} else if ((_root.cutscene > 5) && (_root.cutscene < 7.5)) {
_root.gotoAndPlay("caveCutscene1");
}
_root.clearMenu();
Instance of Symbol 1416 MovieClip in Frame 20
onClipEvent (load) {
if (_root.cutscene > 7) {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip "stick15" in Frame 20
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(2);
this._y = _root.saveY;
this._x = 430.6;
} else {
this.gotoAndStop(5);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -16.4;
interact1 = "ladder";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 20
onClipEvent (load) {
inStanceSupe = "_root.stick15";
goTo = "area31";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 528 MovieClip in Frame 20
onClipEvent (load) {
music = 6;
}
Frame 21
_root.place = "Weapon Store";
_root.savePlace = "weaponStore";
_root.clearMenu();
Instance of Symbol 1266 MovieClip "buyWeapon" in Frame 21
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick16)) {
_root.menah.gotoAndStop(1);
if (_root.storeClerk._currentframe == 35) {
_root.storeClerk.gotoAndPlay(1);
}
_root.alreadyTalkin = false;
_root.stick5.giveMoney = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.storeClerk.talky = false;
_root.menah.sellItems = false;
_root.menah.sellEquipment = false;
}
}
Instance of Symbol 1267 MovieClip "storeClerk" in Frame 21
onClipEvent (load) {
this.heady.gotoAndStop(15);
}
Instance of Symbol 576 MovieClip in Frame 21
onClipEvent (load) {
inStanceSupe = "_root.stick16";
goTo = "area10";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backFromShop = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick16" in Frame 21
onClipEvent (load) {
this.gotoAndStop(7);
speed = 5;
boundUpY = 121;
boundLeftX = 10;
boundRightX = 476;
interact1 = "buyWeapon";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) && (giveMoney != true)) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 528 MovieClip in Frame 21
onClipEvent (load) {
music = 8;
}
Frame 22
stop();
Instance of Symbol 1655 MovieClip "windows" in Frame 22
onClipEvent (load) {
_root.windowOpen = 0;
}
Frame 23
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area12";
if (_root.cutscene == 2) {
_root.cutscene = 2.5;
_root.gotoAndPlay("cutscene2");
}
Instance of Symbol 1375 MovieClip "tees" in Frame 23
onClipEvent (load) {
char = "stick1";
number = 46.6;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 1657 MovieClip "guard" in Frame 23
onClipEvent (load) {
this.heady.gotoAndStop(17);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick1)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick1" in Frame 23
onClipEvent (load) {
if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this._x = _root.saveX;
this._y = -13.3;
this.swapDepths(_root.tees);
_root.tees.alreadySwapped = true;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(1);
this._x = -11.3;
this._y = 143.1;
} else {
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -100.4;
interact1 = "guard";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 23
onClipEvent (load) {
inStanceSupe = "_root.stick1";
goTo = "worldmap";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.backFromFight = false;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 23
onClipEvent (load) {
inStanceSupe = "_root.stick1";
goTo = "area20";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 23
onClipEvent (load) {
inStanceSupe = "_root.stick1";
goTo = "area13";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 23
onClipEvent (load) {
person = "stick1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 23
onClipEvent (load) {
person = "stick1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 24
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area13";
Instance of Symbol 1665 MovieClip "skillsy" in Frame 24
onClipEvent (load) {
char = "stick2";
number = 96;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 24
onClipEvent (load) {
inStanceSupe = "_root.stick2";
goTo = "area12";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 24
onClipEvent (load) {
inStanceSupe = "_root.stick2";
goTo = "area15";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 24
onClipEvent (load) {
inStanceSupe = "_root.stick2";
goTo = "area14";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 24
onClipEvent (load) {
person = "stick2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 629 MovieClip "stick2" in Frame 24
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(1);
this._x = -20.9;
this._y = 158.4;
} else if (_root.backDown == true) {
_root.backDown = false;
this.swapDepths(_root.weaponShop);
_root.weaponShop.alreadySwapped = true;
this.gotoAndStop(5);
this._x = _root.saveX;
this._y = -31.9;
} else if (_root.backStore == true) {
_root.backStore = false;
this.gotoAndStop(5);
this._x = 312.6;
this._y = 116.1;
} else {
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.skillsy.door) || (this.hitTest(_root.skillsy.paperRead))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Frame 25
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area14";
Instance of Symbol 1400 MovieClip "trapDoor2" in Frame 25
onClipEvent (enterFrame) {
if (trapOpen == true) {
trapOpen = false;
_root.gotoAndStop("cave");
}
}
Instance of Symbol 1672 MovieClip "fence" in Frame 25
onClipEvent (load) {
char = "stick3";
number = 38;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 25
onClipEvent (load) {
person = "stick3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 25
onClipEvent (load) {
person = "stick3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 629 MovieClip "stick3" in Frame 25
onClipEvent (load) {
if (_root.backTrap == true) {
_root.backTrap = false;
this._x = 128.3;
this._y = 163.8;
} else if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this.swapDepths(_root.fence);
_root.fence.alreadySwapped = true;
this._x = _root.saveX;
this._y = -35.7;
} else {
this.gotoAndStop(2);
this._y = _root.saveY;
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -16.4;
interact1 = "trapDoor2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 25
onClipEvent (load) {
inStanceSupe = "_root.stick3";
goTo = "area13";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 25
onClipEvent (load) {
inStanceSupe = "_root.stick3";
goTo = "area16";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 26
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area15";
Instance of Symbol 1684 MovieClip "statue" in Frame 26
onClipEvent (load) {
char = "stick4";
number = 80;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 26
onClipEvent (load) {
person = "stick4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 629 MovieClip "stick4" in Frame 26
onClipEvent (load) {
if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this._x = _root.saveX;
this._y = -35;
this.swapDepths(_root.statue);
_root.statue.alreadySwapped = true;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(1);
this._x = -9.7;
this._y = 163.8;
} else if (_root.backRight == true) {
_root.backRight = false;
this.gotoAndStop(2);
this._x = 442.6;
this._y = 163.8;
} else {
this.gotoAndStop(7);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 26
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area20";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 26
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area18";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 26
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area16";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 26
onClipEvent (load) {
inStanceSupe = "_root.stick4";
goTo = "area13";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Frame 27
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area16";
Instance of Symbol 1689 MovieClip "woody1" in Frame 27
onClipEvent (load) {
if (_root.woods[0] == true) {
this._visible = false;
}
}
Instance of Symbol 673 MovieClip "pumpkiny" in Frame 27
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick5)) && (!_root.stick5.hitTest(_root.chest8))) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 27
onClipEvent (load) {
person = "stick5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 629 MovieClip "stick5" in Frame 27
onClipEvent (load) {
if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this._x = 353.9;
this._y = -35.7;
} else if (_root.backRight == true) {
_root.backRight = false;
this.gotoAndStop(2);
this._x = 442.6;
this._y = _root.saveY;
} else {
this.gotoAndStop(7);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -16.4;
interact1 = "chest8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 27
onClipEvent (load) {
inStanceSupe = "_root.stick5";
goTo = "area15";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 27
onClipEvent (load) {
inStanceSupe = "_root.stick5";
goTo = "area17";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 27
onClipEvent (load) {
inStanceSupe = "_root.stick5";
goTo = "area14";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 574 MovieClip "chest8" in Frame 27
onClipEvent (load) {
chestNum = 8;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick5)) && (!_root.stick5.hitTest(_root.pumpkiny))) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 27
onClipEvent (load) {
person = "stick5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 28
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area17";
Instance of Symbol 576 MovieClip in Frame 28
onClipEvent (load) {
person = "stick6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 28
onClipEvent (load) {
person = "stick6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 1697 MovieClip "pawny" in Frame 28
onClipEvent (load) {
this.heady.gotoAndStop(3);
}
Instance of Symbol 1266 MovieClip "pawnIt" in Frame 28
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick6)) && (_root.alreadyTalkin != true)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.pawny.talky = false;
_root.menah.sellItems = false;
}
}
Instance of Symbol 629 MovieClip "stick6" in Frame 28
onClipEvent (load) {
if (_root.backRight == true) {
_root.backRight = false;
this.gotoAndStop(2);
this._x = 442.6;
this._y = _root.saveY;
} else {
this.gotoAndStop(7);
this._x = _root.saveX;
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -16.4;
interact1 = "pawnIt";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 28
onClipEvent (load) {
inStanceSupe = "_root.stick6";
goTo = "area18";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 28
onClipEvent (load) {
inStanceSupe = "_root.stick6";
goTo = "area16";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Frame 29
_root.place = "Town 2";
_root.clearMenu();
_root.savePlace = "area18";
Instance of Symbol 1254 MovieClip "door5" in Frame 29
onClipEvent (enterFrame) {
if (this.doorOpen == true) {
_root.gotoAndStop("itemStore2");
}
}
Instance of Symbol 1707 MovieClip "girl1" in Frame 29
onClipEvent (load) {
this.heady.gotoAndStop(25);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick7)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick7" in Frame 29
onClipEvent (load) {
if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this._x = 385.4;
this._y = 61.3;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(1);
this._x = -9.7;
this._y = 163.8;
} else if (_root.backRight == true) {
_root.backRight = false;
this.gotoAndStop(2);
this._x = 442.6;
this._y = 163.8;
} else {
this.gotoAndStop(7);
this._x = _root.saveX;
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -106.4;
interact1 = "door5";
interact2 = "girl1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 29
onClipEvent (load) {
inStanceSupe = "_root.stick7";
goTo = "area19";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 29
onClipEvent (load) {
inStanceSupe = "_root.stick7";
goTo = "area17";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 29
onClipEvent (load) {
inStanceSupe = "_root.stick7";
goTo = "area15";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 29
onClipEvent (load) {
person = "stick7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 30
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area19";
Instance of Symbol 576 MovieClip in Frame 30
onClipEvent (load) {
person = "stick8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 30
onClipEvent (load) {
person = "stick8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 30
onClipEvent (load) {
person = "stick8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 1345 MovieClip "guyo1" in Frame 30
onClipEvent (load) {
this.heady.gotoAndStop(7);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick8)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 30
onClipEvent (load) {
person = "stick8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 1712 MovieClip in Frame 30
onClipEvent (load) {
char = "stick8";
number = 80.5;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 629 MovieClip "stick8" in Frame 30
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(1);
this._x = -9.7;
this._y = 163.8;
} else {
this.gotoAndStop(7);
this._x = _root.saveX;
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -106.4;
interact1 = "guyo1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 30
onClipEvent (load) {
inStanceSupe = "_root.stick8";
goTo = "area18";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 30
onClipEvent (load) {
inStanceSupe = "_root.stick8";
goTo = "area20";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1259 MovieClip in Frame 30
onClipEvent (load) {
gotoAndPlay (10);
}
Frame 31
_root.clearMenu();
_root.place = "Town 2";
_root.savePlace = "area20";
Instance of Symbol 1717 MovieClip "treeie" in Frame 31
onClipEvent (load) {
char = "stick9";
number = 52;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 31
onClipEvent (load) {
person = "stick9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 31
onClipEvent (load) {
person = "stick9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 1718 MovieClip "wizzy" in Frame 31
onClipEvent (load) {
this.heady.gotoAndStop(19);
}
Instance of Symbol 1266 MovieClip "talkWiz" in Frame 31
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick9)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.wizzy.talky = false;
_root.menah.sellItems = false;
}
}
Instance of Symbol 629 MovieClip "stick9" in Frame 31
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(1);
this._x = -9.7;
this._y = 173.8;
} else if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this._x = 241.5;
this._y = -35;
this.swapDepths(_root.treeie);
_root.treeie.alreadySwapped = true;
} else {
this.gotoAndStop(7);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -306.4;
interact1 = "talkWiz";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 31
onClipEvent (load) {
inStanceSupe = "_root.stick9";
goTo = "area15";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 31
onClipEvent (load) {
inStanceSupe = "_root.stick9";
goTo = "area12";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 31
onClipEvent (load) {
inStanceSupe = "_root.stick9";
goTo = "area19";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 32
_root.clearMenu();
_root.place = "Item Store";
_root.savePlace = "itemStore2";
Instance of Symbol 1266 MovieClip "buyEm" in Frame 32
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick10)) && (_root.alreadyTalkin != true)) {
_root.menah.gotoAndStop(1);
if (_root.storeClerk._currentframe == 35) {
_root.storeClerk.gotoAndPlay(1);
}
_root.alreadyTalkin = false;
_root.stick10.giveMoney = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.storeClerk.talky = false;
_root.menah.sellItems = false;
}
}
Instance of Symbol 1267 MovieClip "storeClerk" in Frame 32
onClipEvent (load) {
this.heady.gotoAndStop(4);
}
Instance of Symbol 629 MovieClip "stick10" in Frame 32
onClipEvent (load) {
this.gotoAndStop(7);
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -16.4;
interact1 = "buyEm";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 32
onClipEvent (load) {
inStanceSupe = "_root.stick10";
goTo = "area18";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.menah.sellItems = false;
_root.gotoAndStop(goTo);
}
}
Frame 33
_root.clearMenu();
_root.place = "Skills Store";
_root.savePlace = "skillsStore";
Instance of Symbol 1266 MovieClip "buyItems" in Frame 33
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.stick5)) && (_root.alreadyTalkin != true)) {
_root.menah.gotoAndStop(1);
if (_root.storeClerk._currentframe == 35) {
_root.storeClerk.gotoAndPlay(1);
}
_root.alreadyTalkin = false;
_root.stick5.giveMoney = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
_root.menah.needAnswer = false;
_root.storeClerk.talky = false;
_root.menah.sellItems = false;
}
}
Instance of Symbol 1267 MovieClip "storeClerk" in Frame 33
onClipEvent (load) {
this.heady.gotoAndStop(21);
}
Instance of Symbol 629 MovieClip "stick11" in Frame 33
onClipEvent (load) {
this.gotoAndStop(7);
speed = 5;
boundUpY = 121;
boundLeftX = 10;
boundRightX = 476;
interact1 = "buyItems";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) && (giveMoney != true)) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 33
onClipEvent (load) {
inStanceSupe = "_root.stick11";
goTo = "area13";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backStore = true;
_root.gotoAndStop(goTo);
}
}
Frame 34
_root.clearMenu();
_root.place = "Factory Front";
_root.savePlace = "factory";
Instance of Symbol 1259 MovieClip in Frame 34
onClipEvent (load) {
gotoAndPlay (9);
}
Instance of Symbol 1742 MovieClip "bridge" in Frame 34
onClipEvent (load) {
if (_root.getItemQuantity("wood") >= 3) {
allWood = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 576 MovieClip in Frame 34
onClipEvent (load) {
person = "stick12";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 4;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 4;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 4;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 4;
}
}
Instance of Symbol 629 MovieClip "stick12" in Frame 34
onClipEvent (load) {
if (_root.fromDown == true) {
_root.fromDown = false;
this.gotoAndStop(7);
this._x = 249.5;
this._y = 258.1;
} else if (_root.backFromFac == true) {
_root.backFromFac = false;
this.gotoAndStop(5);
this._x = 235.5;
this._y = 238.7;
} else {
this.gotoAndStop(2);
}
speed = 4;
boundLeftX = -16.4;
boundRightX = 500;
interact1 = "bridge";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1]) && (_root.getItemQuantity("wood") >= 3)) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 34
onClipEvent (load) {
inStanceSupe = "_root.stick12";
goTo = "worldmap";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backFromFac = true;
_root.backFromFight = false;
_root.gotoAndStop(goTo);
}
}
Frame 35
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area21";
if (_root.cutscene == 4) {
gotoAndPlay ("cutscene4.2");
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
person = "stick13";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "factory";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backFromFac = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick13" in Frame 35
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backRight == true) {
_root.backRight = false;
this._x = -17.3;
this._y = 54.2;
} else if (_root.backLeft == true) {
this.gotoAndStop(2);
this._x = 468.9;
this._y = 29.6;
} else if (_root.backBottom == true) {
_root.backBottom = false;
this._x = 234;
this._y = -53.9;
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
walking = 0;
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "area26";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "area25";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
inStanceSupe = "_root.stick13";
goTo = "area22";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1750 MovieClip in Frame 35
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
person = "stick13";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 35
onClipEvent (load) {
person = "stick13";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 1753 MovieClip "animo" in Frame 35
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 528 MovieClip in Frame 35
onClipEvent (load) {
music = 7;
}
Frame 36
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area22";
Instance of Symbol 576 MovieClip in Frame 36
onClipEvent (load) {
inStanceSupe = "_root.stick14";
if (_root.fromLeft == true) {
goTo = "area28";
} else {
goTo = "area21";
}
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backBottom = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick14" in Frame 36
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(5);
this._x = 244;
this._y = -47.9;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this.gotoAndStop(2);
this._x = 477.9;
this._y = 105;
} else {
this.gotoAndStop(7);
}
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 36
onClipEvent (load) {
inStanceSupe = "_root.stick14";
if (_root.fromLeft == true) {
goTo = "area26";
} else {
goTo = "area24";
}
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.fromLeft = false;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 36
onClipEvent (load) {
inStanceSupe = "_root.stick14";
if (_root.fromLeft == true) {
goTo = "area27";
} else {
goTo = "area23";
}
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 36
onClipEvent (load) {
person = "stick14";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 37
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area23";
Instance of Symbol 574 MovieClip "chest7" in Frame 37
onClipEvent (load) {
chestNum = 7;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick15)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 37
onClipEvent (load) {
inStanceSupe = "_root.stick15";
goTo = "area22";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick15" in Frame 37
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
this.gotoAndStop(7);
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
interact1 = "chest7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 37
onClipEvent (load) {
person = "stick15";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 37
onClipEvent (load) {
person = "stick15";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 37
onClipEvent (load) {
person = "stick15";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 38
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area24";
Instance of Symbol 1750 MovieClip in Frame 38
onClipEvent (load) {
gotoAndPlay (8);
}
Instance of Symbol 574 MovieClip "chest6" in Frame 38
onClipEvent (load) {
chestNum = 6;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick16)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick16" in Frame 38
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
walking = 0;
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
interact1 = "chest6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 38
onClipEvent (load) {
inStanceSupe = "_root.stick16";
goTo = "area21";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 38
onClipEvent (load) {
person = "stick16";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 38
onClipEvent (load) {
person = "stick16";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 38
onClipEvent (load) {
person = "stick16";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 39
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area25";
Instance of Symbol 629 MovieClip "stick17" in Frame 39
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 473.9;
this._y = 49.2;
this.gotoAndStop(2);
}
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 39
onClipEvent (load) {
inStanceSupe = "_root.stick17";
goTo = "area21";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 39
onClipEvent (load) {
inStanceSupe = "_root.stick17";
goTo = "area24";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 39
onClipEvent (load) {
person = "stick17";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 1750 MovieClip in Frame 39
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 576 MovieClip in Frame 39
onClipEvent (load) {
person = "stick17";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 39
onClipEvent (load) {
person = "stick17";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 40
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area26";
Instance of Symbol 629 MovieClip "stick18" in Frame 40
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 473.9;
this._y = 49.2;
this.gotoAndStop(2);
}
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 40
onClipEvent (load) {
inStanceSupe = "_root.stick18";
goTo = "area22";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.fromLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 40
onClipEvent (load) {
inStanceSupe = "_root.stick18";
goTo = "area21";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 40
onClipEvent (load) {
person = "stick18";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 40
onClipEvent (load) {
person = "stick18";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 40
onClipEvent (load) {
person = "stick18";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 40
onClipEvent (load) {
person = "stick18";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 41
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area27";
if (_root.cutscene == 4.5) {
gotoAndPlay ("cutscene4");
}
Instance of Symbol 1774 MovieClip "barrel" in Frame 41
onClipEvent (load) {
char = "stick19";
number = 120.5;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 41
onClipEvent (load) {
inStanceSupe = "_root.stick19";
goTo = "area22";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick19" in Frame 41
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
this.gotoAndStop(7);
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -106.4;
interact1 = "chest9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
}
Instance of Symbol 576 MovieClip in Frame 41
onClipEvent (load) {
person = "stick19";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 41
onClipEvent (load) {
person = "stick19";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 41
onClipEvent (load) {
person = "stick19";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 574 MovieClip "chest9" in Frame 41
onClipEvent (load) {
chestNum = 9;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick19)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Frame 42
_root.clearMenu();
_root.place = "Factory";
_root.savePlace = "area28";
Instance of Symbol 1780 MovieClip "combo1" in Frame 42
onClipEvent (load) {
char = "stick20";
number = 122;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
_parent.chest5.swapDepths(this);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
_parent.chest5.swapDepths(this);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 42
onClipEvent (load) {
inStanceSupe = "_root.stick20";
goTo = "area22";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick20" in Frame 42
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
this.gotoAndStop(5);
_root.backBottom = false;
this.swapDepths(_parent.boxes1);
_parent.boxes1.swapDepths(_parent.chest5);
speed = 3;
boundDownY = 300.6;
boundLeftX = -106.4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.combo1.chest5)) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 42
onClipEvent (load) {
person = "stick20";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 42
onClipEvent (load) {
person = "stick20";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 42
onClipEvent (load) {
person = "stick20";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 42
onClipEvent (load) {
person = "stick20";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 43
_root.clearMenu();
_root.place = "Cave";
_root.savePlace = "area29";
if (_root.cutscene == 7.5) {
gotoAndStop ("cutscene7-5");
}
Instance of Symbol 1247 MovieClip in Frame 43
onClipEvent (load) {
gotoAndPlay (8);
}
Instance of Symbol 673 MovieClip "pump1" in Frame 43
onClipEvent (load) {
if (_root.sideQuests[0] == 1) {
} else {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip "stick21" in Frame 43
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 459.4;
this._y = _root.saveY;
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -300;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 43
onClipEvent (load) {
inStanceSupe = "_root.stick21";
goTo = "area31";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 43
onClipEvent (load) {
inStanceSupe = "_root.stick21";
goTo = "area30";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 43
onClipEvent (load) {
person = "stick21";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 528 MovieClip in Frame 43
onClipEvent (load) {
music = 6;
}
Frame 44
_root.clearMenu();
_root.place = "Cave";
_root.savePlace = "area30";
Instance of Symbol 574 MovieClip "chest10" in Frame 44
onClipEvent (load) {
chestNum = 10;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick22)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick22" in Frame 44
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 459.4;
this._y = _root.saveY;
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -300;
interact1 = "chest10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 44
onClipEvent (load) {
inStanceSupe = "_root.stick22";
goTo = "area29";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 44
onClipEvent (load) {
inStanceSupe = "_root.stick22";
goTo = "area32";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 44
onClipEvent (load) {
person = "stick22";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 45
_root.clearMenu();
_root.place = "Cave";
_root.savePlace = "area31";
Instance of Symbol 629 MovieClip "stick23" in Frame 45
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 459.4;
this._y = _root.saveY;
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -300;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 45
onClipEvent (load) {
inStanceSupe = "_root.stick23";
goTo = "cave";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 45
onClipEvent (load) {
inStanceSupe = "_root.stick23";
goTo = "area29";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 45
onClipEvent (load) {
person = "stick23";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 46
_root.clearMenu();
_root.place = "Cave";
_root.savePlace = "area32";
Instance of Symbol 673 MovieClip "pump2" in Frame 46
onClipEvent (load) {
if (_root.sideQuests[0] == 2) {
} else {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip "stick24" in Frame 46
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 459.4;
this._y = _root.saveY;
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -300;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 46
onClipEvent (load) {
inStanceSupe = "_root.stick24";
goTo = "area30";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 46
onClipEvent (load) {
inStanceSupe = "_root.stick24";
goTo = "area33";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 46
onClipEvent (load) {
person = "stick24";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 47
_root.clearMenu();
_root.place = "Cave";
_root.savePlace = "area33";
if (_root.cutscene < 5) {
_root.backTrap = true;
_root.gotoAndPlay("caveCutscene2");
} else if ((_root.cutscene == 5) || (_root.cutscene == 5.5)) {
_root.backTrap = true;
_root.gotoAndPlay("caveCutscene4");
} else if ((_root.cutscene > 5) && (_root.cutscene < 7.5)) {
_root.gotoAndPlay("caveCutscene2");
}
Instance of Symbol 1416 MovieClip in Frame 47
onClipEvent (load) {
if (_root.cutscene > 7) {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip "stick25" in Frame 47
onClipEvent (load) {
if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 366.7;
this._y = 12.1;
this.gotoAndStop(2);
}
speed = 7.2;
boundDownY = 300.6;
boundLeftX = -300;
interact1 = "ladder2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 47
onClipEvent (load) {
inStanceSupe = "_root.stick25";
goTo = "area32";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 47
onClipEvent (load) {
person = "stick25";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Frame 48
_root.clearMenu();
_root.place = "Church";
_root.savePlace = "church";
if (_root.cutscene == 5.5) {
_root.cutscene = 6;
_root.gotoAndPlay("cutscene5");
}
if (_root.cutscene == 6.5) {
_root.cutscene = 7;
_root.gotoAndPlay("cutscene5");
}
Instance of Symbol 1811 MovieClip "priest" in Frame 48
onClipEvent (load) {
this.heady.gotoAndStop(26);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick26)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1813 MovieClip "comicy" in Frame 48
onClipEvent (load) {
if ((_root.getItemQuantity("comic") == 1) || (_root.cutscene < 8)) {
this._visible = false;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
inStanceSupe = "_root.stick26";
goTo = "worldmap";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backFromChurch = true;
_root.backFromFight = false;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 629 MovieClip "stick26" in Frame 48
onClipEvent (load) {
this.gotoAndStop(7);
speed = 7.2;
boundDownY = 500;
boundLeftX = -106.4;
interact1 = "priest";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
person = "stick26";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
person = "stick19";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 1816 MovieClip in Frame 48
onClipEvent (load) {
this.heady.gotoAndStop(22);
}
Instance of Symbol 1816 MovieClip in Frame 48
onClipEvent (load) {
this.heady.gotoAndStop(23);
this.gotoAndPlay(25);
}
Instance of Symbol 1816 MovieClip in Frame 48
onClipEvent (load) {
this.heady.gotoAndStop(24);
this.gotoAndPlay(35);
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
person = "stick26";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
person = "stick26";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
person = "stick26";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (load) {
person = "stick26";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 528 MovieClip in Frame 48
onClipEvent (load) {
music = 5;
}
Frame 49
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area34";
if (_root.cutscene <= 8) {
gotoAndPlay ("doomCaveCutscene");
}
Instance of Symbol 629 MovieClip "stick27" in Frame 49
onClipEvent (load) {
if (_root.backUp == true) {
_root.backUp = false;
this.gotoAndStop(5);
this._x = 253.5;
this._y = 139.1;
} else {
this.gotoAndStop(7);
}
speed = 3;
boundDownY = 350;
boundUpY = 113.5;
boundLeftX = 3;
boundRightX = 473.1;
interact1 = "tunny";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 1829 MovieClip in Frame 49
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 1829 MovieClip in Frame 49
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 576 MovieClip in Frame 49
onClipEvent (load) {
inStanceSupe = "_root.stick27";
goTo = "worldmap";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backFromCave = true;
_root.backFromFight = false;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 528 MovieClip in Frame 49
onClipEvent (load) {
music = 6;
}
Frame 50
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area35";
Instance of Symbol 1836 MovieClip "lockDoor1" in Frame 50
onClipEvent (load) {
goTo = "area39";
stop();
}
Instance of Symbol 576 MovieClip in Frame 50
onClipEvent (load) {
person = "stick28";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 50
onClipEvent (load) {
person = "stick28";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 629 MovieClip "stick28" in Frame 50
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backUp == true) {
_root.backUp = false;
this._x = 229.1;
this._y = -14.6;
this.gotoAndStop(5);
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 54.5;
this._y = 167.1;
} else if (_root.backRight == true) {
_root.backRight = false;
this._x = 465.9;
this._y = 143.2;
this.gotoAndStop(2);
} else {
this.gotoAndStop(7);
}
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = 3;
boundRightX = 542.7;
interact1 = "lockDoor1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 50
onClipEvent (load) {
inStanceSupe = "_root.stick28";
goTo = "area34";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backUp = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 50
onClipEvent (load) {
inStanceSupe = "_root.stick28";
goTo = "area42";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 50
onClipEvent (load) {
inStanceSupe = "_root.stick28";
goTo = "area36";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1753 MovieClip "animo" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Frame 51
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area36";
Instance of Symbol 1836 MovieClip "lockDoor2" in Frame 51
onClipEvent (load) {
goTo = "area38";
stop();
}
Instance of Symbol 629 MovieClip "stick29" in Frame 51
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backUp == true) {
_root.backUp = false;
this._x = 229.1;
this._y = -14.6;
this.gotoAndStop(5);
} else if (_root.backRight == true) {
_root.backRight = false;
this._x = 409.4;
this._y = 163.8;
this.gotoAndStop(2);
} else {
this.gotoAndStop(7);
}
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = 3;
boundRightX = 473.1;
interact1 = "lockDoor2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 51
onClipEvent (load) {
inStanceSupe = "_root.stick29";
goTo = "area35";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backUp = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 51
onClipEvent (load) {
inStanceSupe = "_root.stick29";
goTo = "area37";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 52
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area37";
Instance of Symbol 882 MovieClip "key1" in Frame 52
onClipEvent (load) {
if (_root.keys[0] == true) {
this._visible = false;
}
}
Instance of Symbol 574 MovieClip "chest11" in Frame 52
onClipEvent (load) {
chestNum = 11;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick30)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick30" in Frame 52
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
this.gotoAndStop(7);
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = 3;
boundRightX = 473.1;
interact1 = "chest11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 52
onClipEvent (load) {
inStanceSupe = "_root.stick30";
goTo = "area36";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backUp = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 52
onClipEvent (load) {
person = "stick30";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 53
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area38";
Instance of Symbol 882 MovieClip "key2" in Frame 53
onClipEvent (load) {
if (_root.keys[1] == true) {
this._visible = false;
}
}
Instance of Symbol 574 MovieClip "chest12" in Frame 53
onClipEvent (load) {
chestNum = 12;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick31)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 53
onClipEvent (load) {
person = "stick31";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 53
onClipEvent (load) {
person = "stick31";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 629 MovieClip "stick31" in Frame 53
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = -74.5;
boundRightX = 473.1;
interact1 = "chest12";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 53
onClipEvent (load) {
inStanceSupe = "_root.stick31";
goTo = "area36";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 53
onClipEvent (load) {
person = "stick31";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 54
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area39";
Instance of Symbol 1836 MovieClip "lockDoor3" in Frame 54
onClipEvent (load) {
goTo = "area44";
stop();
}
Instance of Symbol 1247 MovieClip in Frame 54
onClipEvent (load) {
gotoAndPlay (8);
}
Instance of Symbol 1247 MovieClip in Frame 54
onClipEvent (load) {
gotoAndPlay (8);
}
Instance of Symbol 576 MovieClip in Frame 54
onClipEvent (load) {
person = "stick32";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 54
onClipEvent (load) {
person = "stick32";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 54
onClipEvent (load) {
person = "stick32";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 54
onClipEvent (load) {
person = "stick32";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 629 MovieClip "stick32" in Frame 54
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 27.6;
this._y = 156.3;
} else if (_root.backDown == true) {
_root.backDown = false;
this.gotoAndStop(7);
this._x = 232.6;
this._y = 282.9;
} else {
this.gotoAndStop(2);
}
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = 3;
boundRightX = 532.4;
interact1 = "lockDoor3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 54
onClipEvent (load) {
inStanceSupe = "_root.stick32";
goTo = "area35";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 54
onClipEvent (load) {
inStanceSupe = "_root.stick32";
goTo = "area40";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Frame 55
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area40";
Instance of Symbol 1836 MovieClip "lockDoor4" in Frame 55
onClipEvent (load) {
goTo = "area43";
stop();
}
Instance of Symbol 629 MovieClip "stick33" in Frame 55
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 42.8;
this._y = 176.3;
} else if (_root.backRight == true) {
_root.backRight = false;
this._x = 456.2;
this._y = 156.6;
this.gotoAndStop(2);
} else {
this.gotoAndStop(7);
}
speed = 3;
boundDownY = 350;
boundUpY = -63;
boundLeftX = 3;
boundRightX = 514.3;
interact1 = "lockDoor4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 55
onClipEvent (load) {
inStanceSupe = "_root.stick33";
goTo = "area41";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 55
onClipEvent (load) {
inStanceSupe = "_root.stick33";
goTo = "area39";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backDown = true;
_root.gotoAndStop(goTo);
}
}
Frame 56
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area41";
Instance of Symbol 882 MovieClip "key3" in Frame 56
onClipEvent (load) {
if (_root.keys[2] == true) {
this._visible = false;
}
}
Instance of Symbol 574 MovieClip "chest13" in Frame 56
onClipEvent (load) {
chestNum = 13;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick34)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 629 MovieClip "stick34" in Frame 56
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = -52.8;
boundRightX = 473.1;
interact1 = "chest13";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 56
onClipEvent (load) {
inStanceSupe = "_root.stick34";
goTo = "area40";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 576 MovieClip in Frame 56
onClipEvent (load) {
person = "stick34";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 57
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area42";
Instance of Symbol 574 MovieClip "chest14" in Frame 57
onClipEvent (load) {
chestNum = 14;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick35)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 576 MovieClip in Frame 57
onClipEvent (load) {
person = "stick35";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 576 MovieClip in Frame 57
onClipEvent (load) {
person = "stick35";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Instance of Symbol 629 MovieClip "stick35" in Frame 57
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = -64.5;
boundRightX = 473.1;
interact1 = "chest14";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[interact1])) {
this.pressButt._visible = true;
this.pressButt.play();
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 57
onClipEvent (load) {
inStanceSupe = "_root.stick35";
goTo = "area35";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backRight = true;
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 1829 MovieClip in Frame 57
onClipEvent (load) {
gotoAndPlay (9);
}
Instance of Symbol 576 MovieClip in Frame 57
onClipEvent (load) {
person = "stick35";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 3;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 3;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 3;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 3;
}
}
Frame 58
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area43";
Instance of Symbol 882 MovieClip "key4" in Frame 58
onClipEvent (load) {
if (_root.keys[3] == true) {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip "stick36" in Frame 58
onClipEvent (load) {
if (_root.backFromFight == true) {
_root.backFromFight = false;
this._x = _root.saveX;
this._y = _root.saveY;
}
this.gotoAndStop(2);
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = 3;
boundRightX = 514.3;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
walking = random(300) + 1;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
walking = random(300) + 1;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 58
onClipEvent (load) {
inStanceSupe = "_root.stick36";
goTo = "area40";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Frame 59
_root.clearMenu();
_root.place = "Final Cave";
_root.savePlace = "area44";
if (_root.cutscene == 8.5) {
_root.cutscene = 8.6;
gotoAndStop ("finalBatCutscene");
}
Instance of Symbol 629 MovieClip "stick37" in Frame 59
onClipEvent (load) {
this.gotoAndStop(2);
speed = 3;
boundDownY = 350;
boundUpY = -45;
boundLeftX = 3;
boundRightX = 514.3;
}
onClipEvent (enterFrame) {
if (_root.menyy != true) {
if (Key.isDown(38) && (this._y > boundUpY)) {
this._y = this._y - speed;
this.gotoAndStop(8);
} else if (Key.isDown(40) && (this._y < boundDownY)) {
this._y = this._y + speed;
this.gotoAndStop(6);
} else if (Key.isDown(37) && (this._x > boundLeftX)) {
this._x = this._x - speed;
left = 1;
this.gotoAndStop(4);
} else if (Key.isDown(39) && (this._x < boundRightX)) {
this._x = this._x + speed;
right = 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
}
Instance of Symbol 576 MovieClip in Frame 59
onClipEvent (load) {
inStanceSupe = "_root.stick37";
goTo = "area39";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.backLeft = true;
_root.gotoAndStop(goTo);
}
}
Frame 60
_root.guyIn = 1;
meno.dees._visible = false;
_root.supesFought = true;
if ((_root.supesPoison == true) && (_root.char1 > 0)) {
damo = (random(_root.pLevel + 5) + 3) + _root.pLevel;
_root.char1 = _root.char1 - damo;
if (_root.char1 <= 0) {
_root.char1 = 1;
}
}
if (_root.attacky == true) {
_root.attacky = false;
_root.gotoAndStop("enemyAttackSupes");
} else if (_root.supesDead == true) {
_root.meno.menu1._visible = false;
} else {
_root.meno.menu1._visible = true;
}
if (_root.firstTime != true) {
_root.intializeItems();
_root.enemyFight = _root.enemyTypes[0];
_root.enemyHp = _root.enemyHps[0];
_root.currentEnemyTime = _root.enemyTimes[0];
_root.currentIndex = 0;
_root.firstTime = true;
}
Instance of Symbol 253 MovieClip "enemy" in Frame 60
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Instance of Symbol 484 MovieClip "meno" in Frame 60
onClipEvent (load) {
this._alpha = 85;
}
Instance of Symbol 1895 MovieClip "damageBox" in Frame 60
onClipEvent (load) {
this.moe = 0;
}
onClipEvent (enterFrame) {
if (this.active == true) {
this._y = this._y - (2 + this.moe);
this.moe = this.moe + 0.1;
this._height = this._height - 0.8;
if (this._height <= 0) {
this.moe = 0;
this.active = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 1897 MovieClip "damageBox2" in Frame 60
onClipEvent (load) {
this.moe = 0;
this._width = 0;
}
onClipEvent (enterFrame) {
if (this.active == true) {
if (this.moe != 55) {
this._width = this._width + 3;
if (this._width >= 100) {
this._width = 100;
this.moe = this.moe + 1;
}
} else {
this._width = this._width - 3;
if (this._width <= 0) {
this._width = 0;
this.moe = 0;
this.active = false;
this.removeMovieClip();
}
}
}
}
Instance of Symbol 1136 MovieClip in Frame 60
onClipEvent (load) {
if (_root.inGameInstr[0] != true) {
this._visible = false;
} else {
this._alpha = 0;
thisY = this._y;
this._y = this._y - 40;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (this._y != thisY)) {
this._y = this._y + 1;
this._alpha = this._alpha + 2;
}
}
on (press) {
_root.inGameInstr[0] = false;
this._visible = false;
}
Instance of Symbol 528 MovieClip in Frame 60
onClipEvent (load) {
music = 2;
}
Frame 61
meno.dees._visible = false;
stop();
Frame 62
meno.dees._visible = false;
stop();
Frame 63
meno.dees._visible = false;
stop();
Frame 64
meno.dees._visible = false;
Frame 65
meno.dees._visible = false;
Frame 66
meno.dees._visible = false;
Instance of Symbol 2022 MovieClip in Frame 66
onClipEvent (load) {
thisY = this._y;
this._y = this._y - 35;
alpha = this._alpha;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 6;
this._y = this._y + 4;
if (this._y > thisY) {
this._y = thisY;
}
}
}
Instance of Symbol 528 MovieClip in Frame 66
onClipEvent (load) {
music = 9;
}
Frame 67
_root.guyIn = 2;
meno.dees._visible = false;
_root.stickFought = true;
if ((_root.stickPoison == true) && (_root.char2 > 0)) {
damo = (random(_root.pLevel + 5) + 3) + _root.pLevel;
_root.char2 = _root.char2 - damo;
if (_root.char2 <= 0) {
_root.char2 = 1;
}
}
if (_root.attacky == true) {
_root.attacky = false;
_root.gotoAndStop("enemyAttackStick");
} else if (_root.stickDead == true) {
_root.meno.menu2._visible = false;
} else if (_root.counterAtt == true) {
_root.meno.menu2._visible = false;
gotoAndStop ("stickAttack");
} else {
_root.meno.menu2._visible = true;
}
if (_root.firstTime != true) {
_root.intializeItems();
_root.enemyFight = _root.enemyTypes[0];
_root.enemyHp = _root.enemyHps[0];
_root.currentEnemyTime = _root.enemyTimes[0];
_root.currentIndex = 0;
_root.firstTime = true;
}
Instance of Symbol 253 MovieClip "enemy" in Frame 67
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Instance of Symbol 484 MovieClip "meno" in Frame 67
onClipEvent (load) {
this.gotoAndStop(2);
this._alpha = 85;
}
Instance of Symbol 1895 MovieClip "damageBox" in Frame 67
onClipEvent (load) {
this.moe = 0;
}
onClipEvent (enterFrame) {
if (this.active == true) {
this._y = this._y - (2 + this.moe);
this.moe = this.moe + 0.1;
this._height = this._height - 0.8;
if (this._height <= 0) {
this.moe = 0;
this.active = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 528 MovieClip in Frame 67
onClipEvent (load) {
music = 2;
}
Frame 68
meno.dees._visible = false;
Frame 69
meno.dees._visible = false;
Frame 70
meno.dees._visible = false;
Frame 71
meno.dees._visible = false;
Frame 72
meno.dees._visible = false;
Frame 73
meno.dees._visible = false;
Instance of Symbol 2022 MovieClip in Frame 73
onClipEvent (load) {
thisY = this._y;
this._y = this._y - 35;
alpha = this._alpha;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 6;
this._y = this._y + 4;
if (this._y > thisY) {
this._y = thisY;
}
}
}
Instance of Symbol 528 MovieClip in Frame 73
onClipEvent (load) {
music = 9;
}
Frame 74
_root.guyIn = 3;
_root.destFought = true;
if ((_root.destPoison == true) && (_root.char3 > 0)) {
damo = (random(_root.pLevel + 5) + 3) + _root.pLevel;
_root.char3 = _root.char3 - damo;
if (_root.char3 <= 0) {
_root.char3 = 1;
}
}
if (_root.attacky == true) {
_root.attacky = false;
_root.gotoAndStop("enemyAttackDest");
} else if (_root.destDead == true) {
_root.meno.menu3._visible = false;
} else {
_root.meno.menu3._visible = true;
}
if (_root.firstTime != true) {
_root.intializeItems();
_root.enemyFight = _root.enemyTypes[0];
_root.enemyHp = _root.enemyHps[0];
_root.currentEnemyTime = _root.enemyTimes[0];
_root.currentIndex = 0;
_root.firstTime = true;
}
Instance of Symbol 253 MovieClip "enemy" in Frame 74
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Instance of Symbol 484 MovieClip "meno" in Frame 74
onClipEvent (load) {
this.gotoAndStop(3);
this._alpha = 85;
}
Instance of Symbol 1895 MovieClip "damageBox" in Frame 74
onClipEvent (load) {
this.moe = 0;
}
onClipEvent (enterFrame) {
if (this.active == true) {
this._y = this._y - (2 + this.moe);
this.moe = this.moe + 0.1;
this._height = this._height - 0.4;
if (this._height <= 0) {
this.moe = 0;
this.active = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 1897 MovieClip "damageBox2" in Frame 74
onClipEvent (load) {
this.moe = 0;
this._xscale = 0;
}
onClipEvent (enterFrame) {
if (this.active == true) {
if (this.moe != 5) {
this._xscale = this._xscale + 8;
if (this._xscale >= 100) {
this._xscale = 100;
this.moe = this.moe + 1;
}
} else {
this._xscale = this._xscale - 8;
if (this._xscale <= 0) {
this._xscale = 0;
this._height = 0;
this.moe = 0;
this.active = false;
this._x = 31.1;
this._y = -44.1;
this.removeMovieClip();
}
}
}
}
Instance of Symbol 528 MovieClip in Frame 74
onClipEvent (load) {
music = 2;
}
Frame 75
meno.dees._visible = false;
Frame 76
meno.dees._visible = false;
Frame 77
meno.dees._visible = false;
Frame 78
meno.dees._visible = false;
Frame 79
meno.dees._visible = false;
Instance of Symbol 253 MovieClip "enemy" in Frame 79
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Frame 80
meno.dees._visible = false;
Instance of Symbol 2022 MovieClip in Frame 80
onClipEvent (load) {
thisY = this._y;
this._y = this._y - 35;
alpha = this._alpha;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 6;
this._y = this._y + 4;
if (this._y > thisY) {
this._y = thisY;
}
}
}
Instance of Symbol 528 MovieClip in Frame 80
onClipEvent (load) {
music = 9;
}
Frame 81
_root.guyIn = 4;
_root.evilFought = true;
if (_root.attacky == true) {
_root.attacky = false;
_root.gotoAndStop("enemyAttackEvil");
} else if (_root.evilDead == true) {
_root.meno.menu4._visible = false;
} else {
_root.meno.menu4._visible = true;
}
if (_root.firstTime != true) {
_root.intializeItems();
_root.enemyFight = _root.enemyTypes[0];
_root.enemyHp = _root.enemyHps[0];
_root.currentEnemyTime = _root.enemyTimes[0];
_root.currentIndex = 0;
_root.firstTime = true;
}
Instance of Symbol 253 MovieClip "enemy" in Frame 81
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Instance of Symbol 484 MovieClip "meno" in Frame 81
onClipEvent (load) {
this.gotoAndStop(4);
this._alpha = 85;
}
Instance of Symbol 1895 MovieClip "damageBox" in Frame 81
onClipEvent (load) {
this.moe = 0;
}
onClipEvent (enterFrame) {
if (this.active == true) {
this._y = this._y - (2 + this.moe);
this.moe = this.moe + 0.1;
this._height = this._height - 0.8;
if (this._height <= 0) {
this.moe = 0;
this.active = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 528 MovieClip in Frame 81
onClipEvent (load) {
music = 2;
}
Frame 82
meno.dees._visible = false;
Frame 83
meno.dees._visible = false;
Frame 84
meno.dees._visible = false;
Frame 85
meno.dees._visible = false;
Frame 86
meno.dees._visible = false;
Frame 87
meno.dees._visible = false;
Instance of Symbol 2022 MovieClip in Frame 87
onClipEvent (load) {
thisY = this._y;
this._y = this._y - 35;
alpha = this._alpha;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 6;
this._y = this._y + 4;
if (this._y > thisY) {
this._y = thisY;
}
}
}
Instance of Symbol 528 MovieClip in Frame 87
onClipEvent (load) {
music = 9;
}
Frame 88
meno.dees._visible = false;
Instance of Symbol 253 MovieClip "enemy" in Frame 88
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Instance of Symbol 2022 MovieClip in Frame 88
onClipEvent (load) {
this.gotoAndStop(4);
thisY = this._y;
this._y = this._y - 35;
alpha = this._alpha;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 6;
this._y = this._y + 4;
if (this._y > thisY) {
this._y = thisY;
}
}
}
Instance of Symbol 528 MovieClip in Frame 88
onClipEvent (load) {
music = 2;
}
Frame 89
_root.place = "World Map";
_root.savePlace = "worldmap";
stop();
Instance of Symbol 576 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick1.rightSide)) {
_root.stick1._x = _root.stick1._x - (1 + _root.fastWalk);
} else if (this.hitTest(_root.stick1.leftSide)) {
_root.stick1._x = _root.stick1._x + (1 + _root.fastWalk);
} else if (this.hitTest(_root.stick1.upSide)) {
_root.stick1._y = _root.stick1._y + (1 + _root.fastWalk);
} else if (this.hitTest(_root.stick1.downSide)) {
_root.stick1._y = _root.stick1._y - (1 + _root.fastWalk);
}
}
Instance of Symbol 576 MovieClip in Frame 89
onClipEvent (load) {
person = "stickMap";
amount = 1 + _root.fastWalk;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - amount;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + amount;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + amount;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - amount;
}
}
Instance of Symbol 576 MovieClip in Frame 89
onClipEvent (load) {
person = "stickMap";
amount = 1 + _root.fastWalk;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - amount;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + amount;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + amount;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - amount;
}
}
Instance of Symbol 576 MovieClip "town1" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.stickMap)) {
this._alpha = 20;
} else {
this._alpha = 0;
}
}
Instance of Symbol 576 MovieClip "town2" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.stickMap)) {
this._alpha = 20;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1259 MovieClip in Frame 89
onClipEvent (load) {
gotoAndPlay (92);
}
Instance of Symbol 576 MovieClip "fac" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.stickMap)) {
this._alpha = 20;
} else {
this._alpha = 0;
}
}
Instance of Symbol 576 MovieClip "churc" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.stickMap)) {
this._alpha = 20;
} else {
this._alpha = 0;
}
}
Instance of Symbol 576 MovieClip in Frame 89
onClipEvent (load) {
person = "stickMap";
amount = 1 + _root.fastWalk;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - amount;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + amount;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + amount;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - amount;
}
}
Instance of Symbol 1689 MovieClip "woody3" in Frame 89
onClipEvent (load) {
if (_root.woods[2] == true) {
this._visible = false;
}
}
Instance of Symbol 1689 MovieClip "woody2" in Frame 89
onClipEvent (load) {
if (_root.woods[1] == true) {
this._visible = false;
}
}
Instance of Symbol 629 MovieClip "stickMap" in Frame 89
onClipEvent (load) {
walking = 0;
speed = 1 + _root.fastWalk;
if (_root.backFromCave == true) {
_root.backFromCave = false;
this.gotoAndStop(5);
this._x = 474.6;
this._y = 355.6;
} else if (_root.backFromChurch == true) {
_root.backFromChurch = false;
this.gotoAndStop(5);
this._x = 49.5;
this._y = 73.4;
} else if (_root.backFromFac == true) {
_root.backFromFac = false;
this.gotoAndStop(5);
this._x = 295.6;
this._y = 108.6;
} else if (_root.backLeft == true) {
_root.backLeft = false;
this._x = 86.2;
this._y = 279.2;
} else if ((_root.backFromFight == true) || (_root.loadedIt == true)) {
_root.backFromFight = false;
_root.loadedIt = false;
this._x = _root.saveX;
this._y = _root.saveY;
} else {
this.gotoAndStop(2);
}
interact1 = "churc";
interact2 = "town2";
interact3 = "town1";
interact4 = "fac";
interact5 = "doomCave";
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_root[interact1]) || (this.hitTest(_root[interact2]))) || (this.hitTest(_root[interact3]))) || (this.hitTest(_root[interact4]))) || (this.hitTest(_root[interact5]))) {
this.pressButt._visible = true;
this.pressButt.play();
this.pressButt._width = 120;
this.pressButt._height = 120;
} else {
this.pressButt._visible = false;
this.pressButt.stop();
}
if (_root.menyy != true) {
if (Key.isDown(38)) {
this._y = this._y - speed;
walking = random(300) + 1;
this.gotoAndStop(8);
} else if (Key.isDown(40)) {
this._y = this._y + speed;
walking = random(300) + 1;
this.gotoAndStop(6);
} else if (Key.isDown(37)) {
this._x = this._x - speed;
left = 1;
walking = random(300) + 1;
this.gotoAndStop(4);
} else if (Key.isDown(39)) {
this._x = this._x + speed;
right = 1;
walking = random(300) + 1;
this.gotoAndStop(3);
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(40))) {
if (right == 1) {
this.gotoAndStop(1);
} else if (down == 1) {
this.gotoAndStop(5);
} else if (up == 1) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(2);
}
}
_root.saveX = this._x;
_root.saveY = this._y;
}
if ((walking == 50) || (walking == 100)) {
walking = 0;
_root.menyy = true;
if (right == 1) {
this.gotoAndStop(1);
} else if (left == 1) {
this.gotoAndStop(2);
} else if (down == 1) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(7);
}
_root.animo._visible = true;
_root.animo.play();
}
}
Instance of Symbol 576 MovieClip "doomCave" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.stickMap)) {
this._alpha = 20;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1753 MovieClip "animo" in Frame 89
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 528 MovieClip in Frame 89
onClipEvent (load) {
music = 3;
}
Frame 90
stop();
Instance of Symbol 1299 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1299 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1302 MovieClip in Frame 90
onClipEvent (enterFrame) {
if ((_root.stick7._y < 9) && (alreadySwapped != true)) {
this.swapDepths(_root.stick7);
alreadySwapped = true;
} else if ((_root.stick7._y > 9) && (alreadySwapped == true)) {
this.swapDepths(_root.stick7);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1334 MovieClip "guyBar" in Frame 90
onClipEvent (load) {
this.heady.gotoAndStop(5);
}
onClipEvent (enterFrame) {
if ((this._x < (_root.stick7._x - 40)) && (_root.guyBarKeep.talky != true)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1336 MovieClip "guyBarKeep" in Frame 90
onClipEvent (load) {
this.heady.gotoAndStop(6);
}
onClipEvent (enterFrame) {
if ((this._x < (_root.stick7._x - 40)) && (_root.guyBar.talky != true)) {
_root.menah.gotoAndStop(1);
this.doIt = false;
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 528 MovieClip in Frame 90
onClipEvent (load) {
music = 8;
}
Frame 96
stop();
Instance of Symbol 576 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 614 MovieClip in Frame 97
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 98
onClipEvent (load) {
_parent.openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 1299 MovieClip in Frame 99
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1299 MovieClip in Frame 99
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1302 MovieClip in Frame 99
onClipEvent (enterFrame) {
if ((_root.stick7._y < 9) && (alreadySwapped != true)) {
this.swapDepths(_root.stick7);
alreadySwapped = true;
} else if ((_root.stick7._y > 9) && (alreadySwapped == true)) {
this.swapDepths(_root.stick7);
alreadySwapped = false;
}
}
Instance of Symbol 576 MovieClip in Frame 99
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick7.rightSide)) {
_root.stick7._x = _root.stick7._x - 5;
} else if (this.hitTest(_root.stick7.leftSide)) {
_root.stick7._x = _root.stick7._x + 5;
} else if (this.hitTest(_root.stick7.upSide)) {
_root.stick7._y = _root.stick7._y + 5;
} else if (this.hitTest(_root.stick7.downSide)) {
_root.stick7._y = _root.stick7._y - 5;
}
}
Instance of Symbol 1334 MovieClip "guyBar" in Frame 99
onClipEvent (load) {
this.heady.gotoAndStop(5);
}
onClipEvent (enterFrame) {
if ((this._x < (_root.stick7._x - 40)) && (_root.guyBarKeep.talky != true)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 1336 MovieClip "guyBarKeep" in Frame 99
onClipEvent (load) {
this.heady.gotoAndStop(6);
}
onClipEvent (enterFrame) {
if ((this._x < (_root.stick7._x - 40)) && (_root.guyBar.talky != true)) {
_root.menah.gotoAndStop(1);
this.doIt = false;
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Instance of Symbol 778 MovieClip in Frame 99
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 622 MovieClip in Frame 99
onClipEvent (enterFrame) {
openMouth = true;
}
Instance of Symbol 778 MovieClip in Frame 100
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 622 MovieClip in Frame 100
onClipEvent (enterFrame) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 101
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 622 MovieClip in Frame 101
onClipEvent (enterFrame) {
openMouth = true;
}
Instance of Symbol 778 MovieClip in Frame 102
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 622 MovieClip in Frame 102
onClipEvent (enterFrame) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 102
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 102
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 103
onClipEvent (load) {
openMouth = false;
}
Frame 112
stop();
Instance of Symbol 1254 MovieClip "door5" in Frame 112
onClipEvent (enterFrame) {
if (this.doorOpen == true) {
_root.gotoAndStop("pub");
}
}
Instance of Symbol 1278 MovieClip "guy4" in Frame 112
onClipEvent (load) {
this.heady.gotoAndStop(4);
}
Instance of Symbol 253 MovieClip in Frame 112
onClipEvent (load) {
_root.enemyFight = "enemy1";
}
Instance of Symbol 778 MovieClip in Frame 112
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 112
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 528 MovieClip in Frame 112
onClipEvent (load) {
music = 9;
}
Instance of Symbol 778 MovieClip in Frame 113
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 113
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 113
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 113
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 114
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 114
onClipEvent (load) {
openMouth = true;
}
Frame 115
stop();
Instance of Symbol 614 MovieClip in Frame 115
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 2139 MovieClip in Frame 115
onClipEvent (load) {
fightHim = "enemy1";
numOfEnemys = 1;
}
Frame 116
_root.gotoAndStop("stances");
Instance of Symbol 614 MovieClip in Frame 117
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 528 MovieClip in Frame 117
onClipEvent (load) {
music = 8;
}
Instance of Symbol 778 MovieClip in Frame 118
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 118
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 118
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 118
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 119
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 119
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 778 MovieClip in Frame 120
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 120
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 121
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 1278 MovieClip "guy4" in Frame 121
onClipEvent (load) {
this.heady.gotoAndStop(4);
this.talky = true;
}
Instance of Symbol 640 MovieClip in Frame 121
onClipEvent (enterFrame) {
if (_parent._parent.talky == true) {
play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 614 MovieClip in Frame 122
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 1278 MovieClip "guy4" in Frame 122
onClipEvent (load) {
this.heady.gotoAndStop(4);
this.talky = false;
}
Instance of Symbol 614 MovieClip in Frame 123
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 1278 MovieClip "guy4" in Frame 123
onClipEvent (load) {
this.heady.gotoAndStop(4);
this.talky = true;
}
Instance of Symbol 640 MovieClip in Frame 123
onClipEvent (enterFrame) {
if (_parent._parent.talky == true) {
play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 614 MovieClip in Frame 124
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 1278 MovieClip "guy4" in Frame 124
onClipEvent (load) {
this.heady.gotoAndStop(4);
this.talky = false;
}
Instance of Symbol 778 MovieClip in Frame 125
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 125
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 125
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 125
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 1259 MovieClip in Frame 126
onClipEvent (load) {
gotoAndPlay (93);
}
Instance of Symbol 576 MovieClip in Frame 126
onClipEvent (load) {
person = "stick12";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 4;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 4;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 4;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 4;
}
}
Instance of Symbol 528 MovieClip in Frame 126
onClipEvent (load) {
music = 9;
}
Frame 133
stop();
Frame 142
_root.backFromFac = true;
gotoAndStop ("worldmap");
Instance of Symbol 778 MovieClip in Frame 143
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 528 MovieClip in Frame 143
onClipEvent (load) {
music = 9;
}
Instance of Symbol 622 MovieClip in Frame 151
onClipEvent (enterFrame) {
openMouth = false;
}
Frame 152
stop();
Instance of Symbol 778 MovieClip in Frame 152
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 80 MovieClip in Frame 152
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 152
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 153
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 622 MovieClip in Frame 153
onClipEvent (enterFrame) {
openMouth = true;
}
Instance of Symbol 622 MovieClip in Frame 154
onClipEvent (enterFrame) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 154
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 154
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 622 MovieClip in Frame 155
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 156
stop();
Frame 157
stop();
Instance of Symbol 622 MovieClip in Frame 157
onClipEvent (enterFrame) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 157
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 157
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 778 MovieClip in Frame 158
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 80 MovieClip in Frame 158
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 158
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 1375 MovieClip "tees" in Frame 159
onClipEvent (load) {
char = "stick1";
number = 46.6;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 1657 MovieClip "guard" in Frame 159
onClipEvent (load) {
this.heady.gotoAndStop(17);
}
Instance of Symbol 778 MovieClip in Frame 159
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 253 MovieClip in Frame 159
onClipEvent (load) {
_root.enemyFight = "enemy2";
}
Instance of Symbol 528 MovieClip in Frame 159
onClipEvent (load) {
music = 9;
}
Frame 167
stop();
Instance of Symbol 778 MovieClip in Frame 167
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 167
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 168
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 168
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 169
onClipEvent (load) {
openMouth = false;
}
Frame 177
stop();
Instance of Symbol 614 MovieClip in Frame 177
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 178
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 178
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 178
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 2139 MovieClip in Frame 179
onClipEvent (load) {
fightHim = "enemy2";
numOfEnemys = 1;
}
Frame 180
if ((_root.battleFirst == 2) && (_root.stickDead != true)) {
_root.guyIn = 2;
_root.gotoAndStop("stances2");
} else if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
}
Frame 181
stop();
Instance of Symbol 778 MovieClip in Frame 181
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 80 MovieClip in Frame 181
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 181
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 528 MovieClip in Frame 181
onClipEvent (load) {
music = 8;
}
Instance of Symbol 778 MovieClip in Frame 182
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 182
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 183
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 183
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 183
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 778 MovieClip in Frame 184
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 80 MovieClip in Frame 184
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 184
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 185
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 185
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 185
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 186
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 778 MovieClip in Frame 187
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 187
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 187
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 187
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 188
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 188
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 188
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 189
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 190
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 190
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 190
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 576 MovieClip in Frame 191
onClipEvent (load) {
person = "stick13";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root[person].rightSide)) {
_root[person]._x = _root[person]._x - 7.2;
} else if (this.hitTest(_root[person].leftSide)) {
_root[person]._x = _root[person]._x + 7.2;
} else if (this.hitTest(_root[person].upSide)) {
_root[person]._y = _root[person]._y + 7.2;
} else if (this.hitTest(_root[person].downSide)) {
_root[person]._y = _root[person]._y - 7.2;
}
}
Instance of Symbol 1750 MovieClip in Frame 191
onClipEvent (enterFrame) {
gotoAndPlay (92);
}
Instance of Symbol 528 MovieClip in Frame 191
onClipEvent (load) {
music = 7;
}
Frame 200
stop();
Instance of Symbol 576 MovieClip in Frame 201
onClipEvent (load) {
inStanceSupe = "_root.stick15";
goTo = "area31";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 528 MovieClip in Frame 201
onClipEvent (load) {
music = 6;
}
Frame 205
if (_root.cutscene == 7) {
gotoAndStop (328);
}
Frame 206
stop();
Instance of Symbol 622 MovieClip in Frame 206
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 212
_root.gotoAndStop("area14");
Instance of Symbol 528 MovieClip in Frame 213
onClipEvent (load) {
music = 6;
}
Frame 220
if (_root.cutscene == 7) {
gotoAndStop (331);
}
Frame 221
stop();
Instance of Symbol 622 MovieClip in Frame 221
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 228
_root.gotoAndStop("area11");
Instance of Symbol 1774 MovieClip "barrel" in Frame 229
onClipEvent (load) {
char = "stick19";
number = 120.5;
}
onClipEvent (enterFrame) {
if ((_root[char]._y < number) && (alreadySwapped != true)) {
this.swapDepths(_root[char]);
alreadySwapped = true;
} else if ((_root[char]._y > number) && (alreadySwapped == true)) {
this.swapDepths(_root[char]);
alreadySwapped = false;
}
}
Instance of Symbol 80 MovieClip in Frame 229
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 227 MovieClip in Frame 229
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Frame 235
stop();
Frame 236
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 236
onClipEvent (enterFrame) {
this.play();
}
Frame 237
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 237
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Frame 238
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 238
onClipEvent (enterFrame) {
this.play();
}
Frame 239
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 239
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 811 MovieClip in Frame 239
onClipEvent (load) {
openMouth = false;
}
Frame 240
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 240
onClipEvent (enterFrame) {
this.play();
}
Frame 241
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 241
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 617 MovieClip "heal" in Frame 241
onClipEvent (load) {
gotoAndPlay (91);
}
Instance of Symbol 2139 MovieClip in Frame 241
onClipEvent (load) {
fightHim = "boss1";
numOfEnemys = 1;
}
Frame 242
if ((_root.battleFirst == 3) && (_root.destDead != true)) {
_root.guyIn = 3;
_root.gotoAndStop("stances3");
} else if ((_root.battleFirst == 2) && (_root.stickDead != true)) {
_root.guyIn = 2;
_root.gotoAndStop("stances2");
} else if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
} else if (_root.destDead != true) {
_root.gotoAndStop("stances3");
}
Frame 243
openMouth = false;
Instance of Symbol 528 MovieClip in Frame 243
onClipEvent (load) {
music = 7;
}
Frame 244
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 244
onClipEvent (enterFrame) {
this.play();
}
Frame 245
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 245
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Frame 245
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 245
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Frame 246
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 246
onClipEvent (enterFrame) {
this.play();
}
Frame 247
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 247
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Frame 248
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 248
onClipEvent (enterFrame) {
this.play();
}
Frame 249
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 249
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 811 MovieClip in Frame 249
onClipEvent (load) {
openMouth = false;
}
Frame 250
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 250
onClipEvent (enterFrame) {
this.play();
}
Frame 251
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 251
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Frame 252
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 252
onClipEvent (enterFrame) {
this.play();
}
Frame 253
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 253
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Frame 254
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 254
onClipEvent (enterFrame) {
this.play();
}
Frame 255
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 811 MovieClip in Frame 255
onClipEvent (load) {
openMouth = false;
}
Frame 256
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 256
onClipEvent (enterFrame) {
this.play();
}
Frame 257
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 257
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Frame 258
openMouth = true;
Instance of Symbol 80 MovieClip in Frame 258
onClipEvent (enterFrame) {
this.play();
}
Frame 259
openMouth = false;
Instance of Symbol 80 MovieClip in Frame 259
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 811 MovieClip in Frame 260
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 261
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 261
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 528 MovieClip in Frame 264
onClipEvent (load) {
music = 6;
}
Frame 272
stop();
Instance of Symbol 622 MovieClip in Frame 272
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 279
_root.cutscene = 5.5;
_root.gotoAndStop("area11");
Instance of Symbol 576 MovieClip in Frame 280
onClipEvent (load) {
inStanceSupe = "_root.stick15";
goTo = "area31";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 528 MovieClip in Frame 280
onClipEvent (load) {
music = 6;
}
Frame 285
stop();
Instance of Symbol 622 MovieClip in Frame 285
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 291
_root.cutscene = 5.5;
_root.gotoAndStop("area14");
Instance of Symbol 1811 MovieClip "priest" in Frame 292
onClipEvent (load) {
this.heady.gotoAndStop(26);
}
Instance of Symbol 1816 MovieClip in Frame 292
onClipEvent (load) {
this.heady.gotoAndStop(22);
}
Instance of Symbol 1816 MovieClip in Frame 292
onClipEvent (load) {
this.heady.gotoAndStop(23);
this.gotoAndPlay(25);
}
Instance of Symbol 1816 MovieClip in Frame 292
onClipEvent (load) {
this.heady.gotoAndStop(24);
this.gotoAndPlay(35);
}
Instance of Symbol 528 MovieClip in Frame 292
onClipEvent (load) {
music = 5;
}
Frame 306
if (_root.cutscene == 7) {
gotoAndStop (316);
}
Frame 307
_root.priest.talky = true;
stop();
Frame 308
_root.priest.talky = false;
stop();
Frame 309
_root.priest.talky = true;
stop();
Frame 310
_root.priest.talky = false;
stop();
Frame 311
_root.priest.talky = true;
stop();
Frame 312
_root.priest.talky = false;
stop();
Instance of Symbol 80 MovieClip in Frame 312
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 312
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Frame 314
_root.priest.talky = true;
stop();
Frame 315
_root.priest.talky = false;
stop();
Frame 316
_root.priest.talky = true;
stop();
Frame 317
_root.priest.talky = false;
stop();
Frame 318
_root.priest.talky = true;
stop();
Frame 319
_root.priest.talky = false;
stop();
Instance of Symbol 80 MovieClip in Frame 319
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 319
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Frame 320
_root.priest.talky = true;
stop();
Frame 321
_root.priest.talky = false;
stop();
Frame 322
_root.priest.talky = true;
stop();
Frame 323
_root.priest.talky = false;
stop();
Instance of Symbol 80 MovieClip in Frame 323
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 323
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Frame 324
_root.priest.talky = true;
stop();
Frame 325
_root.priest.talky = false;
stop();
Frame 326
_root.priest.talky = true;
stop();
Frame 327
_root.priest.talky = false;
stop();
Frame 328
stop();
Instance of Symbol 576 MovieClip in Frame 328
onClipEvent (load) {
inStanceSupe = "_root.stick15";
goTo = "area31";
}
onClipEvent (enterFrame) {
if (this.hitTest(inStanceSupe)) {
_root.gotoAndStop(goTo);
}
}
Instance of Symbol 622 MovieClip in Frame 328
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 329
stop();
Instance of Symbol 622 MovieClip in Frame 329
onClipEvent (enterFrame) {
openMouth = false;
}
Frame 330
stop();
Instance of Symbol 622 MovieClip in Frame 330
onClipEvent (enterFrame) {
openMouth = true;
}
Frame 331
stop();
Frame 332
stop();
Instance of Symbol 622 MovieClip in Frame 332
onClipEvent (enterFrame) {
openMouth = false;
}
Frame 333
stop();
Instance of Symbol 622 MovieClip in Frame 333
onClipEvent (enterFrame) {
openMouth = true;
}
Instance of Symbol 1247 MovieClip in Frame 334
onClipEvent (load) {
gotoAndPlay (92);
}
Instance of Symbol 253 MovieClip "enemy" in Frame 334
onClipEvent (load) {
_root.enemyFight = "enemy12";
}
Instance of Symbol 253 MovieClip "enemy" in Frame 334
onClipEvent (load) {
_root.enemyFight = "enemy12";
}
Instance of Symbol 778 MovieClip in Frame 334
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 334
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 334
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 334
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 227 MovieClip in Frame 334
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 617 MovieClip "heal" in Frame 334
onClipEvent (load) {
gotoAndPlay (91);
}
Instance of Symbol 252 MovieClip in Frame 334
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 335
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 252 MovieClip in Frame 335
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 336
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 252 MovieClip in Frame 336
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 337
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 252 MovieClip in Frame 337
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 778 MovieClip in Frame 338
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 338
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 338
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Frame 338
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 778 MovieClip in Frame 339
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 252 MovieClip in Frame 339
onClipEvent (load) {
openMouth = true;
}
Frame 346
stop();
Instance of Symbol 2139 MovieClip in Frame 346
onClipEvent (load) {
fightHim = "enemy12";
numOfEnemys = 2;
}
Frame 347
if ((_root.battleFirst == 4) && (_root.evilDead != true)) {
_root.guyIn = 4;
_root.gotoAndStop("stances4");
} else if ((_root.battleFirst == 3) && (_root.destDead != true)) {
_root.guyIn = 3;
_root.gotoAndStop("stances3");
} else if ((_root.battleFirst == 2) && (_root.stickDead != true)) {
_root.guyIn = 2;
_root.gotoAndStop("stances2");
} else if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
} else if (_root.destDead != true) {
_root.gotoAndStop("stances3");
} else {
_root.gotoAndStop("stances4");
}
Instance of Symbol 1829 MovieClip in Frame 348
onClipEvent (load) {
gotoAndPlay (94);
}
Instance of Symbol 1829 MovieClip in Frame 348
onClipEvent (load) {
gotoAndPlay (99);
}
Instance of Symbol 528 MovieClip in Frame 348
onClipEvent (load) {
music = 6;
}
Frame 354
if (_root.cutscene == 8) {
gotoAndStop (362);
}
Frame 355
stop();
Frame 361
_root.backFromCave = true;
gotoAndStop ("worldmap");
Frame 363
stop();
Instance of Symbol 778 MovieClip in Frame 363
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 363
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 811 MovieClip in Frame 363
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 363
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 227 MovieClip in Frame 363
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Instance of Symbol 617 MovieClip "heal" in Frame 363
onClipEvent (load) {
gotoAndPlay (91);
}
Instance of Symbol 252 MovieClip in Frame 363
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 80 MovieClip in Frame 364
onClipEvent (enterFrame) {
this.play();
}
Instance of Symbol 252 MovieClip in Frame 364
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 365
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 252 MovieClip in Frame 365
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 366
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 252 MovieClip in Frame 366
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 614 MovieClip in Frame 367
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 252 MovieClip in Frame 367
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 252 MovieClip in Frame 368
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 2139 MovieClip in Frame 368
onClipEvent (load) {
fightHim = "boss2";
numOfEnemys = 1;
}
Frame 369
if ((_root.battleFirst == 4) && (_root.evilDead != true)) {
_root.guyIn = 4;
_root.gotoAndStop("stances4");
} else if ((_root.battleFirst == 3) && (_root.destDead != true)) {
_root.guyIn = 3;
_root.gotoAndStop("stances3");
} else if ((_root.battleFirst == 2) && (_root.stickDead != true)) {
_root.guyIn = 2;
_root.gotoAndStop("stances2");
} else if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
} else if (_root.destDead != true) {
_root.gotoAndStop("stances3");
} else {
_root.gotoAndStop("stances4");
}
Frame 370
stop();
Instance of Symbol 252 MovieClip in Frame 370
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 528 MovieClip in Frame 370
onClipEvent (load) {
music = 9;
}
Instance of Symbol 252 MovieClip in Frame 371
onClipEvent (load) {
openMouth = false;
}
Frame 384
stop();
Instance of Symbol 614 MovieClip in Frame 384
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 614 MovieClip in Frame 385
onClipEvent (load) {
openMouth = false;
}
Instance of Symbol 80 MovieClip in Frame 385
onClipEvent (enterFrame) {
this.play();
}
Frame 386
read = 0;
Instance of Symbol 614 MovieClip in Frame 386
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 811 MovieClip in Frame 386
onClipEvent (load) {
openMouth = true;
}
Instance of Symbol 80 MovieClip in Frame 386
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Frame 407
stop();
Frame 426
stop();
Instance of Symbol 811 MovieClip in Frame 429
onClipEvent (load) {
openMouth = false;
}
Frame 447
stop();
Frame 448
gotoAndPlay (447);
Instance of Symbol 80 MovieClip in Frame 450
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 227 MovieClip in Frame 450
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Frame 470
stop();
Frame 471
gotoAndPlay (470);
Symbol 11 Button
on (press) {
getURL ("http://www.gverseonline.com/", "_blank");
}
on (rollOver) {
numOfItems = "";
}
Symbol 22 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Symbol 24 MovieClip Frame 89
_root.play();
Symbol 34 MovieClip Frame 10
gotoAndPlay (1);
Symbol 55 MovieClip Frame 16
stop();
Symbol 60 Button
on (press) {
_parent.goTo = "cutscene0";
_parent.play();
}
Symbol 63 Button
on (press) {
_parent.loadGame = true;
_parent.play();
}
Symbol 66 Button
on (press) {
_parent.tut = true;
_parent.play();
}
Symbol 69 Button
on (press) {
_parent.opt = true;
_parent.play();
}
Symbol 70 Button
on (press) {
_root.gotoAndStop("credits");
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 98 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || (_parent.openMouth)) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 98 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Symbol 105 MovieClip Frame 1
lev = "Lvl: " + saveArray[13];
lev2 = "Lvl: " + saveArray[28];
stop();
Instance of Symbol 98 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
lev = "Lvl: " + _parent.saveArray[13];
}
Instance of Symbol 98 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
lev2 = "Lvl: " + _parent.saveArray[28];
}
Instance of Symbol 98 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
if (_parent.saveArray[81] >= 2.5) {
this.gotoAndStop(3);
lev3 = "Lvl: " + _parent.saveArray[58];
} else {
this._visible = false;
}
}
Instance of Symbol 98 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
if (_parent.saveArray[81] > 4.7) {
this.gotoAndStop(4);
lev4 = "Lvl: " + _parent.saveArray[91];
} else {
this._visible = false;
}
}
Symbol 105 MovieClip Frame 3
saveArray = getCookie("database" + num, "item");
saved = "Saved in: " + saveArray.Place;
gameTime = "Game Time: " + saveArray[42];
saveSlot = "Save Slot " + num;
gotoAndStop (1);
Symbol 109 Button
on (press) {
_root.loadIt(1);
_root.timeVar = _root.extraTime;
_root.loadedIt = true;
if (_root.char1 == 0) {
_root.supesDead = true;
}
if (_root.char2 == 0) {
_root.stickDead = true;
}
if (_root.char3 == 0) {
_root.destDead = true;
}
if (_root.char4 == 0) {
_root.evilDead = true;
}
temp = 0;
while (temp < 5) {
_root.chests[random(20)] = false;
temp++;
}
_root.gotoAndStop(_root.savePlace);
}
Symbol 110 Button
on (press) {
_root.loadIt(2);
_root.timeVar = _root.extraTime;
if (_root.char1 == 0) {
_root.supesDead = true;
}
if (_root.char2 == 0) {
_root.stickDead = true;
}
if (_root.char3 == 0) {
_root.destDead = true;
}
if (_root.char4 == 0) {
_root.evilDead = true;
}
temp = 0;
while (temp < 5) {
_root.chests[random(20)] = false;
temp++;
}
_root.gotoAndStop(_root.savePlace);
}
Symbol 111 Button
on (press) {
_root.loadIt(3);
_root.timeVar = _root.extraTime;
if (_root.char1 == 0) {
_root.supesDead = true;
}
if (_root.char2 == 0) {
_root.stickDead = true;
}
if (_root.char3 == 0) {
_root.destDead = true;
}
if (_root.char4 == 0) {
_root.evilDead = true;
}
temp = 0;
while (temp < 5) {
_root.chests[random(20)] = false;
temp++;
}
_root.gotoAndStop(_root.savePlace);
}
Symbol 112 Button
on (press) {
_root.loadIt(4);
_root.timeVar = _root.extraTime;
if (_root.char1 == 0) {
_root.supesDead = true;
}
if (_root.char2 == 0) {
_root.stickDead = true;
}
if (_root.char3 == 0) {
_root.destDead = true;
}
if (_root.char4 == 0) {
_root.evilDead = true;
}
temp = 0;
while (temp < 5) {
_root.chests[random(20)] = false;
temp++;
}
_root.gotoAndStop(_root.savePlace);
}
Symbol 114 Button
on (press) {
_parent.back = true;
_parent.gotoAndPlay(16);
}
Symbol 121 Button
on (press) {
gotoAndStop (6);
}
Symbol 122 Button
on (press) {
gotoAndStop (4);
}
Symbol 123 Button
on (press) {
gotoAndStop (3);
}
Symbol 124 Button
on (press) {
gotoAndStop (2);
}
Symbol 125 Button
on (press) {
gotoAndStop (8);
}
Symbol 126 Button
on (press) {
gotoAndStop (9);
}
Symbol 127 Button
on (press) {
gotoAndStop (10);
}
Symbol 128 Button
on (press) {
gotoAndStop (11);
}
Symbol 144 Button
on (press) {
gotoAndStop (1);
}
Symbol 159 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 41
gotoAndPlay (1);
Symbol 170 MovieClip Frame 43
stop();
Symbol 174 MovieClip Frame 1
if (_root.supesArmorLook == "armor1") {
gotoAndStop (2);
}
stop();
Symbol 180 MovieClip Frame 1
gotoAndStop(_root.enemyHair);
Symbol 181 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
if (_root.supesArmorLook == "armor1") {
gotoAndStop (2);
}
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
if (_root.supesArmorLook == "armor1") {
gotoAndStop (2);
}
stop();
Symbol 227 MovieClip Frame 1
Symbol 227 MovieClip Frame 58
gotoAndPlay (1);
Symbol 227 MovieClip Frame 60
stop();
Instance of Symbol 80 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 227 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Symbol 229 MovieClip Frame 1
if (_root.switchin == true) {
_root.switchin = false;
this.gotoAndPlay("switchin");
}
Symbol 229 MovieClip Frame 36
gotoAndPlay (1);
Symbol 229 MovieClip Frame 49
_parent.gotoAndStop("bosso1");
Symbol 234 MovieClip Frame 30
gotoAndPlay (1);
Symbol 234 MovieClip Frame 42
_parent.gotoAndStop("enemo11");
Symbol 239 MovieClip Frame 40
gotoAndPlay (1);
Symbol 239 MovieClip Frame 60
_parent.gotoAndStop("enemo12");
Instance of Symbol 80 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || ((_parent.openMouth == true) && (_parent._parent.openMouth != false))) {
this.play();
}
}
Symbol 252 MovieClip Frame 30
gotoAndPlay (1);
Symbol 252 MovieClip Frame 31
openMouth = true;
Symbol 252 MovieClip Frame 44
_parent.gotoAndStop("bosso2");
Symbol 253 MovieClip Frame 1
if (_root.enemyFight == "enemy2") {
gotoAndPlay (25);
} else if (_root.enemyFight == "enemy3") {
gotoAndPlay (49);
} else if (_root.enemyFight == "enemy4") {
gotoAndPlay (80);
} else if (_root.enemyFight == "enemy5") {
gotoAndPlay (103);
} else if (_root.enemyFight == "enemy6") {
gotoAndPlay (134);
} else if (_root.enemyFight == "enemy7") {
gotoAndPlay (170);
} else if (_root.enemyFight == "enemy8") {
gotoAndPlay (188);
} else if (_root.enemyFight == "enemy9") {
gotoAndPlay (231);
} else if (_root.enemyFight == "enemy10") {
gotoAndPlay (275);
} else if (_root.enemyFight == "boss1") {
gotoAndStop ("bosso1");
} else if (_root.enemyFight == "boss2") {
gotoAndStop ("bosso2");
} else if (_root.enemyFight == "enemy11") {
gotoAndStop ("enemo11");
} else if (_root.enemyFight == "enemy12") {
gotoAndStop ("enemo12");
}
Symbol 253 MovieClip Frame 13
gotoAndPlay (1);
Symbol 253 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 159 MovieClip in Symbol 253 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 253 MovieClip Frame 35
gotoAndPlay (25);
Symbol 253 MovieClip Frame 48
gotoAndPlay (25);
Symbol 253 MovieClip Frame 67
gotoAndPlay (49);
Symbol 253 MovieClip Frame 79
gotoAndPlay (49);
Symbol 253 MovieClip Frame 91
gotoAndPlay (80);
Symbol 253 MovieClip Frame 101
gotoAndPlay (80);
Symbol 253 MovieClip Frame 122
gotoAndPlay (103);
Symbol 253 MovieClip Frame 132
gotoAndPlay (103);
Symbol 253 MovieClip Frame 154
gotoAndPlay (134);
Symbol 253 MovieClip Frame 168
gotoAndPlay (134);
Symbol 253 MovieClip Frame 178
gotoAndPlay (170);
Symbol 253 MovieClip Frame 186
gotoAndPlay (170);
Symbol 253 MovieClip Frame 215
gotoAndPlay (188);
Symbol 253 MovieClip Frame 229
gotoAndPlay (188);
Symbol 253 MovieClip Frame 257
gotoAndPlay (231);
Symbol 253 MovieClip Frame 273
gotoAndPlay (231);
Symbol 253 MovieClip Frame 290
gotoAndPlay (275);
Symbol 253 MovieClip Frame 304
gotoAndPlay (275);
Symbol 253 MovieClip Frame 307
stop();
Instance of Symbol 229 MovieClip in Symbol 253 MovieClip Frame 307
onClipEvent (load) {
gotoAndPlay ("hit");
}
Symbol 253 MovieClip Frame 309
stop();
Instance of Symbol 234 MovieClip in Symbol 253 MovieClip Frame 309
onClipEvent (load) {
gotoAndPlay ("hit");
}
Symbol 253 MovieClip Frame 311
stop();
Instance of Symbol 239 MovieClip in Symbol 253 MovieClip Frame 311
onClipEvent (load) {
gotoAndPlay ("hit");
}
Symbol 253 MovieClip Frame 313
stop();
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 313
onClipEvent (load) {
gotoAndPlay ("hit");
}
Symbol 259 MovieClip Frame 1
life = lifeo;
maxLife = maxlifeo;
setIt = (life / maxLife) * 100;
if (setIt > 100) {
setIt = 100;
}
setProperty(lah, _xscale , setIt);
Symbol 259 MovieClip Frame 2
gotoAndPlay (1);
Symbol 270 Button
on (press) {
_root.gotoAndStop("supesAttack");
this._visible = false;
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks the Enemy";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 272 Button
on (press) {
gotoAndStop (3);
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Choose an Item";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 274 Button
on (press) {
gotoAndStop (4);
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Switch to another Ally";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 276 Button
on (press) {
_parent.gotoAndStop(2);
}
on (rollOver) {
_parent._parent.dees._visible = true;
_parent._parent.dees.des = "Choose a Skill";
}
on (rollOut) {
_parent._parent.dees._visible = false;
}
Symbol 279 Button
on (press) {
if ((_root.enemyFight != "boss1") && (_root.enemyFight != "boss2")) {
rand = random(3) + 1;
if (rand == 2) {
_root.run = true;
_root.supah.gotoAndPlay("switchout");
this._visible = false;
} else {
gotoAndStop ("runFail");
}
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attempt to Run";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 281 Button
on (rollOver) {
numOfItems = 20;
}
on (press) {
if (_root.ap >= 20) {
this._visible = false;
_root.ap = _root.ap - 20;
_root.skillo = "vision";
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Low Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 283 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
gotoAndStop (1);
}
Symbol 285 Button
on (rollOver) {
numOfItems = 5;
}
on (press) {
if (_root.ap >= 5) {
this._visible = false;
_root.ap = _root.ap - 5;
_root.scan = true;
_root.skillo = "scan";
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Show's Enemy's HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 287 Button
on (rollOver) {
numOfItems = 15;
}
on (press) {
if (_root.ap >= 15) {
this._visible = false;
_root.ap = _root.ap - 15;
_root.skillo = "heal";
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Heals Some HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 289 Button
on (rollOver) {
numOfItems = 25;
}
on (press) {
if (_root.ap >= 25) {
this._visible = false;
_root.ap = _root.ap - 25;
_root.superhit = true;
_root.skillo = "superhit";
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Medium Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 291 Button
on (rollOver) {
numOfItems = 20;
}
on (press) {
if (_root.ap >= 20) {
this._visible = false;
_root.ap = _root.ap - 20;
_root.speed = true;
_root.skillo = "speed";
_root.takenTurns = 1;
gotoAndStop (1);
_root.gotoAndStop("supesAttack");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks 3+ Times";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 293 Button
on (rollOver) {
numOfItems = 35;
}
on (press) {
if (_root.ap >= 35) {
this._visible = false;
_root.ap = _root.ap - 35;
_root.skillo = "frozen";
_root.takenTurns = 1;
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "High Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 295 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap >= 30) {
this._visible = false;
_root.ap = _root.ap - 30;
_root.skillo = "strength";
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Double Damage for Attacks";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 297 Button
on (rollOver) {
numOfItems = 40;
}
on (press) {
if (_root.ap >= 40) {
this._visible = false;
_root.ap = _root.ap - 40;
_root.skillo = "invinc";
gotoAndStop (1);
_root.gotoAndStop("supesSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Damage Reduced by 50%";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 299 Button
on (rollOver) {
numOfItems = _root.potion;
}
on (press) {
if (_root.potion > 0) {
this._visible = false;
_root.potion = _root.potion - 1;
_root.updateItemQuantity2(1, "potion");
_root.potionType = "potion";
gotoAndStop (1);
_root.gotoAndStop("supesItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Heals 50 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 301 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
numOfItems = "";
gotoAndStop (1);
}
Symbol 302 Button
on (rollOver) {
numOfItems = _root.ether;
}
on (press) {
if (_root.ether > 0) {
this._visible = false;
_root.ether = _root.ether - 1;
_root.updateItemQuantity2(1, "ether");
_root.potionType = "ether";
gotoAndStop (1);
_root.gotoAndStop("supesItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 304 Button
on (rollOver) {
numOfItems = _root.hipotion;
}
on (press) {
if (_root.hipotion > 0) {
this._visible = false;
_root.hipotion = _root.hipotion - 1;
_root.updateItemQuantity2(1, "hipotion");
_root.potionType = "hipotion";
gotoAndStop (1);
_root.gotoAndStop("supesItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Heals 300 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 306 Button
on (rollOver) {
numOfItems = _root.xpotion;
}
on (press) {
if (_root.xpotion > 0) {
this._visible = false;
_root.xpotion = _root.xpotion - 1;
_root.updateItemQuantity2(1, "xpotion");
_root.potionType = "xpotion";
gotoAndStop (1);
_root.gotoAndStop("supesItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Heals All HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 308 Button
on (rollOver) {
numOfItems = _root.elixir;
}
on (press) {
if (_root.elixir > 0) {
this._visible = false;
_root.elixir = _root.elixir - 1;
_root.updateItemQuantity2(1, "elixir");
_root.potionType = "elixir";
gotoAndStop (1);
_root.gotoAndStop("supesItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Heals All, +20AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 310 Button
on (rollOver) {
numOfItems = _root.antidote;
}
on (press) {
if (_root.antidote > 0) {
this._visible = false;
_root.antidote = _root.antidote - 1;
_root.updateItemQuantity2(1, "antidote");
_root.potionType = "antidote";
gotoAndStop (1);
_root.gotoAndStop("supesItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Cures Status Effects";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 312 Button
on (rollOver) {
numOfItems = _root.revive;
}
on (press) {
if (_root.revive > 0) {
_root.potionType = "revive";
gotoAndStop (5);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revive Party Member";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 314 Button
on (rollOver) {
numOfItems = _root.fullrevive;
}
on (press) {
if (_root.fullrevive > 0) {
_root.potionType = "fullrevive";
gotoAndStop (6);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revive with Max HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 316 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead != true) {
_root.switchItTo = 2;
_root.supah.gotoAndPlay("switchout");
this._visible = false;
} else {
messo = "Stickington is dead!";
}
}
Symbol 319 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead != true) {
_root.switchItTo = 3;
_root.supah.gotoAndPlay("switchout");
_parent._visible = false;
} else {
_parent.messo = "Destroyer is dead!";
}
}
Symbol 322 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead != true) {
_root.switchItTo = 4;
_root.supah.gotoAndPlay("switchout");
_parent._visible = false;
} else {
_parent.messo = "Destroyer is dead!";
}
}
Symbol 325 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
numOfItems = "";
gotoAndStop (3);
}
Symbol 326 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead == true) {
_root.reviveHim = 2;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("supesItems");
} else {
messo = "Stickington is alive!";
}
}
Symbol 328 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("supesItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Destroyer is alive!";
}
}
Symbol 330 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("supesItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 332 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead == true) {
_root.reviveHim = 2;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("supesItems");
} else {
messo = "Stickington is alive!";
}
}
Symbol 334 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
_parent.gotoAndStop(1);
_parent._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("supesItems");
} else {
messo = "Destroyer is alive!";
}
}
Symbol 336 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("supesItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 339 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
gotoAndStop (1);
_root.gotoAndStop("enemyAttackSupes");
this._visible = false;
}
Symbol 341 MovieClip Frame 1
numOfItems = "";
stop();
Instance of Symbol 278 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (load) {
if (_root.supesForget == true) {
this._visible = false;
}
}
Symbol 341 MovieClip Frame 2
stop();
Symbol 341 MovieClip Frame 3
stop();
Symbol 341 MovieClip Frame 4
messo = "";
Instance of Symbol 321 MovieClip in Symbol 341 MovieClip Frame 4
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Instance of Symbol 324 MovieClip in Symbol 341 MovieClip Frame 4
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 341 MovieClip Frame 5
messo = "";
Instance of Symbol 329 MovieClip in Symbol 341 MovieClip Frame 5
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Instance of Symbol 331 MovieClip in Symbol 341 MovieClip Frame 5
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 341 MovieClip Frame 6
messo = "";
Instance of Symbol 335 MovieClip in Symbol 341 MovieClip Frame 6
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Instance of Symbol 337 MovieClip in Symbol 341 MovieClip Frame 6
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 341 MovieClip Frame 7
stop();
Symbol 354 Button
on (press) {
_root.gotoAndStop("stickAttack");
this._visible = false;
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks the Enemy";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 355 Button
on (press) {
gotoAndStop (4);
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Switch to Ally";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 356 Button
on (press) {
if ((_root.enemyFight != "boss1") && (_root.enemyFight != "boss2")) {
rand = random(3) + 1;
if (rand == 2) {
_root.run = true;
_root.sticky.gotoAndPlay("switchout");
this._visible = false;
} else {
gotoAndStop ("runFail");
}
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attempt to Run";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 357 Button
on (rollOver) {
numOfItems = 10;
}
on (press) {
if (_root.ap2 >= 10) {
this._visible = false;
_root.ap2 = _root.ap2 - 10;
_root.skillo = "qSlash";
gotoAndStop (1);
_root.gotoAndStop("stickSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Minimum Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 359 Button
on (rollOver) {
numOfItems = 20;
}
on (press) {
if (_root.ap2 >= 20) {
this._visible = false;
_root.ap2 = _root.ap2 - 20;
_root.skillo = null;
gotoAndStop (1);
_root.gotoAndStop("stickSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Medium Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 361 Button
on (rollOver) {
numOfItems = 25;
}
on (press) {
if (_root.ap2 >= 25) {
this._visible = false;
_root.ap2 = _root.ap2 - 25;
_root.skillo = "pSlash";
gotoAndStop (1);
_root.gotoAndStop("stickSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Medium Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 363 Button
on (rollOver) {
numOfItems = 35;
}
on (press) {
if (_root.ap2 >= 35) {
this._visible = false;
_root.ap2 = _root.ap2 - 35;
_root.skillo = "cour";
gotoAndStop (1);
_root.gotoAndStop("stickSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Double or Triple Attack Damage";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 365 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap2 >= 30) {
this._visible = false;
_root.ap2 = _root.ap2 - 30;
_root.skillo = "qSlash";
_root.multi = 2 + _root.multiPlus;
gotoAndStop (1);
_root.gotoAndStop("stickSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks 3+ Times";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 367 Button
on (rollOver) {
numOfItems = 20;
}
on (press) {
if (_root.ap2 >= 20) {
this._visible = false;
_root.ap2 = _root.ap2 - 20;
_root.skillo = "counter";
gotoAndStop (1);
_root.gotoAndStop("stickSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attack After Enemy Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 369 Button
on (rollOver) {
numOfItems = 35;
}
on (press) {
if (_root.ap2 >= 35) {
_root.skillo = "hRevive";
gotoAndStop (7);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revive fallen Ally";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 371 Button
on (rollOver) {
numOfItems = _root.potion;
}
on (press) {
if (_root.potion > 0) {
this._visible = false;
_root.potion = _root.potion - 1;
_root.updateItemQuantity2(1, "potion");
_root.potionType = "potion";
gotoAndStop (1);
_root.gotoAndStop("stickItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+50 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 372 Button
on (rollOver) {
numOfItems = _root.ether;
}
on (press) {
if (_root.ether > 0) {
this._visible = false;
_root.ether = _root.ether - 1;
_root.updateItemQuantity2(1, "ether");
_root.potionType = "ether";
gotoAndStop (1);
_root.gotoAndStop("stickItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 373 Button
on (rollOver) {
numOfItems = _root.hipotion;
}
on (press) {
if (_root.hipotion > 0) {
this._visible = false;
_root.hipotion = _root.hipotion - 1;
_root.updateItemQuantity2(1, "hipotion");
_root.potionType = "hipotion";
gotoAndStop (1);
_root.gotoAndStop("stickItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+300 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 374 Button
on (rollOver) {
numOfItems = _root.xpotion;
}
on (press) {
if (_root.xpotion > 0) {
this._visible = false;
_root.xpotion = _root.xpotion - 1;
_root.updateItemQuantity2(1, "xpotion");
_root.potionType = "xpotion";
gotoAndStop (1);
_root.gotoAndStop("stickItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ All HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 375 Button
on (rollOver) {
numOfItems = _root.elixir;
}
on (press) {
if (_root.elixir > 0) {
this._visible = false;
_root.elixir = _root.elixir - 1;
_root.updateItemQuantity2(1, "elixir");
_root.potionType = "elixir";
gotoAndStop (1);
_root.gotoAndStop("stickItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ All Hp, + 20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 376 Button
on (rollOver) {
numOfItems = _root.antidote;
}
on (press) {
if (_root.antidote > 0) {
this._visible = false;
_root.antidote = _root.antidote - 1;
_root.updateItemQuantity2(1, "antidote");
_root.potionType = "antidote";
gotoAndStop (1);
_root.gotoAndStop("stickItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Cures Status Effects";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 377 Button
on (rollOver) {
numOfItems = _root.revive;
}
on (press) {
if (_root.revive > 0) {
_root.potionType = "revive";
gotoAndStop (5);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revive Fallen Ally";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 378 Button
on (rollOver) {
numOfItems = _root.fullrevive;
}
on (press) {
if (_root.fullrevive > 0) {
_root.potionType = "fullrevive";
gotoAndStop (6);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revive Fallen Ally, + All HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 379 Button
on (press) {
if (_root.supesDead != true) {
_root.switchItTo = 1;
_root.sticky.gotoAndPlay("switchout");
this._visible = false;
} else {
messo = "SuperStick is dead!";
}
}
Symbol 382 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead != true) {
_root.switchItTo = 4;
_root.sticky.gotoAndPlay("switchout");
_parent._visible = false;
} else {
_parent.messo = "Evil Doctor is dead!";
}
}
Symbol 384 Button
on (press) {
if (_root.destDead != true) {
_root.switchItTo = 3;
_root.sticky.gotoAndPlay("switchout");
_parent._visible = false;
} else {
_parent.messo = "Destroyer is dead!";
}
}
Symbol 386 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("stickItems");
} else {
messo = "SuperStick is alive!";
}
}
Symbol 388 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("stickItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Destroyer is alive!";
}
}
Symbol 390 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("stickItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 392 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("stickItems");
} else {
messo = "SuperStick is alive!";
}
}
Symbol 394 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("stickItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Destroyer is alive!";
}
}
Symbol 396 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("stickItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 398 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.ap2 = _root.ap2 - 35;
_root.gotoAndStop("stickSkills");
} else {
messo = "SuperStick is alive!";
}
}
Symbol 400 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
_root.ap2 = _root.ap2 - 35;
_root.gotoAndStop("stickSkills");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Destroyer is alive!";
}
}
Symbol 402 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.ap2 = _root.ap2 - 35;
_root.gotoAndStop("stickSkills");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 404 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
gotoAndStop (1);
_root.gotoAndStop("enemyAttackStick");
this._visible = false;
}
Symbol 405 MovieClip Frame 1
numOfItems = "";
stop();
Instance of Symbol 278 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
if (_root.stickForget == true) {
this._visible = false;
}
}
Symbol 405 MovieClip Frame 2
stop();
Symbol 405 MovieClip Frame 3
stop();
Symbol 405 MovieClip Frame 4
messo = "";
Instance of Symbol 383 MovieClip in Symbol 405 MovieClip Frame 4
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Instance of Symbol 385 MovieClip in Symbol 405 MovieClip Frame 4
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Symbol 405 MovieClip Frame 5
messo = "";
Instance of Symbol 389 MovieClip in Symbol 405 MovieClip Frame 5
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Instance of Symbol 391 MovieClip in Symbol 405 MovieClip Frame 5
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 405 MovieClip Frame 6
messo = "";
Instance of Symbol 395 MovieClip in Symbol 405 MovieClip Frame 6
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Instance of Symbol 397 MovieClip in Symbol 405 MovieClip Frame 6
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 405 MovieClip Frame 7
messo = "";
Instance of Symbol 401 MovieClip in Symbol 405 MovieClip Frame 7
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
} else {
this._visible = false;
}
}
Instance of Symbol 403 MovieClip in Symbol 405 MovieClip Frame 7
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 405 MovieClip Frame 8
stop();
Symbol 410 Button
on (press) {
_root.gotoAndStop("destroyAttack");
this._visible = false;
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks the Enemy";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 411 Button
on (press) {
if ((_root.enemyFight != "boss1") && (_root.enemyFight != "boss2")) {
rand = random(3) + 1;
if (rand == 2) {
_root.run = true;
_root.sticky.gotoAndPlay("switchout");
this._visible = false;
} else {
gotoAndStop ("runFail");
}
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attempt to Run";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 412 Button
on (rollOver) {
numOfItems = 10;
}
on (press) {
if (_root.ap3 >= 10) {
this._visible = false;
_root.ap3 = _root.ap3 - 10;
_root.setStickTime = true;
gotoAndStop (1);
_root.gotoAndStop("destroyAttack");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Minimum Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 414 Button
on (rollOver) {
numOfItems = 20;
}
on (press) {
if (_root.ap3 >= 20) {
this._visible = false;
_root.ap3 = _root.ap3 - 20;
_root.skillo = "mug";
gotoAndStop (1);
_root.gotoAndStop("destSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attack + Steal an Item";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 416 Button
on (rollOver) {
numOfItems = 25;
}
on (press) {
if (_root.ap3 >= 25) {
this._visible = false;
_root.ap3 = _root.ap3 - 25;
_root.skillo = "sLeech";
gotoAndStop (1);
_root.gotoAndStop("destSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attack, + HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 418 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap3 >= 30) {
this._visible = false;
_root.ap3 = _root.ap3 - 30;
_root.skillo = "pShot";
gotoAndStop (1);
_root.gotoAndStop("destSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "High Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 420 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap3 >= 30) {
this._visible = false;
_root.ap3 = _root.ap3 - 30;
_root.skillo = "crossFire";
_root.fireBullets = 2 + _root.crossPlus;
gotoAndStop (1);
_root.gotoAndStop("destSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks 3+ Times";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 422 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap3 >= 30) {
this._visible = false;
_root.ap3 = _root.ap3 - 30;
_root.skillo = "superBullets";
gotoAndStop (1);
_root.gotoAndStop("destSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Double Damage Attacks";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 424 Button
on (rollOver) {
numOfItems = _root.potion;
}
on (press) {
if (_root.potion > 0) {
this._visible = false;
_root.potion = _root.potion - 1;
_root.updateItemQuantity2(1, "potion");
_root.potionType = "potion";
gotoAndStop (1);
_root.gotoAndStop("destItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ 50 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 425 Button
on (rollOver) {
numOfItems = _root.ether;
}
on (press) {
if (_root.ether > 0) {
this._visible = false;
_root.ether = _root.ether - 1;
_root.updateItemQuantity2(1, "ether");
_root.potionType = "ether";
gotoAndStop (1);
_root.gotoAndStop("destItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ 20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 426 Button
on (rollOver) {
numOfItems = _root.hipotion;
}
on (press) {
if (_root.hipotion > 0) {
this._visible = false;
_root.hipotion = _root.hipotion - 1;
_root.updateItemQuantity2(1, "hipotion");
_root.potionType = "hipotion";
gotoAndStop (1);
_root.gotoAndStop("destItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ 300 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 427 Button
on (rollOver) {
numOfItems = _root.xpotion;
}
on (press) {
if (_root.xpotion > 0) {
this._visible = false;
_root.xpotion = _root.xpotion - 1;
_root.updateItemQuantity2(1, "xpotion");
_root.potionType = "xpotion";
gotoAndStop (1);
_root.gotoAndStop("destItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ All HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 428 Button
on (rollOver) {
numOfItems = _root.elixir;
}
on (press) {
if (_root.elixir > 0) {
this._visible = false;
_root.elixir = _root.elixir - 1;
_root.updateItemQuantity2(1, "elixir");
_root.potionType = "elixir";
gotoAndStop (1);
_root.gotoAndStop("destItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ All HP, + 20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 429 Button
on (rollOver) {
numOfItems = _root.antidote;
}
on (press) {
if (_root.antidote > 0) {
this._visible = false;
_root.antidote = _root.antidote - 1;
_root.updateItemQuantity2(1, "antidote");
_root.potionType = "antidote";
gotoAndStop (1);
_root.gotoAndStop("destItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Cures All Status Effects";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 430 Button
on (press) {
if (_root.stickDead != true) {
_root.switchItTo = 2;
_root.sticky.gotoAndPlay("switchout");
this._visible = false;
} else {
messo = "Stickington is dead!";
}
}
Symbol 432 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead == true) {
_root.reviveHim = 2;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("destItems");
} else {
messo = "Stickington is alive!";
}
}
Symbol 433 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("destItems");
} else {
messo = "Destroyer is alive!";
}
}
Symbol 435 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("destItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 437 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead == true) {
_root.reviveHim = 2;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("destItems");
} else {
messo = "Stickington is alive!";
}
}
Symbol 438 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("destItems");
} else {
messo = "Destroyer is alive!";
}
}
Symbol 440 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.evilDead == true) {
_root.reviveHim = 4;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("destItems");
_parent._visible = false;
_parent.gotoAndStop(1);
} else {
_parent.messo = "Evil Doctor is alive!";
}
}
Symbol 442 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
gotoAndStop (1);
_root.gotoAndStop("enemyAttackDest");
this._visible = false;
}
Symbol 443 MovieClip Frame 1
numOfItems = "";
stop();
Instance of Symbol 278 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (load) {
if (_root.destForget == true) {
this._visible = false;
}
}
Symbol 443 MovieClip Frame 2
stop();
Symbol 443 MovieClip Frame 3
stop();
Symbol 443 MovieClip Frame 4
messo = "";
Instance of Symbol 383 MovieClip in Symbol 443 MovieClip Frame 4
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 443 MovieClip Frame 5
messo = "";
Instance of Symbol 436 MovieClip in Symbol 443 MovieClip Frame 5
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 443 MovieClip Frame 6
messo = "";
Instance of Symbol 441 MovieClip in Symbol 443 MovieClip Frame 6
onClipEvent (load) {
if (_root.cutscene > 4.7) {
} else {
this._visible = false;
}
}
Symbol 443 MovieClip Frame 7
stop();
Symbol 448 Button
on (press) {
_root.gotoAndStop("evilAttack");
this._visible = false;
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attacks the Enemy";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 449 Button
on (rollOver) {
numOfItems = 40;
}
on (press) {
if (_root.ap4 >= 40) {
this._visible = false;
_root.ap4 = _root.ap4 - 40;
_root.twoAttack = true;
gotoAndStop (1);
_root.gotoAndStop("evilAttack");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Attack + Choose Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 451 Button
on (rollOver) {
numOfItems = 20;
}
on (press) {
if (_root.ap4 >= 20) {
this._visible = false;
_root.ap4 = _root.ap4 - 20;
_root.evilSkill = 1;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Increases All Strength";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 453 Button
on (rollOver) {
numOfItems = 15;
}
on (press) {
if (_root.ap4 >= 15) {
this._visible = false;
_root.ap4 = _root.ap4 - 15;
_root.evilSkill = 4;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Heals Some HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 455 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap4 >= 30) {
this._visible = false;
_root.ap4 = _root.ap4 - 30;
_root.evilSkill = 3;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Random Effect";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 457 Button
on (rollOver) {
numOfItems = 15;
}
on (press) {
if (_root.ap4 >= 15) {
this._visible = false;
_root.ap4 = _root.ap4 - 15;
_root.evilSkill = 6;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 459 Button
on (rollOver) {
numOfItems = 25;
}
on (press) {
if (_root.ap4 >= 25) {
this._visible = false;
_root.ap4 = _root.ap4 - 25;
_root.evilSkill = 5;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Enemy - HP, + HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 461 Button
on (rollOver) {
numOfItems = 30;
}
on (press) {
if (_root.ap4 >= 30) {
this._visible = false;
_root.ap4 = _root.ap4 - 30;
_root.evilSkill = 2;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "High Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 463 Button
on (rollOver) {
numOfItems = 15;
}
on (press) {
if (_root.ap4 >= 15) {
this._visible = false;
_root.ap4 = _root.ap4 - 15;
_root.evilSkill = 7;
gotoAndStop (1);
_root.gotoAndStop("evilSkills");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Medium Damage Special Attack";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 465 Button
on (rollOver) {
numOfItems = _root.potion;
}
on (press) {
if (_root.potion > 0) {
this._visible = false;
_root.potion = _root.potion - 1;
_root.updateItemQuantity2(1, "potion");
_root.potionType = "potion";
gotoAndStop (1);
_root.gotoAndStop("evilItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ 50 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 466 Button
on (rollOver) {
numOfItems = _root.ether;
}
on (press) {
if (_root.ether > 0) {
this._visible = false;
_root.ether = _root.ether - 1;
_root.updateItemQuantity2(1, "ether");
_root.potionType = "ether";
gotoAndStop (1);
_root.gotoAndStop("evilItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ 20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 467 Button
on (rollOver) {
numOfItems = _root.hipotion;
}
on (press) {
if (_root.hipotion > 0) {
this._visible = false;
_root.hipotion = _root.hipotion - 1;
_root.updateItemQuantity2(1, "hipotion");
_root.potionType = "hipotion";
gotoAndStop (1);
_root.gotoAndStop("evilItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ 300 HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 468 Button
on (rollOver) {
numOfItems = _root.xpotion;
}
on (press) {
if (_root.xpotion > 0) {
this._visible = false;
_root.xpotion = _root.xpotion - 1;
_root.updateItemQuantity2(1, "xpotion");
_root.potionType = "xpotion";
gotoAndStop (1);
_root.gotoAndStop("evilItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ All HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 469 Button
on (rollOver) {
numOfItems = _root.elixir;
}
on (press) {
if (_root.elixir > 0) {
this._visible = false;
_root.elixir = _root.elixir - 1;
_root.updateItemQuantity2(1, "elixir");
_root.potionType = "elixir";
gotoAndStop (1);
_root.gotoAndStop("evilItems");
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "+ All HP, + 20 AP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 470 Button
on (rollOver) {
numOfItems = _root.revive;
}
on (press) {
if (_root.revive > 0) {
_root.potionType = "revive";
gotoAndStop (5);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revives Fallen Ally";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 471 Button
on (rollOver) {
numOfItems = _root.fullrevive;
}
on (press) {
if (_root.fullrevive > 0) {
_root.potionType = "fullrevive";
gotoAndStop (6);
}
}
on (rollOver) {
_parent.dees._visible = true;
_parent.dees.des = "Revives Fallen Ally, + All HP";
}
on (rollOut) {
_parent.dees._visible = false;
}
Symbol 473 Button
on (press) {
if (_root.destDead != true) {
_root.switchItTo = 3;
_root.sticky.gotoAndPlay("switchout");
this._visible = false;
} else {
messo = "Destroyer is dead!";
}
}
Symbol 474 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead == true) {
_root.reviveHim = 2;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("evilItems");
} else {
messo = "Stickington is alive!";
}
}
Symbol 475 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("evilItems");
} else {
messo = "Destroyer is alive!";
}
}
Symbol 477 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.revive = _root.revive - 1;
_root.updateItemQuantity2(1, "revive");
_root.gotoAndStop("evilItems");
} else {
messo = "Evil Doctor is alive!";
}
}
Symbol 478 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.stickDead == true) {
_root.reviveHim = 2;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("evilItems");
} else {
messo = "Stickington is alive!";
}
}
Symbol 479 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.destDead == true) {
_root.reviveHim = 3;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("evilItems");
} else {
messo = "Destroyer is alive!";
}
}
Symbol 481 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
if (_root.supesDead == true) {
_root.reviveHim = 1;
gotoAndStop (1);
this._visible = false;
_root.fullrevive = _root.fullrevive - 1;
_root.updateItemQuantity2(1, "fullrevive");
_root.gotoAndStop("evilItems");
} else {
messo = "Evil Doctor is alive!";
}
}
Symbol 482 Button
on (rollOver) {
numOfItems = "";
}
on (press) {
gotoAndStop (1);
_root.gotoAndStop("enemyAttackEvil");
this._visible = false;
}
Symbol 483 MovieClip Frame 1
numOfItems = "";
stop();
Instance of Symbol 278 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
if (_root.destForget == true) {
this._visible = false;
}
}
Symbol 483 MovieClip Frame 2
stop();
Symbol 483 MovieClip Frame 3
stop();
Symbol 483 MovieClip Frame 4
messo = "";
Symbol 483 MovieClip Frame 5
messo = "";
Symbol 483 MovieClip Frame 6
messo = "";
Symbol 483 MovieClip Frame 7
stop();
Symbol 484 MovieClip Frame 1
stop();
Instance of Symbol 259 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
lifeo = _root.char1;
maxlifeo = _root.maxhp;
}
Instance of Symbol 344 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.scanneded == true) {
this._visible = true;
}
}
Instance of Symbol 348 MovieClip "dees" in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 484 MovieClip Frame 2
stop();
Instance of Symbol 259 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (enterFrame) {
lifeo = _root.char2;
maxlifeo = _root.maxhp2;
}
Instance of Symbol 405 MovieClip "menu2" in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
if (_root.stickDead == true) {
this._visible = false;
}
}
Symbol 484 MovieClip Frame 3
stop();
Instance of Symbol 259 MovieClip in Symbol 484 MovieClip Frame 3
onClipEvent (enterFrame) {
lifeo = _root.char3;
maxlifeo = _root.maxhp3;
}
Instance of Symbol 443 MovieClip "menu3" in Symbol 484 MovieClip Frame 3
onClipEvent (load) {
if (_root.destDead == true) {
this._visible = false;
}
}
Symbol 484 MovieClip Frame 4
stop();
Instance of Symbol 259 MovieClip in Symbol 484 MovieClip Frame 4
onClipEvent (enterFrame) {
lifeo = _root.char4;
maxlifeo = _root.maxhp4;
}
Instance of Symbol 483 MovieClip "menu4" in Symbol 484 MovieClip Frame 4
onClipEvent (load) {
if (_root.evilDead == true) {
this._visible = false;
}
}
Symbol 487 Button
on (press) {
gotoAndStop (5);
}
Symbol 493 Button
on (press) {
gotoAndStop (7);
}
Symbol 506 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip "enemy" in Symbol 506 MovieClip Frame 4
onClipEvent (load) {
this.thingy = "_root.enemy";
}
Instance of Symbol 484 MovieClip "meno" in Symbol 506 MovieClip Frame 4
onClipEvent (load) {
this.menu1._visible = false;
}
Symbol 507 Button
on (press) {
text1._visible = false;
text2._visible = false;
_parent.back = true;
_parent.gotoAndPlay(16);
}
Symbol 517 MovieClip Frame 1
stop();
Instance of Symbol 105 MovieClip in Symbol 517 MovieClip Frame 2
onClipEvent (load) {
num = 1;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
_parent.load1._visible = false;
}
}
Instance of Symbol 105 MovieClip in Symbol 517 MovieClip Frame 2
onClipEvent (load) {
num = 2;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
_parent.load2._visible = false;
}
}
Instance of Symbol 105 MovieClip in Symbol 517 MovieClip Frame 2
onClipEvent (load) {
num = 3;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
_parent.load3._visible = false;
}
}
Instance of Symbol 105 MovieClip in Symbol 517 MovieClip Frame 2
onClipEvent (load) {
num = 4;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
_parent.load4._visible = false;
}
}
Instance of Symbol 513 MovieClip "box1" in Symbol 517 MovieClip Frame 4
onClipEvent (load) {
if (_root.musicOff == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_root.musicOff = false;
_root.muse.gotoAndStop(1);
this.gotoAndStop(2);
_parent.box2.gotoAndStop(1);
}
Instance of Symbol 513 MovieClip "box2" in Symbol 517 MovieClip Frame 4
onClipEvent (load) {
if (_root.musicOff == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root.musicOff = true;
stopAllSounds();
this.gotoAndStop(2);
_parent.box1.gotoAndStop(1);
}
Instance of Symbol 513 MovieClip in Symbol 517 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(1);
}
on (press) {
if (_root.diff == "Normal") {
_root.diff = "Hard";
_root.defaultPLevel = 2;
_root.pLevel = _root.defaultPLevel;
} else if (_root.diff == "Hard") {
_root.diff = "Very Hard";
_root.defaultPLevel = 5;
_root.pLevel = _root.defaultPLevel;
} else if (_root.diff == "Very Hard") {
_root.diff = "Easy";
_root.defaultPLevel = -4;
_root.pLevel = _root.defaultPLevel;
} else if (_root.diff == "Easy") {
_root.diff = "Normal";
_root.defaultPLevel = -2;
_root.pLevel = _root.defaultPLevel;
}
}
Instance of Symbol 513 MovieClip in Symbol 517 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(1);
}
on (press) {
if (_root._quality == "HIGH") {
_root.qual = "Best";
_root._quality = "BEST";
} else if (_root._quality == "BEST") {
_root.qual = "Low";
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root.qual = "Medium";
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root.qual = "High";
_root._quality = "HIGH";
}
}
Symbol 518 MovieClip Frame 15
stop();
Symbol 518 MovieClip Frame 23
if (back == true) {
back = false;
loadGame = false;
tut = false;
opt = false;
this.menoy.gotoAndStop(1);
play();
} else if (loadGame == true) {
this.menoy.gotoAndStop(2);
play();
} else if (tut == true) {
this.menoy.gotoAndStop(3);
play();
} else if (opt == true) {
this.menoy.gotoAndStop(4);
this.menoy.text1._visible = false;
this.menoy.text2._visible = false;
play();
} else {
_root.gotoAndStop(goTo);
}
Symbol 518 MovieClip Frame 30
if (opt == true) {
this.menoy.text1._visible = true;
this.menoy.text2._visible = true;
}
gotoAndStop (15);
Symbol 528 MovieClip Frame 1
stopAllSounds();
if (_root.musicOff == true) {
this.stop();
} else {
gotoAndStop(music);
}
Symbol 528 MovieClip Frame 2
Symbol 528 MovieClip Frame 3
Symbol 528 MovieClip Frame 4
Symbol 528 MovieClip Frame 5
Symbol 528 MovieClip Frame 6
Symbol 528 MovieClip Frame 7
Symbol 528 MovieClip Frame 8
Symbol 528 MovieClip Frame 9
Symbol 533 Button
on (press) {
_root.char1 = _root.maxhp;
_root.char2 = _root.maxhp2;
_root.char3 = _root.maxhp3;
_root.char4 = _root.maxhp4;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
_root.switchin = false;
_root.backFromFight = false;
if (_root.cutscene == 8.6) {
_root.cutscene = 8;
}
if (_root.cutscene == 7.7) {
_root.cutscene = 7.5;
}
if (_root.cutscene == 4.7) {
_root.cutscene = 4.5;
}
if (_root.cutscene == 2.5) {
_root.cutscene = 2;
}
_root.gotoAndStop("area1");
}
Symbol 534 Button
on (press) {
_root.switchin = false;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
stopAllSounds();
_root.gotoAndStop("mainMen");
}
Symbol 535 MovieClip Frame 50
stop();
Symbol 537 MovieClip Frame 12
stop();
Symbol 537 MovieClip Frame 21
if (_root.gameOver == true) {
_root.gameOver = false;
stop();
_root.gotoAndStop("gameover");
} else if (_root.fadeToGo != "") {
_root.gotoAndStop(_root.fadeToGo);
}
Symbol 544 Button
on (press) {
_root.switchin = false;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
_root.gotoAndStop("mainMen2");
}
Symbol 545 MovieClip Frame 31
stop();
Symbol 568 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 2
_root.menyy = true;
Symbol 568 MovieClip Frame 27
_root.menyy = false;
_root.gotoAndStop("computer");
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
stop();
Symbol 595 MovieClip Frame 1
if (_root.supesArmorLook != null) {
gotoAndStop(_root.supesArmorLook);
}
stop();
Symbol 604 MovieClip Frame 1
if (_root.supesWeaponLook != null) {
gotoAndStop(_root.supesWeaponLook);
}
stop();
Symbol 608 MovieClip Frame 1
if (_root.supesArmorLook != null) {
gotoAndStop(_root.supesArmorLook);
}
stop();
Symbol 613 MovieClip Frame 1
if ((_root.supesGlassesLook == "glasses1") && (this.moof == true)) {
this.gotoAndStop(62);
} else if (_root.supesGlassesLook == "glasses1") {
this.gotoAndStop(61);
}
Symbol 613 MovieClip Frame 58
gotoAndPlay (1);
Symbol 613 MovieClip Frame 60
stop();
Instance of Symbol 80 MovieClip in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || ((_parent.openMouth == true) && (_parent.openMouth != false))) {
this.play();
}
}
Instance of Symbol 613 MovieClip in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 26
gotoAndStop (1);
Instance of Symbol 80 MovieClip in Symbol 622 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || ((_parent.openMouth == true) && (_parent.openMouth != false))) {
this.play();
}
}
Instance of Symbol 613 MovieClip "eyes" in Symbol 622 MovieClip Frame 1
onClipEvent (load) {
this.moof = true;
}
Instance of Symbol 622 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
if (_root.supesGlassesLook == "glasses1") {
this.eyes.gotoAndStop(62);
}
}
Symbol 628 MovieClip Frame 7
stop();
Symbol 629 MovieClip Frame 1
right = 1;
left = 0;
down = 0;
up = 0;
this.giveMoney = false;
stop();
Instance of Symbol 619 MovieClip "pressButt" in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Symbol 629 MovieClip Frame 2
right = 0;
left = 1;
down = 0;
up = 0;
this.giveMoney = false;
stop();
Symbol 629 MovieClip Frame 3
right = 1;
left = 0;
down = 0;
up = 0;
this.giveMoney = false;
stop();
Symbol 629 MovieClip Frame 4
right = 0;
left = 1;
down = 0;
up = 0;
this.giveMoney = false;
stop();
Symbol 629 MovieClip Frame 5
left = 0;
right = 0;
down = 1;
up = 0;
this.giveMoney = false;
stop();
Instance of Symbol 622 MovieClip in Symbol 629 MovieClip Frame 5
onClipEvent (load) {
if (_root.supesGlassesLook == "glasses1") {
this.eyes.gotoAndStop(62);
}
}
Symbol 629 MovieClip Frame 6
left = 0;
right = 0;
down = 1;
up = 0;
this.giveMoney = false;
stop();
Symbol 629 MovieClip Frame 7
left = 0;
right = 0;
down = 0;
up = 1;
this.giveMoney = false;
stop();
Symbol 629 MovieClip Frame 8
left = 0;
right = 0;
down = 0;
up = 1;
this.giveMoney = false;
stop();
Symbol 632 Button
on (keyPress "a") {
if (_root.stick1.hitTest(_root.chest0)) {
if (_root.chests[0] != true) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[0] = true;
_root.chest0.gotoAndStop(2);
}
} else if (_root.stick1.hitTest(_root.computer)) {
_root.updateSupesLooks();
_root.computer.gotoAndPlay(2);
}
}
Symbol 640 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 9
stop();
Symbol 674 MovieClip Frame 1
stop();
Instance of Symbol 640 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.talky == true) {
play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 640 MovieClip in Symbol 674 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_parent._parent.talky == true) {
play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 640 MovieClip in Symbol 674 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_parent._parent.talky == true) {
play();
} else {
this.gotoAndStop(1);
}
}
Symbol 678 Button
on (press, release) {
if (_parent.needAnswer == true) {
_parent.needAnswer = false;
if (_root.money >= 30) {
_root.money = _root.money - 30;
_parent.texto = " Enjoy your stay!";
_root.menyy = false;
_root.hotelStay.play();
} else {
_parent.texto = " Sorry, but you do not have enough money to stay with us tonight.";
}
} else if (_root.money >= 5) {
_root.money = _root.money - 5;
_root.guyBarKeep.gotoAndPlay(13);
_parent.texto = " Here's your drink, bud!";
} else {
_parent.texto = " Not enough money for a drink!";
}
this._visible = false;
}
Symbol 680 Button
on (press, release) {
if (_parent.hotelAsk == true) {
_parent.texto = " OK, I hope that you will stay with us next time!";
} else {
_parent.texto = "OK, but I don't know what you're doing in a bar if you don't want a drink...";
}
this._visible = false;
}
Symbol 683 Button
on (press) {
if (_root.money >= 40) {
_root.updateItemQuantity(1, "potion");
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
boughtStuff = true;
_root.money = _root.money - 40;
_parent.texto = ("Thanks for buying a potion! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Potion ; Price: 40 coins ; Description: Heals 50 HP";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 684 Button
on (press) {
if (_root.money >= 70) {
_root.money = _root.money - 70;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying a ether! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "ether");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Ether ; Price: 70 coins ; Description: Replenishes 20 AP/MP";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 685 Button
on (press) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying a Hi-Potion! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "hipotion");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Hi-Potion ; Price: 100 coins ; Description: Replenishes 300 HP";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 686 Button
on (press) {
if (_root.money >= 150) {
_root.money = _root.money - 150;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying a X-Potion! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "xpotion");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: X-Potion ; Price: 150 coins ; Description: Replenishes all HP";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 687 Button
on (press) {
if (_root.money >= 210) {
_root.money = _root.money - 210;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying a elixir! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "elixir");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Elixir ; Price: 210 coins ; Description: Replenishes full HP and MP";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + "coins. Want anything?";
}
}
Symbol 688 Button
on (press) {
if (_root.money >= 30) {
_root.money = _root.money - 30;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying an antidote! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "antidote");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Antidote ; Price: 30 coins ; Description: Removes all bad statuses";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 689 Button
on (press) {
if (_root.money >= 120) {
_root.money = _root.money - 120;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying a revive! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "revive");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Revive ; Price: 120 coins ; Description: Brings characters back to life with 50 hp";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 690 Button
on (press) {
if (_root.money >= 400) {
_root.money = _root.money - 400;
_root.stick5.giveMoney = true;
_root.stick5.gotoAndStop(9);
_parent.texto = ("Thanks for buying a FullRevive! You have " + _root.money) + " coins left... want anything else?";
_root.updateItemQuantity(1, "fullrevive");
boughtStuff = true;
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: FullRevive ; Price: 400 coins ; Description: Brings characters back with full HP";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + "coins. Want anything?";
}
}
Symbol 691 Button
on (press) {
if (_root.money >= 500) {
_root.createEquipment("Armor");
_root.stick16.giveMoney = true;
_root.stick16.gotoAndStop(9);
boughtStuff = true;
_root.money = _root.money - 500;
_parent.texto = ("Thanks for buying armor! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Armor ; Price: 500 coins ";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 693 Button
on (press) {
if (_root.money >= 400) {
_root.createEquipment("Fists");
_root.stick16.giveMoney = true;
_root.stick16.gotoAndStop(9);
boughtStuff = true;
_root.money = _root.money - 400;
_parent.texto = ("Thanks for buying fists! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Fists ; Price: 400 coins ";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 695 Button
on (press) {
if (_root.money >= 350) {
_root.createEquipment("Sunglasses");
_root.stick16.giveMoney = true;
_root.stick16.gotoAndStop(9);
boughtStuff = true;
_root.money = _root.money - 350;
_parent.texto = ("Thanks for buying Sunglasses! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Sunglasses ; Price: 350 coins ";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 697 Button
on (press) {
if (_root.money >= 400) {
_root.createEquipment("Gun");
_root.stick16.giveMoney = true;
_root.stick16.gotoAndStop(9);
boughtStuff = true;
_root.money = _root.money - 400;
_parent.texto = ("Thanks for buying a gun! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Gun ; Price: 400 coins ";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 699 Button
on (press) {
if (_root.money >= 400) {
_root.createEquipment("Sword");
_root.stick16.giveMoney = true;
_root.stick16.gotoAndStop(9);
boughtStuff = true;
_root.money = _root.money - 400;
_parent.texto = ("Thanks for buying a sword! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = "Item: Sword ; Price: 400 coins ";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 701 Button
on (press) {
if (_root.money >= ((_root.visionPlus + 1) * 200)) {
_root.visionPlus = _root.visionPlus + 1;
_root.stick16.giveMoney = true;
boughtStuff = true;
_root.money = _root.money - (_root.visionPlus * 200);
_parent.texto = ("Thanks for buying a vision Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Vision Upgrade ; Price: " + ((_root.visionPlus + 1) * 200)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 702 Button
on (press) {
if (_root.money >= ((_root.healPlus + 1) * 250)) {
_root.healPlus = _root.healPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.healPlus * 250);
_parent.texto = ("Thanks for buying a heal Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Heal Upgrade ; Price: " + ((_root.healPlus + 1) * 250)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 703 Button
on (press) {
if (_root.money >= ((_root.speedPlus + 1) * 650)) {
_root.speedPlus = _root.speedPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.speedPlus * 650);
_parent.texto = ("Thanks for buying speed Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Speed Upgrade ; Price: " + ((_root.speedPlus + 1) * 650)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 704 Button
on (press) {
if (_root.money >= ((_root.slashPlus + 1) * 250)) {
_root.slashPlus = _root.slashPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.slashPlus * 250);
_parent.texto = ("Thanks for buying Super Slash Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Super Slash Upgrade ; Price: " + ((_root.slashPlus + 1) * 250)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 706 Button
on (press) {
if (_root.money >= ((_root.multiPlus + 1) * 1100)) {
_root.multiPlus = _root.multiPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.multiPlus * 1100);
_parent.texto = ("Thanks for buying a MultiSlash Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: MultiSlash Upgrade ; Price: " + ((_root.multiPlus + 1) * 1100)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 708 Button
on (press) {
if (_root.money >= ((_root.throwPlus + 1) * 250)) {
_root.throwPlus = _root.throwPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.throwPlus * 250);
_parent.texto = ("Thanks for buying a Throw Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Throw Upgrade ; Price: " + ((_root.throwPlus + 1) * 250)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 710 Button
on (press) {
if (_root.money >= ((_root.shotPlus + 1) * 250)) {
_root.shotPlus = _root.shotPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.shotPlus * 250);
_parent.texto = ("Thanks for buying a Power Shot Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Power Shot Upgrade ; Price: " + ((_root.shotPlus + 1) * 250)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 711 Button
on (press) {
if (_root.money >= ((_root.strengthPlus + 1) * 400)) {
_root.strengthPlus = _root.strengthPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.strengthPlus * 400);
_parent.texto = ("Thanks for buying a strength Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Strength Upgrade ; Price: " + ((_root.strengthPlus + 1) * 400)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 712 Button
on (press) {
if (_root.money >= ((_root.breathPlus + 1) * 250)) {
_root.breathPlus = _root.breathPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.breathPlus * 250);
_parent.texto = ("Thanks for buying a breath Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Breath Upgrade ; Price: " + ((_root.breathPlus + 1) * 250)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 714 Button
on (press) {
if (_root.money >= ((_root.superHitPlus + 1) * 250)) {
_root.superHitPlus = _root.superHitPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.superHitPlus * 250);
_parent.texto = ("Thanks for buying super Hit Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Super Hit Upgrade ; Price: " + ((_root.superHitPlus + 1) * 250)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 715 Button
on (press) {
if (_root.money >= ((_root.invincPlus + 1) * 900)) {
_root.invincPlus = _root.invincPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.invincPlus * 900);
_parent.texto = ("Thanks for buying a invincible Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Invincible Upgrade ; Price: " + ((_root.invincPlus + 1) * 900)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 716 Button
on (press) {
if (_root.money >= ((_root.couragePlus + 1) * 400)) {
_root.couragePlus = _root.couragePlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.couragePlus * 400);
_parent.texto = ("Thanks for buying a courage Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Courage Upgrade ; Price: " + ((_root.couragePlus + 1) * 400)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 717 Button
on (press) {
if (_root.money >= ((_root.leechPlus + 1) * 350)) {
_root.leechPlus = _root.leechPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.leechPlus * 350);
_parent.texto = ("Thanks for buying a Leech Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Leech Shot Upgrade ; Price: " + ((_root.leechPlus + 1) * 350)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 719 Button
on (press) {
if (_root.money >= ((_root.crossPlus + 1) * 400)) {
_root.crossPlus = _root.crossPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.crossPlus * 400);
_parent.texto = ("Thanks for buying a Cross Fire Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Cross Fire Upgrade ; Price: " + ((_root.crossPlus + 1) * 400)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 721 Button
on (press) {
if (_root.money >= ((_root.counterPlus + 1) * 400)) {
_root.counterPlus = _root.counterPlus + 1;
boughtStuff = true;
_root.money = _root.money - (_root.counterPlus * 400);
_parent.texto = ("Thanks for buying a counter Upgrade! You have " + _root.money) + " coins left... want anything else?";
} else {
_parent.texto = ("You only have " + _root.money) + " coins! That is not enough money!";
}
}
on (rollOver) {
_parent.texto = ("Item: Counter Upgrade ; Price: " + ((_root.counterPlus + 1) * 400)) + " coins";
}
on (rollOut) {
if (boughtStuff == true) {
boughtStuff = false;
} else {
_parent.texto = ("You currently have " + _root.money) + " coins. Want anything?";
}
}
Symbol 722 MovieClip Frame 1
stop();
Symbol 723 Button
on (press) {
_parent.texto = ("How much of your " + _root.money) + " do you want to bet that the coin will land on tails?";
this.gotoAndStop(2);
}
Symbol 729 Button
on (press) {
_parent.texto = "Want to play any other games?";
this.gotoAndStop(1);
}
Symbol 730 Button
on (press) {
if (_root.money >= (currentBet + 5)) {
_parent.texto = "Is that all, or do you want to add more to your bet?";
currentBet = currentBet + 5;
} else {
_parent.texto = "You can't add anymore to the pot, you don't have enough money!";
}
}
Symbol 732 Button
on (press) {
if (_root.money >= (currentBet + 15)) {
_parent.texto = "Is that all, or do you want to add more to your bet?";
currentBet = currentBet + 15;
} else {
_parent.texto = "You can't add anymore to the pot, you don't have enough money!";
}
}
Symbol 734 Button
on (press) {
_parent.texto = "Is that all, or do you want to add more to your bet?";
currentBet = 0;
}
Symbol 736 Button
on (press) {
switch (random(2) + 1) {
case 1 :
_parent.texto = ("It came up tails... here's your " + currentBet) + " coins! Play again if you want!";
_root.money = _root.money + currentBet;
break;
case 2 :
_parent.texto = ("Sorry... it came up heads...I win...thanks for the " + currentBet) + " coins! Better luck next time!";
_root.money = _root.money - currentBet;
currentBet = 0;
}
}
Symbol 738 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 2
currentBet = 0;
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 2
stop();
Instance of Symbol 677 MovieClip "textMah" in Symbol 739 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 3;
if (this._alpha > 100) {
this._alpha = 100;
}
}
Instance of Symbol 682 MovieClip in Symbol 739 MovieClip Frame 2
onClipEvent (load) {
if (_parent.needAnswer != true) {
this._visible = false;
}
}
Instance of Symbol 722 MovieClip in Symbol 739 MovieClip Frame 2
onClipEvent (load) {
if (_parent.sellItems != true) {
this._visible = false;
}
if (_parent.sellEquipment == true) {
this.gotoAndStop(2);
}
if (_parent.sellSkills == true) {
this.gotoAndStop(3);
}
}
Instance of Symbol 738 MovieClip in Symbol 739 MovieClip Frame 2
onClipEvent (load) {
if (_root.displayGames != true) {
this._visible = false;
} else {
_root.displayGames = false;
}
}
Symbol 743 Button
on (press) {
_root.switchin = false;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
stopAllSounds();
_root.gotoAndStop("mainMen");
}
Symbol 745 MovieClip Frame 1
stop();
Symbol 746 Button
on (press) {
_root.musicOff = true;
stopAllSounds();
gotoAndStop (2);
}
Symbol 748 Button
on (press) {
_root.musicOff = false;
gotoAndStop (1);
}
Symbol 750 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 1
if (_root.stickArmorLook != null) {
gotoAndStop(_root.stickArmorLook);
}
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 773 MovieClip Frame 1
if (_root.stickArmorLook != null) {
gotoAndStop(_root.stickArmorLook);
}
stop();
Symbol 776 MovieClip Frame 1
if (_root.stickGlassesLook == "glasses1") {
this.gotoAndStop(61);
}
Symbol 776 MovieClip Frame 58
gotoAndPlay (1);
Symbol 776 MovieClip Frame 60
stop();
Instance of Symbol 80 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || ((_parent.openMouth == true) && (_parent.openMouth != false))) {
this.play();
}
}
Instance of Symbol 776 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Symbol 782 MovieClip Frame 1
if (_root.stickWeaponLook != null) {
this.gotoAndStop(_root.stickWeaponLook);
}
stop();
Symbol 804 MovieClip Frame 1
if (_root.destArmorLook != null) {
gotoAndStop(_root.destArmorLook);
}
stop();
Symbol 806 MovieClip Frame 1
stop();
Symbol 809 MovieClip Frame 1
if (_root.destGlassesLook == "glasses1") {
this.gotoAndStop(61);
}
Symbol 809 MovieClip Frame 58
gotoAndPlay (1);
Symbol 809 MovieClip Frame 60
stop();
Instance of Symbol 80 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || (_parent.openMouth)) {
this.play();
}
}
Instance of Symbol 809 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.closeEyes == true) {
_parent._parent.closeEyes = false;
this.gotoAndPlay("closeEyes");
}
}
Symbol 815 MovieClip Frame 1
stop();
Symbol 833 MovieClip Frame 1
expHas = ((_root.supeExpHas + " / ") + _root.supeExpNeeded) + " EXP";
showAP = " AP: " + _root.ap;
showStr = "Strength: " + _root.strength;
showVit = "Vitality: " + _root.vitality;
showSkill = "Skills: " + _root.skills;
showDef = "Defense: " + _root.defense;
showAgil = "Agility: " + _root.agility;
levy = "Level: " + _root.level;
stop();
Instance of Symbol 259 MovieClip in Symbol 833 MovieClip Frame 1
onClipEvent (load) {
this._width = showy._width;
lifeo = _root.char1;
maxlifeo = _root.maxhp;
}
Symbol 833 MovieClip Frame 2
expHas = ((_root.stickExpHas + " / ") + _root.stickExpNeeded) + " EXP";
showAP = " AP: " + _root.ap2;
showStr = "Strength: " + _root.strength2;
showVit = "Vitality: " + _root.vitality2;
showSkill = "Skills: " + _root.skills2;
showDef = "Defense: " + _root.defense2;
showAgil = "Agility: " + _root.agility2;
levy = "Level: " + _root.level2;
stop();
Instance of Symbol 259 MovieClip in Symbol 833 MovieClip Frame 2
onClipEvent (load) {
this._width = showy._width;
lifeo = _root.char2;
maxlifeo = _root.maxhp2;
}
Symbol 833 MovieClip Frame 3
expHas = ((_root.destExpHas + " / ") + _root.destExpNeeded) + " EXP";
showAP = " AP: " + _root.ap3;
showStr = "Strength: " + _root.strength3;
showVit = "Vitality: " + _root.vitality3;
showSkill = "Skills: " + _root.skills3;
showDef = "Defense: " + _root.defense3;
showAgil = "Agility: " + _root.agility3;
levy = "Level: " + _root.level3;
stop();
Instance of Symbol 259 MovieClip in Symbol 833 MovieClip Frame 3
onClipEvent (load) {
this._width = showy._width;
lifeo = _root.char3;
maxlifeo = _root.maxhp3;
}
Symbol 833 MovieClip Frame 4
expHas = ((_root.evilExpHas + " / ") + _root.evilExpNeeded) + " EXP";
showAP = " AP: " + _root.ap4;
showStr = "Strength: " + _root.strength4;
showVit = "Vitality: " + _root.vitality4;
showSkill = "Skills: " + _root.skills4;
showDef = "Defense: " + _root.defense4;
showAgil = "Agility: " + _root.agility4;
levy = "Level: " + _root.level4;
stop();
Instance of Symbol 259 MovieClip in Symbol 833 MovieClip Frame 4
onClipEvent (load) {
this._width = showy._width;
lifeo = _root.char4;
maxlifeo = _root.maxhp4;
}
Symbol 833 MovieClip Frame 5
gotoAndStop(char);
Symbol 841 MovieClip Frame 1
stop();
Symbol 843 Button
on (press) {
_parent.nameys.gotoAndStop(2);
_parent.equipy.gotoAndStop(1);
_parent.diff.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "iteems";
gotoAndStop (2);
}
Symbol 844 Button
on (press) {
_parent.nameys.gotoAndStop(2);
_parent.equipy.gotoAndStop(1);
_parent.diff.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "iteems";
_root.useItemSupes = true;
gotoAndStop (2);
}
Symbol 846 Button
on (press) {
_parent.nameys.gotoAndStop(2);
_parent.equipy.gotoAndStop(1);
_parent.diff.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "iteems";
_root.useItemStick = true;
gotoAndStop (2);
}
Symbol 847 Button
on (press) {
_parent._parent.nameys.gotoAndStop(2);
_parent._parent.equipy.gotoAndStop(1);
_parent._parent.diff.gotoAndStop(1);
_parent._parent.savey.gotoAndStop(1);
_parent._parent.helpy.gotoAndStop(1);
_parent._parent[_parent._parent.topLayer].swapDepths(_parent);
_parent._parent.topLayer = "iteems";
_root.useItemDest = true;
_parent.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip "bF3" in Symbol 852 MovieClip Frame 1
onClipEvent (load) {
if (_root.battleFirst == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root.battleFirst = 3;
_parent._parent.bF1.gotoAndStop(1);
_parent._parent.bF2.gotoAndStop(1);
_parent._parent.bF4.gotoAndStop(1);
this.gotoAndStop(2);
}
Symbol 853 Button
on (press) {
_parent._parent.nameys.gotoAndStop(2);
_parent._parent.equipy.gotoAndStop(1);
_parent._parent.diff.gotoAndStop(1);
_parent._parent.savey.gotoAndStop(1);
_parent._parent[_parent._parent.topLayer].swapDepths(_parent);
_parent._parent.topLayer = "iteems";
_parent._parent.helpy.gotoAndStop(1);
_root.useItemEvil = true;
_parent.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip "bF4" in Symbol 854 MovieClip Frame 1
onClipEvent (load) {
if (_root.battleFirst == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root.battleFirst = 4;
_parent._parent.bF1.gotoAndStop(1);
_parent._parent.bF2.gotoAndStop(1);
_parent._parent.bF3.gotoAndStop(1);
this.gotoAndStop(2);
}
Symbol 867 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 867 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 867 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || (_parent.openMouth)) {
this.play();
}
}
Symbol 889 MovieClip Frame 1
stop();
Symbol 889 MovieClip Frame 2
stop();
Symbol 889 MovieClip Frame 3
stop();
Symbol 889 MovieClip Frame 4
stop();
Symbol 889 MovieClip Frame 5
stop();
Symbol 889 MovieClip Frame 6
stop();
Symbol 892 Button
on (press) {
_root.tempArray = new Array();
_root.tempArray = itemArrah;
_root.tempArray[_root.tempArray.length] = indexNum;
_parent.gotoAndPlay(4);
}
Instance of Symbol 889 MovieClip in Symbol 893 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_parent.nameo);
}
Symbol 896 Button
on (press) {
_parent.nameys.gotoAndStop(1);
this.gotoAndStop(1);
}
Symbol 902 Button
on (press) {
this._visible = false;
}
Symbol 903 Button
on (press) {
infoScroll.scroll = infoScroll.scroll - 1;
}
Symbol 905 Button
on (press) {
infoScroll.scroll = infoScroll.scroll + 1;
}
Symbol 908 Button
on (press) {
itemType = _root.tempArray[0];
if (itemType == "ether") {
itemInfo.infoScroll.text = "When ether is used on a character, the character gains 20 mp/ap.";
itemInfo._visible = true;
} else if (itemType == "elixir") {
itemInfo.infoScroll.text = "When an elixir is used on a character, the character gains 20 mp/ap and full life.";
itemInfo._visible = true;
} else if (itemType == "potion") {
itemInfo.infoScroll.text = "When a potion is used on a character, the character gains 50 hp.";
itemInfo._visible = true;
} else if (itemType == "hipotion") {
itemInfo.infoScroll.text = "When a hipotion is used on a character, the character gains 300 hp.";
itemInfo._visible = true;
} else if (itemType == "xpotion") {
itemInfo.infoScroll.text = "When an xpotion is used on a character, the character gains full life.";
itemInfo._visible = true;
} else if (itemType == "life rune") {
itemInfo.infoScroll.text = "When added to equipment, the life rune adds a + 20 HP to a +70 HP stat to the equipment's stats. ";
itemInfo._visible = true;
} else if (itemType == "str rune") {
itemInfo.infoScroll.text = "When added to equipment, the strength rune adds a + 5 to a +15 Strength stat to the equipment's stats. ";
itemInfo._visible = true;
} else if (itemType == "leech rune") {
itemInfo.infoScroll.text = "When added to equipment, the leech rune adds a + 5 to a +15 AP or HP Leech stat to the equipment's stats. ";
itemInfo._visible = true;
} else if (itemType == "defense rune") {
itemInfo.infoScroll.text = "When added to equipment, the defense rune adds a + 5 to a +25 defense or stat to the equipment's stats. ";
itemInfo._visible = true;
} else if (itemType == "skills rune") {
itemInfo.infoScroll.text = "When added to equipment, the skills rune adds a + 5 to a +25 skills stat to the equipment's stats. ";
itemInfo._visible = true;
} else if (itemType == "raddish") {
itemInfo.infoScroll.text = "Using this on the world map allows you to walk faster for a limited amount of time. ";
itemInfo._visible = true;
} else if (itemType == "wood") {
itemInfo.infoScroll.text = "Collect all three woods to rebuild the factory bridge!";
itemInfo._visible = true;
} else if (itemType == "revive") {
itemInfo.infoScroll.text = "Use revive to bring one of your characters back to life with 50 hp.";
itemInfo._visible = true;
} else if (itemType == "fullrevive") {
itemInfo.infoScroll.text = "Use full revive to bring one of your characters back to life with their max hp.";
itemInfo._visible = true;
} else if (itemType == "pumpkin") {
itemInfo.infoScroll.text = "Using the pumpkin on a character increases all of their stats by 15.";
itemInfo._visible = true;
}
}
Symbol 910 Button
on (press) {
itemType = _root.tempArray[0];
quantity = _root.tempArray[1];
indexNum = _root.tempArray[2];
if (((quantity > 0) && (_root.useItemSupes == true)) && (_root.supesDead != true)) {
if (itemType == "ether") {
_root.ap = _root.ap + 20;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "elixir") {
_root.ap = _root.ap + 20;
_root.char1 = _root.maxhp;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "potion") {
_root.char1 = _root.char1 + 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "hipotion") {
_root.char1 = _root.char1 + 300;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "xpotion") {
_root.char1 = _root.maxhp;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "pumpkin") {
_root.maxhp = _root.maxhp + 15;
_root.strength = _root.strength + 15;
_root.defense = _root.defense + 15;
_root.agility = _root.agility + 15;
_root.skills = _root.skills + 15;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat1.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemSupes == true)) && (_root.supesDead == true)) {
if (itemType == "revive") {
_root.char1 = _root.char1 + 50;
_root.supesDead = false;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "fullrevive") {
_root.supesDead = false;
_root.char1 = _root.maxhp;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat1.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemStick == true)) && (_root.stickDead != true)) {
if (itemType == "ether") {
_root.ap2 = _root.ap2 + 20;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "elixir") {
_root.ap2 = _root.ap2 + 20;
_root.char2 = _root.maxhp2;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "potion") {
_root.char2 = _root.char2 + 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "hipotion") {
_root.char2 = _root.char2 + 300;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "xpotion") {
_root.char2 = _root.maxhp2;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "pumpkin") {
_root.maxhp2 = _root.maxhp2 + 15;
_root.strength2 = _root.strength2 + 15;
_root.defense2 = _root.defense2 + 15;
_root.agility2 = _root.agility2 + 15;
_root.skills2 = _root.skills2 + 15;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat2.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemStick == true)) && (_root.stickDead == true)) {
if (itemType == "revive") {
_root.char2 = _root.char2 + 50;
_root.stickDead = false;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "fullrevive") {
_root.stickDead = false;
_root.char2 = _root.maxhp2;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat2.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemDest == true)) && (_root.destDead != true)) {
if (itemType == "ether") {
_root.ap3 = _root.ap3 + 20;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "elixir") {
_root.ap3 = _root.ap3 + 20;
_root.char3 = _root.maxhp3;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "potion") {
_root.char3 = _root.char3 + 50;
if (_root.char3 > _root.maxhp3) {
_root.char3 = _root.maxhp3;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "hipotion") {
_root.char3 = _root.char3 + 300;
if (_root.char3 > _root.maxhp3) {
_root.char3 = _root.maxhp3;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "xpotion") {
_root.char3 = _root.maxhp3;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "pumpkin") {
_root.maxhp3 = _root.maxhp3 + 15;
_root.strength3 = _root.strength3 + 15;
_root.defense3 = _root.defense3 + 15;
_root.agility3 = _root.agility3 + 15;
_root.skills3 = _root.skills3 + 15;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat3.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemDest == true)) && (_root.destDead == true)) {
if (itemType == "revive") {
_root.char3 = _root.char3 + 50;
_root.destDead = false;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "fullrevive") {
_root.destDead = false;
_root.char3 = _root.maxhp3;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat3.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemEvil == true)) && (_root.evilDead != true)) {
if (itemType == "ether") {
_root.ap4 = _root.ap4 + 20;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "elixir") {
_root.ap4 = _root.ap4 + 20;
_root.char4 = _root.maxhp4;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "potion") {
_root.char4 = _root.char4 + 50;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "hipotion") {
_root.char4 = _root.char4 + 300;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "xpotion") {
_root.char4 = _root.maxhp4;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "pumpkin") {
_root.maxhp4 = _root.maxhp4 + 15;
_root.strength4 = _root.strength4 + 15;
_root.defense4 = _root.defense4 + 15;
_root.agility4 = _root.agility4 + 15;
_root.skills4 = _root.skills4 + 15;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat4.gotoAndPlay("reload");
gotoAndStop (1);
} else if (((quantity > 0) && (_root.useItemEvil == true)) && (_root.evilDead == true)) {
if (itemType == "revive") {
_root.char4 = _root.char4 + 50;
_root.evilDead = false;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
} else if (itemType == "fullrevive") {
_root.evilDead = false;
_root.char4 = _root.maxhp4;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
}
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent.charStat4.gotoAndPlay("reload");
gotoAndStop (1);
} else if ((quantity > 0) && (((((itemType == "life rune") || (itemType == "str rune")) || (itemType == "leech rune")) || (itemType == "defense rune")) || (itemType == "skills rune"))) {
this.swapDepths(_parent.equipy);
_parent.topLayer = "equipy";
_parent.equipy.useRune = true;
_root.equipToSupes = true;
_parent.equipy.gotoAndStop(2);
gotoAndStop (1);
} else if (itemType == "raddish") {
_root.fastWalk = 5;
_root.stickMap.speed = 6;
quantity = quantity - 1;
_root.tempArray[1] = quantity;
if (quantity == 0) {
_root.itemArray[indexNum] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
backToItem = true;
gotoAndPlay (4);
} else {
gotoAndPlay (4);
}
} else if (itemType == "comic") {
comico.gotoAndStop(1);
comico._visible = true;
}
}
Symbol 912 Button
on (press) {
this.gotoAndStop(2);
}
Symbol 917 Button
on (press) {
nextFrame();
}
Symbol 928 Button
on (press) {
prevFrame();
}
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
stop();
Symbol 960 MovieClip Frame 3
stop();
Symbol 960 MovieClip Frame 4
stop();
Symbol 960 MovieClip Frame 5
stop();
Symbol 960 MovieClip Frame 6
stop();
Symbol 960 MovieClip Frame 7
stop();
Symbol 960 MovieClip Frame 8
stop();
Symbol 961 MovieClip Frame 1
_root.useItemSupes = false;
_root.useItemStick = false;
_root.useItemDest = false;
_root.useItemEvil = false;
stop();
Instance of Symbol 852 MovieClip in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 854 MovieClip in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutscene > 4.7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 851 MovieClip "bF1" in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
if (((_root.battleFirst != 4) && (_root.battleFirst != 3)) && (_root.battleFirst != 2)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root.battleFirst = 1;
_parent.bF2.gotoAndStop(1);
_parent.bF3.gotoAndStop(1);
_parent.bF4.gotoAndStop(1);
this.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip "bF2" in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
if (_root.battleFirst == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root.battleFirst = 2;
_parent.bF1.gotoAndStop(1);
_parent.bF3.gotoAndStop(1);
_parent.bF4.gotoAndStop(1);
this.gotoAndStop(2);
}
Instance of Symbol 867 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
if (_root.useItemSupes == true) {
gotoAndStop (1);
} else if (_root.useItemStick == true) {
gotoAndStop (2);
} else if (_root.useItemDest == true) {
gotoAndStop (3);
} else if (_root.useItemEvil == true) {
gotoAndStop (4);
} else {
this._visible = false;
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 0;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 1;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 2;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 3;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 4;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 5;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 6;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
indexNum = 7;
this.itemArrah = _root.itemArray[indexNum];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[8];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[9];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[10];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[11];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[12];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[13];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[14];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[15];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[16];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[17];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[18];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 2
onClipEvent (load) {
this.itemArrah = _root.itemArray[19];
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
Instance of Symbol 907 MovieClip "itemInfo" in Symbol 961 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 893 MovieClip in Symbol 961 MovieClip Frame 3
onClipEvent (load) {
this.itemArrah = _root.tempArray;
nameo = itemArrah[0];
quantity = itemArrah[1];
if (this.itemArrah != null) {
this.gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (enterFrame) {
this.itemArrah = _root.tempArray;
nameo = _root.tempArray[0];
quantity = _root.tempArray[1];
}
Instance of Symbol 960 MovieClip "comico" in Symbol 961 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
Symbol 961 MovieClip Frame 4
if (this.backToItem == true) {
this.backToItem = false;
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
Symbol 962 Button
on (press) {
_parent.nameys.gotoAndStop(4);
_parent.equipy.gotoAndStop(1);
_parent.diff.gotoAndStop(1);
_parent.iteems.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "savey";
gotoAndStop (2);
}
Symbol 970 Button
on (press) {
_root.timeo = _root.displayTime(getTimer() + _root.timeVar);
_root.extraTime = getTimer();
_root.saveIt(num);
saveArray = _root.loadIt(num);
this.gotoAndPlay(3);
}
Symbol 974 MovieClip Frame 1
lev = "Lvl: " + saveArray[13];
lev2 = "Lvl: " + saveArray[28];
stop();
Instance of Symbol 98 MovieClip in Symbol 974 MovieClip Frame 1
onClipEvent (load) {
lev = "Lvl: " + _parent.saveArray[13];
lev2 = "Lvl: " + _parent.saveArray[28];
}
Instance of Symbol 98 MovieClip in Symbol 974 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
lev = "Lvl: " + _parent.saveArray[13];
lev2 = "Lvl: " + _parent.saveArray[28];
}
Instance of Symbol 98 MovieClip in Symbol 974 MovieClip Frame 1
onClipEvent (load) {
if (_parent.saveArray[81] >= 2.5) {
this.gotoAndStop(3);
lev3 = "Lvl: " + _parent.saveArray[58];
} else {
this._visible = false;
}
}
Instance of Symbol 98 MovieClip in Symbol 974 MovieClip Frame 1
onClipEvent (load) {
if (_parent.saveArray[81] > 4.7) {
this.gotoAndStop(4);
lev4 = "Lvl: " + _parent.saveArray[91];
} else {
this._visible = false;
}
}
Symbol 974 MovieClip Frame 3
saveArray = getCookie("database" + num, "item");
saved = "Saved in: " + saveArray.Place;
gameTime = "Game Time: " + saveArray[42];
saveSlot = "Save Slot " + num;
gotoAndStop (1);
Symbol 975 MovieClip Frame 1
stop();
Instance of Symbol 974 MovieClip in Symbol 975 MovieClip Frame 2
onClipEvent (load) {
num = 1;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 974 MovieClip in Symbol 975 MovieClip Frame 2
onClipEvent (load) {
num = 2;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 974 MovieClip in Symbol 975 MovieClip Frame 2
onClipEvent (load) {
num = 3;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 974 MovieClip in Symbol 975 MovieClip Frame 2
onClipEvent (load) {
num = 4;
saveSlot = "Save Slot " + num;
saveArray = getCookie("database" + num, "item");
gameTime = "Game Time: " + saveArray[42];
saved = "Saved in: " + saveArray.Place;
if (saveArray["Saved?"] != true) {
this.gotoAndStop(2);
}
}
Symbol 976 Button
on (press) {
_parent.nameys.gotoAndStop(5);
_parent.equipy.gotoAndStop(1);
_parent.iteems.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "diff";
if (_root.cutscene == 8.1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Symbol 979 Button
on (press) {
_root.pLevel = _root.pLevel + 1;
}
Symbol 981 Button
on (press) {
if (_root.pLevel > _root.defaultPLevel) {
_root.pLevel = _root.pLevel - 1;
}
}
Symbol 983 Button
on (press) {
_root.pLevel = _root.defaultPLevel;
}
Symbol 996 Button
on (press) {
if (maxenemos < 21) {
maxenemos = maxenemos + 1;
_root.sideQuests[1] = _root.sideQuests[1] + 1;
}
}
Symbol 997 Button
on (press) {
if (maxenemos > 2) {
maxenemos = maxenemos - 1;
_root.sideQuests[1] = _root.sideQuests[1] - 1;
}
}
Symbol 1003 MovieClip Frame 1
stop();
Symbol 1003 MovieClip Frame 3
maxenemos = _root.sideQuests[1];
Symbol 1004 Button
on (press) {
_root.menyy = false;
_root.equipToSupes = false;
_root.equipToStick = false;
_root.equipToDest = false;
gotoAndStop (1);
}
Symbol 1005 Button
on (press) {
_parent.nameys.gotoAndStop(6);
_parent.equipy.gotoAndStop(1);
_parent.diff.gotoAndStop(1);
_parent.iteems.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "helpy";
if (_root.cutscene == 8.1) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Symbol 1026 MovieClip Frame 1
stop();
Symbol 1026 MovieClip Frame 2
if (_root.cutscene == 2) {
task = "Visit the factory. Visit the most West town.";
} else if (_root.cutscene == 3) {
task = "Find three pieces of wood (located around the world map and in the towns). Return to the factory.";
} else if (_root.cutscene == 4) {
task = "Inspect the factory.";
} else if (_root.cutscene == 4.5) {
task = "Find and defeat the Evil Doctor Stick.";
} else if (_root.cutscene == 5) {
task = "Check out the tunnels at the bottom of the towns. Entrances are located in either town as trap doors.";
} else if (_root.cutscene == 5.5) {
task = "Seek guidence from the priest at the stick church located in the North West.";
} else if (_root.cutscene == 6) {
task = "Win 5 battles, then return to the priest";
} else if (_root.cutscene == 6.5) {
task = "Go talk to the priest.";
} else if ((_root.cutscene == 7) || (_root.cutscene == 7.5)) {
task = "Find Doomsday in tunnels at the bottom of the towns.";
} else if (_root.cutscene == 8) {
task = "Venture to the caves in the south east to stop Doomsday.";
} else if (_root.cutscene == 8.5) {
task = "Defeat Doomsday and save the world.";
}
Symbol 1026 MovieClip Frame 3
task = "Explore the passwords and the max enemy control (in the difficulty settings).";
Symbol 1027 Button
on (press) {
_root.equipToSupes = true;
_parent.nameys.gotoAndStop(3);
_parent.diff.gotoAndStop(1);
_parent.iteems.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "equipy";
gotoAndStop (2);
}
Symbol 1029 Button
on (press) {
_root.equipToStick = true;
_parent.nameys.gotoAndStop(3);
_parent.diff.gotoAndStop(1);
_parent.iteems.gotoAndStop(1);
_parent.savey.gotoAndStop(1);
_parent.helpy.gotoAndStop(1);
_parent[_parent.topLayer].swapDepths(this);
_parent.topLayer = "equipy";
gotoAndStop (2);
}
Symbol 1030 Button
on (press) {
_root.equipToDest = true;
_parent._parent.nameys.gotoAndStop(3);
_parent._parent.diff.gotoAndStop(1);
_parent._parent.iteems.gotoAndStop(1);
_parent._parent.savey.gotoAndStop(1);
_parent._parent.helpy.gotoAndStop(1);
_parent._parent[_parent.topLayer].swapDepths(this);
_parent._parent.topLayer = "equipy";
_parent.gotoAndStop(2);
}
Symbol 1042 MovieClip Frame 1
stop();
Symbol 1053 MovieClip Frame 1
if (_parent._parent._parent.typeOfEquipment == "Armor") {
stop();
} else if (_parent._parent._parent.typeOfEquipment == "Fists") {
this.gotoAndStop(2);
} else if (_parent._parent._parent.typeOfEquipment == "Sword") {
this.gotoAndStop(4);
} else if (_parent._parent._parent.typeOfEquipment == "Gun") {
this.gotoAndStop(5);
} else {
this.gotoAndStop(3);
}
Symbol 1054 Button
on (press) {
gotoAndStop (2);
}
Symbol 1063 Button
on (press) {
gotoAndStop (2);
}
Symbol 1068 Button
on (press) {
if (_parent._parent.equipStats["Equiped?"] != true) {
_root.money = _root.money + amount;
_root.equipSpots[_parent._parent.indexOfEquipStats] = null;
_root.equipSpots = _root.shiftArray(_root.equipSpots);
_parent._parent._parent.gotoAndStop(8);
} else {
gotoAndStop (3);
}
}
Symbol 1069 Button
on (press) {
gotoAndStop (1);
}
Symbol 1073 Button
on (press) {
if (((((_root.tempArray[0] == "life rune") || (_root.tempArray[0] == "str rune")) || (_root.tempArray[0] == "leech rune")) || (_root.tempArray[0] == "defense rune")) || (_root.tempArray[0] == "skills rune")) {
_parent._parent.equipStats.numSkills = _parent._parent.equipStats.numSkills + 1;
skillAdd = new Array();
if (_root.tempArray[0] == "str rune") {
skillAdd[0] = random(11) + 5;
skillAdd[1] = "Strength";
} else if (_root.tempArray[0] == "leech rune") {
rando = random(2) + 1;
skillAdd[0] = random(10) + 5;
if (rando == 1) {
skillAdd[1] = "AP Leech";
} else {
skillAdd[1] = "HP Leech";
}
} else if (_root.tempArray[0] == "defense rune") {
skillAdd[0] = random(21) + 5;
skillAdd[1] = "Defense";
} else if (_root.tempArray[0] == "skills rune") {
skillAdd[0] = random(21) + 5;
skillAdd[1] = "Skills";
} else {
skillAdd[0] = random(50) + 20;
skillAdd[1] = "HP";
}
_parent._parent.equipStats["skill" + _parent._parent.equipStats.numSkills] = skillAdd;
_parent["skill" + _parent._parent.equipStats.numSkills] = (("+ " + skillAdd[0]) + " ") + skillAdd[1];
_root.equipSpots[_parent._parent.indexOfEquipStats] = _parent._parent.equipStats;
_root.tempArray[1] = _root.tempArray[1] - 1;
_parent._parent._parent._parent.iteems.gotoAndStop(1);
_parent._parent._parent.useRune = false;
if (_root.tempArray[1] == 0) {
_root.itemArray[_root.tempArray[2]] = null;
_root.itemArray = _root.shiftArray(_root.itemArray);
}
_parent._parent._parent.gotoAndStop(8);
}
}
Symbol 1075 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 2
amount = ((_root.calculateSellValue(_parent.stats) + _root.calculateSellValue(_parent.stats2)) + _root.calculateSellValue(_parent.stats3)) + _root.calculateSellValue(_parent.stats4);
if (_root.stick6.hitTest(_root.pawnIt)) {
amount = amount * 2;
}
Symbol 1076 Button
on (press) {
if (((_parent.typeOfEquipment == "Armor") && (_parent.equipStats["Equiped?"] != true)) && (((((_root.supesArmorLook == null) && (_root.supesArmorEquiped == "No Armor Equiped")) && (_root.equipToSupes == true)) || (((_root.stickArmorLook == null) && (_root.stickArmorEquiped == "No Armor Equiped")) && (_root.equipToStick == true))) || (((_root.destArmorLook == null) && (_root.destArmorEquiped == "No Armor Equiped")) && (_root.equipToDest == true)))) {
guy = null;
if (_root.equipToStick == true) {
guy = 2;
}
if (_root.equipToDest == true) {
guy = 3;
}
_root.addToCorrectStat(_parent.equipStats.skill1, guy);
_root.addToCorrectStat(_parent.equipStats.skill2, guy);
_root.addToCorrectStat(_parent.equipStats.skill3, guy);
_root.addToCorrectStat(_parent.equipStats.skill4, guy);
_parent.equipStats.EquipedTo = 1;
_parent.equipStats["Equiped?"] = true;
if (guy == 3) {
_root.destArmorLook = _parent.lookType;
_parent.equipStats.EquipedTo = "dest";
} else if (guy == 2) {
_root.stickArmorLook = _parent.lookType;
_parent.equipStats.EquipedTo = "stick";
} else {
_root.supesArmorLook = _parent.lookType;
_parent.equipStats.EquipedTo = "supes";
}
_parent.equip._visible = true;
_root.equipSpots[_parent.indexOfEquipStats] = _parent.equipStats;
if (guy == 3) {
_root.destArmorEquiped = nameo;
_parent.equip.gotoAndStop(3);
_parent._parent._parent.charStat3.gotoAndPlay("reload");
} else if (guy == 2) {
_root.stickArmorEquiped = nameo;
_parent.equip.gotoAndStop(2);
_parent._parent._parent.charStat2.gotoAndPlay("reload");
} else {
_root.supesArmorEquiped = nameo;
_parent.equip.gotoAndStop(1);
_root.updateSupesLooks();
_parent._parent._parent.charStat1.gotoAndPlay("reload");
}
_root.equipSpots = _root.sortByEquiped(_root.equipSpots);
_parent._parent.gotoAndStop(8);
} else if ((((_parent.typeOfEquipment == "Fists") && (_root.equipToSupes == true)) && (_parent.equipStats[_parent.equipStats.length - 1] != "Equiped")) && (_root.supesWeaponLook == null)) {
_root.addToCorrectStat(_parent.equipStats.skill1, null);
_root.addToCorrectStat(_parent.equipStats.skill2, null);
_root.addToCorrectStat(_parent.equipStats.skill3, null);
_root.addToCorrectStat(_parent.equipStats.skill4, null);
_parent.equipStats.EquipedTo = "supes";
_parent.equipStats["Equiped?"] = true;
_root.supesWeaponLook = _parent.lookType;
_parent.equip._visible = true;
_root.supesWeaponEquiped = nameo;
_root.equipSpots[_parent.indexOfEquipStats] = _parent.equipStats;
_root.updateSupesLooks();
_root.equipSpots = _root.sortByEquiped(_root.equipSpots);
_parent._parent._parent.charStat1.gotoAndPlay("reload");
_parent._parent.gotoAndStop(8);
} else if ((((_parent.typeOfEquipment == "Sword") && (_root.equipToStick == true)) && (_parent.equipStats[_parent.equipStats.length - 1] != "Equiped")) && (_root.stickWeaponLook == null)) {
_root.addToCorrectStat(_parent.equipStats.skill1, 2);
_root.addToCorrectStat(_parent.equipStats.skill2, 2);
_root.addToCorrectStat(_parent.equipStats.skill3, 2);
_root.addToCorrectStat(_parent.equipStats.skill4, 2);
_parent.equipStats.EquipedTo = "stick";
_parent.equipStats["Equiped?"] = true;
_root.stickWeaponLook = _parent.lookType;
_parent.equip._visible = true;
_root.stickWeaponEquiped = nameo;
_root.equipSpots[_parent.indexOfEquipStats] = _parent.equipStats;
_root.equipSpots = _root.sortByEquiped(_root.equipSpots);
_parent._parent._parent.charStat2.gotoAndPlay("reload");
_parent._parent.gotoAndStop(8);
} else if ((((_parent.typeOfEquipment == "Gun") && (_root.equipToDest == true)) && (_parent.equipStats[_parent.equipStats.length - 1] != "Equiped")) && (_root.destWeaponLook == null)) {
_root.addToCorrectStat(_parent.equipStats.skill1, 3);
_root.addToCorrectStat(_parent.equipStats.skill2, 3);
_root.addToCorrectStat(_parent.equipStats.skill3, 3);
_root.addToCorrectStat(_parent.equipStats.skill4, 3);
_parent.equipStats.EquipedTo = "dest";
_parent.equipStats["Equiped?"] = true;
_root.destWeaponLook = _parent.lookType;
_parent.equip._visible = true;
_root.destWeaponEquiped = nameo;
_root.equipSpots[_parent.indexOfEquipStats] = _parent.equipStats;
_root.equipSpots = _root.sortByEquiped(_root.equipSpots);
_parent._parent._parent.charStat3.gotoAndPlay("reload");
_parent._parent.gotoAndStop(8);
} else if (((_parent.typeOfEquipment == "Sunglasses") && (_parent.equipStats[_parent.equipStats.length - 1] != "Equiped")) && (((((_root.supesGlassesLook == null) && (_root.supesGlassesEquiped == "No Sunglasses Equiped")) && (_root.equipToSupes == true)) || (((_root.stickGlassesLook == null) && (_root.stickGlassesEquiped == "No Sunglasses Equiped")) && (_root.equipToStick == true))) || (((_root.destGlassesLook == null) && (_root.destGlassesEquiped == "No Sunglasses Equiped")) && (_root.equipToDest == true)))) {
guy = null;
if (_root.equipToDest == true) {
guy = 3;
} else if (_root.equipToStick == true) {
guy = 2;
}
_root.addToCorrectStat(_parent.equipStats.skill1, guy);
_root.addToCorrectStat(_parent.equipStats.skill2, guy);
_parent.equipStats["Equiped?"] = true;
if (guy == 3) {
_root.destGlassesLook = _parent.lookType;
_parent.equipStats.EquipedTo = "dest";
_root.destGlassesEquiped = nameo;
_parent._parent._parent.charStat3.gotoAndPlay("reload");
} else if (guy == 2) {
_root.stickGlassesLook = _parent.lookType;
_parent.equipStats.EquipedTo = "stick";
_root.stickGlassesEquiped = nameo;
_parent._parent._parent.charStat2.gotoAndPlay("reload");
} else {
_root.supesGlassesLook = _parent.lookType;
_parent.equipStats.EquipedTo = "supes";
_root.supesGlassesEquiped = nameo;
_root.updateSupesLooks();
_parent._parent._parent.charStat1.gotoAndPlay("reload");
}
_parent.equip._visible = true;
_root.equipSpots[_parent.indexOfEquipStats] = _parent.equipStats;
_root.equipSpots = _root.sortByEquiped(_root.equipSpots);
_parent._parent.gotoAndStop(8);
}
}
Symbol 1077 Button
on (press) {
if ((_parent.equipStats["Equiped?"] == true) && ((((_parent.equipStats.EquipedTo == "stick") && (_root.equipToStick == true)) || ((_parent.equipStats.EquipedTo == "supes") && (_root.equipToSupes == true))) || ((_parent.equipStats.EquipedTo == "dest") && (_root.equipToDest == true)))) {
_parent.equipStats["Equiped?"] = false;
_parent.equip._visible = false;
guy = null;
if (_root.equipToDest == true) {
guy = 3;
}
if (_root.equipToStick == true) {
guy = 2;
}
if (_parent.typeOfEquipment == "Armor") {
if ((_parent.equipStats.EquipedTo == "dest") && (_root.equipToDest == true)) {
_root.destArmorLook = null;
_root.destArmorEquiped = "No Armor Equiped";
} else if ((_parent.equipStats.EquipedTo == "stick") && (_root.equipToStick == true)) {
_root.stickArmorLook = null;
_root.stickArmorEquiped = "No Armor Equiped";
} else if (_root.equipToSupes == true) {
_root.supesArmorLook = null;
_root.supesArmorEquiped = "No Armor Equiped";
}
} else if ((_parent.typeOfEquipment == "Fists") && (_root.equipToSupes == true)) {
_root.supesWeaponLook = null;
_root.supesWeaponEquiped = "No Weapon Equiped";
} else if ((_parent.typeOfEquipment == "Sword") && (_root.equipToStick == true)) {
_root.stickWeaponLook = null;
_root.stickWeaponEquiped = "No Weapon Equiped";
} else if ((_parent.typeOfEquipment == "Gun") && (_root.equipToDest == true)) {
_root.destWeaponLook = null;
_root.destWeaponEquiped = "No Weapon Equiped";
} else if (_parent.typeOfEquipment == "Sunglasses") {
if ((_parent.equipStats.EquipedTo == "dest") && (_root.equipToDest == true)) {
_root.destGlassesLook = null;
_root.destGlassesEquiped = "No Sunglasses Equiped";
} else if ((_parent.equipStats.EquipedTo == "stick") && (_root.equipToStick == true)) {
_root.stickGlassesLook = null;
_root.stickGlassesEquiped = "No Sunglasses Equiped";
} else if (_root.equipToSupes == true) {
_root.supesGlassesLook = null;
_root.supesGlassesEquiped = "No Sunglasses Equiped";
}
}
_root.subtractToCorrectStat(_parent.equipStats.skill1, guy);
_root.subtractToCorrectStat(_parent.equipStats.skill2, guy);
_root.subtractToCorrectStat(_parent.equipStats.skill3, guy);
_root.subtractToCorrectStat(_parent.equipStats.skill4, guy);
_root.updateSupesLooks();
if ((guy == 2) || (guy == 3)) {
_parent._parent._parent["charStat" + guy].gotoAndPlay("reload");
} else {
_parent._parent._parent.charStat1.gotoAndPlay("reload");
}
}
}
Symbol 1079 Button
on (press) {
if (_parent.equipStats["Equiped?"] != true) {
_root.equipSpots[_parent.indexOfEquipStats] = null;
_root.equipSpots = _root.shiftArray(_root.equipSpots);
_parent._parent.gotoAndStop(8);
}
}
Symbol 1081 MovieClip Frame 1
numOfSkills = 1;
nameo = _parent.equipStats[2];
stats = new Array();
stats = _parent.equipStats.skill1;
skill1 = (("+ " + stats[0]) + " ") + stats[1];
if (_parent.equipStats.numSkills >= 2) {
stats2 = new Array();
stats2 = _parent.equipStats.skill2;
skill2 = (("+ " + stats2[0]) + " ") + stats2[1];
numOfSkills = numOfSkills + 1;
}
if (_parent.equipStats.numSkills >= 3) {
stats3 = new Array();
stats3 = _parent.equipStats.skill3;
skill3 = (("+ " + stats3[0]) + " ") + stats3[1];
numOfSkills = numOfSkills + 1;
}
if (_parent.equipStats.numSkills == 4) {
stats4 = new Array();
stats4 = _parent.equipStats.skill4;
skill4 = (("+ " + stats4[0]) + " ") + stats4[1];
numOfSkills = numOfSkills + 1;
}
gotoAndStop (2);
Symbol 1081 MovieClip Frame 2
stop();
Instance of Symbol 1075 MovieClip in Symbol 1081 MovieClip Frame 2
onClipEvent (load) {
if (((_parent._parent.equipStats.numSkills < 4) && (_parent._parent._parent.useRune == true)) && (_parent._parent.equipStats["Equiped?"] != true)) {
this._visible = true;
this.gotoAndStop("runes");
} else if ((_root.stick5.hitTest(_root.buyItems) || (_root.stick16.hitTest(_root.buyEquipment))) || (_root.stick6.hitTest(_root.pawnIt))) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1082 MovieClip Frame 1
slotNum = "Equipment Slot: " + (this.indexOfEquipStats + 1);
stop();
Instance of Symbol 1042 MovieClip "equip" in Symbol 1082 MovieClip Frame 1
onClipEvent (load) {
if (_parent.equipStats["Equiped?"] != true) {
this._visible = false;
}
if (_parent.equipStats.EquipedTo == "dest") {
this.gotoAndStop(3);
}
if (_parent.equipStats.EquipedTo == "stick") {
this.gotoAndStop(2);
}
if (_parent.equipStats.EquipedTo == "supes") {
this.gotoAndStop(1);
}
}
Symbol 1082 MovieClip Frame 2
stop();
Symbol 1083 Button
on (press) {
gotoAndStop (3);
}
Symbol 1085 Button
on (press) {
if (this.useRune == true) {
this.useRune = false;
this.swapDepths(_parent.iteems);
}
_root.equipToSupes = false;
_root.equipToStick = false;
_root.equipToDest = false;
_parent.nameys.gotoAndStop(1);
this.gotoAndStop(1);
}
Symbol 1087 Button
on (press) {
_root.equipSpots = _root.sortBy(_root.equipSpots, "A");
_parent.gotoAndStop(8);
}
Symbol 1089 Button
on (press) {
_root.equipSpots = _root.sortBy(_root.equipSpots, "F");
_parent.gotoAndStop(8);
}
Symbol 1091 Button
on (press) {
_root.equipSpots = _root.sortBy(_root.equipSpots, "S");
_parent.gotoAndStop(8);
}
Symbol 1094 MovieClip Frame 1
stop();
Symbol 1111 MovieClip Frame 1
armEquip = "Armor: " + _root.supesArmorEquiped;
wepEquip = "Weapon: " + _root.supesWeaponEquiped;
glassesEquip = "Sunglasses: " + _root.supesGlassesEquiped;
stop();
Symbol 1112 Button
on (press) {
gotoAndStop (4);
}
Symbol 1114 Button
on (press) {
gotoAndStop (5);
}
Symbol 1115 Button
on (press) {
gotoAndStop (6);
}
Symbol 1116 Button
on (press) {
gotoAndStop (7);
}
Symbol 1117 MovieClip Frame 1
useRune = false;
_root.equipToDest = false;
_root.equipToStick = false;
_root.equipToSupes = false;
stop();
Instance of Symbol 1031 MovieClip in Symbol 1117 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1117 MovieClip Frame 2
_root.equipmentPage = 2;
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 2
onClipEvent (load) {
this.indexOfEquipStats = 0;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 2
onClipEvent (load) {
this.indexOfEquipStats = 1;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 2
onClipEvent (load) {
this.indexOfEquipStats = 2;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 2
onClipEvent (load) {
this.indexOfEquipStats = 3;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1111 MovieClip in Symbol 1117 MovieClip Frame 2
onClipEvent (load) {
if (_root.equipToDest == true) {
this.gotoAndStop(3);
} else if (_root.equipToStick == true) {
this.gotoAndStop(2);
}
}
Symbol 1117 MovieClip Frame 3
_root.equipmentPage = 3;
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 3
onClipEvent (load) {
this.indexOfEquipStats = 4;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 3
onClipEvent (load) {
this.indexOfEquipStats = 5;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 3
onClipEvent (load) {
this.indexOfEquipStats = 6;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 3
onClipEvent (load) {
this.indexOfEquipStats = 7;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Symbol 1117 MovieClip Frame 4
_root.equipmentPage = 4;
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 4
onClipEvent (load) {
this.indexOfEquipStats = 8;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 4
onClipEvent (load) {
this.indexOfEquipStats = 9;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 4
onClipEvent (load) {
this.indexOfEquipStats = 10;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 4
onClipEvent (load) {
this.indexOfEquipStats = 11;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Symbol 1117 MovieClip Frame 5
_root.equipmentPage = 5;
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 5
onClipEvent (load) {
this.indexOfEquipStats = 12;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 5
onClipEvent (load) {
this.indexOfEquipStats = 13;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 5
onClipEvent (load) {
this.indexOfEquipStats = 14;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 5
onClipEvent (load) {
this.indexOfEquipStats = 15;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Symbol 1117 MovieClip Frame 6
_root.equipmentPage = 6;
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
this.indexOfEquipStats = 16;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
this.indexOfEquipStats = 17;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
this.indexOfEquipStats = 18;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 6
onClipEvent (load) {
this.indexOfEquipStats = 19;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Symbol 1117 MovieClip Frame 7
_root.equipmentPage = 7;
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 7
onClipEvent (load) {
this.indexOfEquipStats = 20;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 7
onClipEvent (load) {
this.indexOfEquipStats = 21;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 7
onClipEvent (load) {
this.indexOfEquipStats = 22;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Instance of Symbol 1082 MovieClip in Symbol 1117 MovieClip Frame 7
onClipEvent (load) {
this.indexOfEquipStats = 23;
this.equipStats = _root.equipSpots[this.indexOfEquipStats];
if (this.equipStats.length > 0) {
this.typeOfEquipment = this.equipStats[0];
this.lookType = this.equipStats[1];
this.gotoAndStop(2);
}
}
Symbol 1117 MovieClip Frame 8
gotoAndStop(_root.equipmentPage);
Symbol 1136 MovieClip Frame 1
stop();
Symbol 1137 MovieClip Frame 1
_root.useItemSupes = false;
_root.useItemStick = false;
_root.useItemDest = false;
_root.useItemEvil = false;
_root.menyy = false;
_root.equipToSupes = false;
_root.equipToStick = false;
_root.equipToDest = false;
stop();
Symbol 1137 MovieClip Frame 2
topLayer = "equipy";
stop();
Instance of Symbol 742 MovieClip in Symbol 1137 MovieClip Frame 2
onClipEvent (enterFrame) {
time = "Game Time: " + _root.displayTime(getTimer() + _root.timeVar);
}
Instance of Symbol 750 MovieClip in Symbol 1137 MovieClip Frame 2
onClipEvent (load) {
if (_root.musicOff == true) {
gotoAndStop (2);
}
}
Instance of Symbol 833 MovieClip "charStat1" in Symbol 1137 MovieClip Frame 2
onClipEvent (load) {
char = 1;
}
Instance of Symbol 833 MovieClip "charStat2" in Symbol 1137 MovieClip Frame 2
onClipEvent (load) {
char = 2;
this.gotoAndStop(2);
}
Instance of Symbol 833 MovieClip "charStat3" in Symbol 1137 MovieClip Frame 2
onClipEvent (load) {
if (_root.cutscene >= 2.5) {
char = 3;
this.gotoAndStop(3);
} else {
this._visible = false;
}
}
Instance of Symbol 833 MovieClip "charStat4" in Symbol 1137 MovieClip Frame 2
onClipEvent (load) {
if (_root.cutscene > 4.7) {
char = 4;
this.gotoAndStop(4);
} else {
this._visible = false;
}
}
Instance of Symbol 1136 MovieClip in Symbol 1137 MovieClip Frame 2
onClipEvent (load) {
if (_root.inGameInstr[2] != true) {
this._visible = false;
} else {
this.gotoAndStop(3);
this._alpha = 0;
thisY = this._y;
this._y = this._y - 40;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (this._y != thisY)) {
this._y = this._y + 1;
this._alpha = this._alpha + 2;
}
}
on (press) {
_root.inGameInstr[2] = false;
this._visible = false;
}
Symbol 1138 Button
on (keyPress "<Space>") {
if (menyy == true) {
menyy = false;
_root.updateSupesLooks();
_root.equipToSupes = false;
_root.equipToStick = false;
_root.equipToDest = false;
_root.stats.gotoAndStop(1);
} else {
menyy = true;
_root.updateSupesLooks();
_root.stats.gotoAndStop(2);
}
}
Symbol 1153 MovieClip Frame 1
stop();
Symbol 1153 MovieClip Frame 9
stop();
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1176 MovieClip Frame 14
stop();
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 6
doorOpen = true;
Symbol 1184 Button
on (keyPress "a") {
if (_root.stick2.hitTest(_root.dooro)) {
_root.dooro.gotoAndPlay(2);
} else if (_root.stick2.hitTest(_root.tube) && (_root.tube.alreadyOn != 1)) {
_root.tube.gotoAndPlay(2);
_root.tube.alreadyOn = 1;
} else if (_root.stick2.hitTest(_root.lamp) && (_root.lamp.alreadyOn2 != 1)) {
_root.lamp.gotoAndPlay(2);
_root.lamp.alreadyOn2 = 1;
}
}
Symbol 1191 MovieClip Frame 1
stop();
Symbol 1191 MovieClip Frame 6
doorOpen = true;
Symbol 1205 Button
on (keyPress "a") {
if (_root.stick3.hitTest(_root.guy1) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Hi SuperStick! How are you doing?!?!";
break;
case 2 :
_root.menah.texto = " I'm just doing my excercises!";
break;
case 3 :
_root.menah.texto = " Excercising is healthy! Battling is cool too, but I'm no worrier...like you..";
break;
case 4 :
_root.menah.texto = " Where's the Spam at?";
break;
case 5 :
_root.menah.texto = " I keep meaning to finish that brick wall...";
}
_root.guy1.talky = true;
_root.menah.heado.gotoAndStop(1);
_root.menah.nameo = "Mel";
} else if (_root.stick3.hitTest(_root.door2) && (alreadyTalkin != true)) {
_root.door2.gotoAndPlay(2);
}
}
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1254 MovieClip Frame 6
doorOpen = true;
Symbol 1256 Button
on (keyPress "a") {
if (_root.stick4.hitTest(_root.guy2) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Check out Bill's Items. There are great items there!";
break;
case 2 :
_root.menah.texto = " The fountain behind me is weird...";
break;
case 3 :
_root.menah.texto = " Bill's Items has great items at affordable prices!";
break;
case 4 :
_root.menah.texto = " Heal frequently! Enemies will damage you a lot!";
break;
case 5 :
_root.menah.texto = " Be careful outside of town. There are monsters everywhere!";
}
_root.guy2.talky = true;
_root.menah.heado.gotoAndStop(2);
_root.menah.nameo = "Promoter";
} else if (_root.stick4.hitTest(_root.door3)) {
_root.door3.gotoAndPlay(2);
}
}
Symbol 1269 Button
on (keyPress "a") {
if (_root.stick5.hitTest(_root.buyItems) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = " What would you like to buy?";
_root.menah.sellItems = true;
_root.storeClerk.talky = true;
_root.menah.heado.gotoAndStop(3);
_root.menah.nameo = "Clerk";
} else if (_root.stick5.hitTest(_root.chest1)) {
if (_root.chests[1] != true) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[1] = true;
_root.chest1.gotoAndStop(2);
}
} else if (_root.stick5.hitTest(_root.chest2)) {
if (_root.chests[2] != true) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[2] = true;
_root.chest2.gotoAndStop(2);
}
}
}
Symbol 1295 MovieClip Frame 1
stop();
Symbol 1295 MovieClip Frame 15
stop();
Symbol 1296 Button
on (keyPress "a") {
if (_root.stick6.hitTest(_root.guy4) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " I'm drunk!";
break;
case 2 :
_root.menah.texto = " I'm so wasted!!";
break;
case 3 :
_root.menah.texto = " Our doomsday is coming...blahhh!";
break;
case 4 :
_root.menah.texto = " HAHAHAHAHAHA! I'm buzzed!";
break;
case 5 :
_root.menah.texto = " I'm drunk and maybe high!";
}
_root.guy4.talky = true;
_root.menah.heado.gotoAndStop(4);
_root.menah.nameo = "Jake";
} else if (_root.stick6.hitTest(_root.sign) && (_root.sign.broken != true)) {
_root.sign.gotoAndPlay(2);
_root.sign.broken = true;
} else if (_root.stick6.hitTest(_root.door5)) {
_root.door5.gotoAndPlay(2);
}
}
Symbol 1332 MovieClip Frame 1
stop();
Symbol 1332 MovieClip Frame 20
this.mooney = false;
gotoAndStop (1);
Symbol 1336 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1336 MovieClip Frame 35
stop();
Symbol 1337 Button
on (keyPress "a") {
if (_root.stick7.hitTest(_root.guyBar) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " How much do you drink?";
break;
case 2 :
_root.menah.texto = " I drink more then I should";
break;
case 3 :
_root.menah.texto = " This bar is awsome!";
break;
case 4 :
_root.menah.texto = " I'm drinking apple juice";
break;
case 5 :
_root.menah.texto = " I like heros!";
}
_root.guyBar.talky = true;
_root.menah.heado.gotoAndStop(5);
_root.menah.nameo = "Greg";
} else if (_root.stick7.hitTest(_root.vend1) && (_root.vend1.mooney != true)) {
_root.vend1.gotoAndPlay(2);
_root.vend1.mooney = true;
} else if (_root.stick7.hitTest(_root.vend2) && (_root.vend2.mooney != true)) {
_root.vend2.gotoAndPlay(2);
_root.vend2.mooney = true;
} else if (_root.stick7.hitTest(_root.guyBarKeep) && (alreadyTalkin != true)) {
_root.menah.active = true;
_root.guyBarKeep.doIt = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " You're not supposed to be back here";
break;
case 2 :
_root.menah.texto = " Want a drink? Order one!";
break;
case 3 :
_root.menah.texto = " Drink up, bud.";
break;
case 4 :
_root.menah.texto = " I think you've had enough.";
break;
case 5 :
_root.menah.texto = " This is for staff only!";
}
_root.guyBarKeep.talky = true;
_root.menah.heado.gotoAndStop(6);
_root.menah.nameo = "Bar Keep";
} else if (_root.stick7.hitTest(_root.buyThing) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = " Want a drink? It's 10 coins a drink...";
_root.guyBarKeep.talky = true;
_root.menah.needAnswer2 = true;
_root.menah.heado.gotoAndStop(6);
_root.menah.nameo = "Bar Keep";
}
}
Instance of Symbol 1191 MovieClip "door" in Symbol 1344 MovieClip Frame 1
onClipEvent (enterFrame) {
if (doorOpen == true) {
_root.backo = true;
_root.gotoAndStop("hotel");
}
}
Instance of Symbol 576 MovieClip "rightSide" in Symbol 1344 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick8.rightSide)) {
_root.stick8._x = _root.stick8._x - 7.2;
} else if (this.hitTest(_root.stick8.leftSide)) {
_root.stick8._x = _root.stick8._x + 7.2;
} else if (this.hitTest(_root.stick8.upSide)) {
_root.stick8._y = _root.stick8._y + 7.2;
} else if (this.hitTest(_root.stick8.downSide)) {
_root.stick8._y = _root.stick8._y - 7.2;
}
}
Instance of Symbol 576 MovieClip in Symbol 1344 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.stick8.rightSide)) {
_root.stick8._x = _root.stick8._x - 7.2;
} else if (this.hitTest(_root.stick8.leftSide)) {
_root.stick8._x = _root.stick8._x + 7.2;
} else if (this.hitTest(_root.stick8.upSide)) {
_root.stick8._y = _root.stick8._y + 7.2;
} else if (this.hitTest(_root.stick8.downSide)) {
_root.stick8._y = _root.stick8._y - 7.2;
}
}
Symbol 1346 Button
on (keyPress "a") {
if (_root.stick8.hitTest(_root.guy6) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Go to the hotel to heal!";
break;
case 2 :
_root.menah.texto = " I can't believe that Evil Doctor Stick died!";
break;
case 3 :
_root.menah.texto = " The hotel is a cheap way to heal.";
break;
case 4 :
_root.menah.texto = " I like potatoes.";
break;
case 5 :
_root.menah.texto = " SuperStick, I hope you get to the bottom of this mystery!";
}
_root.guy6.talky = true;
_root.menah.heado.gotoAndStop(7);
_root.menah.nameo = "Phong";
} else if (_root.stick8.hitTest(_root.hoto.door)) {
_root.hoto.door.gotoAndPlay(2);
}
}
Symbol 1353 MovieClip Frame 1
stop();
Symbol 1353 MovieClip Frame 43
_root.stick9.giveMoney = false;
_root.menyy = false;
_root.menah.texto = " Hope you enjoyed your night! Everybody in your party was healed (HP and MP were both restored fully). Hope you'll stay with us again!";
_root.char1 = _root.maxhp;
_root.char2 = _root.maxhp2;
_root.char3 = _root.maxhp3;
_root.char4 = _root.maxhp4;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
Symbol 1354 Button
on (keyPress "a") {
if (_root.stick9.hitTest(_root.girl) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " SuperStick, you're my hero!";
break;
case 2 :
_root.menah.texto = " I love you SuperStick!";
break;
case 3 :
_root.menah.texto = " You're sooo brave!";
break;
case 4 :
_root.menah.texto = " You're definantly my hero.";
break;
case 5 :
_root.menah.texto = " I love you...please marry me...";
}
_root.girl.talky = true;
_root.menah.heado.gotoAndStop(9);
_root.menah.nameo = "Emma";
} else if (_root.stick9.hitTest(_root.hatel) && (alreadyTalkin != true)) {
_root.menah.active = true;
_root.hatel.doIt = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Want to stay at this hotel?";
break;
case 2 :
_root.menah.texto = " Staying at this hotel will heal you and your party!";
break;
case 3 :
_root.menah.texto = " It's not too expensive to stay!";
break;
case 4 :
_root.menah.texto = " Please stay at the hotel, sir.";
break;
case 5 :
_root.menah.texto = " Got a special hero's discount for you if you stay!";
}
_root.hatel.talky = true;
_root.menah.heado.gotoAndStop(8);
_root.menah.nameo = "Manager";
} else if (_root.stick9.hitTest(_root.spendo) && (alreadyTalkin != true)) {
_root.menah.active = true;
_root.menah.hotelAsk = true;
alreadyTalkin = true;
_root.menah.texto = " Want to stay at this hotel? Costs 30 coins a night.";
_root.hatel.talky = true;
_root.spendo.doneIt = true;
_root.menah.needAnswer = true;
_root.menah.heado.gotoAndStop(8);
_root.menah.nameo = "Manager";
} else if (_root.stick9.hitTest(_root.chest3)) {
if (_root.chests[3] != true) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[3] = true;
_root.chest3.gotoAndStop(2);
}
} else if (_root.stick9.hitTest(_root.chest4)) {
if (_root.chests[4] != true) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[4] = true;
_root.chest4.gotoAndStop(2);
}
}
}
Instance of Symbol 1362 MovieClip "guy10" in Symbol 1363 MovieClip Frame 1
onClipEvent (load) {
this.heady.gotoAndStop(10);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick10)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Symbol 1364 Button
on (keyPress "a") {
if (_root.stick10.hitTest(_root.thing.guy10) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(5) + 1;
switch (say) {
case 1 :
_root.menah.texto = " We all love you...you have always been a great hero...";
break;
case 2 :
_root.menah.texto = " Hi Hero!";
break;
case 3 :
_root.menah.texto = " Everybody loves you, SuperStick!";
break;
case 4 :
_root.menah.texto = " You PWN everybody else...";
break;
case 5 :
_root.menah.texto = " You are the best stick in the world...a true hero...";
}
_root.thing.guy10.talky = true;
_root.menah.heado.gotoAndStop(10);
_root.menah.nameo = "Milo";
}
}
Symbol 1372 Button
on (keyPress "a") {
if (_root.stick11.hitTest(_root.gamer) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(2) + 1;
switch (say) {
case 1 :
_root.menah.texto = " You can play many games on the computer at your house. You can even win coins!!";
break;
case 2 :
_root.menah.texto = " Check out the computer at your house! You can enter passwords, view profiles, and even play mini-games!!";
}
_root.gamer.talky = true;
_root.menah.heado.gotoAndStop(11);
_root.menah.nameo = "Gamer";
}
}
Instance of Symbol 1380 MovieClip "guy" in Symbol 1381 MovieClip Frame 1
onClipEvent (load) {
this.heady.gotoAndStop(12);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick12)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Symbol 1383 Button
on (keyPress "a") {
if (_root.stick12.hitTest(_root.treeScene.guy) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " I'm making sure that no civilians leave the town, it is very dangerous.";
break;
case 2 :
_root.menah.texto = " You of course can leave town SuperStick!";
break;
case 3 :
_root.menah.texto = " Please be careful...it's very dangerous...";
break;
case 4 :
_root.menah.texto = " Since the Evil Doctor Stick got murdered, monsters have developed everywhere...";
}
_root.treeScene.guy.talky = true;
_root.menah.heado.gotoAndStop(12);
_root.menah.nameo = "Guard";
}
}
Instance of Symbol 1254 MovieClip "door" in Symbol 1388 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.doorOpen == true) {
_root.gotoAndStop("pub");
}
}
Symbol 1393 Button
on (keyPress "a") {
if (_root.stick13.hitTest(_root.guyo1) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Speak up man! I can't hear you!";
break;
case 2 :
_root.menah.texto = " You rock!";
break;
case 3 :
_root.menah.texto = " I love this mp3 player...it's awsomeness!";
break;
case 4 :
_root.menah.texto = " No, this has not ruined my hearing...what?";
}
_root.guyo1.talky = true;
_root.menah.heado.gotoAndStop(13);
_root.menah.nameo = "Mike";
} else if (_root.stick13.hitTest(_root.weaponShop.door)) {
_root.weaponShop.door.play();
}
}
Symbol 1400 MovieClip Frame 1
stop();
Symbol 1400 MovieClip Frame 6
trapOpen = true;
Instance of Symbol 1407 MovieClip "guy" in Symbol 1409 MovieClip Frame 1
onClipEvent (load) {
this.heady.gotoAndStop(14);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick14)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Symbol 1412 Button
on (keyPress "a") {
if (_root.stick14.hitTest(_root.treeGuyo.guy) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Wow! It says here that you're the world's sexiest stick.";
break;
case 2 :
_root.menah.texto = " You should read this mag, it's awsome!";
break;
case 3 :
_root.menah.texto = " I love reading!";
break;
case 4 :
_root.menah.texto = " Doing stuff rocks!";
}
_root.treeGuyo.guy.talky = true;
_root.menah.heado.gotoAndStop(14);
_root.menah.nameo = "Reader";
} else if (_root.stick14.hitTest(_root.trapDoor)) {
_root.trapDoor.play();
}
}
Symbol 1419 Button
on (keyPress "a") {
if (_root.stick15.hitTest(_root.ladder)) {
_root.backTrap = true;
_root.gotoAndStop("area14");
}
}
Symbol 1424 Button
on (keyPress "a") {
if (_root.stick16.hitTest(_root.buyWeapon) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = " What equipment would you like to buy?";
_root.menah.sellEquipment = true;
_root.menah.sellItems = true;
_root.storeClerk.talky = true;
_root.menah.heado.gotoAndStop(15);
_root.menah.nameo = "Clerk";
}
}
Symbol 1428 MovieClip Frame 1
lastFrameNum = 2;
stop();
Symbol 1428 MovieClip Frame 2
stop();
Symbol 1428 MovieClip Frame 3
stop();
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Instance of Symbol 22 MovieClip in Symbol 1428 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((random(40) + 1) == 1) {
play();
}
}
Symbol 1432 Button
on (press) {
_root.computerBack = true;
_root.gotoAndStop("area1");
}
Symbol 1435 Button
on (press) {
gotoAndStop (1);
}
Symbol 1441 Button
on (press) {
_root.computerBack = true;
_root.gotoAndStop("area1");
}
Symbol 1442 MovieClip Frame 1
stop();
Symbol 1445 Button
on (press) {
_parent[windowName]._visible = true;
_parent[windowName].swapDepths(_parent["window" + _root.highestDepth]);
if (_parent["window" + _root.highestDepth].destroy == true) {
_parent["window" + _root.highestDepth].removeMovieClip();
}
_root.highestDepth = _parent[windowName].numOfWindow;
}
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1462 Button
on (press) {
_root.windowOpen = _root.windowOpen + 1;
this.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
this["window" + _root.windowOpen]._x = 84;
this["window" + _root.windowOpen]._y = 47.7;
this["window" + _root.windowOpen].titley = "Descriptions";
this["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
}
Symbol 1507 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 1507 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || ((_parent.openMouth == true) && (_parent.openMouth != false))) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 1507 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_parent._parent.openMouth == true) || (_parent.openMouth)) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 1507 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent._parent.openMouth == true) {
this.play();
}
}
Symbol 1508 Button
on (press) {
this.swapDepths(_parent["window" + _root.highestDepth]);
if (_parent["window" + _root.highestDepth].destroy == true) {
_parent["window" + _root.highestDepth].removeMovieClip();
}
_root.highestDepth = this.numOfWindow;
this.startDrag();
}
on (release) {
this.stopDrag();
}
Symbol 1510 Button
on (press) {
_parent["toolbar" + this.endIt]._visible = false;
if (_root.highestDepth != this.numOfWindow) {
this.removeMovieClip();
}
this.destroy = true;
this._visible = false;
}
Symbol 1512 Button
on (press) {
minimizer = _parent.checkMinimize();
if ((this.minimize != true) && (minimizer != -1)) {
_parent["toolbar" + minimizer]._visible = true;
_parent["toolbar" + minimizer].thing = this.titley;
_parent["toolbar" + minimizer].windowName = "window" + this.numOfWindow;
this.minimize = true;
this.endIt = minimizer;
}
if (((minimizer == -1) && (_root.highestDepth != this.numOfWindow)) && (this.minimize != true)) {
this.removeMovieClip();
}
this._visible = false;
}
Symbol 1514 Button
on (press) {
if (maximize == true) {
this._width = thisWidth;
this._height = thisHeight;
maximize = false;
} else {
maximize = true;
this._width = this._width + 75;
this._height = this._height + 75;
}
}
Symbol 1524 Button
on (press) {
messageo = "";
if (passwordo == "GetSword") {
_root.createEquipment("Sword");
messageo = "You got a sword!";
} else if (passwordo == "GetGun") {
_root.createEquipment("Gun");
messageo = "You got a gun!";
} else if (passwordo == "GetFists") {
_root.createEquipment("Fists");
messageo = "You got fists!";
} else if (passwordo == "GetArmor") {
_root.createEquipment("Armor");
messageo = "You got armor!";
} else if (passwordo == "GetPump") {
_root.updateItemQuantity(1, "pumpkin");
messageo = "You got a pumpkin!";
} else if (passwordo == "MoMoney") {
_root.money = _root.money + 10000;
messageo = "You got 10000 extra coins!";
} else if (passwordo == "NiceItems") {
_root.updateItemQuantity(10, "potion");
_root.updateItemQuantity(10, "xpotion");
_root.updateItemQuantity(10, "elixir");
_root.updateItemQuantity(10, "antidote");
messageo = "You got 10 potions, xpotions, elixirs, and antidotes!!";
} else if (passwordo == "NiceRunes") {
numOfItems = 3;
_root.updateItemQuantity(numOfItems, "life rune");
_root.updateItemQuantity(numOfItems, "str rune");
_root.updateItemQuantity(numOfItems, "leech rune");
_root.updateItemQuantity(numOfItems, "defense rune");
_root.updateItemQuantity(numOfItems, "skills rune");
messageo = "You got 3 of every rune!!";
} else if (passwordo == "Greg") {
messageo = "Greg is awesome";
} else {
messageo = "Not a password!";
}
}
on (keyPress "<Enter>") {
messageo = "";
if (passwordo == "GetSword") {
_root.createEquipment("Sword");
messageo = "You got a sword!";
} else if (passwordo == "GetGun") {
_root.createEquipment("Gun");
messageo = "You got a gun!";
} else if (passwordo == "GetPump") {
_root.updateItemQuantity(1, "pumpkin");
messageo = "You got a pumpkin!";
} else if (passwordo == "GetFists") {
_root.createEquipment("Fists");
messageo = "You got fists!";
} else if (passwordo == "GetArmor") {
_root.createEquipment("Armor");
messageo = "You got armor!";
} else if (passwordo == "MoMoney") {
_root.money = _root.money + 10000;
messageo = "You got 10000 extra coins!";
} else if (passwordo == "NiceItems") {
_root.updateItemQuantity(10, "potion");
_root.updateItemQuantity(10, "xpotion");
_root.updateItemQuantity(10, "elixir");
_root.updateItemQuantity(10, "antidote");
messageo = "You got 10 potions, xpotions, elixirs, and antidotes!!";
} else if (passwordo == "NiceRunes") {
numOfItems = 3;
_root.updateItemQuantity(numOfItems, "life rune");
_root.updateItemQuantity(numOfItems, "str rune");
_root.updateItemQuantity(numOfItems, "leech rune");
_root.updateItemQuantity(numOfItems, "defense rune");
_root.updateItemQuantity(numOfItems, "skills rune");
messageo = "You got 3 of every rune!!";
} else if (passwordo == "Greg") {
messageo = "Greg is awesome";
} else {
messageo = "Not a password!";
}
}
Symbol 1531 Button
on (press) {
gotoAndStop (2);
}
Symbol 1532 Button
on (press) {
gotoAndStop (3);
}
Symbol 1533 Button
on (press) {
gotoAndStop (5);
}
Symbol 1539 Button
on (press) {
if (_root.money >= (bet + 5)) {
bet = bet + 5;
} else {
messy = "Can not bet that much!";
}
}
Symbol 1541 Button
on (press) {
if (_root.money >= (bet + 25)) {
bet = bet + 25;
} else {
messy = "Can not bet that much!";
}
}
Symbol 1543 Button
on (press) {
if (_root.money >= (bet + 50)) {
bet = bet + 50;
} else {
messy = "Can not bet that much!";
}
}
Symbol 1545 Button
on (press) {
if (_root.money >= (bet + 1)) {
bet = bet + 1;
} else {
messy = "Can not bet that much!";
}
}
Symbol 1547 Button
on (press) {
if (_root.money >= (bet + 200)) {
bet = bet + 200;
} else {
messy = "Can not bet that much!";
}
}
Symbol 1549 Button
on (press) {
bet = 0;
}
Symbol 1551 Button
on (press) {
randNum = random(2) + 1;
if (randNum == 1) {
_root.money = _root.money + bet;
messy = "Congrats! You won!";
} else {
_root.money = _root.money - bet;
bet = 0;
messy = "Sorry, you lost!";
}
}
Symbol 1556 Button
on (press) {
if (horse != "none") {
randNum = random(oddsToUse) + 1;
if ((randNum == 2) || (randNum == 20)) {
_root.money = _root.money + (bet * oddsToUse);
messy = "Your horse won!";
} else {
_root.money = _root.money - bet;
bet = 0;
messy = "Sorry, another horse won.";
}
this.odds = randomOdds();
}
}
Symbol 1573 Button
on (press) {
bet = 0;
}
Symbol 1575 Button
on (press) {
if (_parent.betOn != true) {
_parent.horse = this.horse;
_parent.oddsToUse = this.oddNum;
_parent.betOn = true;
this.gotoAndStop(2);
}
}
Symbol 1576 Button
on (press) {
_parent.horse = "none";
_parent.oddsToUse = 0;
_parent.betOn = false;
this.gotoAndStop(1);
}
Symbol 1577 MovieClip Frame 1
stop();
Symbol 1590 MovieClip Frame 1
stop();
Symbol 1597 Button
on (press) {
gotoAndStop (2);
}
Symbol 1601 Button
on (press) {
if (_root.money >= (_parent.bet + 10)) {
_parent.bet = _parent.bet + 10;
}
}
Symbol 1603 Button
on (press) {
if (_root.money >= (_parent.bet + 25)) {
_parent.bet = _parent.bet + 25;
}
}
Symbol 1605 Button
on (press) {
if (_root.money >= (_parent.bet + 50)) {
_parent.bet = _parent.bet + 50;
}
}
Symbol 1606 Button
on (press) {
if (_root.money >= (_parent.bet + 100)) {
_parent.bet = _parent.bet + 100;
}
}
Symbol 1608 Button
on (press) {
if (_root.money >= (_parent.bet + 200)) {
_parent.bet = _parent.bet + 200;
}
}
Symbol 1609 Button
on (press) {
_parent.bet = 0;
}
Symbol 1613 Button
on (press) {
if (_parent.playerStay != true) {
_parent.cardsHit = _parent.cardsHit + 1;
newCardo = _parent.passOutCards(1);
newCardo = newCardo[0];
_parent.yourHand[_parent.yourHand.length] = newCardo;
_parent["card" + _parent.cardsHit].gotoAndStop(1);
_parent["card" + _parent.cardsHit].num = newCardo[0];
_parent["card" + _parent.cardsHit].typeo = newCardo[1];
numHand1 = _parent.evaluateHand(_parent.yourHand);
if (numHand1 > 21) {
_parent.totalYou = "BUST";
_parent.losses = _parent.losses + 1;
_root.windowOpen = _root.windowOpen + 1;
_parent._parent._parent.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
_parent._parent._parent["window" + _root.windowOpen]._x = this._x + 130;
_parent._parent._parent["window" + _root.windowOpen]._y = this._y + 130;
_parent._parent._parent["window" + _root.windowOpen].titley = "Message";
_parent._parent._parent["window" + _root.windowOpen].gotoAndStop(5);
_parent._parent._parent["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
_parent._parent._parent["window" + _root.windowOpen].messo = "Dealer Wins!";
_parent.messo = "Dealer Wins!";
_root.money = _root.money - _parent.bet;
_parent.bet = 0;
_parent.playerStay = true;
gotoAndStop (3);
} else {
_parent.totalYou = "Total: " + numHand1;
}
}
}
Symbol 1615 Button
on (press) {
if (_parent.playerStay != true) {
_parent.playerStay = true;
evaluation = _parent.evaluateHand(_parent.dealerHand);
youEval = _parent.evaluateHand(_parent.yourHand);
_parent.cardy1.gotoAndStop(1);
_parent.cardy2.gotoAndStop(1);
_parent.dealerTotal = "Dealer Total: " + evaluation;
if (evaluation > 15) {
_root.dealerStay = true;
} else {
if (evaluation < 16) {
newCard = _parent.passOutCards(1);
newCard = newCard[0];
_parent.dealerHand[_parent.dealerHand.length] = newCard;
_parent.cardComputer0.gotoAndStop(1);
_parent.cardComputer0.num = newCard[0];
_parent.cardComputer0.typeo = newCard[1];
newEvaluation = _parent.evaluateHand(_parent.dealerHand);
}
if (newEvaluation < 16) {
newCard = _parent.passOutCards(1);
newCard = newCard[0];
_parent.dealerHand[_parent.dealerHand.length] = newCard;
_parent.cardComputer1.gotoAndStop(1);
_parent.cardComputer1.num = newCard[0];
_parent.cardComputer1.typeo = newCard[1];
newEvaluation = _parent.evaluateHand(_parent.dealerHand);
}
if (newEvaluation < 16) {
newCard = _parent.passOutCards(1);
newCard = newCard[0];
_parent.dealerHand[_parent.dealerHand.length] = newCard;
_parent.cardComputer2.gotoAndStop(1);
_parent.cardComputer2.num = newCard[0];
_parent.cardComputer2.typeo = newCard[1];
newEvaluation = _parent.evaluateHand(_parent.dealerHand);
}
if (newEvaluation < 16) {
newCard = _parent.passOutCards(1);
newCard = newCard[0];
_parent.dealerHand[_parent.dealerHand.length] = newCard;
_parent.cardComputer3.gotoAndStop(1);
_parent.cardComputer3.num = newCard[0];
_parent.cardComputer3.typeo = newCard[1];
newEvaluation = _parent.evaluateHand(_parent.dealerHand);
}
if (newEvaluation > 21) {
_parent.dealerTotal = "Dealer Bust!";
_root.dealerStay = true;
} else {
_parent.dealerTotal = "Dealer Total: " + newEvaluation;
}
}
newEvaluation = _parent.evaluateHand(_parent.dealerHand);
if (_parent.dealerTotal == "Dealer Bust!") {
_root.windowOpen = _root.windowOpen + 1;
_parent.wins = _parent.wins + 1;
_parent._parent._parent.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
_parent._parent._parent["window" + _root.windowOpen]._x = this._x + 130;
_parent._parent._parent["window" + _root.windowOpen]._y = this._y + 130;
_parent._parent._parent["window" + _root.windowOpen].titley = "Message";
_parent._parent._parent["window" + _root.windowOpen].gotoAndStop(5);
_parent._parent._parent["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
_root.money = _root.money + _parent.bet;
_parent._parent._parent["window" + _root.windowOpen].messo = "You Win!";
} else if (newEvaluation == youEval) {
_root.windowOpen = _root.windowOpen + 1;
_parent.draws = _parent.draws + 1;
_parent._parent._parent.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
_parent._parent._parent["window" + _root.windowOpen]._x = this._x + 130;
_parent._parent._parent["window" + _root.windowOpen]._y = this._y + 130;
_parent._parent._parent["window" + _root.windowOpen].titley = "Message";
_parent._parent._parent["window" + _root.windowOpen].gotoAndStop(5);
_parent._parent._parent["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
_parent._parent._parent["window" + _root.windowOpen].messo = "Draw";
} else if (newEvaluation > youEval) {
_root.windowOpen = _root.windowOpen + 1;
_parent.losses = _parent.losses + 1;
_parent._parent._parent.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
_parent._parent._parent["window" + _root.windowOpen]._x = this._x + 130;
_parent._parent._parent["window" + _root.windowOpen]._y = this._y + 130;
_parent._parent._parent["window" + _root.windowOpen].titley = "Message";
_parent._parent._parent["window" + _root.windowOpen].gotoAndStop(5);
_parent._parent._parent["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
_root.money = _root.money - _parent.bet;
_parent.bet = 0;
_parent._parent._parent["window" + _root.windowOpen].messo = "Dealer Wins!";
} else if ((youEval > newEvaluation) || (_parent.dealerTotal == "Dealer Bust!")) {
_root.windowOpen = _root.windowOpen + 1;
_parent.wins = _parent.wins + 1;
_parent._parent._parent.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
_parent._parent._parent["window" + _root.windowOpen]._x = this._x + 130;
_parent._parent._parent["window" + _root.windowOpen]._y = this._y + 130;
_parent._parent._parent["window" + _root.windowOpen].titley = "Message";
_parent._parent._parent["window" + _root.windowOpen].gotoAndStop(5);
_parent._parent._parent["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
_root.money = _root.money + _parent.bet;
_parent._parent._parent["window" + _root.windowOpen].messo = "You Win!";
}
this.gotoAndStop(3);
}
}
Symbol 1617 Button
on (press) {
_parent.dealerTotal = "";
_parent.totalYou = "";
_parent.cardy1.gotoAndStop(2);
_parent.cardy2.gotoAndStop(2);
_parent.cardComputer0.gotoAndStop(3);
_parent.cardComputer1.gotoAndStop(3);
_parent.cardComputer2.gotoAndStop(3);
_parent.cardComputer3.gotoAndStop(3);
_parent.cardComputer4.gotoAndStop(3);
_parent.card1.gotoAndStop(3);
_parent.card2.gotoAndStop(3);
_parent.card3.gotoAndStop(3);
_parent.card4.gotoAndStop(3);
if (_root.deck.length <= 10) {
_root.deck = _parent.createDeck();
}
_parent.yourHand = _parent.passOutCards(2);
_parent.dealerHand = _parent.passOutCards(2);
_parent.cardd1.gotoAndStop(1);
card1 = _parent.yourHand[0];
_parent.cardd1.num = card1[0];
_parent.cardd1.typeo = card1[1];
card2 = _parent.yourHand[1];
_parent.cardd2.num = card2[0];
_parent.cardd2.typeo = card2[1];
_parent.cardd2.gotoAndStop(1);
cardo1 = _parent.dealerHand[0];
cardo2 = _parent.dealerHand[1];
_parent.cardy1.num = cardo1[0];
_parent.cardy1.typeo = cardo1[1];
_parent.cardy2.num = cardo2[0];
_parent.cardy2.typeo = cardo2[1];
gotoAndStop (2);
}
Symbol 1618 Button
on (press) {
_parent.dealerTotal = "";
_parent.totalYou = "";
_parent.cardy1.gotoAndStop(2);
_parent.cardy2.gotoAndStop(2);
_parent.cardComputer0.gotoAndStop(3);
_parent.cardComputer1.gotoAndStop(3);
_parent.cardComputer2.gotoAndStop(3);
_parent.cardComputer3.gotoAndStop(3);
_parent.cardComputer4.gotoAndStop(3);
_parent.card1.gotoAndStop(3);
_parent.card2.gotoAndStop(3);
_parent.card3.gotoAndStop(3);
_parent.card4.gotoAndStop(3);
if (_root.deck.length <= 10) {
_root.deck = _parent.createDeck();
}
_parent.yourHand = _parent.passOutCards(2);
_parent.dealerHand = _parent.passOutCards(2);
_parent.cardd1.gotoAndStop(2);
card1 = _parent.yourHand[0];
_parent.cardd1.num = card1[0];
_parent.cardd1.typeo = card1[1];
card2 = _parent.yourHand[1];
_parent.cardd2.num = card2[0];
_parent.cardd2.typeo = card2[1];
_parent.cardd2.gotoAndStop(2);
cardo1 = _parent.dealerHand[0];
cardo2 = _parent.dealerHand[1];
_parent.cardy1.num = cardo1[0];
_parent.cardy1.typeo = cardo1[1];
_parent.cardy2.num = cardo2[0];
_parent.cardy2.typeo = cardo2[1];
gotoAndStop (1);
}
Symbol 1621 MovieClip Frame 1
stop();
Symbol 1621 MovieClip Frame 2
_parent.cardd1.gotoAndStop(1);
_parent.cardd2.gotoAndStop(1);
_parent.totalYou = "Total: " + _parent.evaluateHand(_parent.yourHand);
stop();
Symbol 1621 MovieClip Frame 3
betty = "Bet: " + _parent.bet;
_parent.playerStay = false;
_parent.cardsHit = 0;
stop();
Symbol 1632 Button
on (press) {
gotoAndStop (2);
}
Symbol 1634 Button
on (press) {
gotoAndStop (1);
}
Symbol 1635 MovieClip Frame 1
stop();
Symbol 1636 Button
on (press) {
if (cardo0._currentframe == 2) {
yourHand[0] = null;
newCard = passOutCards(1);
newCard = newCard[0];
yourHand[0] = newCard;
cardo0.card.num = newCard[0];
cardo0.card.typeo = newCard[1];
cardo0.gotoAndStop(1);
}
if (cardo1._currentframe == 2) {
yourHand[1] = null;
newCard = passOutCards(1);
newCard = newCard[0];
yourHand[1] = newCard;
cardo1.card.num = newCard[0];
cardo1.card.typeo = newCard[1];
cardo1.gotoAndStop(1);
}
if (cardo2._currentframe == 2) {
yourHand[2] = null;
newCard = passOutCards(1);
newCard = newCard[0];
yourHand[2] = newCard;
cardo2.card.num = newCard[0];
cardo2.card.typeo = newCard[1];
cardo2.gotoAndStop(1);
}
if (cardo3._currentframe == 2) {
yourHand[3] = null;
newCard = passOutCards(1);
newCard = newCard[0];
yourHand[3] = newCard;
cardo3.card.num = newCard[0];
cardo3.card.typeo = newCard[1];
cardo3.gotoAndStop(1);
}
if (cardo4._currentframe == 2) {
yourHand[4] = null;
newCard = passOutCards(1);
newCard = newCard[0];
yourHand[4] = newCard;
cardo4.card.num = newCard[0];
cardo4.card.typeo = newCard[1];
cardo4.gotoAndStop(1);
}
evalHand = evaluatePokerHand(yourHand);
messy = getCorrectMessage(evalHand);
dealerHand = aiMoveEval(dealerHand);
dealerEval = evaluatePokerHand(dealerHand);
messo = getCorrectMessage(dealerEval);
}
Symbol 1638 MovieClip Frame 1
stop();
Symbol 1638 MovieClip Frame 2
bet = 0;
_parent.titley = "50/50";
Symbol 1638 MovieClip Frame 3
function randomOdds() {
this.oddsArray = new Array();
temp = 0;
while (temp < 5) {
randNum = (random(18) + 2) % 20;
oddsArray[temp] = randNum;
this["odds" + (temp + 1)] = randNum + " to 1";
temp++;
}
return(oddsArray);
}
_parent.titley = "Racing";
bet = 0;
this.odds = randomOdds();
horse = "none";
stop();
Instance of Symbol 1577 MovieClip in Symbol 1638 MovieClip Frame 3
onClipEvent (load) {
this.oddNum = _parent.odds[0];
this.horse = 1;
}
Instance of Symbol 1577 MovieClip in Symbol 1638 MovieClip Frame 3
onClipEvent (load) {
this.oddNum = _parent.odds[1];
this.horse = 2;
}
Instance of Symbol 1577 MovieClip in Symbol 1638 MovieClip Frame 3
onClipEvent (load) {
this.oddNum = _parent.odds[2];
this.horse = 3;
}
Instance of Symbol 1577 MovieClip in Symbol 1638 MovieClip Frame 3
onClipEvent (load) {
this.oddNum = _parent.odds[3];
this.horse = 4;
}
Instance of Symbol 1577 MovieClip in Symbol 1638 MovieClip Frame 3
onClipEvent (load) {
this.oddNum = _parent.odds[4];
this.horse = 5;
}
Symbol 1638 MovieClip Frame 4
deck = new Array();
temp = 2;
while (temp < 15) {
temp2 = 0;
while (temp2 < 4) {
card = new Array();
if (temp == 11) {
card[0] = "J";
} else if (temp == 12) {
card[0] = "Q";
} else if (temp == 13) {
card[0] = "K";
} else if (temp == 14) {
card[0] = "A";
} else {
card[0] = temp;
}
if (temp2 == 0) {
card[1] = "D";
} else if (temp2 == 1) {
card[1] = "S";
} else if (temp2 == 2) {
card[1] = "C";
} else {
card[1] = "H";
}
deck[deck.length] = card;
temp2++;
}
temp++;
}
cardsYou = new Array();
temp = 0;
while (temp < 5) {
deckNum = random(deck.length);
cardsYou[temp] = deck[deckNum];
deck[deckNum] = null;
deck = _root.shiftArray(deck);
temp++;
}
deckoh = deck.length;
stop();
Instance of Symbol 1590 MovieClip in Symbol 1638 MovieClip Frame 4
onClipEvent (load) {
this.cardoh = _parent.cardsYou[0];
num = cardoh[0];
type = cardoh[1];
}
Instance of Symbol 1590 MovieClip in Symbol 1638 MovieClip Frame 4
onClipEvent (load) {
this.cardoh = _parent.cardsYou[1];
num = cardoh[0];
type = cardoh[1];
}
Instance of Symbol 1590 MovieClip in Symbol 1638 MovieClip Frame 4
onClipEvent (load) {
this.cardoh = _parent.cardsYou[2];
num = cardoh[0];
type = cardoh[1];
}
Instance of Symbol 1590 MovieClip in Symbol 1638 MovieClip Frame 4
onClipEvent (load) {
this.cardoh = _parent.cardsYou[3];
num = cardoh[0];
type = cardoh[1];
}
Instance of Symbol 1590 MovieClip in Symbol 1638 MovieClip Frame 4
onClipEvent (load) {
this.cardoh = _parent.cardsYou[4];
num = cardoh[0];
type = cardoh[1];
}
Symbol 1638 MovieClip Frame 5
function createDeck() {
decky = new Array();
temp = 2;
while (temp < 15) {
temp2 = 0;
while (temp2 < 4) {
newCard = new Array();
if (temp == 11) {
newCard[0] = "J";
} else if (temp == 12) {
newCard[0] = "Q";
} else if (temp == 13) {
newCard[0] = "K";
} else if (temp == 14) {
newCard[0] = "A";
} else {
newCard[0] = temp;
}
if (temp2 == 0) {
newCard[1] = "C";
} else if (temp2 == 1) {
newCard[1] = "H";
} else if (temp2 == 2) {
newCard[1] = "D";
} else {
newCard[1] = "S";
}
decky[decky.length] = newCard;
temp2++;
}
temp++;
}
return(decky);
}
function passOutCards(numOfCards) {
newHand = new Array();
temp = 0;
while (temp < numOfCards) {
randCard = random(_root.deck.length);
newHand[temp] = _root.deck[randCard];
_root.deck[randCard] = null;
_root.deck = _root.shiftArray(_root.deck);
temp++;
}
return(newHand);
}
function evaluateHand(hand) {
num = 0;
haveAce = false;
have2Ace = false;
temp = 0;
while (temp < hand.length) {
handNum = new Array();
handNum = hand[temp];
if (handNum[0] == "A") {
num = num + 11;
if (haveAce) {
have2Ace = true;
}
haveAce = true;
} else if (((handNum[0] == "Q") || (handNum[0] == "K")) || (handNum[0] == "J")) {
num = num + 10;
} else {
num = num + handNum[0];
}
temp++;
}
if (num == 21) {
return(21);
}
if (haveAce == true) {
if (num > 21) {
return(num - 10);
}
}
return(num);
}
function computerMove() {
evaluation = evaluateHand(dealerHand);
numbero = 0;
if (evaluation > 15) {
_root.dealerStay = true;
} else {
temp = 0;
while (temp < 4) {
evaluation = evaluateHand(this.dealerHand);
if (evaluation < 16) {
numbero = numbero + 1;
numHand2 = evaluateHand(this.dealerHand);
if (numHand2 > 21) {
_root.messageo = "Dealer Bust!";
_root.dealerStay = true;
break;
}
}
temp++;
}
return(numbero);
}
return(0);
}
_parent.titley = "BlackJack";
wins = 0;
losses = 0;
draws = 0;
computerHits = 0;
_root.deck = createDeck();
hitTimes = 0;
cardsHit = 0;
yourHand = passOutCards(2);
dealerHand = passOutCards(2);
numHand1 = evaluateHand(yourHand);
numHand2 = evaluateHand(dealerHand);
deckCount = _root.deck.length;
Instance of Symbol 1590 MovieClip "cardd1" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.cardoh = _parent.yourHand[0];
num = cardoh[0];
typeo = cardoh[1];
this.gotoAndStop(2);
}
Instance of Symbol 1590 MovieClip "cardd2" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.cardoh = _parent.yourHand[1];
num = cardoh[0];
typeo = cardoh[1];
this.gotoAndStop(2);
}
Instance of Symbol 1590 MovieClip "cardy1" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.cardoh = _parent.dealerHand[0];
num = cardoh[0];
typeo = cardoh[1];
this.gotoAndStop(2);
}
Instance of Symbol 1590 MovieClip "cardy2" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.cardoh = _parent.dealerHand[1];
num = cardoh[0];
typeo = cardoh[1];
this.gotoAndStop(2);
}
Instance of Symbol 1590 MovieClip "card1" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "card2" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "card3" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "card4" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "cardComputer0" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "cardComputer1" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "cardComputer2" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1590 MovieClip "cardComputer3" in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 1621 MovieClip in Symbol 1638 MovieClip Frame 5
onClipEvent (load) {
_parent.bet = 0;
}
Symbol 1638 MovieClip Frame 6
function getHighestCard(hand) {
highCard = 0;
temp = 0;
while (temp < hand.length) {
card = hand[temp];
cardValue = convertCard(card[0]);
if (cardValue > highCard) {
highCard = cardValue;
}
temp++;
}
return(highCard);
}
function indexOfHighCard(hand) {
index = 0;
highCard = 0;
temp = 0;
while (temp < hand.length) {
card = hand[temp];
cardValue = convertCard(card[0]);
if (cardValue > highCard) {
highCard = cardValue;
index = temp;
}
temp++;
}
return(index);
}
function cardValueToBack(highCardValue) {
if (highCardValue == 14) {
highCardValue = "A";
} else if (highCardValue == 13) {
highCardValue = "K";
} else if (highCardValue == 12) {
highCardValue = "Q";
} else if (highCardValue == 11) {
highCardValue = "J";
}
return(highCardValue);
}
function convertCard(card) {
cardValue = 0;
if (card == "A") {
cardValue = 14;
} else if (card == "K") {
cardValue = 13;
} else if (card == "Q") {
cardValue = 12;
} else if (card == "J") {
cardValue = 11;
} else {
cardValue = card;
}
return(cardValue);
}
function createDeck() {
decky = new Array();
temp = 2;
while (temp < 15) {
temp2 = 0;
while (temp2 < 4) {
newCard = new Array();
if (temp == 11) {
newCard[0] = "J";
} else if (temp == 12) {
newCard[0] = "Q";
} else if (temp == 13) {
newCard[0] = "K";
} else if (temp == 14) {
newCard[0] = "A";
} else {
newCard[0] = temp;
}
if (temp2 == 0) {
newCard[1] = "C";
} else if (temp2 == 1) {
newCard[1] = "H";
} else if (temp2 == 2) {
newCard[1] = "D";
} else {
newCard[1] = "S";
}
decky[decky.length] = newCard;
temp2++;
}
temp++;
}
return(decky);
}
function passOutCards(numOfCards) {
newHand = new Array();
temp = 0;
while (temp < numOfCards) {
randCard = random(_root.deck.length);
newHand[temp] = _root.deck[randCard];
_root.deck[randCard] = null;
_root.deck = _root.shiftArray(_root.deck);
temp++;
}
return(newHand);
}
function pair(hand) {
pairs = new Array();
noPair = new Array();
temp = 0;
while (temp < hand.length) {
card = hand[temp];
temp2 = 0;
while (temp2 < hand.length) {
cardToCompare = hand[temp2];
if ((card[0] == cardToCompare[0]) && (card[1] != cardToCompare[1])) {
pairs[pairs.length] = card[0];
}
temp2++;
}
temp++;
}
return(pairs);
}
function evaluatePair(pair) {
evaluation = new Array();
if (pair.length == 12) {
evaluation.Hand = "4 of a kind";
evaluation.Card = pair[0];
return(evaluation);
}
if (pair.length == 8) {
cardCount = 0;
cardVal = pair[0];
temp = 0;
while (temp < pair.length) {
if (cardVal == pair[temp]) {
cardCount = cardCount + 1;
}
temp++;
}
if (cardCount == 3) {
evaluation.Hand = "Full House";
evaluation.Card = pair[0];
return(evaluation);
}
evaluation.Hand = "Full House";
evaluation.Card = pair[3];
return(evaluation);
}
if (pair.length == 6) {
evaluation.Hand = "3 of a kind";
evaluation.Card = pair[0];
return(evaluation);
}
if (pair.length == 4) {
evaluation.Hand = "2 pair";
evaluation.Card = pair[0];
evaluation.Card2 = pair[2];
return(evaluation);
}
if (pair.length == 2) {
evaluation.Hand = "Pair";
evaluation.Card = pair[0];
return(evaluation);
}
return("Nothing");
}
function flushCheck(hand) {
card = hand[0];
counter = 0;
temp = 0;
while (temp < hand.length) {
cardToCompare = hand[temp];
if (card[1] == cardToCompare[1]) {
counter = counter + 1;
}
temp++;
}
if (counter == 5) {
return(card[1]);
}
return(false);
}
function getCorrectMessage(evaluation) {
if (evaluation.Hand == "Flush") {
return(((evaluation.Hand + " of ") + evaluation.Type) + "s");
}
if (evaluation.Hand == "2 pair") {
return(((((evaluation.Hand + ": ") + evaluation.Card) + "s and ") + evaluation.Card2) + "s");
}
if (evaluation.Hand != "Nothing") {
return((evaluation.Hand + ": ") + evaluation.Card);
}
return("High Card: " + evaluation.HighCard);
}
function evaluatePokerHand(hand) {
evaluationHand = new Array();
pairo = pair(hand);
evalPair = evaluatePair(pairo);
if (evalPair != "Nothing") {
highCardValue = getHighestCard(hand);
highCardValue = cardValueToBack(highCardValue);
evaluationHand.HighCard = highCardValue;
evaluationHand.Hand = evalPair.Hand;
evaluationHand.Card = evalPair.Card;
if (evalPair.Hand == "2 pair") {
evaluationHand.Card2 = evalPair.Card2;
}
} else {
checkFlush = flushCheck(hand);
if (checkFlush != false) {
evaluationHand.Hand = "Flush";
evaluationHand.Num = "Nothing";
evaluationHand.Type = checkFlush;
highCardValue = getHighestCard(hand);
highCardValue = cardValueToBack(highCardValue);
evaluationHand.HighCard = highCardValue;
} else {
evaluationHand.Hand = "Nothing";
highCardValue = getHighestCard(hand);
highCardValue = cardValueToBack(highCardValue);
evaluationHand.HighCard = highCardValue;
}
}
return(evaluationHand);
}
function aiMoveEval(dealerHand) {
dealerEval = evaluatePokerHand(dealerHand);
if (((dealerEval.Hand != "Flush") && (dealerEval.Hand != "4 of a kind")) && (dealerEval.Hand != "Full House")) {
if (dealerEval.Hand == "Nothing") {
index = indexOfHighCard(dealerHand);
i = 0;
while (i < 5) {
if (i != index) {
newCard = passOutCards(1);
newCard = newCard[0];
dealerHand[i] = newCard;
this["aicard" + (i + 1)].num = newCard[0];
this["aicard" + (i + 1)].typeo = newCard[1];
}
i++;
}
} else if (dealerEval.Hand == "2 pair") {
cardToCompare1 = dealerEval.Card;
cardToCompare2 = dealerEval.Card2;
cardo = cardToCompare1[0];
trace(cardo[0]);
trace(cardToCompare1[0]);
index = 0;
i = 0;
while (i < 5) {
card = dealerHand[i];
if ((card[0] != cardToCompare1[0]) && (card[0] != cardToCompare2[0])) {
index = i;
}
i++;
}
newCard = passOutCards(1);
newCard = newCard[0];
dealerHand[index] = newCard;
this["aicard" + (index + 1)].num = newCard[0];
this["aicard" + (index + 1)].typeo = newCard[1];
} else if ((dealerEval.Hand == "3 of a kind") || (dealerEval.Hand == "Pair")) {
cardToCompare = dealerEval.Card;
i = 0;
while (i < 5) {
card = dealerHand[i];
if (card[0] != cardToCompare[0]) {
newCard = passOutCards(1);
newCard = newCard[0];
dealerHand[i] = newCard;
this["aicard" + (i + 1)].num = newCard[0];
this["aicard" + (i + 1)].typeo = newCard[1];
}
i++;
}
}
}
return(dealerHand);
}
_parent.titley = "Poker";
_root.deck = createDeck();
yourHand = passOutCards(5);
temp = 0;
while (temp < yourHand.length) {
cardy = yourHand[temp];
this["cardo" + temp].card.num = cardy[0];
this["cardo" + temp].card.typeo = cardy[1];
temp++;
}
dealerHand = passOutCards(5);
evalHand = evaluatePokerHand(yourHand);
messy = getCorrectMessage(evalHand);
evalAI = evaluatePokerHand(dealerHand);
messo = getCorrectMessage(evalAI);
stop();
Instance of Symbol 1590 MovieClip "aicard1" in Symbol 1638 MovieClip Frame 6
onClipEvent (load) {
this.card = _parent.dealerHand[0];
this.num = this.card[0];
this.typeo = this.card[1];
}
Instance of Symbol 1590 MovieClip "aicard2" in Symbol 1638 MovieClip Frame 6
onClipEvent (load) {
this.card = _parent.dealerHand[1];
this.num = this.card[0];
this.typeo = this.card[1];
}
Instance of Symbol 1590 MovieClip "aicard3" in Symbol 1638 MovieClip Frame 6
onClipEvent (load) {
this.card = _parent.dealerHand[2];
this.num = this.card[0];
this.typeo = this.card[1];
}
Instance of Symbol 1590 MovieClip "aicard4" in Symbol 1638 MovieClip Frame 6
onClipEvent (load) {
this.card = _parent.dealerHand[3];
this.num = this.card[0];
this.typeo = this.card[1];
}
Instance of Symbol 1590 MovieClip "aicard5" in Symbol 1638 MovieClip Frame 6
onClipEvent (load) {
this.card = _parent.dealerHand[4];
this.num = this.card[0];
this.typeo = this.card[1];
}
Symbol 1642 MovieClip Frame 1
stop();
Symbol 1642 MovieClip Frame 2
stop();
Symbol 1642 MovieClip Frame 3
stop();
Symbol 1642 MovieClip Frame 4
stop();
Symbol 1642 MovieClip Frame 5
stop();
Symbol 1646 Button
on (press) {
_root.windowOpen = _root.windowOpen + 1;
this.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
this["window" + _root.windowOpen]._x = 84;
this["window" + _root.windowOpen]._y = 47.7;
this["window" + _root.windowOpen].titley = "Editor";
this["window" + _root.windowOpen].gotoAndStop(2);
this["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
}
Symbol 1649 Button
on (press) {
_root.windowOpen = _root.windowOpen + 1;
this.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
this["window" + _root.windowOpen]._x = 84;
this["window" + _root.windowOpen]._y = 47.7;
this["window" + _root.windowOpen].titley = "Passwords";
this["window" + _root.windowOpen].gotoAndStop(3);
this["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
}
Symbol 1652 Button
on (press) {
_root.windowOpen = _root.windowOpen + 1;
this.window.duplicateMovieClip("window" + _root.windowOpen, _root.windowOpen);
this["window" + _root.windowOpen]._x = 84;
this["window" + _root.windowOpen]._y = 47.7;
this["window" + _root.windowOpen].titley = "Games";
this["window" + _root.windowOpen].gotoAndStop(4);
this["window" + _root.windowOpen].numOfWindow = _root.windowOpen;
_root.highestDepth = _root.windowOpen;
}
Symbol 1653 Button
on (press) {
if (backgroundo._currentframe == 3) {
backgroundo.gotoAndStop(1);
} else {
backgroundo.nextFrame();
}
}
Symbol 1655 MovieClip Frame 1
function checkMinimize() {
numOfTools = 4;
temp = 0;
while (temp < numOfTools) {
if (this["toolbar" + (temp + 1)]._visible == false) {
return(temp + 1);
}
temp++;
}
return(-1);
}
windowsMinimized = 1;
stop();
Instance of Symbol 1446 MovieClip "toolbar1" in Symbol 1655 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1446 MovieClip "toolbar2" in Symbol 1655 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1446 MovieClip "toolbar3" in Symbol 1655 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1446 MovieClip "toolbar4" in Symbol 1655 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1642 MovieClip "window" in Symbol 1655 MovieClip Frame 1
onClipEvent (load) {
this.endIt = "";
thisWidth = this._width;
thisHeight = this._height;
}
Symbol 1659 Button
on (keyPress "a") {
if (_root.stick1.hitTest(_root.guard) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Hi SuperStick! I'm the guard of this town!";
break;
case 2 :
_root.menah.texto = " If any monsters come along, I will destroy them!";
break;
case 3 :
_root.menah.texto = " This is the proud hometown of the Destroyer!";
break;
case 4 :
_root.menah.texto = " With all this chaos around, I'm glad there are heros like you...";
}
_root.guard.talky = true;
_root.menah.heado.gotoAndStop(17);
_root.menah.nameo = "Guard";
}
}
Instance of Symbol 1254 MovieClip "door" in Symbol 1665 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.doorOpen == true) {
_root.gotoAndStop("skillsStore");
}
}
Instance of Symbol 1664 MovieClip "paperRead" in Symbol 1665 MovieClip Frame 1
onClipEvent (load) {
this.heady.gotoAndStop(18);
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick2)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Symbol 1667 Button
on (keyPress "a") {
if (_root.stick2.hitTest(_root.skillsy.paperRead) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = "I can't believe the news!";
break;
case 2 :
_root.menah.texto = " Ecil Doctor Sick is out again! My GOD!!";
break;
case 3 :
_root.menah.texto = " You have your work cut out for you this time!!";
break;
case 4 :
_root.menah.texto = " The skills shop next to me will allow you to buy power ups to your character's skills.";
}
_root.skillsy.paperRead.talky = true;
_root.menah.heado.gotoAndStop(18);
_root.menah.nameo = "Herald";
} else if (_root.stick2.hitTest(_root.skillsy.door)) {
_root.skillsy.door.play();
}
}
Symbol 1674 Button
on (keyPress "a") {
if (_root.stick3.hitTest(_root.trapDoor2)) {
_root.trapDoor2.play();
}
}
Symbol 1689 MovieClip Frame 1
stop();
Symbol 1690 Button
on (keyPress "a") {
if (_root.cutscene >= 5) {
if (_root.stick5.hitTest(_root.pumpkiny)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = "Hello! Didn't think you'd be talking to a pumpkin, huh? There is a pumpkin that grows in the tunnels below this town. You should check it out!";
_root.menah.heado.gotoAndStop(27);
_root.sideQuests[0] = 1;
_root.menah.nameo = "Pumpkin";
}
} else if (_root.stick5.hitTest(_root.woody1)) {
if (_root.woods[0] != true) {
_root.woods[0] = true;
_root.woody1._visible = false;
_root.updateItemQuantity(1, "wood");
}
} else if (_root.stick5.hitTest(_root.chest8)) {
if (_root.chests[8] != true) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[8] = true;
_root.chest8.gotoAndStop(2);
}
}
}
Symbol 1699 Button
on (keyPress "a") {
if (_root.stick6.hitTest(_root.pawnIt) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = "Press spacebar, go to an equip menu, and press the Sell button under equipment you would like to pawn. I will offer you twice the amount of money that other vender's offer!";
_root.pawny.talky = true;
_root.menah.heado.gotoAndStop(20);
_root.menah.nameo = "Spike";
}
}
Instance of Symbol 1247 MovieClip in Symbol 1706 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 1247 MovieClip in Symbol 1706 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Symbol 1708 Button
on (keyPress "a") {
if (_root.stick7.hitTest(_root.door5) && (alreadyTalkin != true)) {
_root.door5.play();
} else if (_root.stick7.hitTest(_root.girl1)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " Make sure to buy many healing items so you can survive battles longer.";
break;
case 2 :
_root.menah.texto = " Make sure to heal when you get to towns! The wizard here will heal you, or you can use the hotel.";
break;
case 3 :
_root.menah.texto = " I am one of your biggest fans SuperStick!!";
break;
case 4 :
_root.menah.texto = " Beware the green rocks...someone at the church may know what to do to rid their effect on you.";
}
_root.girl1.talky = true;
_root.menah.heado.gotoAndStop(25);
_root.menah.nameo = "Jessica";
}
}
Symbol 1713 Button
on (keyPress "a") {
if (_root.stick8.hitTest(_root.guyo1)) {
_root.menah.active = true;
alreadyTalkin = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " I wonder where that ship came from...";
break;
case 2 :
_root.menah.texto = " That spaceship looks SO cool! I wanna ride it!";
break;
case 3 :
_root.menah.texto = " Do you think that you have something to do with this ship??";
break;
case 4 :
_root.menah.texto = " I wonder what would allow you to move the spaceship...";
}
_root.guyo1.talky = true;
_root.menah.heado.gotoAndStop(7);
_root.menah.nameo = "Josh";
}
}
Symbol 1719 Button
on (keyPress "a") {
if (_root.stick9.hitTest(_root.talkWiz) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = "Talking to me heals your whole power! There you go!!";
_root.char1 = _root.maxhp;
_root.char2 = _root.maxhp2;
_root.char3 = _root.maxhp3;
_root.char4 = _root.maxhp4;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
_root.stick9.heal.play();
_root.wizzy.talky = true;
_root.menah.heado.gotoAndStop(19);
_root.menah.nameo = "Wizard";
}
}
Symbol 1728 Button
on (keyPress "a") {
if (_root.stick10.hitTest(_root.buyEm) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = " What would you like to buy?";
_root.menah.sellItems = true;
_root.storeClerk.talky = true;
_root.menah.heado.gotoAndStop(3);
_root.menah.nameo = "Clerk";
}
}
Symbol 1735 Button
on (keyPress "a") {
if (_root.stick11.hitTest(_root.buyItems) && (alreadyTalkin != true)) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = " What would you like to upgrade?";
_root.menah.sellItems = true;
_root.menah.sellSkills = true;
_root.storeClerk.talky = true;
_root.menah.heado.gotoAndStop(21);
_root.menah.nameo = "Clerk";
}
}
Symbol 1742 MovieClip Frame 1
stop();
Symbol 1743 Button
on (keyPress "a") {
if (_root.stick12.hitTest(_root.bridge) && (_root.bridge.allWood == true)) {
_root.gotoAndStop("area21");
}
}
Symbol 1752 MovieClip Frame 35
stop();
Symbol 1753 MovieClip Frame 1
stop();
Symbol 1753 MovieClip Frame 70
odds = random(7) + 1;
power = _root.hardLev(0);
if (odds == 1) {
power = _root.hardLev(random(4) + 1);
} else if (odds == 2) {
power = _root.hardLev((random(4) + 1) + _root.pLevel);
}
_root.generateEnemys(random(_root.sideQuests[1]) + 1, power);
_root.enemyFight = _root.enemyTypes[0];
if ((_root.battleFirst == 4) && (_root.evilDead != true)) {
_root.guyIn = 4;
_root.gotoAndStop("stances4");
} else if ((_root.battleFirst == 3) && (_root.destDead != true)) {
_root.guyIn = 3;
_root.gotoAndStop("stances3");
} else if ((_root.battleFirst == 2) && (_root.stickDead != true)) {
_root.guyIn = 2;
_root.gotoAndStop("stances2");
} else if (_root.supesDead != true) {
if (firstStrike == 2) {
_root.guyIn = 1;
_root.gotoAndStop("enemyAttackSupes");
} else {
_root.gotoAndStop("stances");
}
} else if (_root.stickDead != true) {
if (firstStrike == 2) {
_root.guyIn = 2;
_root.gotoAndStop("enemyAttackStick");
} else {
_root.gotoAndStop("stances2");
}
} else if ((_root.destDead != true) && (_root.cutscene > 2.5)) {
if (firstStrike == 2) {
_root.guyIn = 3;
_root.gotoAndStop("enemyAttackDest");
} else {
_root.gotoAndStop("stances3");
}
} else if (_root.cutscene > 4.7) {
if (firstStrike == 2) {
_root.guyIn = 4;
_root.gotoAndStop("enemyAttackEvil");
} else {
_root.gotoAndStop("stances4");
}
}
Symbol 1759 Button
on (keyPress "a") {
if (_root.stick15.hitTest(_root.chest7)) {
if (_root.chests[7] != true) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[7] = true;
_root.chest7.gotoAndStop(2);
}
}
}
Symbol 1762 Button
on (keyPress "a") {
if (_root.stick16.hitTest(_root.chest6)) {
if (_root.chests[6] != true) {
_root.menah.active = true;
alreadyTalkin = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[6] = true;
_root.chest6.gotoAndStop(2);
}
}
}
Symbol 1775 Button
on (keyPress "a") {
if (_root.stick19.hitTest(_root.chest9)) {
if (_root.chests[9] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[9] = true;
_root.chest9.gotoAndStop(2);
}
}
}
Instance of Symbol 574 MovieClip "chest5" in Symbol 1780 MovieClip Frame 1
onClipEvent (load) {
chestNum = 5;
if (_root.chests[chestNum] == true) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.stick20)) {
_root.menah.gotoAndStop(1);
_root.alreadyTalkin = false;
_root.menah.nameo = "";
_root.menah._alpha = _root.menah._alpha - 4;
if (_root.menah._alpha < 0) {
_root.menah._alpha = 0;
}
_root.menah.active = false;
_root.menah.displayingText = false;
this.talky = false;
}
}
Symbol 1782 Button
on (keyPress "a") {
if (_root.stick20.hitTest(_root.combo1.chest5)) {
if (_root.chests[5] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[5] = true;
_root.combo1.chest5.gotoAndStop(2);
}
}
}
Symbol 1786 Button
on (keyPress "a") {
if (_root.stick21.hitTest(_root.pump1)) {
if (_root.sideQuests[0] == 1) {
_root.sideQuests[0] = 2;
_root.updateItemQuantity(1, "pumpkin");
_root.pump1._visible = false;
}
}
}
Symbol 1790 Button
on (keyPress "a") {
if (_root.stick22.hitTest(_root.chest10)) {
if (_root.chests[10] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[10] = true;
_root.chest10.gotoAndStop(2);
}
}
}
Symbol 1804 Button
on (keyPress "a") {
if (_root.stick24.hitTest(_root.pump2)) {
if (_root.sideQuests[0] == 2) {
_root.sideQuests[0] = 3;
_root.updateItemQuantity(1, "pumpkin");
_root.pump2._visible = false;
}
}
}
Symbol 1806 Button
on (keyPress "a") {
if (_root.stick25.hitTest(_root.ladder2)) {
_root.backTrap = true;
_root.gotoAndStop("area11");
}
}
Symbol 1817 Button
on (keyPress "a") {
if (_root.stick26.hitTest(_root.priest)) {
_root.menah.active = true;
say = random(4) + 1;
switch (say) {
case 1 :
_root.menah.texto = " I'm always here for you son.";
break;
case 2 :
_root.menah.texto = " May the stick Gods be with you!!";
break;
case 3 :
_root.menah.texto = " I can help you with things sometimes..";
break;
case 4 :
_root.menah.texto = " I am an expert on the green rocks. Come to me for help when you need it.";
}
_root.priest.talky = true;
_root.menah.heado.gotoAndStop(26);
_root.menah.nameo = "Priest";
} else if (_root.stick26.hitTest(_root.comicy)) {
comicy._visible = false;
_root.updateItemQuantity(1, "comic");
}
}
Symbol 1830 Button
on (keyPress "a") {
if (_root.stick27.hitTest(_root.tunny)) {
_root.gotoAndStop("area35");
}
}
Symbol 1836 MovieClip Frame 5
_root.gotoAndStop(goTo);
Symbol 1838 Button
on (keyPress "a") {
if (_root.stick28.hitTest(_root.lockDoor1)) {
if (_root.keys[1] == true) {
_root.lockDoor1.play();
}
}
}
Symbol 1841 Button
on (keyPress "a") {
if (_root.stick29.hitTest(_root.lockDoor2)) {
if (_root.keys[0] == true) {
_root.lockDoor2.play();
}
}
}
Symbol 1845 Button
on (keyPress "a") {
if (_root.stick30.hitTest(_root.chest11)) {
if (_root.chests[11] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[11] = true;
_root.chest11.gotoAndStop(2);
}
} else if (_root.stick30.hitTest(_root.key1)) {
_root.key1._visible = false;
_root.keys[0] = true;
}
}
Symbol 1849 Button
on (keyPress "a") {
if (_root.stick31.hitTest(_root.chest12)) {
if (_root.chests[12] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[12] = true;
_root.chest12.gotoAndStop(2);
}
} else if (_root.stick31.hitTest(_root.key2)) {
_root.key2._visible = false;
_root.keys[1] = true;
}
}
Symbol 1853 Button
on (keyPress "a") {
if (_root.stick32.hitTest(_root.lockDoor3)) {
if (_root.keys[3] == true) {
_root.lockDoor3.play();
}
}
}
Symbol 1857 Button
on (keyPress "a") {
if (_root.stick33.hitTest(_root.lockDoor4)) {
if (_root.keys[2] == true) {
_root.lockDoor4.play();
}
}
}
Symbol 1862 Button
on (keyPress "a") {
if (_root.stick34.hitTest(_root.chest13)) {
if (_root.chests[13] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[13] = true;
_root.chest13.gotoAndStop(2);
}
} else if (_root.stick34.hitTest(_root.key3)) {
_root.key3._visible = false;
_root.keys[2] = true;
}
}
Symbol 1867 Button
on (keyPress "a") {
if (_root.stick35.hitTest(_root.chest14)) {
if (_root.chests[14] != true) {
_root.menah.active = true;
_root.menah.texto = _root.pickItemToGet();
_root.menah.heado.gotoAndStop(16);
_root.menah.nameo = "Chest";
_root.chests[14] = true;
_root.chest14.gotoAndStop(2);
}
}
}
Symbol 1872 Button
on (keyPress "a") {
if (_root.stick36.hitTest(_root.key4)) {
_root.key4._visible = false;
_root.keys[3] = true;
}
}
Symbol 1889 MovieClip Frame 1
if (_root.place == "Final Cave") {
gotoAndStop (6);
} else if (_root.place == "Factory") {
pick = random(2) + 1;
switch (pick) {
case 1 :
gotoAndStop (4);
break;
case 2 :
gotoAndStop (5);
}
} else {
pick = random(3) + 1;
switch (pick) {
case 1 :
break;
case 2 :
gotoAndStop (2);
break;
case 3 :
gotoAndStop (3);
}
}
stop();
Instance of Symbol 1247 MovieClip in Symbol 1889 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 1247 MovieClip in Symbol 1889 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 1750 MovieClip in Symbol 1889 MovieClip Frame 4
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 1893 MovieClip Frame 1
if (_root.switchin == true) {
_root.switchin = false;
this.gotoAndPlay("switchin");
}
if (_root.supesDead == true) {
gotoAndPlay ("dead");
}
Instance of Symbol 1890 MovieClip in Symbol 1893 MovieClip Frame 1
onClipEvent (load) {
if (_root.supesPoison == true) {
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 1890 MovieClip in Symbol 1893 MovieClip Frame 1
onClipEvent (load) {
if (_root.supesBlind == true) {
this.gotoAndPlay(10);
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 1891 MovieClip in Symbol 1893 MovieClip Frame 1
onClipEvent (load) {
if (_root.invincTurns > 0) {
} else {
this.stop();
this._visible = false;
}
}
Symbol 1893 MovieClip Frame 15
gotoAndPlay (1);
Symbol 1893 MovieClip Frame 16
openMouth = true;
Symbol 1893 MovieClip Frame 29
gotoAndPlay (1);
Symbol 1893 MovieClip Frame 32
openMouth = true;
Symbol 1893 MovieClip Frame 38
closeEyes = true;
Symbol 1893 MovieClip Frame 53
gotoAndPlay (97);
Symbol 1893 MovieClip Frame 58
_root.switchin = true;
if (_root.run == true) {
_root.switchin = false;
_root.gotoAndStop("run");
} else if (_root.switchItTo == 2) {
_root.gotoAndStop("stances2");
} else if (_root.switchItTo == 3) {
_root.gotoAndStop("stances3");
} else {
_root.gotoAndStop("stances4");
}
Symbol 1893 MovieClip Frame 74
_root.someoneDead = false;
gotoAndPlay (1);
Symbol 1893 MovieClip Frame 96
gotoAndPlay (1);
Symbol 1893 MovieClip Frame 102
_root.supesDead = true;
_root.switchin = true;
if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
} else if ((_root.destDead != true) && (_root.cutscene > 2.5)) {
_root.gotoAndStop("stances3");
} else if ((_root.evilDead != true) && (_root.cutscene > 4.7)) {
_root.gotoAndStop("stances4");
} else {
_root.blay.gotoAndPlay(13);
_root.gameOver = true;
stop();
}
Symbol 1919 MovieClip Frame 1
randomAttack = random(4) + 1;
Symbol 1919 MovieClip Frame 15
if (randomAttack == 2) {
gotoAndPlay (48);
} else if (randomAttack == 3) {
gotoAndPlay (73);
} else if (randomAttack == 4) {
gotoAndPlay (102);
}
Symbol 1919 MovieClip Frame 23
openMouth = true;
Symbol 1919 MovieClip Frame 29
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.char1 = _root.char1 + _root.hpLeech;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (random(20 + _root.strength) + 9) + _root.strength;
if (_root.strongTurns > 0) {
_root.strongTurns = _root.strongTurns - 1;
damo = damo * 2;
}
if (_root.supesBlind == true) {
_root.damageBox.damage = "Miss!";
} else {
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
}
Symbol 1919 MovieClip Frame 47
_root.ap = _root.ap + (5 + _root.apLeech);
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead");
} else if (_root.skillo == "speed") {
_root.takenTurns = _root.takenTurns + 1;
if (_root.takenTurns == (3 + _root.speedPlus)) {
_root.skillo = "";
}
this.gotoAndPlay(1);
} else {
_root.gotoAndStop("enemyAttackSupes");
}
Symbol 1919 MovieClip Frame 57
openMouth = true;
Symbol 1919 MovieClip Frame 66
call(29);
Symbol 1919 MovieClip Frame 72
gotoAndPlay (38);
Symbol 1919 MovieClip Frame 84
openMouth = true;
Symbol 1919 MovieClip Frame 86
call(29);
Symbol 1919 MovieClip Frame 101
call(72);
Symbol 1919 MovieClip Frame 109
openMouth = true;
Symbol 1919 MovieClip Frame 114
call(29);
Symbol 1919 MovieClip Frame 126
call(72);
Symbol 1932 MovieClip Frame 6
stop();
Symbol 1934 MovieClip Frame 1
if (_root.skillo == "invinc") {
this.gotoAndPlay("strength");
} else if (_root.skillo != "vision") {
this.gotoAndPlay(_root.skillo);
}
Symbol 1934 MovieClip Frame 27
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((40 + _root.skills) + (_root.visionPlus * 13)) + 20) + Math.ceil(_root.skills * 1.3)) + (_root.visionPlus * 6);
if (_root.strongTurns > 0) {
_root.strongTurns = _root.strongTurns - 1;
damo = damo * 2;
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 1934 MovieClip Frame 35
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead");
} else {
_root.gotoAndStop("enemyAttackSupes");
}
Symbol 1934 MovieClip Frame 80
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.damageBox.damage = "Scanned";
_root.scanneded = true;
Symbol 1934 MovieClip Frame 88
_root.gotoAndStop("enemyAttackSupes");
Symbol 1934 MovieClip Frame 105
openMouth = true;
_root.damageBox._x = this._x - 20;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((42 + _root.skills) + (_root.healPlus * 10)) + 20) + Math.ceil(_root.skills * 1.3)) + (_root.healPlus * 5);
if (_root.strongTurns > 0) {
_root.strongTurns = _root.strongTurns - 1;
damo = damo * 2;
}
_root.char1 = _root.char1 + damo;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
_root.damageBox.damage = "+ " + damo;
Symbol 1934 MovieClip Frame 119
_root.gotoAndStop("enemyAttackSupes");
Symbol 1934 MovieClip Frame 134
openMouth = true;
Symbol 1934 MovieClip Frame 141
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (((random(((40 + _root.strength) + _root.skills) + (_root.superHitPlus * 13)) + 20) + Math.ceil(_root.skills * 1.3)) + _root.strength) + (_root.superHitPlus * 7);
if (_root.strongTurns > 0) {
_root.strongTurns = _root.strongTurns - 1;
damo = damo * 2;
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 1934 MovieClip Frame 159
call(35);
Symbol 1934 MovieClip Frame 173
openMouth = true;
Symbol 1934 MovieClip Frame 190
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (((random(((80 + _root.strength) + _root.skills) + (_root.breathPlus * 13)) + 40) + Math.ceil(_root.skills * 1.3)) + _root.strength) + (_root.breathPlus * 7);
if (_root.strongTurns > 0) {
_root.strongTurns = _root.strongTurns - 1;
damo = damo * 2;
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 1934 MovieClip Frame 197
call(35);
Symbol 1934 MovieClip Frame 204
openMouth = true;
Symbol 1934 MovieClip Frame 214
openMouth = true;
_root.damageBox._x = this._x - 20;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.skillo == "invinc") {
_root.invincTurns = (2 + Math.ceil(_root.skills * 0.06)) + _root.invincPlus;
_root.damageBox.damage = ("+ " + _root.invincTurns) + " invinc";
} else {
_root.strongTurns = (2 + Math.ceil(_root.skills * 0.06)) + _root.strengthPlus;
_root.damageBox.damage = ("+ " + _root.strongTurns) + " Str";
}
Symbol 1934 MovieClip Frame 231
_root.gotoAndStop("enemyAttackSupes");
Symbol 1943 MovieClip Frame 1
gotoAndStop(_root.potionType);
Symbol 1948 MovieClip Frame 26
if ((_root.potionType == "revive") || (_root.potionType == "fullrevive")) {
gotoAndPlay (47);
}
Symbol 1948 MovieClip Frame 34
_root.damageBox._x = this._x - 20;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.potionType == "potion") {
this.doWhat = "+ 50";
_root.char1 = _root.char1 + 50;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else if (_root.potionType == "ether") {
this.doWhat = "+ 20 AP";
_root.ap = _root.ap + 20;
} else if (_root.potionType == "hipotion") {
this.doWhat = "+ 300";
_root.char1 = _root.char1 + 300;
if (_root.char1 > _root.maxhp) {
_root.char1 = _root.maxhp;
}
} else if (_root.potionType == "xpotion") {
this.doWhat = "+ " + _root.maxhp;
_root.char1 = _root.maxhp;
} else if (_root.potionType == "elixir") {
this.doWhat = "+ " + _root.maxhp;
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "+ 20 AP";
_root.char1 = _root.maxhp;
_root.ap = _root.ap + 20;
_root.supesPoison = false;
_root.supesForget = false;
_root.supesBlind = false;
_root.supesPower = false;
} else if (_root.potionType == "antidote") {
_root.supesPoison = false;
_root.supesForget = false;
_root.supesBlind = false;
_root.supesPower = false;
this.doWhat = "Status Gone!";
}
_root.damageBox.damage = this.doWhat;
Symbol 1948 MovieClip Frame 46
_root.gotoAndStop("enemyAttackSupes");
Symbol 1948 MovieClip Frame 55
if (_root.potionType == "revive") {
if (_root.reviveHim == 2) {
_root.char2 = _root.char2 + 50;
_root.stickDead = false;
} else if (_root.reviveHim == 3) {
_root.char3 = _root.char3 + 50;
_root.destDead = false;
} else if (_root.reviveHim == 4) {
_root.char4 = _root.char4 + 50;
_root.evilDead = false;
}
} else if (_root.reviveHim == 2) {
_root.char2 = _root.maxhp2;
_root.stickDead = false;
} else if (_root.reviveHim == 3) {
_root.char3 = _root.maxhp3;
_root.destDead = false;
} else if (_root.reviveHim == 4) {
_root.char4 = _root.maxhp4;
_root.evilDead = false;
}
Symbol 1948 MovieClip Frame 67
call(46);
Instance of Symbol 253 MovieClip in Symbol 1951 MovieClip Frame 1
onClipEvent (load) {
this.timebar.stop();
this.timebar._visible = false;
}
Symbol 1951 MovieClip Frame 16
_root.enemyHps[_root.currentIndex] = _root.enemyHp;
temp = 0;
while (temp < _root.enemyHps.length) {
if (_root.enemyHps[temp] > _root.enemyHp) {
newIndex = temp;
}
temp++;
}
_root.enemyFight = _root.enemyTypes[newIndex];
_root.enemyHp = _root.enemyHps[newIndex];
_root.currentEnemyTime = _root.enemyTimes[newIndex];
_root.enemyHair = _root.enemyExtra[newIndex];
_root.currentIndex = newIndex;
Instance of Symbol 253 MovieClip in Symbol 1951 MovieClip Frame 17
onClipEvent (load) {
this.timebar.stop();
this.timebar._visible = false;
}
Symbol 1951 MovieClip Frame 30
_root.attacky = true;
if (_root.guyIn == 4) {
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
_root.gotoAndStop("stances2");
} else {
_root.gotoAndStop("stances");
}
Symbol 1960 MovieClip Frame 10
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(50 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1960 MovieClip Frame 18
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1960 MovieClip Frame 27
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(65 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1960 MovieClip Frame 34
call(18);
Symbol 1960 MovieClip Frame 46
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(30 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1960 MovieClip Frame 62
call(18);
Symbol 1962 MovieClip Frame 21
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(30 + _root.pLevel) + 15) + _root.pLevel);
}
Symbol 1962 MovieClip Frame 43
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1962 MovieClip Frame 67
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "Poisoned";
_parent.doStatus("poison");
_root.damageBox.damage = "- " + _parent.doDamage((random(25 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1962 MovieClip Frame 77
call(43);
Symbol 1962 MovieClip Frame 91
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(20 + _root.pLevel) + 28) + _root.pLevel);
}
Symbol 1962 MovieClip Frame 117
call(43);
Symbol 1963 MovieClip Frame 20
rand = random(2) + 1;
if (rand == 2) {
gotoAndPlay (46);
}
Symbol 1963 MovieClip Frame 23
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(20 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1963 MovieClip Frame 45
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1963 MovieClip Frame 53
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(30 + _root.pLevel) + 17) + _root.pLevel);
}
Symbol 1963 MovieClip Frame 79
gotoAndPlay (31);
Symbol 1965 MovieClip Frame 20
rand = random(2) + 1;
if (rand == 2) {
gotoAndPlay (44);
}
Symbol 1965 MovieClip Frame 26
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(20 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1965 MovieClip Frame 43
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1965 MovieClip Frame 51
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(30 + _root.pLevel) + 15) + _root.pLevel);
}
Symbol 1965 MovieClip Frame 60
gotoAndPlay (31);
Symbol 1965 MovieClip Frame 77
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "Blinded";
_parent.doStatus("blind");
_root.damageBox.damage = "- " + _parent.doDamage((random(15 + _root.pLevel) + 10) + _root.pLevel);
}
Symbol 1965 MovieClip Frame 92
call(43);
Symbol 1966 MovieClip Frame 21
attack = random(3) + 1;
switch (attack) {
case 1 :
break;
case 2 :
gotoAndPlay (85);
break;
case 3 :
gotoAndPlay (107);
}
Symbol 1966 MovieClip Frame 40
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent._parent.doDamage(((random((30 + _root.pLevel) + _root.powerUpB) + 20) + _root.pLevel) + _root.powerUpB);
}
Symbol 1966 MovieClip Frame 84
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1966 MovieClip Frame 96
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent._parent.doDamage(((random((15 + _root.pLevel) + _root.powerUpB) + 15) + _root.pLevel) + _root.powerUpB);
}
Symbol 1966 MovieClip Frame 106
gotoAndPlay (70);
Symbol 1966 MovieClip Frame 118
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent._parent.doDamage(((random((25 + _root.pLevel) + _root.powerUpB) + 18) + _root.pLevel) + _root.powerUpB);
}
Symbol 1966 MovieClip Frame 124
call(106);
Symbol 1970 MovieClip Frame 1
gotoAndStop(_root.evilSkill);
Symbol 1971 MovieClip Frame 1
if (_root.evilSkill == 6) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1972 MovieClip Frame 1
if ((_root.evilSkill == 5) || (_root.evilSkill == 6)) {
gotoAndPlay ("stealIt");
} else if (_root.evilSkill == 7) {
gotoAndPlay ("punch");
}
Symbol 1972 MovieClip Frame 25
switch (_root.evilSkill) {
case 2 :
gotoAndPlay (72);
break;
case 3 :
gotoAndPlay (107);
break;
}
Symbol 1972 MovieClip Frame 30
openMouth = true;
Symbol 1972 MovieClip Frame 33
openMouth = true;
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.evilSkill == 4) {
damo = ((random((25 + _root.pLevel) + _root.powerUpB) + 15) + _root.pLevel) + _root.powerUpB;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
} else if (_root.evilSkill == 1) {
damo = random(10 + _root.pLevel) + _root.powerUpB;
_root.powerUpB = _root.powerUpB + damo;
_root.damageBox.damage = ("+ " + damo) + " pow";
}
Symbol 1972 MovieClip Frame 71
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1972 MovieClip Frame 95
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent._parent.doDamage(((random((60 + _root.pLevel) + _root.powerUpB) + 37) + _root.pLevel) + _root.powerUpB);
}
Symbol 1972 MovieClip Frame 106
call(71);
Symbol 1972 MovieClip Frame 127
openMouth = true;
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
randNum = random(3) + 1;
if (randNum == 1) {
damo = ((random((40 + _root.pLevel) + _root.powerUpB) + 30) + _root.pLevel) + _root.powerUpB;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
} else if (randNum == 2) {
damo = (random(25 + _root.pLevel) + _root.powerUpB) + 5;
_root.powerUpB = _root.powerUpB + damo;
_root.damageBox.damage = ("+ " + damo) + " pow";
} else {
_root.damageBox.damage = "No Effect";
}
Symbol 1972 MovieClip Frame 156
call(71);
Symbol 1972 MovieClip Frame 167
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = _parent._parent.doDamage(((random((20 + _root.pLevel) + _root.powerUpB) + 15) + _root.pLevel) + _root.powerUpB);
_root.damageBox.damage = "- " + damo;
Symbol 1972 MovieClip Frame 182
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
Symbol 1972 MovieClip Frame 206
call(71);
Symbol 1972 MovieClip Frame 229
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent._parent.doDamage(((random((40 + _root.pLevel) + _root.powerUpB) + 40) + _root.pLevel) + _root.powerUpB);
}
Symbol 1972 MovieClip Frame 261
call(71);
Symbol 1973 MovieClip Frame 1
stop();
Symbol 1974 MovieClip Frame 24
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "Blinded";
_parent.doStatus("blind");
_root.damageBox.damage = "- " + _parent.doDamage(((random((16 + _root.pLevel) + _root.powerUpB) + 15) + _root.pLevel) + _root.powerUpB);
}
Symbol 1974 MovieClip Frame 50
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1974 MovieClip Frame 89
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage(((random((12 + _root.pLevel) + _root.powerUpB) + 20) + _root.pLevel) + _root.powerUpB);
}
Symbol 1974 MovieClip Frame 119
call(50);
Symbol 1974 MovieClip Frame 132
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.powerUpB = _root.powerUpB + (random(5 + _root.pLevel) + 3);
_root.damageBox.damage = "Power Up";
Symbol 1974 MovieClip Frame 150
call(50);
Symbol 1975 MovieClip Frame 15
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = _parent.doDamage((random(20 + _root.pLevel) + 10) + _root.pLevel);
_root.damageBox.damage = "- " + damo;
Symbol 1975 MovieClip Frame 32
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
Symbol 1975 MovieClip Frame 48
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1975 MovieClip Frame 62
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage((random(20 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1975 MovieClip Frame 81
call(48);
Symbol 1975 MovieClip Frame 102
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_parent.doStatus("poison");
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "Poisoned";
_root.damageBox.damage = "- " + _parent.doDamage((random(16 + _root.pLevel) + 15) + _root.pLevel);
}
Symbol 1975 MovieClip Frame 119
call(48);
Symbol 1976 MovieClip Frame 16
if ((random(2) + 1) == 1) {
gotoAndPlay (44);
}
Symbol 1976 MovieClip Frame 21
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage(((random((45 + _root.pLevel) + _root.powerUpB) + 40) + _root.pLevel) + _root.powerUpB);
}
Symbol 1976 MovieClip Frame 43
if (_root.guyIn == 4) {
_root.ap4 = _root.ap4 - 10;
if (_root.ap4 < 0) {
_root.ap4 = 0;
}
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
_root.ap3 = _root.ap3 - 10;
if (_root.ap3 < 0) {
_root.ap3 = 0;
}
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
_root.ap2 = _root.ap2 - 10;
if (_root.ap2 < 0) {
_root.ap2 = 0;
}
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
_root.ap = _root.ap - 10;
if (_root.ap < 0) {
_root.ap = 0;
}
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1976 MovieClip Frame 53
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage(((random((20 + _root.pLevel) + _root.powerUpB) + 20) + _root.pLevel) + _root.powerUpB);
}
Symbol 1976 MovieClip Frame 89
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1976 MovieClip Frame 102
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.powerUpB = _root.powerUpB + (random(10 + _root.pLevel) + 9);
_root.damageBox.damage = "Power Up";
Symbol 1976 MovieClip Frame 125
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1976 MovieClip Frame 149
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_parent.miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + _parent.doDamage(((random((70 + _root.pLevel) + _root.powerUpB) + 70) + _root.pLevel) + _root.powerUpB);
}
Symbol 1976 MovieClip Frame 164
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1976 MovieClip Frame 182
_parent.guyHit = "_root.supesHit";
tellTarget (_parent.guyHit) {
gotoAndPlay ("hit");
guyX = _x;
guyY = _y;
};
_root.damageBox._x = _root.supesHit._x - 30;
_root.damageBox._y = _root.supesHit._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((25 + _root.pLevel) + _root.powerUpB) + 20) + _root.pLevel) + _root.powerUpB;
_root.damageBox.damage = "- " + _parent.doDamage(damo);
Symbol 1976 MovieClip Frame 204
_root.damageBox._x = this._x + 90;
_root.damageBox._y = this._y + 130;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
Symbol 1976 MovieClip Frame 222
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1977 MovieClip Frame 1
function doStatus(stat) {
if (stat == "poison") {
if (_root.guyIn == 3) {
_root.destPoison = true;
} else if (_root.guyIn == 2) {
_root.stickPoison = true;
} else if (_root.guyIn == 1) {
_root.supesPoison = true;
}
} else if (stat == "blind") {
if (_root.guyIn == 3) {
_root.destBlind = true;
} else if (_root.guyIn == 2) {
_root.stickBlind = true;
} else if (_root.guyIn == 1) {
_root.supesBlind = true;
}
} else if (stat == "power") {
if (_root.guyIn == 3) {
_root.destPower = true;
} else if (_root.guyIn == 2) {
_root.stickPower = true;
} else if (_root.guyIn == 1) {
_root.supesPower = true;
}
} else if (stat == "forget") {
if (_root.guyIn == 3) {
_root.destForget = true;
} else if (_root.guyIn == 2) {
_root.stickForget = true;
} else if (_root.guyIn == 1) {
_root.supesForget = true;
}
}
}
function doDamage(damo) {
if (_root.guyIn == 4) {
_root.damageBox._x = _root.supesHit._x - 60;
damo = damo - _root.defense4;
if (damo < 0) {
damo = 0;
}
_root.char4 = _root.char4 - damo;
if (_root.char4 <= 0) {
_root.char4 = 0;
}
} else if (_root.guyIn == 3) {
damo = damo - _root.defense3;
if (damo < 0) {
damo = 0;
}
_root.char3 = _root.char3 - damo;
if (_root.char3 <= 0) {
_root.char3 = 0;
}
} else if (_root.guyIn == 2) {
damo = damo - _root.defense2;
if (damo < 0) {
damo = 0;
}
_root.char2 = _root.char2 - damo;
if (_root.char2 <= 0) {
_root.char2 = 0;
}
if (_root.counter > 0) {
_root.counter = _root.counter - 1;
_root.counterAtt = true;
}
} else {
damo = damo - _root.defense;
if (_root.invincTurns > 0) {
_root.invincTurns = _root.invincTurns - 1;
damo = Math.ceil(damo / 2);
}
if (damo < 0) {
damo = 0;
}
_root.char1 = _root.char1 - damo;
if (_root.char1 <= 0) {
_root.char1 = 0;
}
}
return(damo);
}
function miss(num) {
agil = 0;
if (_root.guyIn == 4) {
agil = _root.agility4;
if (agil > 98) {
agil = 98;
}
possMiss = random(100 - agil) + 1;
} else if (_root.guyIn == 3) {
agil = _root.agility3;
if (agil > 98) {
agil = 98;
}
possMiss = random(100 - agil) + 1;
} else if (_root.guyIn == 2) {
agil = _root.agility2;
if (agil > 98) {
agil = 98;
}
possMiss = random(100 - agil) + 1;
} else if (_root.guyIn == 1) {
agil = _root.agility;
if (agil > 98) {
agil = 98;
}
possMiss = random(100 - agil) + 1;
}
if (possMiss == 1) {
return("Miss");
}
return("NoMiss");
}
if (_root.switchToDif == true) {
this.gotoAndStop("switch");
} else if (_root.enemyFight == "enemy2") {
switch (random(4) + 1) {
case 1 :
if (_root.enemyToSwitch() == true) {
this.gotoAndStop("switch");
} else {
this.gotoAndPlay("enemy2Attack1");
}
break;
case 2 :
this.gotoAndPlay("enemy2Attack2");
break;
case 3 :
this.gotoAndPlay("enemy2Attack3");
break;
default :
this.gotoAndPlay("enemy2Attack1");
}
} else if (_root.enemyFight == "enemy3") {
switch (random(4) + 1) {
case 1 :
this.gotoAndPlay("enemy3Attack1");
break;
case 2 :
this.gotoAndPlay("enemy3Attack2");
break;
case 3 :
if (_root.enemyToSwitch() == true) {
this.gotoAndStop("switch");
} else {
this.gotoAndPlay("enemy3Attack1");
}
break;
case 4 :
this.gotoAndPlay("enemy3Attack3");
break;
default :
this.gotoAndPlay("enemy3Attack1");
}
} else if (_root.enemyFight == "enemy4") {
switch (random(5) + 1) {
case 2 :
gotoAndPlay ("enemy4Attack2");
break;
case 3 :
if (_root.enemyToSwitch() == true) {
this.gotoAndStop("switch");
} else {
this.gotoAndPlay("enemy4Attack1");
}
break;
default :
this.gotoAndPlay("enemy4Attack1");
}
} else if (_root.enemyFight == "enemy5") {
switch (random(4) + 1) {
case 2 :
if (_root.enemyHp <= 110) {
this.gotoAndPlay("enemy5Attack3");
} else {
this.gotoAndPlay("enemy5Attack2");
}
break;
case 3 :
if (_root.enemyToSwitch() == true) {
this.gotoAndStop("switch");
} else {
this.gotoAndPlay("enemy5Attack1");
}
break;
case 4 :
this.gotoAndPlay("enemy5Attack2");
break;
default :
this.gotoAndPlay("enemy5Attack1");
}
} else if (_root.enemyFight == "enemy6") {
switch (random(4) + 1) {
case 1 :
if (_root.enemyToSwitch() == true) {
this.gotoAndStop("switch");
} else {
this.gotoAndPlay("enemy6Attack1");
}
break;
case 2 :
this.gotoAndPlay("enemy6Attack2");
break;
default :
this.gotoAndPlay("enemy6Attack1");
}
} else if ((((((_root.enemyFight == "enemy7") || (_root.enemyFight == "enemy8")) || (_root.enemyFight == "enemy9")) || (_root.enemyFight == "enemy10")) || (_root.enemyFight == "enemy11")) || (_root.enemyFight == "enemy12")) {
gotoAndStop(_root.enemyFight + "Attacks");
} else if (_root.enemyFight == "boss1") {
gotoAndStop ("boss1Attacks");
} else if (_root.enemyFight == "boss2") {
gotoAndStop ("boss2Attacks");
} else {
switch (random(4) + 1) {
case 1 :
this.gotoAndPlay("enemy1Attack2");
break;
case 2 :
this.gotoAndPlay("enemy1Attack3");
break;
case 3 :
if (_root.enemyToSwitch() == true) {
this.gotoAndStop("switch");
}
break;
}
}
Symbol 1977 MovieClip Frame 12
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(10 + _root.pLevel) + 13) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 24
if (_root.guyIn == 4) {
if (_root.char4 <= 0) {
_root.char4 = 0;
_root.evilDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances4");
} else if (_root.guyIn == 3) {
if (_root.char3 <= 0) {
_root.char3 = 0;
_root.destDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances3");
} else if (_root.guyIn == 2) {
if (_root.char2 <= 0) {
_root.char2 = 0;
_root.stickDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances2");
} else {
if (_root.char1 <= 0) {
_root.char1 = 0;
_root.supesDead = true;
_root.someoneDead = true;
}
_root.gotoAndStop("stances");
}
Symbol 1977 MovieClip Frame 43
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(20 + _root.pLevel) + 19) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 51
call(24);
Symbol 1977 MovieClip Frame 72
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(43 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 79
if (_root.damageBox.damage != "Miss!") {
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
}
Symbol 1977 MovieClip Frame 89
call(24);
Instance of Symbol 159 MovieClip in Symbol 1977 MovieClip Frame 90
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 1977 MovieClip Frame 98
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(10 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 114
call(24);
Instance of Symbol 1951 MovieClip in Symbol 1977 MovieClip Frame 115
onClipEvent (load) {
if (_root.switchToDif == true) {
_root.switchToDif = false;
this.gotoAndPlay(16);
}
}
Instance of Symbol 159 MovieClip in Symbol 1977 MovieClip Frame 116
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 1977 MovieClip Frame 144
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(10 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 153
call(24);
Symbol 1977 MovieClip Frame 170
_root.damageBox._x = this._x + 60;
_root.damageBox._y = this._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (random(21 + _root.pLevel) + 20) + _root.pLevel;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
Symbol 1977 MovieClip Frame 182
call(24);
Symbol 1977 MovieClip Frame 203
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(15 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 220
call(24);
Symbol 1977 MovieClip Frame 242
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(20 + _root.pLevel) + 10) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 280
call(24);
Symbol 1977 MovieClip Frame 296
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.guyIn == 3) {
guyHp = _root.char3;
} else if (_root.guyIn == 2) {
guyHp = _root.char2;
} else {
guyHp = _root.char1;
}
switch (random(9) + 1) {
case 1 :
guyHp = Math.ceil(guyHp / 2);
_root.damageBox.damage = "- " + doDamage(guyHp);
break;
case 2 :
_root.damageBox.damage = "- " + doDamage(guyHp);
break;
case 3 :
case 5 :
guyHp = Math.ceil(guyHp / 4);
_root.damageBox.damage = "- " + doDamage(guyHp);
break;
default :
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
}
Symbol 1977 MovieClip Frame 310
call(24);
Symbol 1977 MovieClip Frame 318
switch (random(2) + 1) {
case 1 :
break;
case 2 :
gotoAndPlay (345);
}
Symbol 1977 MovieClip Frame 330
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(20 + _root.pLevel) + 10) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 344
call(24);
Symbol 1977 MovieClip Frame 352
switch (random(3) + 1) {
case 1 :
gotoAndPlay (373);
break;
default :
}
Symbol 1977 MovieClip Frame 362
call(330);
Symbol 1977 MovieClip Frame 372
gotoAndPlay (340);
Symbol 1977 MovieClip Frame 384
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(35 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 398
gotoAndPlay (340);
Symbol 1977 MovieClip Frame 420
_root.damageBox._x = this._x + 60;
_root.damageBox._y = this._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (random(21 + _root.pLevel) + 20) + _root.pLevel;
_root.enemyHp = _root.enemyHp + damo;
_root.damageBox.damage = "+ " + damo;
Symbol 1977 MovieClip Frame 434
call(24);
Symbol 1977 MovieClip Frame 453
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(35 + _root.pLevel) + 20) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 470
call(24);
Symbol 1977 MovieClip Frame 482
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(50 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 492
call(24);
Symbol 1977 MovieClip Frame 530
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage(_root["char" + _root.guyIn] - 1);
}
Symbol 1977 MovieClip Frame 538
_root.enemyHp = 0;
if (_root.enemyToSwitch() == true) {
_root.switchToDif = true;
this.gotoAndStop("switch");
} else {
_root.allEnemiesDead = true;
if (_root.guyIn == 4) {
_root.gotoAndStop("celebrate4");
} else if (_root.guyIn == 3) {
_root.gotoAndStop("celebrate3");
} else if (_root.guyIn == 2) {
_root.gotoAndStop("celebrate2");
} else {
_root.gotoAndStop("celebrate");
}
}
Symbol 1977 MovieClip Frame 557
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(50 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 581
call(24);
Symbol 1977 MovieClip Frame 598
this.guyHit = "_root.supesHit";
tellTarget (this.guyHit) {
gotoAndPlay ("hit");
this.guyX = _x;
this.guyY = _y;
};
_root.damageBox._x = this.guyX - 30;
_root.damageBox._y = this.guyY + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (miss(random(30)) == "Miss") {
_root.supesHit.gotoAndPlay("miss");
_root.damageBox.damage = "Miss!";
} else {
_root.damageBox.damage = "- " + doDamage((random(50 + _root.pLevel) + 6) + _root.pLevel);
}
Symbol 1977 MovieClip Frame 606
call(24);
Instance of Symbol 1960 MovieClip in Symbol 1977 MovieClip Frame 607
onClipEvent (load) {
attack = random(4) + 1;
switch (attack) {
case 2 :
gotoAndPlay ("attack2");
break;
case 3 :
gotoAndPlay ("attack3");
break;
case 4 :
if (_root.enemyToSwitch() == true) {
_parent.gotoAndStop("switch");
} else {
gotoAndPlay ("attack3");
}
break;
}
}
Instance of Symbol 1962 MovieClip in Symbol 1977 MovieClip Frame 608
onClipEvent (load) {
attack = random(4) + 1;
switch (attack) {
case 1 :
gotoAndPlay ("attack3");
break;
case 2 :
gotoAndPlay ("attack2");
break;
case 3 :
if (_root.enemyToSwitch() == true) {
_parent.gotoAndStop("switch");
} else {
gotoAndPlay ("attack3");
}
break;
}
}
Instance of Symbol 1963 MovieClip in Symbol 1977 MovieClip Frame 609
onClipEvent (load) {
attack = random(4) + 1;
if (!(attack === 3)) {
} else if (_root.enemyToSwitch() == true) {
_parent.gotoAndStop("switch");
}
}
Instance of Symbol 1965 MovieClip in Symbol 1977 MovieClip Frame 610
onClipEvent (load) {
attack = random(4) + 1;
switch (attack) {
case 2 :
gotoAndPlay (61);
break;
case 3 :
if (_root.enemyToSwitch() != true) {
break;
}
_parent.gotoAndStop("switch");
}
}
Instance of Symbol 1973 MovieClip in Symbol 1977 MovieClip Frame 611
onClipEvent (load) {
rand = random(3) + 1;
switch (rand) {
case 1 :
_root.evilSkill = random(7) + 1;
this.gotoAndStop(2);
break;
default :
}
}
Instance of Symbol 1974 MovieClip in Symbol 1977 MovieClip Frame 612
onClipEvent (load) {
attack = random(5) + 1;
switch (attack) {
case 1 :
break;
case 3 :
if (_root.enemyToSwitch() == true) {
_parent.gotoAndStop("switch");
} else {
gotoAndPlay ("attack2");
}
break;
case 4 :
gotoAndPlay ("attack3");
break;
default :
gotoAndPlay ("attack2");
}
}
Instance of Symbol 1975 MovieClip in Symbol 1977 MovieClip Frame 613
onClipEvent (load) {
attack = random(5) + 1;
switch (attack) {
case 1 :
break;
case 3 :
if (_root.enemyToSwitch() == true) {
_parent.gotoAndStop("switch");
} else {
gotoAndPlay ("attack2");
}
break;
case 4 :
gotoAndPlay ("attack3");
break;
default :
gotoAndPlay ("attack2");
}
}
Instance of Symbol 1976 MovieClip in Symbol 1977 MovieClip Frame 614
onClipEvent (load) {
attack = random(7) + 1;
switch (attack) {
case 1 :
this.gotoAndPlay("attack2");
break;
case 3 :
this.gotoAndPlay("attack3");
break;
case 6 :
this.gotoAndPlay("attack4");
break;
}
}
Symbol 1978 MovieClip Frame 1
rand = random(2) + 1;
switch (rand) {
case 1 :
gotoAndPlay (32);
break;
default :
}
Instance of Symbol 253 MovieClip "enemy" in Symbol 1978 MovieClip Frame 1
onClipEvent (load) {
this.timebar.stop();
this.timebar._visible = false;
}
Symbol 1978 MovieClip Frame 31
if (_root.enemyToSwitch() == true) {
_root.switchToDif = true;
if (_root.guyIn == 4) {
_root.gotoAndStop("enemyAttackEvil");
} else if (_root.guyIn == 3) {
_root.gotoAndStop("enemyAttackDest");
} else if (_root.guyIn == 2) {
_root.gotoAndStop("enemyAttackStick");
} else {
_root.gotoAndStop("enemyAttackSupes");
}
} else {
_root.allEnemiesDead = true;
if (_root.guyIn == 4) {
_root.gotoAndStop("celebrate4");
} else if (_root.guyIn == 3) {
_root.gotoAndStop("celebrate3");
} else if (_root.guyIn == 2) {
_root.gotoAndStop("celebrate2");
} else {
_root.gotoAndStop("celebrate");
}
}
Symbol 1978 MovieClip Frame 75
call(31);
Symbol 1979 MovieClip Frame 1
if (_root.supesDead == true) {
gotoAndPlay ("dead");
}
Symbol 1979 MovieClip Frame 20
openMouth = true;
Symbol 1979 MovieClip Frame 25
stop();
Symbol 1984 Button
on (press) {
if (_root.supesFought == true) {
_root.guyIn = 1;
this.gotoAndStop(3);
} else if (_root.stickFought == true) {
_root.guyIn = 2;
this.gotoAndStop(3);
} else if (_root.destFought == true) {
_root.guyIn = 3;
this.gotoAndStop(3);
} else if (_root.evilFought == true) {
_root.guyIn = 4;
this.gotoAndStop(3);
} else {
denitialize();
if (_root.cutscene == 8.6) {
_root.backFromFight = false;
_root.gotoAndStop("ending");
} else if (_root.cutscene == 7.7) {
_root.cutscene = 8;
_root.backFromFight = false;
_root.gotoAndStop("area29");
} else if (_root.cutscene == 4.7) {
_root.gotoAndStop("cutscene4-3");
} else if (_root.cutscene == 2.5) {
_root.cutscene = 3;
_root.gotoAndStop("cutscene2-2");
} else if (_root.cutscene == 1) {
_root.gotoAndStop("cutscene1");
} else if (_root.place == "Final Cave") {
_root.backFromFight = true;
_root.gotoAndStop(_root.savePlace);
} else if (_root.place == "Factory") {
_root.backFromFight = true;
_root.gotoAndStop(_root.savePlace);
} else {
this.enabled = false;
_root.fadeToGo = "worldmap";
_root.blay.gotoAndPlay("fadeOut");
}
}
}
Symbol 1994 Button
on (press) {
if (skills == 0) {
if (_root.supesFought == true) {
_root.guyIn = 1;
this.gotoAndStop(3);
} else if (_root.stickFought == true) {
_root.guyIn = 2;
this.gotoAndStop(3);
} else if (_root.destFought == true) {
_root.guyIn = 3;
this.gotoAndStop(3);
} else {
denitialize();
if (_root.cutscene == 8.6) {
_root.backFromFight = false;
_root.gotoAndStop("ending");
} else if (_root.cutscene == 7.7) {
_root.cutscene = 8;
_root.backFromFight = false;
_root.gotoAndStop("area29");
} else if (_root.cutscene == 4.7) {
_root.gotoAndStop("cutscene4-3");
} else if (_root.cutscene == 2.5) {
_root.cutscene = 3;
_root.gotoAndStop("cutscene2-2");
} else if (_root.cutscene == 1) {
_root.gotoAndStop("cutscene1");
} else if (_root.place == "Final Cave") {
_root.backFromFight = true;
_root.gotoAndStop(_root.savePlace);
} else if (_root.place == "Factory") {
_root.backFromFight = true;
_root.gotoAndStop(_root.savePlace);
} else {
this.enabled = false;
_root.fadeToGo = "worldmap";
_root.blay.gotoAndPlay("fadeOut");
}
}
}
}
Symbol 2010 Button
on (press) {
if (skills > 0) {
skills = skills - 1;
skillmess = ("You have " + skills) + " skill points left to distribute";
if (_root.guyIn == 4) {
_root.strength4 = _root.strength4 + 1;
} else if (_root.guyIn == 3) {
_root.strength3 = _root.strength3 + 1;
} else if (_root.guyIn == 2) {
_root.strength2 = _root.strength2 + 1;
} else {
_root.strength = _root.strength + 1;
}
guyStrength = guyStrength + 1;
}
}
on (rollOver) {
dees._visible = true;
dees.des = "Strength: Increases physical attack power";
}
on (rollOut) {
dees._visible = false;
}
Symbol 2011 Button
on (press) {
if (skills > 0) {
skills = skills - 1;
skillmess = ("You have " + skills) + " skill points left to distribute";
if (_root.guyIn == 4) {
_root.vitality4 = _root.vitality4 + 1;
_root.maxhp4 = _root.maxhp4 + 5;
} else if (_root.guyIn == 3) {
_root.vitality3 = _root.vitality3 + 1;
_root.maxhp3 = _root.maxhp3 + 5;
} else if (_root.guyIn == 2) {
_root.vitality2 = _root.vitality2 + 1;
_root.maxhp2 = _root.maxhp2 + 5;
} else {
_root.vitality = _root.vitality + 1;
_root.maxhp = _root.maxhp + 5;
}
guyVit = guyVit + 1;
}
}
on (rollOver) {
dees._visible = true;
dees.des = "Vitality: Increases max HP";
}
on (rollOut) {
dees._visible = false;
}
Symbol 2012 Button
on (press) {
if (skills > 0) {
skills = skills - 1;
skillmess = ("You have " + skills) + " skill points left to distribute";
if (_root.guyIn == 4) {
_root.skills4 = _root.skills4 + 1;
} else if (_root.guyIn == 3) {
_root.skills3 = _root.skills3 + 1;
} else if (_root.guyIn == 2) {
_root.skills2 = _root.skills2 + 1;
} else {
_root.skills = _root.skills + 1;
}
guySkills = guySkills + 1;
}
}
on (rollOver) {
dees._visible = true;
dees.des = "Skills: Increases Special Skills Power";
}
on (rollOut) {
dees._visible = false;
}
Symbol 2014 Button
on (press) {
if (skills > 0) {
skills = skills - 1;
skillmess = ("You have " + skills) + " skill points left to distribute";
if (_root.guyIn == 4) {
_root.defense4 = _root.defense4 + 1;
} else if (_root.guyIn == 3) {
_root.defense3 = _root.defense3 + 1;
} else if (_root.guyIn == 2) {
_root.defense2 = _root.defense2 + 1;
} else {
_root.defense = _root.defense + 1;
}
guyDefense = guyDefense + 1;
}
}
on (rollOver) {
dees._visible = true;
dees.des = "Defense: Lowers Enemy Damage";
}
on (rollOut) {
dees._visible = false;
}
Symbol 2016 Button
on (press) {
if ((skills > 0) && (guyAgility < 98)) {
skills = skills - 1;
skillmess = ("You have " + skills) + " skill points left to distribute";
if (_root.guyIn == 4) {
_root.agility4 = _root.agility4 + 1;
} else if (_root.guyIn == 3) {
_root.agility3 = _root.agility3 + 1;
} else if (_root.guyIn == 2) {
_root.agility2 = _root.agility2 + 1;
} else {
_root.agility = _root.agility + 1;
}
guyAgility = guyAgility + 1;
}
}
on (rollOver) {
dees._visible = true;
dees.des = "Agility: Increases Dodge Rate";
}
on (rollOut) {
dees._visible = false;
}
Symbol 2021 Button
on (press) {
_root.run = false;
denitialize();
if (_root.cutscene == 8.6) {
_root.backFromFight = false;
_root.gotoAndStop("ending");
} else if (_root.cutscene == 7.7) {
_root.cutscene = 8;
_root.backFromFight = false;
_root.gotoAndStop("area29");
} else if (_root.cutscene == 4.7) {
_root.gotoAndStop("cutscene4.3");
} else if (_root.cutscene == 2.5) {
_root.cutscene = 3;
_root.gotoAndStop("cutscene2-2");
} else if (_root.cutscene == 1) {
_root.gotoAndStop("cutscene1");
} else if (_root.place == "Final Cave") {
_root.backFromFight = true;
_root.gotoAndStop(_root.savePlace);
} else if (_root.place == "Factory") {
_root.backFromFight = true;
_root.gotoAndStop(_root.savePlace);
} else {
this.enabled = false;
_root.fadeToGo = "worldmap";
_root.blay.gotoAndPlay("fadeOut");
}
}
Symbol 2022 MovieClip Frame 1
function denitialize() {
if (_root.cutscene == 6) {
_root.enemyStoryBattles = _root.enemyStoryBattles + 1;
if (_root.enemyStoryBattles == 5) {
_root.cutscene = 6.5;
}
}
_root.genStats[0] = _root.genStats[0] + 1;
_root.numOfItems = "";
_root.skillo = "";
_root.powerUpB = 0;
_root.counterAtt = false;
_root.counter = 0;
_root.evilFought = false;
_root.powerUp = 0;
_root.supesForget = false;
_root.stickForget = false;
_root.destForget = false;
_root.supesPower = false;
_root.stickPower = false;
_root.destPower = false;
_root.supesBlind = false;
_root.stickBlind = false;
_root.destBlind = false;
_root.supesPoison = false;
_root.stickPoison = false;
_root.destPoison = false;
_root.bulletAttacks = 0;
_root.supesPoison = false;
_root.stickPoison = false;
_root.destPoison = false;
_root.supesFought = false;
_root.strongTurns = 0;
_root.enemyAttackin = false;
_root.firstTime = false;
_root.stickFought = false;
_root.setStickTime = false;
_root.courage = 0;
_root.backFromFight = true;
_root.menyy = false;
_root.enemyAttackin = false;
_root.youAttack = false;
_root.enemyCurrent = 0;
_root.allEnemiesDead = false;
_root.scanneded = false;
_root.deleteEnemys();
}
function determineWhoFought() {
numWhoFought = 0;
if (_root.supesFought == true) {
numWhoFought = numWhoFought + 1;
}
if (_root.stickFought == true) {
numWhoFought = numWhoFought + 1;
}
if (_root.destFought == true) {
numWhoFought = numWhoFought + 1;
}
if (_root.evilFought == true) {
numWhoFought = numWhoFought + 1;
}
return(numWhoFought);
}
function getItem(num) {
if ((((num == 4) || (num == 8)) || (num == 23)) || (num == 28)) {
quant = random(2) + 1;
type = _root.itemList();
_root.updateItemQuantity(quant, type);
return(((("You got " + quant) + " ") + type) + "!");
}
return("You found no items!");
}
function getEquipment(num) {
if ((((num == 4) || (num == 8)) || (num == 23)) || (num == 28)) {
switch (random(3) + 1) {
case 1 :
type = "Armor";
break;
case 2 :
type = "Sunglasses";
break;
case 3 :
type = "Fists";
}
_root.createEquipment(type);
return("You got new equipment: " + type);
}
return("You found no equipment!");
}
if (_root.run != true) {
if (alreadyD != true) {
alreadyD = true;
numFought = determineWhoFought();
}
xp = Math.ceil((_root.enemyHps.length * ((random(8 + (_root.pLevel * 2)) + 7) + _root.pLevel)) / numFought);
if (_root.guyIn == 4) {
_root.evilExpHas = _root.evilExpHas + xp;
_root.evilFought = false;
expGot = ("Evil Doctor got " + xp) + " exp!";
if (_root.evilExpHas >= _root.evilExpNeeded) {
_root.evilExpNeeded = _root.evilExpNeeded + (random(12) + 10);
_root.evilExpHas = 0;
this.gotoAndStop(2);
}
} else if (_root.guyIn == 3) {
_root.destExpHas = _root.destExpHas + xp;
_root.destFought = false;
expGot = ("Destroyer got " + xp) + " exp!";
if (_root.destExpHas >= _root.destExpNeeded) {
_root.destExpNeeded = _root.destExpNeeded + (random(12) + 10);
_root.destExpHas = 0;
this.gotoAndStop(2);
}
} else if (_root.guyIn == 2) {
_root.stickExpHas = _root.stickExpHas + xp;
_root.stickFought = false;
expGot = ("Stickington got " + xp) + " exp!";
if (_root.stickExpHas >= _root.stickExpNeeded) {
_root.stickExpNeeded = _root.stickExpNeeded + (random(12) + 10);
_root.stickExpHas = 0;
this.gotoAndStop(2);
}
} else {
expGot = ("SuperStick got " + xp) + " exp!";
_root.supesFought = false;
_root.supeExpHas = _root.supeExpHas + xp;
if (_root.supeExpHas >= _root.supeExpNeeded) {
_root.supeExpNeeded = _root.supeExpNeeded + (random(12) + 10);
_root.supeExpHas = 0;
this.gotoAndStop(2);
}
}
if (alreadyGot != true) {
coins = (random(30 + (_root.pLevel * 3)) + 30) + (_root.pLevel * 2);
_root.money = _root.money + coins;
coinGet = ("You got " + coins) + " coins!";
itemGet = getItem(random(30));
equipGet = getEquipment(random(35));
alreadyGot = true;
}
stop();
}
Symbol 2022 MovieClip Frame 2
if (_root.guyIn == 4) {
_root.level4 = _root.level4 + 1;
_root.maxhp4 = _root.maxhp4 + (random(11) + 10);
levGot = ("Evil Doctor went up to level " + _root.level4) + "!";
guyStrength = _root.strength4;
guyVit = _root.vitality4;
guySkills = _root.skills4;
guyDefense = _root.defense4;
guyAgility = _root.agility4;
} else if (_root.guyIn == 3) {
_root.level3 = _root.level3 + 1;
_root.maxhp3 = _root.maxhp3 + (random(11) + 10);
levGot = ("Destroyer went up to level " + _root.level3) + "!";
guyStrength = _root.strength3;
guyVit = _root.vitality3;
guySkills = _root.skills3;
guySpeed = _root.speed3;
guyKnowledge = _root.knowledge3;
guyDefense = _root.defense3;
guyAgility = _root.agility3;
} else if (_root.guyIn == 2) {
_root.level2 = _root.level2 + 1;
_root.maxhp2 = _root.maxhp2 + (random(11) + 10);
levGot = ("Stickington went up to level " + _root.level2) + "!";
guyStrength = _root.strength2;
guyVit = _root.vitality2;
guySkills = _root.skills2;
guySpeed = _root.speed2;
guyKnowledge = _root.knowledge2;
guyDefense = _root.defense2;
guyAgility = _root.agility2;
} else {
_root.level = _root.level + 1;
_root.maxhp = _root.maxhp + (random(11) + 10);
levGot = ("SuperStick went up to level " + _root.level) + "!";
guyStrength = _root.strength;
guyVit = _root.vitality;
guySkills = _root.skills;
guySpeed = _root.speed;
guyKnowledge = _root.knowledge;
guyDefense = _root.defense;
guyAgility = _root.agility;
}
if (alreadyGot != true) {
itemGet = getItem(random(30));
equipGet = getEquipment(random(35));
alreadyGot = true;
}
skills = 8;
skillmess = ("You have " + skills) + " skill points left to distribute";
stop();
Instance of Symbol 2009 MovieClip "dees" in Symbol 2022 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 2022 MovieClip Frame 3
gotoAndStop (1);
Symbol 2022 MovieClip Frame 4
stop();
Symbol 2024 MovieClip Frame 10
stop();
Symbol 2028 MovieClip Frame 1
if (_root.switchin == true) {
_root.switchin = false;
this.gotoAndPlay("switchin");
}
if (_root.stickDead == true) {
gotoAndPlay ("dead");
}
Instance of Symbol 1890 MovieClip in Symbol 2028 MovieClip Frame 1
onClipEvent (load) {
if (_root.stickPoison == true) {
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 1890 MovieClip in Symbol 2028 MovieClip Frame 1
onClipEvent (load) {
if (_root.stickBlind == true) {
this.gotoAndPlay(10);
} else {
this.stop();
this._visible = false;
}
}
Symbol 2028 MovieClip Frame 16
gotoAndPlay (1);
Symbol 2028 MovieClip Frame 17
openMouth = true;
Symbol 2028 MovieClip Frame 28
gotoAndPlay (1);
Symbol 2028 MovieClip Frame 37
_root.switchin = true;
if (_root.run == true) {
_root.switchin = false;
_root.gotoAndStop("run");
} else if (_root.switchItTo == 1) {
_root.gotoAndStop("stances");
} else if (_root.switchItTo == 3) {
_root.gotoAndStop("stances3");
} else if (_root.switchItTo == 4) {
_root.gotoAndStop("stances4");
}
Symbol 2028 MovieClip Frame 47
_root.meno.messageMenu = "";
_root.meno.timebar.setIt = 0;
_root.meno.timebar.play();
_root.someoneDead = false;
gotoAndPlay (1);
Symbol 2028 MovieClip Frame 70
gotoAndPlay (1);
Symbol 2028 MovieClip Frame 71
mouthOpen = true;
Symbol 2028 MovieClip Frame 100
_root.stickDead = true;
_root.switchin = true;
if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if ((_root.destDead != true) && (_root.cutscene > 2.5)) {
_root.gotoAndStop("stances3");
} else if ((_root.evilDead != true) && (_root.cutscene > 4.7)) {
_root.gotoAndStop("stances4");
} else {
_root.blay.gotoAndPlay(13);
_root.gameOver = true;
stop();
}
Symbol 2029 MovieClip Frame 1
switch (random(2) + 1) {
case 1 :
break;
case 2 :
gotoAndPlay (46);
}
Symbol 2029 MovieClip Frame 23
openMouth = true;
Symbol 2029 MovieClip Frame 24
_root.char2 = _root.char2 + _root.hpLeech2;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (random(20 + _root.strength2) + 9) + _root.strength2;
if (_root.courage > 0) {
_root.courage = _root.courage - 1;
switch (random(2) + 1) {
case 1 :
damo = damo * 2;
break;
case 2 :
damo = damo * 3;
}
}
if (_root.stickBlind == true) {
_root.damageBox.damage = "Miss!";
} else {
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
}
Symbol 2029 MovieClip Frame 45
_root.ap2 = _root.ap2 + (5 + _root.apLeech2);
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead2");
} else if (_root.counterAtt == true) {
_root.counterAtt = false;
_root.gotoAndStop("stances2");
} else {
_root.gotoAndStop("enemyAttackStick");
}
Symbol 2029 MovieClip Frame 66
openMouth = true;
Symbol 2029 MovieClip Frame 70
call(24);
Symbol 2029 MovieClip Frame 78
gotoAndPlay (32);
Symbol 2030 MovieClip Frame 24
if ((_root.potionType == "revive") || (_root.potionType == "fullrevive")) {
gotoAndPlay (58);
}
Symbol 2030 MovieClip Frame 34
_root.damageBox._x = this._x - 20;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.potionType == "potion") {
this.doWhat = "+ 50";
_root.char2 = _root.char2 + 50;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else if (_root.potionType == "ether") {
this.doWhat = "+ 20 AP";
_root.ap2 = _root.ap2 + 20;
} else if (_root.potionType == "hipotion") {
this.doWhat = "+ 300";
_root.char2 = _root.char2 + 300;
if (_root.char2 > _root.maxhp2) {
_root.char2 = _root.maxhp2;
}
} else if (_root.potionType == "xpotion") {
this.doWhat = "+ " + _root.maxhp2;
_root.char2 = _root.maxhp2;
} else if (_root.potionType == "elixir") {
this.doWhat = "+ " + _root.maxhp2;
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "+ 20 AP";
_root.char2 = _root.maxhp2;
_root.ap2 = _root.ap2 + 20;
_root.stickPoison = false;
_root.stickForget = false;
_root.stickBlind = false;
_root.stickPower = false;
} else if (_root.potionType == "antidote") {
_root.stickPoison = false;
_root.stickForget = false;
_root.stickBlind = false;
_root.stickPower = false;
this.doWhat = "Status Gone!";
}
_root.damageBox.damage = this.doWhat;
Symbol 2030 MovieClip Frame 57
_root.gotoAndStop("enemyAttackStick");
Symbol 2030 MovieClip Frame 69
if (_root.potionType == "revive") {
if (_root.reviveHim == 1) {
_root.char1 = _root.char1 + 50;
_root.supesDead = false;
} else if (_root.reviveHim == 3) {
_root.char3 = _root.char3 + 50;
_root.destDead = false;
} else if (_root.reviveHim == 4) {
_root.char4 = _root.char4 + 50;
_root.evilDead = false;
}
} else if (_root.reviveHim == 1) {
_root.char1 = _root.maxhp;
_root.supesDead = false;
} else if (_root.reviveHim == 3) {
_root.char3 = _root.maxhp3;
_root.destDead = false;
} else if (_root.reviveHim == 4) {
_root.char4 = _root.maxhp4;
_root.evilDead = false;
}
Symbol 2030 MovieClip Frame 91
call(57);
Symbol 2037 MovieClip Frame 1
if (_root.skillo != null) {
this.gotoAndPlay(_root.skillo);
}
Symbol 2037 MovieClip Frame 9
openMouth = true;
Symbol 2037 MovieClip Frame 23
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((50 + _root.skills2) + (_root.throwPlus * 6)) + 40) + _root.skills2) + (_root.throwPlus * 4);
if (_root.courage > 0) {
_root.courage = _root.courage - 1;
switch (random(2) + 1) {
case 1 :
damo = damo * 2;
break;
case 2 :
damo = damo * 3;
}
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2037 MovieClip Frame 48
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead2");
} else {
_root.gotoAndStop("enemyAttackStick");
}
Symbol 2037 MovieClip Frame 63
openMouth = true;
_root.damageBox._x = this._x - 30;
_root.damageBox._y = this._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.courage = (2 + Math.ceil(_root.skills2 * 0.06)) + _root.couragePlus;
_root.damageBox.damage = ("+ " + _root.courage) + " courage";
Symbol 2037 MovieClip Frame 69
openMouth = true;
Symbol 2037 MovieClip Frame 84
call(48);
Symbol 2037 MovieClip Frame 92
openMouth = true;
Symbol 2037 MovieClip Frame 97
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (((random(((15 + _root.strength2) + _root.skills2) + (_root.slashPlus * 6)) + 45) + _root.strength2) + _root.skills2) + (_root.slashPlus * 4);
if (_root.courage > 0) {
_root.courage = _root.courage - 1;
switch (random(2) + 1) {
case 1 :
damo = damo * 2;
break;
case 2 :
damo = damo * 3;
}
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2037 MovieClip Frame 117
call(48);
Symbol 2037 MovieClip Frame 136
openMouth = true;
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (random(25 + (_root.strength2 * 2)) + 31) + _root.strength2;
if (_root.courage > 0) {
_root.courage = _root.courage - 1;
switch (random(2) + 1) {
case 1 :
damo = damo * 2;
break;
case 2 :
damo = damo * 3;
}
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2037 MovieClip Frame 156
if (_root.multi > 0) {
gotoAndPlay (165);
}
Symbol 2037 MovieClip Frame 164
_root.setStickTime = true;
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead2");
} else {
_root.gotoAndStop("enemyAttackStick");
}
Symbol 2037 MovieClip Frame 167
if (_root.multi > 0) {
_root.multi = _root.multi - 1;
switch (random(2) + 1) {
case 1 :
gotoAndPlay (168);
break;
case 2 :
gotoAndPlay (196);
}
} else {
gotoAndPlay (238);
}
Symbol 2037 MovieClip Frame 173
openMouth = true;
Symbol 2037 MovieClip Frame 182
call(136);
Symbol 2037 MovieClip Frame 195
if (_root.multi > 0) {
_root.multi = _root.multi - 1;
switch (random(2) + 1) {
case 1 :
gotoAndPlay (168);
break;
case 2 :
gotoAndPlay (196);
}
} else {
gotoAndPlay (238);
}
Symbol 2037 MovieClip Frame 221
openMouth = true;
Symbol 2037 MovieClip Frame 229
call(136);
Symbol 2037 MovieClip Frame 237
if (_root.multi > 0) {
_root.multi = _root.multi - 1;
switch (random(2) + 1) {
case 1 :
gotoAndPlay (168);
break;
case 2 :
gotoAndPlay (196);
}
} else {
gotoAndPlay (238);
}
Symbol 2037 MovieClip Frame 248
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead2");
} else {
_root.gotoAndStop("enemyAttackStick");
}
Symbol 2037 MovieClip Frame 264
openMouth = true;
_root.damageBox._x = this._x - 30;
_root.damageBox._y = this._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.counter = (2 + Math.ceil(_root.skills2 * 0.06)) + _root.counterPlus;
_root.damageBox.damage = ("+ " + _root.counter) + " counter";
Symbol 2037 MovieClip Frame 291
_root.gotoAndStop("enemyAttackStick");
Symbol 2037 MovieClip Frame 314
rand = random(4) + 1;
if (_root.reviveHim == 1) {
if (rand == 3) {
_root.char1 = _root.maxhp;
} else {
_root.char1 = _root.char1 + 50;
}
_root.supesDead = false;
} else if (_root.reviveHim == 3) {
if (rand == 3) {
_root.char3 = _root.maxhp3;
} else {
_root.char3 = _root.char3 + 50;
}
_root.destDead = false;
} else if (_root.reviveHim == 4) {
if (rand == 3) {
_root.char4 = _root.maxhp4;
} else {
_root.char4 = _root.char4 + 50;
}
_root.evilDead = false;
}
Symbol 2037 MovieClip Frame 349
_root.gotoAndStop("enemyAttackStick");
Symbol 2038 MovieClip Frame 28
stop();
Symbol 2042 MovieClip Frame 1
if (_root.switchin == true) {
_root.switchin = false;
this.gotoAndPlay("switchin");
}
if (_root.destDead == true) {
gotoAndPlay ("dead");
}
Instance of Symbol 1890 MovieClip in Symbol 2042 MovieClip Frame 1
onClipEvent (load) {
if (_root.destPoison == true) {
} else {
this.stop();
this._visible = false;
}
}
Instance of Symbol 1890 MovieClip in Symbol 2042 MovieClip Frame 1
onClipEvent (load) {
if (_root.destBlind == true) {
this.gotoAndPlay(10);
} else {
this.stop();
this._visible = false;
}
}
Symbol 2042 MovieClip Frame 11
gotoAndPlay (1);
Symbol 2042 MovieClip Frame 12
openMouth = true;
Symbol 2042 MovieClip Frame 23
gotoAndPlay (1);
Symbol 2042 MovieClip Frame 38
_root.switchin = true;
if (_root.run == true) {
_root.switchin = false;
_root.gotoAndStop("run");
} else if (_root.switchItTo == 1) {
_root.gotoAndStop("stances");
} else if (_root.switchItTo == 2) {
_root.gotoAndStop("stances2");
} else if (_root.switchItTo == 4) {
_root.gotoAndStop("stances4");
}
Symbol 2042 MovieClip Frame 57
_root.meno.messageMenu = "";
_root.meno.timebar.setIt = 0;
_root.meno.timebar.play();
_root.someoneDead = false;
gotoAndPlay (1);
Symbol 2042 MovieClip Frame 73
gotoAndPlay (1);
Symbol 2042 MovieClip Frame 110
_root.destDead = true;
_root.switchin = true;
if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
} else if ((_root.evilDead != true) && (_root.cutscene > 4.7)) {
_root.gotoAndStop("stances4");
} else {
_root.blay.gotoAndPlay(13);
_root.gameOver = true;
stop();
}
Symbol 2048 MovieClip Frame 12
stop();
Symbol 2050 MovieClip Frame 11
stop();
Symbol 2051 MovieClip Frame 1
if (_root.switchin == true) {
_root.switchin = false;
this.gotoAndPlay("switchin");
}
if (_root.stickDead == true) {
gotoAndPlay ("dead");
}
switch (random(3) + 1) {
case 1 :
break;
case 2 :
gotoAndPlay (31);
break;
case 3 :
gotoAndPlay (51);
}
Symbol 2051 MovieClip Frame 14
openMouth = true;
Symbol 2051 MovieClip Frame 16
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.ap3 = _root.ap3 + (5 + _root.apLeech3);
_root.char3 = _root.char3 + _root.hpLeech3;
if (_root.char3 > _root.maxhp3) {
_root.char3 = _root.maxhp3;
}
damo = (random(20 + _root.strength3) + 9) + _root.strength3;
if (_root.sBullets > 0) {
_root.sBullets = _root.sBullets - 1;
if ((random(2) + 1) == 1) {
damo = damo * 3;
} else {
damo = damo * 2;
}
}
if (_root.destBlind == true) {
_root.damageBox.damage = "Miss!";
} else {
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
}
Symbol 2051 MovieClip Frame 18
openMouth = true;
Symbol 2051 MovieClip Frame 30
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead3");
} else {
_root.gotoAndStop("enemyAttackDest");
}
Symbol 2051 MovieClip Frame 50
gotoAndPlay (13);
Symbol 2051 MovieClip Frame 74
openMouth = true;
call(16);
Symbol 2051 MovieClip Frame 97
call(30);
Symbol 2052 MovieClip Frame 1
if (_root.skillo != "pShot") {
this.gotoAndPlay(_root.skillo);
}
Symbol 2052 MovieClip Frame 14
openMouth = true;
Symbol 2052 MovieClip Frame 18
openMouth = true;
Symbol 2052 MovieClip Frame 21
openMouth = true;
Symbol 2052 MovieClip Frame 24
openMouth = true;
Symbol 2052 MovieClip Frame 25
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (((random(((50 + _root.strength3) + _root.skills3) + (_root.shotPlus * 6)) + 41) + _root.strength3) + _root.skills3) + (_root.shotPlus * 4);
if (_root.sBullets > 0) {
_root.sBullets = _root.sBullets - 1;
if ((random(2) + 1) == 1) {
damo = damo * 3;
} else {
damo = damo * 2;
}
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2052 MovieClip Frame 41
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead3");
} else {
_root.gotoAndStop("enemyAttackDest");
}
Symbol 2052 MovieClip Frame 51
openMouth = true;
Symbol 2052 MovieClip Frame 53
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = (((random(((31 + _root.strength3) + _root.skills3) + (_root.leechPlus * 4)) + 20) + _root.strength3) + _root.skills3) + (_root.leechPlus * 2);
if (_root.sBullets > 0) {
_root.sBullets = _root.sBullets - 1;
if ((random(2) + 1) == 1) {
damo = damo * 3;
} else {
damo = damo * 2;
}
}
_root.enemyHp = _root.enemyHp - damo;
_root.char3 = _root.char3 + damo;
if (_root.char3 > _root.maxhp3) {
_root.char3 = _root.maxhp3;
}
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = this._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "+ " + damo;
Symbol 2052 MovieClip Frame 71
call(41);
Symbol 2052 MovieClip Frame 83
openMouth = true;
Symbol 2052 MovieClip Frame 84
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((30 + _root.strength3) + _root.skills3) + 19) + _root.strength3) + _root.skills3;
if (_root.sBullets > 0) {
_root.sBullets = _root.sBullets - 1;
if ((random(2) + 1) == 1) {
damo = damo * 3;
} else {
damo = damo * 2;
}
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2052 MovieClip Frame 101
_root.damageBox2._x = _root.enemy._x + 78;
_root.damageBox2._y = _root.enemy._y - 20;
_root.damageBox2._height = 23;
_root.damageBox2.moe = 0;
_root.damageBox2.active = true;
_root.damageBox2.damage = _root.steal();
Symbol 2052 MovieClip Frame 119
call(41);
Symbol 2052 MovieClip Frame 130
_root.bulletAttacks = _root.fireBullets;
Symbol 2052 MovieClip Frame 132
openMouth = true;
Instance of Symbol 2048 MovieClip in Symbol 2052 MovieClip Frame 132
onClipEvent (load) {
gotoAndPlay (2);
}
Symbol 2052 MovieClip Frame 142
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((15 + _root.strength3) + _root.skills3) + 10) + _root.strength3) + _root.skills3;
if (_root.sBullets > 0) {
_root.sBullets = _root.sBullets - 1;
if ((random(2) + 1) == 1) {
damo = damo * 3;
} else {
damo = damo * 2;
}
}
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2052 MovieClip Frame 146
if (_root.fireBullets > 0) {
_root.fireBullets = _root.fireBullets - 1;
gotoAndPlay (131);
}
Symbol 2052 MovieClip Frame 158
call(41);
Symbol 2052 MovieClip Frame 174
openMouth = true;
_root.damageBox._x = this._x - 30;
_root.damageBox._y = this._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
_root.sBullets = 2 + Math.ceil(_root.skills3 * 0.06);
_root.damageBox.damage = ("+ " + _root.sBullets) + " sBullet";
Symbol 2052 MovieClip Frame 199
call(41);
Symbol 2053 MovieClip Frame 25
if ((_root.potionType == "revive") || (_root.potionType == "fullrevive")) {
gotoAndPlay (42);
}
Symbol 2053 MovieClip Frame 33
_root.damageBox._x = this._x - 20;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.potionType == "potion") {
this.doWhat = "+ 50";
_root.char3 = _root.char3 + 50;
if (_root.char3 > _root.maxhp3) {
_root.char3 = _root.maxhp3;
}
} else if (_root.potionType == "ether") {
this.doWhat = "+ 20 AP";
_root.ap3 = _root.ap3 + 20;
} else if (_root.potionType == "hipotion") {
this.doWhat = "+ 300";
_root.char3 = _root.char3 + 300;
if (_root.char3 > _root.maxhp3) {
_root.char3 = _root.maxhp3;
}
} else if (_root.potionType == "xpotion") {
this.doWhat = "+ " + _root.maxhp3;
_root.char3 = _root.maxhp3;
} else if (_root.potionType == "elixir") {
this.doWhat = "+ " + _root.maxhp3;
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "+ 20 AP";
_root.char3 = _root.maxhp3;
_root.ap3 = _root.ap3 + 20;
_root.destPoison = false;
_root.destForget = false;
_root.destBlind = false;
_root.destPower = false;
} else if (_root.potionType == "antidote") {
_root.destPoison = false;
_root.destForget = false;
_root.destBlind = false;
_root.destPower = false;
this.doWhat = "Status Gone!";
}
_root.damageBox.damage = this.doWhat;
Symbol 2053 MovieClip Frame 41
_root.gotoAndStop("enemyAttackDest");
Symbol 2053 MovieClip Frame 50
if (_root.potionType == "revive") {
if (_root.reviveHim == 1) {
_root.char1 = _root.char1 + 50;
_root.supesDead = false;
} else if (_root.reviveHim == 2) {
_root.char2 = _root.char2 + 50;
_root.stickDead = false;
} else if (_root.reviveHim == 4) {
_root.char4 = _root.char4 + 50;
_root.evilDead = false;
}
} else if (_root.reviveHim == 1) {
_root.char1 = _root.maxhp;
_root.supesDead = false;
} else if (_root.reviveHim == 2) {
_root.char2 = _root.maxhp2;
_root.stickDead = false;
} else if (_root.reviveHim == 4) {
_root.char4 = _root.maxhp4;
_root.evilDead = false;
}
Symbol 2053 MovieClip Frame 58
call(41);
Symbol 2054 MovieClip Frame 20
stop();
Symbol 2055 MovieClip Frame 1
if (_root.switchin == true) {
_root.switchin = false;
this.gotoAndPlay("switchin");
}
if (_root.evilDead == true) {
gotoAndPlay ("dead");
}
Symbol 2055 MovieClip Frame 36
gotoAndPlay (1);
Symbol 2055 MovieClip Frame 49
gotoAndPlay (1);
Symbol 2055 MovieClip Frame 60
_root.switchin = true;
if (_root.run == true) {
_root.switchin = false;
_root.gotoAndStop("run");
} else if (_root.switchItTo == 1) {
_root.gotoAndStop("stances");
} else if (_root.switchItTo == 2) {
_root.gotoAndStop("stances2");
} else if (_root.switchItTo == 3) {
_root.gotoAndStop("stances3");
}
Symbol 2055 MovieClip Frame 70
gotoAndPlay (1);
Symbol 2055 MovieClip Frame 86
gotoAndPlay (1);
Symbol 2055 MovieClip Frame 111
_root.evilDead = true;
_root.switchin = true;
if (_root.supesDead != true) {
_root.gotoAndStop("stances");
} else if (_root.stickDead != true) {
_root.gotoAndStop("stances2");
} else if ((_root.destDead != true) && (_root.cutscene > 2.5)) {
_root.gotoAndStop("stances3");
} else {
_root.blay.gotoAndPlay(13);
_root.gameOver = true;
stop();
}
Symbol 2056 MovieClip Frame 21
attack = random(3) + 1;
switch (attack) {
case 1 :
break;
case 2 :
gotoAndPlay (85);
break;
case 3 :
gotoAndPlay (107);
}
Symbol 2056 MovieClip Frame 40
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((30 + _root.strength4) + _root.powerUp) + 20) + _root.strength4) + _root.powerUp;
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2056 MovieClip Frame 84
_root.ap4 = _root.ap4 + 10;
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead4");
} else if (_root.twoAttack == true) {
_root.twoAttack = false;
_root.gotoAndStop("stances4");
} else {
_root.gotoAndStop("enemyAttackEvil");
}
Symbol 2056 MovieClip Frame 96
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((15 + _root.strength4) + _root.powerUp) + 15) + _root.strength4) + _root.powerUp;
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2056 MovieClip Frame 106
gotoAndPlay (70);
Symbol 2056 MovieClip Frame 118
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((25 + _root.strength4) + _root.powerUp) + 18) + _root.strength4) + _root.powerUp;
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2056 MovieClip Frame 124
call(106);
Symbol 2057 MovieClip Frame 1
if ((_root.evilSkill == 5) || (_root.evilSkill == 6)) {
gotoAndPlay ("stealIt");
} else if (_root.evilSkill == 7) {
gotoAndPlay ("punch");
}
Symbol 2057 MovieClip Frame 25
switch (_root.evilSkill) {
case 2 :
gotoAndPlay (72);
break;
case 3 :
gotoAndPlay (107);
break;
}
Symbol 2057 MovieClip Frame 30
openMouth = true;
Symbol 2057 MovieClip Frame 33
openMouth = true;
_root.damageBox._x = this._x - 60;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.evilSkill == 4) {
damo = ((random((25 + _root.skills4) + _root.powerUp) + 15) + Math.ceil(_root.skills4 * 1.3)) + _root.powerUp;
_root.char4 = _root.char4 + damo;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
_root.damageBox.damage = "+ " + damo;
} else if (_root.evilSkill == 1) {
damo = random(10 + Math.ceil(_root.skills4 * 0.5)) + _root.powerUp;
_root.powerUp = _root.powerUp + damo;
_root.damageBox.damage = "Power: + " + damo;
}
Symbol 2057 MovieClip Frame 71
if (_root.enemyHp <= 0) {
_root.gotoAndStop("enemyDead4");
} else {
_root.gotoAndStop("enemyAttackEvil");
}
Symbol 2057 MovieClip Frame 95
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((60 + _root.strength4) + _root.powerUp) + 37) + _root.strength4) + _root.powerUp;
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2057 MovieClip Frame 106
call(71);
Symbol 2057 MovieClip Frame 127
openMouth = true;
_root.damageBox._x = this._x - 60;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
randNum = random(3) + 1;
if (randNum == 1) {
damo = ((random((40 + _root.skills4) + _root.powerUp) + 30) + Math.ceil(_root.skills4 * 1.3)) + _root.powerUp;
_root.char4 = _root.char4 + damo;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
_root.damageBox.damage = "+ " + damo;
} else if (randNum == 2) {
damo = (random(25 + Math.ceil(_root.skills4 * 0.5)) + _root.powerUp) + 5;
_root.powerUp = _root.powerUp + damo;
_root.damageBox.damage = "Power: + " + damo;
} else {
_root.damageBox.damage = "Nothing Happened";
}
Symbol 2057 MovieClip Frame 156
call(71);
Symbol 2057 MovieClip Frame 167
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((20 + _root.skills4) + _root.powerUp) + 15) + _root.skills4) + _root.powerUp;
if (_root.evilSkill == 6) {
_root.damageBox.damage = ("- " + damo) + " ap";
} else {
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
}
Symbol 2057 MovieClip Frame 182
_root.damageBox._x = this._x - 60;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.evilSkill == 6) {
_root.ap4 = _root.ap4 + damo;
_root.damageBox.damage = ("+ " + damo) + " ap";
} else {
_root.char4 = _root.char4 + damo;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
_root.damageBox.damage = "+ " + damo;
}
Symbol 2057 MovieClip Frame 206
call(71);
Symbol 2057 MovieClip Frame 229
_root.enemy.gotoAndPlay(_root.enemyFight);
_root.damageBox._x = _root.enemy._x + 60;
_root.damageBox._y = _root.enemy._y + 30;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
damo = ((random((40 + _root.strength4) + _root.powerUp) + 40) + _root.strength4) + _root.powerUp;
_root.enemyHp = _root.enemyHp - damo;
if (_root.enemyHp < 0) {
_root.enemyHp = 0;
}
_root.damageBox.damage = "- " + damo;
Symbol 2057 MovieClip Frame 261
call(71);
Symbol 2058 MovieClip Frame 25
if ((_root.potionType == "revive") || (_root.potionType == "fullrevive")) {
gotoAndPlay (60);
}
Symbol 2058 MovieClip Frame 39
_root.damageBox._x = this._x - 60;
_root.damageBox._y = this._y + 20;
_root.damageBox._height = 28.1;
_root.damageBox.moe = 0;
_root.damageBox.active = true;
if (_root.potionType == "potion") {
this.doWhat = "+ 50";
_root.char4 = _root.char4 + 50;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
} else if (_root.potionType == "ether") {
this.doWhat = "+ 20 AP";
_root.ap4 = _root.ap4 + 20;
} else if (_root.potionType == "hipotion") {
this.doWhat = "+ 300";
_root.char4 = _root.char4 + 300;
if (_root.char4 > _root.maxhp4) {
_root.char4 = _root.maxhp4;
}
} else if (_root.potionType == "xpotion") {
this.doWhat = "+ " + _root.maxhp4;
_root.char4 = _root.maxhp4;
} else if (_root.potionType == "elixir") {
this.doWhat = "+ " + _root.maxhp4;
duplicateMovieClip (_root.damageBox, "damageBox1", 1);
_root.damageBox1._x = _root.damageBox._x + 18;
_root.damageBox1.active = true;
_root.damageBox1.damage = "+ 20 AP";
_root.char4 = _root.maxhp4;
_root.ap4 = _root.ap4 + 20;
} else if (_root.potionType == "antidote") {
this.doWhat = "Status Gone!";
}
_root.damageBox.damage = this.doWhat;
Symbol 2058 MovieClip Frame 59
_root.gotoAndStop("enemyAttackEvil");
Symbol 2058 MovieClip Frame 74
if (_root.potionType == "revive") {
if (_root.reviveHim == 1) {
_root.char1 = _root.char1 + 50;
_root.supesDead = false;
} else if (_root.reviveHim == 3) {
_root.char3 = _root.char3 + 50;
_root.destDead = false;
} else if (_root.reviveHim == 2) {
_root.char2 = _root.char2 + 50;
_root.stickDead = false;
}
} else if (_root.reviveHim == 1) {
_root.char1 = _root.maxhp;
_root.supesDead = false;
} else if (_root.reviveHim == 3) {
_root.char3 = _root.maxhp3;
_root.destDead = false;
} else if (_root.reviveHim == 2) {
_root.char2 = _root.maxhp2;
_root.stickDead = false;
}
Symbol 2058 MovieClip Frame 94
call(59);
Symbol 2059 MovieClip Frame 15
stop();
Symbol 2061 MovieClip Frame 10
stop();
Symbol 2073 Button
on (keyPress "<Space>") {
if ((menyy == true) && (_root.animo._visible != true)) {
menyy = false;
_root.updateSupesLooks();
_root.equipToSupes = false;
_root.equipToStick = false;
_root.equipToDest = false;
_root.stats.gotoAndStop(1);
} else if (_root.animo._visible != true) {
menyy = true;
_root.updateSupesLooks();
_root.stats.gotoAndStop(2);
}
}
Symbol 2074 Button
on (keyPress "a") {
if (_root.stickMap.hitTest(_root.woody2)) {
if (_root.woods[1] != true) {
_root.woods[1] = true;
_root.woody2._visible = false;
_root.updateItemQuantity(1, "wood");
}
}
if (_root.stickMap.hitTest(_root.woody3)) {
if (_root.woods[2] != true) {
_root.woods[2] = true;
_root.woody3._visible = false;
_root.updateItemQuantity(1, "wood");
}
}
if (_root.stickMap.hitTest(_root.town1)) {
_root.fromMap = true;
_root.fastWalk = 0;
_root.gotoAndStop("area9");
} else if (_root.stickMap.hitTest(_root.town2)) {
_root.fastWalk = 0;
_root.gotoAndStop("area12");
} else if (_root.stickMap.hitTest(_root.fac)) {
_root.fastWalk = 0;
woodNum = _root.getItemQuantity("wood");
if ((_root.cutscene == 3) && (woodNum >= 3)) {
_root.cutscene = 4;
_root.gotoAndPlay("cutscene3");
} else if (woodNum <= 2) {
_root.gotoAndPlay("factoryScene");
} else {
_root.gotoAndStop("factory");
}
} else if (_root.stickMap.hitTest(_root.churc)) {
_root.fastWalk = 0;
_root.gotoAndStop("church");
} else if (_root.stickMap.hitTest(_root.doomCave)) {
_root.fastWalk = 0;
_root.gotoAndStop("area34");
}
}
Symbol 2082 Button
on (press) {
play();
}
on (rollOver) {
numOfItems = "";
}
Symbol 2095 Button
on (press) {
gotoAndStop (97);
}
Symbol 2098 Button
on (press) {
gotoAndStop (98);
}
Symbol 2102 Button
on (press) {
gotoAndStop (99);
}
Symbol 2109 Button
on (press) {
gotoAndStop (100);
}
Symbol 2118 Button
on (press) {
gotoAndStop (101);
}
Symbol 2122 Button
on (press) {
gotoAndStop (102);
}
Symbol 2125 Button
on (press) {
play();
}
Symbol 2131 Button
on (press) {
gotoAndStop (113);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2134 Button
on (press) {
gotoAndStop (114);
}
Symbol 2138 Button
on (press) {
gotoAndStop (115);
}
Symbol 2139 MovieClip Frame 80
odds = random(3) + 1;
power = _root.hardLev(0 + _root.pLevel);
if (odds == 1) {
power = _root.hardLev((random(4) + 1) + _root.pLevel);
}
_root.generateEnemys2(numOfEnemys, power, fightHim);
_parent.play();
Symbol 2143 Button
on (press) {
gotoAndStop (118);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2146 Button
on (press) {
gotoAndStop (119);
}
Symbol 2150 Button
on (press) {
gotoAndStop (120);
}
Symbol 2153 Button
on (press) {
gotoAndStop (121);
}
Symbol 2160 Button
on (press) {
gotoAndStop (122);
}
Symbol 2164 Button
on (press) {
gotoAndStop (123);
}
Symbol 2166 Button
on (press) {
gotoAndStop (124);
}
Symbol 2169 Button
on (press) {
gotoAndStop (125);
}
Symbol 2172 Button
on (press) {
_root.cutscene = 2;
_root.backFromFight = false;
_root.backo3 = true;
_root.gotoAndStop("area5");
}
Symbol 2177 Button
on (press) {
gotoAndPlay (134);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2181 Button
on (press) {
gotoAndStop (153);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2185 Button
on (press) {
gotoAndStop (154);
}
Symbol 2188 Button
on (press) {
gotoAndStop (155);
}
Symbol 2190 Button
on (press) {
gotoAndStop (156);
}
Symbol 2196 MovieClip Frame 48
_parent.bridge.gotoAndStop(2);
Symbol 2196 MovieClip Frame 62
_root.gotoAndStop("nextScene");
Symbol 2198 Button
on (press) {
gotoAndStop (158);
}
Symbol 2201 Button
on (press) {
gotoAndStop ("factory");
}
Symbol 2207 Button
on (press) {
gotoAndStop (168);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2211 Button
on (press) {
gotoAndPlay (169);
}
Symbol 2213 Button
on (press) {
gotoAndStop (178);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2215 Button
on (press) {
gotoAndStop (179);
}
Symbol 2219 Button
on (press) {
gotoAndStop (182);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2223 Button
on (press) {
gotoAndStop (183);
}
Symbol 2225 Button
on (press) {
gotoAndStop (184);
}
Symbol 2228 Button
on (press) {
gotoAndStop (185);
}
Symbol 2232 Button
on (press) {
gotoAndStop (186);
}
Symbol 2234 Button
on (press) {
gotoAndStop (187);
}
Symbol 2237 Button
on (press) {
gotoAndStop (188);
}
Symbol 2241 Button
on (press) {
gotoAndStop (189);
}
Symbol 2243 Button
on (press) {
gotoAndStop (190);
}
Symbol 2246 Button
on (press) {
_root.cutscene = 3;
_root.backFromFight = false;
_root.gotoAndStop("area12");
}
Symbol 2249 Button
on (press) {
_root.cutscene = 4.5;
_root.gotoAndStop("area21");
}
on (rollOver) {
numOfItems = "";
}
Symbol 2259 Button
on (press) {
gotoAndStop (236);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2262 Button
on (press) {
gotoAndStop (237);
}
Symbol 2264 Button
on (press) {
gotoAndStop (238);
}
Symbol 2266 Button
on (press) {
gotoAndStop (239);
}
Symbol 2269 Button
on (press) {
gotoAndStop (240);
}
Symbol 2271 Button
on (press) {
_root.cutscene = 4.7;
_root.char1 = _root.maxhp;
_root.char2 = _root.maxhp2;
_root.char3 = _root.maxhp3;
_root.char4 = _root.maxhp4;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
gotoAndStop (241);
}
Symbol 2274 Button
on (press) {
gotoAndStop (244);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2277 Button
on (press) {
gotoAndStop (245);
}
Symbol 2282 Button
on (press) {
gotoAndStop (246);
}
Symbol 2286 Button
on (press) {
gotoAndStop (247);
}
Symbol 2289 Button
on (press) {
gotoAndStop (248);
}
Symbol 2290 Button
on (press) {
gotoAndStop (249);
}
Symbol 2294 Button
on (press) {
gotoAndStop (250);
}
Symbol 2296 Button
on (press) {
gotoAndStop (251);
}
Symbol 2299 Button
on (press) {
gotoAndStop (252);
}
Symbol 2301 Button
on (press) {
gotoAndStop (253);
}
Symbol 2304 Button
on (press) {
gotoAndStop (254);
}
Symbol 2306 Button
on (press) {
gotoAndStop (255);
}
Symbol 2310 Button
on (press) {
gotoAndStop (256);
}
Symbol 2312 Button
on (press) {
gotoAndStop (257);
}
Symbol 2315 Button
on (press) {
gotoAndStop (258);
}
Symbol 2317 Button
on (press) {
gotoAndStop (259);
}
Symbol 2320 Button
on (press) {
gotoAndStop (260);
}
Symbol 2323 Button
on (press) {
gotoAndStop (261);
}
Symbol 2327 Button
on (press) {
gotoAndStop (262);
}
Symbol 2331 Button
on (press) {
gotoAndStop (263);
}
Symbol 2333 Button
on (press) {
_root.cutscene = 5;
_root.defaultPLevel = _root.defaultPLevel + 5;
_root.pLevel = _root.pLevel + 5;
_root.backFromFight = false;
_root.fromDown = true;
_root.gotoAndStop("factory");
}
Symbol 2343 Button
on (press) {
gotoAndStop (308);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2347 Button
on (press) {
gotoAndStop (309);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2349 Button
on (press) {
gotoAndStop (310);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2353 Button
on (press) {
gotoAndStop (311);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2355 Button
on (press) {
gotoAndStop (312);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2361 Button
on (press) {
gotoAndStop (313);
}
Symbol 2365 Button
on (press) {
gotoAndStop (314);
}
Symbol 2367 Button
on (press) {
gotoAndStop (315);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2371 Button
on (press) {
gotoAndStop ("church");
}
on (rollOver) {
numOfItems = "";
}
Symbol 2373 Button
on (press) {
gotoAndStop (317);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2377 Button
on (press) {
gotoAndStop (318);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2379 Button
on (press) {
gotoAndStop (319);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2385 Button
on (press) {
gotoAndStop (320);
}
Symbol 2389 Button
on (press) {
gotoAndStop (321);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2393 Button
on (press) {
gotoAndStop (322);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2395 Button
on (press) {
gotoAndStop (323);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2401 Button
on (press) {
gotoAndStop (324);
}
Symbol 2405 Button
on (press) {
gotoAndStop (325);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2409 Button
on (press) {
gotoAndStop (326);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2411 Button
on (press) {
gotoAndStop (327);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2415 Button
on (press) {
_root.cutscene = 7;
gotoAndStop ("church");
}
on (rollOver) {
numOfItems = "";
}
Symbol 2419 MovieClip Frame 20
_parent.play();
Symbol 2422 Button
on (press) {
_root.cutscene = 7.5;
gotoAndStop ("cave");
}
on (rollOver) {
numOfItems = "";
}
Symbol 2426 Button
on (press) {
_root.cutscene = 7.5;
_root.backLeft = true;
gotoAndStop ("area33");
}
on (rollOver) {
numOfItems = "";
}
Symbol 2432 Button
on (press) {
gotoAndStop (335);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2434 Button
on (press) {
gotoAndStop (336);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2436 Button
on (press) {
gotoAndStop (337);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2438 Button
on (press) {
gotoAndStop (338);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2441 Button
on (press) {
gotoAndStop (339);
}
Symbol 2445 Button
on (press) {
_root.cutscene = 7.7;
play();
}
on (rollOver) {
numOfItems = "";
}
Symbol 2451 Button
on (press) {
_root.cutscene = 8.5;
gotoAndStop ("area34");
}
on (rollOver) {
numOfItems = "";
}
Symbol 2456 Button
on (press) {
gotoAndStop (364);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2459 Button
on (press) {
gotoAndStop (365);
}
Symbol 2462 Button
on (press) {
gotoAndStop (366);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2464 Button
on (press) {
gotoAndStop (367);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2466 Button
on (press) {
gotoAndStop (368);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2469 Button
on (press) {
gotoAndStop (385);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2471 Button
on (press) {
gotoAndStop (386);
}
Symbol 2474 Button
on (press) {
gotoAndPlay (387);
}
on (rollOver) {
numOfItems = "";
}
Symbol 2478 Button
on (press) {
gotoAndPlay (410);
}
Symbol 2480 Button
on (press) {
gotoAndPlay (429);
}
Symbol 2482 Button
on (press) {
gotoAndPlay (450);
}
Symbol 2486 Button
on (press) {
gotoAndStop (472);
}
Symbol 2497 Button
on (press) {
_root.switchin = false;
_root.supesDead = false;
_root.stickDead = false;
_root.destDead = false;
_root.evilDead = false;
_root.gotoAndStop("mainMen");
}
Symbol 2498 Button
on (press) {
_root.cutscene = 8.1;
_root.keys = new Array();
_root.gotoAndStop("worldmap");
}
Symbol 2499 MovieClip Frame 30
stop();